Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain how to enable USB on snap-packaged Chromium #984

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions static/install/web.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,15 @@ <h2><a href="#prerequisites">Prerequisites</a></h2>
<p>Officially supported browsers for the web install method:</p>

<ul>
<li>Chromium (outside Ubuntu, since they ship a broken Snap package without working WebUSB)</li>
<li>Chromium</li>
<li>Vanadium (GrapheneOS)</li>
<li>Google Chrome</li>
<li>Microsoft Edge</li>
<li>Brave (with Brave Shields disabled, since it caps storage usage at a low value to avoid fingerprinting available storage)</li>
</ul>

<p>You should avoid Flatpak and Snap versions of browsers, as they're known to cause issues during the installation process.</p>
<p>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.</p>

<p>Make sure your browser is up-to-date before proceeding.</p>

Expand Down Expand Up @@ -194,6 +195,15 @@ <h2><a href="#flashing-as-non-root">Flashing as non-root</a></h2>
<p>On Arch Linux, install the <code>android-udev</code> package. On Debian and
Ubuntu, install the <code>android-sdk-platform-tools-common</code> package.</p>
</section>

<section id="enabling-webusb-on-snap-packaged-chromium">
<h2><a href ="#enabling-webusb-on-snap-packaged-chromium">Enabling WebUSB on snap-packaged Chromium</a></h2>

<p>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:</p>

<pre>sudo snap connect chromium:raw-usb</pre>
</section>

<section id="working-around-fwupd-bug-on-linux-distributions">
<h2><a href="#working-around-fwupd-bug-on-linux-distributions">Working around fwupd bug on Linux distributions</a></h2>
Expand Down