From 070ae17174c48f5caf373cbc2e5f243c1c1448b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Habov=C5=A1tiak?= Date: Tue, 23 Jul 2024 14:42:17 +0200 Subject: [PATCH 1/2] Explain how to enable USB on snap-packaged Chromium The installer documentation previously claimed that USB on Chromium packaged by Ubuntu is broken. This was not accurate as it's just disabled and can be easily enabled. This commit removes/corrects the statements about Snap being problematic and adds a section that explains which command can fix the problem. --- static/install/web.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/static/install/web.html b/static/install/web.html index 88eac365e..f1e33b833 100644 --- a/static/install/web.html +++ b/static/install/web.html @@ -130,14 +130,15 @@

Prerequisites

Officially supported browsers for the web install method:

-

You should avoid Flatpak and Snap versions of browsers, as they're known to cause issues during the installation process.

+

You should avoid Flatpak and Snap versions of browsers, as they're known to cause issues during the installation process. + However some of them can be solved.

Make sure your browser is up-to-date before proceeding.

@@ -194,6 +195,17 @@

Flashing as non-root

On Arch Linux, install the android-udev package. On Debian and Ubuntu, install the android-sdk-platform-tools-common package.

+ +
+

Enabling WebUSB on snap-packaged Chromium

+ +

Ubuntu and some derived distributions ship Chromium packaged in Snap. This has access to USB disabled by default. + You can enable it using this command:

+ +
sudo snap connect chromium:raw-usb
+ +

You might need to restart the browser afterwards.

+

Working around fwupd bug on Linux distributions

From 7af0c11404343ae99a32d35cce6f3c2f72b2b8e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Habov=C5=A1tiak?= Date: Wed, 24 Jul 2024 08:34:37 +0200 Subject: [PATCH 2/2] Don't suggest browser restart This is not needed --- static/install/web.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/static/install/web.html b/static/install/web.html index f1e33b833..9115e45f6 100644 --- a/static/install/web.html +++ b/static/install/web.html @@ -203,8 +203,6 @@

Enabling WebUSB on sna You can enable it using this command:

sudo snap connect chromium:raw-usb
- -

You might need to restart the browser afterwards.