upsidaisy it seems like you were following an unofficial installation guide.

Please do not follow any unofficial installation guides.

There is only one official guide to install GrapheneOS and it is here: https://grapheneos.org/install/

Please read it carefully in its entirety before doing anything.

We highly recommend using the web installer method instead of the command-line method.

jmc

Have you made sure to read:

Chromium (outside Ubuntu, since they ship a broken Snap package without working WebUSB)

As Hulk said above, the only way to install GrapheneOS is to use the guide as linked. We can't support issues outside of that scope.

yep I am following the guidance - I was using Brave browser. Downloading and using Chrome instead solved that issue but now flashing the release returns: Error: Failed to execute 'claimInterface' on 'USBDevice': Unable to claim interface. Will try with new cables.

    jmc claim interface isn't a cable issue something is holding onto the USB port, restart, close EVERYTHING non essesntial on your system, and all other browsers. Do not use incognito and only have 1 tab open with the web installer.

    We will get you there yet friend.

    yea still the same unfortunately - freshly installed Chrome, no other programs running, no other tabs open, freshly rebooted system. Any ideas?

      unbinding the usb port solved the problem partially in that it enabled the flashing to progress as far as rebooting into the userspace fastboot, but then at this stage it fails with the same error message again - cannot claim interface, as if somehow the port is rebound during the flashing.

      This is a completely fresh ubuntu 20.04 installation with a freshly installed chrome, no other programs running, and a brand new Anker cable. Confused as to what about my setup is complicating things.

        jmc Chrome on Ubuntu is not supported as it breaks WebUSB actually says so in the web installer guide.

        • jmc replied to this.

          MetropleX the warning is for chromium/ubuntu - i didn't realize it also applied to chrome. Both ubuntu 20.04 and google chrome are listed as officially supported.

            jmc true but I know people have had issues with both have you done the following which may help:

            Linux
            If Chromium has been installed from the snap store (the default in the Ubuntu Software Store) it will not be able to access WebUSB devices.

            On some Linux distributions eg. Ubuntu, you may need to declare a udev rule. To do this:
            Close Chrome
            On Fedora, ensure that the plugdev group exists
            getent group plugdev >/dev/null || sudo groupadd -r plugdev
            Create a file at
            /etc/udev/rules.d/50-microbit.rules
            with the following content:
            SUBSYSTEM=="usb", ATTR{idVendor}=="0d28", MODE="0664", GROUP="plugdev"
            Add your user to the plugdev group (replace with your username):
            sudo usermod -a -G plugdev <your-username>
            Restart the udev rules
            sudo udevadm control --reload-rules
            Log out and log back in
            Open Chrome and try to pair again

            Beyond that all I recommend is how I flash my devices and use another Android phone lol

            success!

            the udev rules didn't fix it - the problem was that when the device was restarted the usb device was being auto-bound. To solve this, I ran echo '0' > /sys/bus/usb/drivers_autoprobe as root to stop it automatically binding the newly detected device.

            Thanks a lot for all your patient help!

              jmc don't need to thank me, I just held your hand while you did all the work. Just happy you got it sorted and in doing so provided a solution others can benefit from by being pointed here.

                2 months later

                I am going through the Web installer on Fedora 36 for my Pixel 7.
                First, the package to install on Fedora is "android-tools", to install it:
                sudo dnf install android-tools

                Second, the Pixel 7 has a different USB vendor ID than the Pixel 6. Therefore the udev rule from MetropleX needs to be adapted. Edit the file /etc/udev/rules.d/50-microbit.rules like so:
                SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0664", GROUP="plugdev"

                  StealthKookaburra The udev rule offered by me is not official, the documentation on the site is. Any non supported OS you try to use is at an individuals discretion. I just believe in helping everyone and thank you for providing an update as you have to help others in the community.

                  2 months later
                  2 months later

                  jmc Flashing a new Pixel 6a today, I found that I also had to do this command on my Fedora laptop. I would like to recommend a slight different command to do the same thing:
                  echo '0' | sudo tee -a /sys/bus/usb/drivers_autoprobe

                  On the subject of USB vendor ID, it looks like this new Pixel 6a has the same vendor ID has my Pixel 7: 18d1.

                  FWIW, even though it's not supported, I was able to flash my P7 from Brave running on Garuda.

                  You can also run the fastboot command as root for a quick and dirty workaround. The fastboot command (also adb) itself is safe enough when it comes from distro package manager.