I was trying to figure out how to install GraphineOS on my Pixel 6 Pro from Fedora 38 and I was not finding a lot of resources online.
I wanted to make this post as a PSA to anyone else trying to install GraphineOS from Fedora that the following steps worked for me:
Update Fedora: sudo dnf upgrade --refresh -y
Install android-toolssudo dnf install android-tools
Run the steps listed at https://github.com/M0Rf30/android-udev-rules to apply the correct udev rules
Clone this repository
git clone https://github.com/M0Rf30/android-udev-rules.git
cd android-udev-rules
Copy rules file
sudo cp -v 51-android.rules /etc/udev/rules.d/51-android.rules
OR create a sym-link to the rules file - choose this option if you'd like to
update your udev rules using git.
sudo ln -sf "$PWD"/51-android.rules /etc/udev/rules.d/51-android.rules
Change file permissions
sudo chmod a+r /etc/udev/rules.d/51-android.rules
Add the adbusers group if it's doesn't already exist
sudo cp android-udev.conf /usr/lib/sysusers.d/
sudo systemd-sysusers
Add your user to the adbusers group
sudo gpasswd -a $(whoami) adbusers
Restart UDEV
sudo udevadm control --reload-rules
sudo systemctl restart systemd-udevd.service
Restart the ADB server (back to Debian again)
adb kill-server
Replug your Android device and verify that USB debugging is enabled in
developer options
adb devices
You should now see your device
Install chromium sudo dnf install chromium
Run the Web installer directly from GraphineOS' website https://grapheneos.org/install/web
Profit! Hopefully your install went well.
Also I did run echo 0 | sudo tee /sys/bus/usb/drivers_autoprobe
when specified in the webinstaller instructions
*** The following steps worked for me and only me. I have only seen 1 or 2 post on /r/graphineos subreddit or these forums with similar steps and results . Please know that I can only attest to my own results and am not responsible for anything that may happen if you follow my steps. As of today fedora is still not a officially supported OS for installing GraphineOS and your results may vary. Proceed at your own risk!***