summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2023-01-05 00:33:22 -0500
committerDaniel Micay <danielmicay@gmail.com>2023-01-05 00:33:22 -0500
commit1ff2719b37fb4bbcd48821f4742c120846085463 (patch)
treef75351b365c6d88935555b96ed5546cfa00710d6
parent9eaa3439227428c9e6be00cba2440da51923aecd (diff)
add workaround for GNOME USB bug
-rw-r--r--static/install/cli.html12
-rw-r--r--static/install/web.html12
2 files changed, 16 insertions, 8 deletions
diff --git a/static/install/cli.html b/static/install/cli.html
index 10feb407..d94557af 100644
--- a/static/install/cli.html
+++ b/static/install/cli.html
@@ -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
diff --git a/static/install/web.html b/static/install/web.html
index f514d2d7..f4fbed1b 100644
--- a/static/install/web.html
+++ b/static/install/web.html
@@ -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