From d8b8fb9e426ac88901c92b72cdb80c0745e21dc8 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sat, 26 Apr 2025 14:57:12 -0400 Subject: [PATCH] fwupd is still consistently buggy years later --- static/install/cli.html | 23 +++++++++-------------- static/install/web.html | 23 +++++++++-------------- static/js/redirect.js | 3 +++ 3 files changed, 21 insertions(+), 28 deletions(-) diff --git a/static/install/cli.html b/static/install/cli.html index 5927096b..f00c9263 100644 --- a/static/install/cli.html +++ b/static/install/cli.html @@ -70,7 +70,7 @@
  • Checking fastboot version
  • Flashing as non-root
  • -
  • Working around fwupd bug on Linux distributions
  • +
  • Working around fwupd bugs on Linux distributions
  • Booting into the bootloader interface
  • Connecting the device
  • Unlocking the bootloader
  • @@ -305,21 +305,16 @@ Installed as /home/username/platform-tools/fastboot years.

    -
    -

    Working around fwupd bug on Linux distributions

    +
    +

    Working around fwupd bugs on Linux distributions

    -

    Some Debian, Ubuntu, and derivative distributions have an outdated fwupd package - with a bug breaking connecting to Android's bootloader interface (fastboot) while - fwupd is running since it tries to connect to arbitrary devices. This section can - be skipped on Arch Linux and other distributions with fwupd 1.9.10 or later since - we reported the bug and it was fixed. This never impacted Android or ChromeOS.

    +

    The fwupd software often used on Linux distributions for updating firmware is + known to incorrectly connect to arbitrary devices using the fastboot protocol which + will block using them for the intended purpose. This can result in receiving an + error about the USB device already being in use (claimed) when trying to connect to + it for the intended purpose.

    -

    Check your fwupd version with the following command:

    - -
    apt-cache policy fwupd
    - -

    If you have a fwupd version earlier than 1.9.10, you can stop fwupd with the - following command:

    +

    You can stop fwupd with the following command:

    sudo systemctl stop fwupd.service
    diff --git a/static/install/web.html b/static/install/web.html index 1fd678a0..516db0e9 100644 --- a/static/install/web.html +++ b/static/install/web.html @@ -54,7 +54,7 @@
  • Prerequisites
  • Enabling OEM unlocking
  • Flashing as non-root
  • -
  • Working around fwupd bug on Linux distributions
  • +
  • Working around fwupd bugs on Linux distributions
  • Booting into the bootloader interface
  • Connecting the device
  • Unlocking the bootloader
  • @@ -202,21 +202,16 @@ Ubuntu, install the android-sdk-platform-tools-common package.

    -
    -

    Working around fwupd bug on Linux distributions

    +
    +

    Working around fwupd bugs on Linux distributions

    -

    Some Debian, Ubuntu, and derivative distributions have an outdated fwupd package - with a bug breaking connecting to Android's bootloader interface (fastboot) while - fwupd is running since it tries to connect to arbitrary devices. This section can - be skipped on Arch Linux and other distributions with fwupd 1.9.10 or later since - we reported the bug and it was fixed. This never impacted Android or ChromeOS.

    +

    The fwupd software often used on Linux distributions for updating firmware is + known to incorrectly connect to arbitrary devices using the fastboot protocol which + will block using them for the intended purpose. This can result in receiving an + error about the USB device already being in use (claimed) when trying to connect to + it for the intended purpose.

    -

    Check your fwupd version with the following command:

    - -
    apt-cache policy fwupd
    - -

    If you have a fwupd version earlier than 1.9.10, you can stop fwupd with the - following command:

    +

    You can stop fwupd with the following command:

    sudo systemctl stop fwupd.service
    diff --git a/static/js/redirect.js b/static/js/redirect.js index 3689a344..5043341a 100644 --- a/static/js/redirect.js +++ b/static/js/redirect.js @@ -35,6 +35,9 @@ const redirects = new Map([ ["/install/cli#obtaining-signify", "/install/cli#obtaining-openssh"], ["/install/web#fastboot-as-non-root", "/install/web#flashing-as-non-root"], + ["/install/cli#working-around-fwupd-bug-on-linux-distributions", "/install/cli#working-around-fwupd-bugs-on-linux-distributions"], + ["/install/web#working-around-fwupd-bug-on-linux-distributions", "/install/web#working-around-fwupd-bugs-on-linux-distributions"], + ["/build#enabling-updatable-apex-components", "/build#apex-components"], ["/build#kernel-6th-generation-pixels", "/build#kernel-6th-through-9th-generation-pixels"], ["/build#kernel-7th-generation-pixels", "/build#kernel-6th-through-9th-generation-pixels"],