add workaround for GNOME USB bug

This commit is contained in:
Daniel Micay 2023-01-05 00:33:22 -05:00
parent 9eaa343922
commit 1ff2719b37
2 changed files with 16 additions and 8 deletions

View File

@ -340,10 +340,14 @@ Installed as /home/username/platform-tools/fastboot</pre>
<p>On Linux, GNOME has a bug causing compatibility issues with the installation
process. It wrongly detects the phone in fastboot mode or fastbootd mode as being
an MTP device and claims exclusive control over it. This will block the install
process from proceeding. We don't yet have more specific instructions on working
around this issue than avoiding GNOME or another desktop environment running the
GNOME services such as GVFS. We expect the problem is in GVFS, so stopping all of
the services should work, but you'll need to mask them or they'll auto restart.</p>
process from proceeding. You can run the following command to work around it:</p>
<pre>echo 0 | sudo tee /sys/bus/usb/drivers_autoprobe</pre>
<p>After installing, you can undo this by rebooting or by running the following
command:</p>
<pre>echo 1 | sudo tee /sys/bus/usb/drivers_autoprobe</pre>
<p>On Windows, you need to install a driver for fastboot if you don't already have
it. No driver is needed on other operating systems. You can obtain the driver from

View File

@ -225,10 +225,14 @@
<p>On Linux, GNOME has a bug causing compatibility issues with the installation
process. It wrongly detects the phone in fastboot mode or fastbootd mode as being
an MTP device and claims exclusive control over it. This will block the install
process from proceeding. We don't yet have more specific instructions on working
around this issue than avoiding GNOME or another desktop environment running the
GNOME services such as GVFS. We expect the problem is in GVFS, so stopping all of
the services should work, but you'll need to mask them or they'll auto restart.</p>
process from proceeding. You can run the following command to work around it:</p>
<pre>echo 0 | sudo tee /sys/bus/usb/drivers_autoprobe</pre>
<p>After installing, you can undo this by rebooting or by running the following
command:</p>
<pre>echo 1 | sudo tee /sys/bus/usb/drivers_autoprobe</pre>
<p>On Windows, you need to install a driver for fastboot if you don't already have
it. No driver is needed on other operating systems. You can obtain the driver from