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

successful WebUSB install in currently unsupported Flatpak Chromium #890

Open
Renner0E opened this issue Mar 1, 2024 · 7 comments
Open

Comments

@Renner0E
Copy link

Renner0E commented Mar 1, 2024

Hey,

I know that the GrapheneOS WebUSB installer does not support flatpak browsers.

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

But I still managed to successfully install GrapheneOS on a Pixel 7a using the (as of now) unofficial flatpak from flathub
I did not change any permissions on the flatpak.

Host OS: Fedora Kinoite 39 (also known as Fedora Atomic Desktop, Silverblue, Kinoite etc.)
using a custom OS image from https://universal-blue.org/ which preinstalls the needed udev rules.

relevant HOST packages:
$ rpm -qa | grep -E "android|udev"

libgudev-238-2.fc39.x86_64
systemd-udev-254.9-1.fc39.x86_64
system-config-printer-udev-1.5.18-5.fc39.x86_64
ublue-os-udev-rules-0.7-1.fc39.noarch
solaar-udev-1.1.10-1.fc39.noarch
openrgb-udev-rules-0.9-2.fc39.noarch
android-udev-rules-20230310-1.fc39.noarch
oversteer-udev-0.0.git.336.75dd5cd5-1.fc39.noarch

I didn't test the flatpaks of Edge, Brave and Chrome but maybe consider removing the warning regarding the flatpak versions.
Or even better explicitly stating that the flatpak versions work.

If that's OK I'll PR it in a couple days.

@thestinger
Copy link
Member

Each supported browser will need to be tested.

@Renner0E
Copy link
Author

Renner0E commented Mar 1, 2024

Alright then, I'll test them in the next couple days.
I'll let you know.

@Renner0E
Copy link
Author

Renner0E commented Mar 3, 2024

I tested a bunch and tldr Edge, Brave and stock Chromium work.
Google Chrome and Google Chrome dev do not work.

Flatpak Browser from Flathub unlock Bootloader Download Release Flash release Lock Bootloader Remove non-stock key Install stock OS
Brave
Chromium
Google Chrome
Google Chrome Dev
Microsoft Edge

I tested flashing GrapheneOS, wiping the non-stock key and installing the stock OS from Google with their web flashing tool.
On Chrome/dev during the flashing process the last reboot times out and you dont get to the part with fastbootd.
I did simple troubleshooting steps like re-plugging the shipped USB-C cable and restarting the browser and resetting the browser tab permissions.

Tested on Framework 13 Laptop and Asrock X670E PRO-RS (BIOS vers 2.02 latest stable) Ryzen 9 7900X.

@thestinger
Copy link
Member

The Flatpak for Chrome would need to be fixed. Something is very wrong if it's not working for reboot into fastbootd.

@joker22008
Copy link

Ь

@matchboxbananasynergy
Copy link
Contributor

@Renner0E Could you test the browsers again with the latest changes to the web installer? We might be bypassing their issue with our latest changes. Would be good to get a solid confirmation.

@Renner0E
Copy link
Author

Renner0E commented Aug 5, 2024

@Renner0E Could you test the browsers again with the latest changes to the web installer? We might be bypassing their issue with our latest changes. Would be good to get a solid confirmation.

Sadly I don't have a spare phone anymore.

Either someone else has to test this or is there another way to simulate this/test without wiping any data from my phone.

I gifted the phone to someone and prior to that I tested a bunch of stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants