A small hand full of end users may experience a failed error during their attempt at installing GrapheneOS during flashing. The common denominator is quite often the user
not reading the prerequisites thoroughly.
These are the error codes and their meanings, as well as the procedures for resolving these common end user errors.
Introduction
The most common error of all is the end user
. It is extremely important to read the installation guide’s prerequisites slowly and make sure you understand what is required!
I strongly recommend reading the guide from start to finish first!
Access denied
Error: Failed to execute 'open' on 'USBDevice': Access denied
Definition
What this means is that udev-rules
have not been installed.
USB devices cannot be used as non-root without udev rules for each type of device
Solution
- Arch Linux:
pacman android-udev
- Debian/Ubuntu based distros:
apt install android-sdk-platform-tools-common
- Reboot the computer
Connect the phone to the computer. On Linux, you’ll need to do this again if you didn’t have the udev rules set up when you connected it.
Note
Pop!_OS has no known fix
Unable to claim interface
Error: Failed to execute 'claimInterface' on 'USBDevice': Unable to claim interface
Definition
What this means is that there is a USB driver, hardware issue(s), or you have software running connecting to the phone via USB that’s interfering.
Solution
- Reboot the computer
- Open up your browser and have ONLY have 1 tab with the web installer
- Reboot phone back into the bootloader interface
Write the product
Error: Failed to execute 'transferOut' on 'USBDevice': Write the product
No device selected
Error: Failed to execute unlocking bootloader on USBDevice: No device selected
Array buffer allocation
Error: Array buffer allocation failed
Definition
What this means is that your phone or device has ran out of memory!
You should have at least 2GB of free memory available and 32GB of free storage space.
Solution
- Reboot the installer phone or use a different device or PC.
- Reboot the installee phone back into the bootloader interface