Installing GraphineOS on the Google Pixel 6a
GraphineOS does not come with microG. You can install it from F-Droid however it does not support signature spoofing
- Prerequisites
- Enable Developer Options
- OEM Unlocking
- Unlocking Bootloader
- Flash the ROM
- Re-Lock Boot Loader
- Relock OEM Unlocking Lock
- Related
- Links
Prerequisites
- Google Pixel 6a.
Purchased outright, no contract or directly from Google.
Not purchased via a mobile network carrier. - Download and extract platform-tools (Ubuntu 22.04)
sudo apt install libarchive-tools
curl -O https://dl.google.com/android/repository/platform-tools_r33.0.1-linux.zip
echo 'a339548918c3ab31c4d88416c21cee753bd942040540216c06e640f4b6db3ae2 platform-tools_r33.0.1-linux.zip' | sha256sum -c
bsdtar xvf platform-tools_r33.0.1-linux.zip
export PATH="$PWD/platform-tools:$PATH"
which fastboot
fastboot --version
sudo apt install android-sdk-platform-tools-common
sudo apt install signify-openbsd
alias signify=signify-openbsd
curl -O https://releases.grapheneos.org/factory.pub
curl -O https://releases.grapheneos.org/bluejay-factory-2022080500.zip
curl -O https://releases.grapheneos.org/bluejay-factory-2022080500.zip.sig
#Uncompress the ROM
tar xvf bluejay-factory-2022080500.zip
Enable Developer Options
Settings>About phone> tap on the build number until developer mode is enabled.
OEM Unlocking
Settings>System>Advanced>Developer options and toggle on the ‘Enable OEM unlocking’ setting. This requires internet access on devices with Google Play services as part of Factory Reset Protection (FRP) for anti-theft protection.
At this stage there still is no warning message at system boot.
Unlocking Bootloader
- Boot phone into FastBoot (hold the volume down button while the phone boots.)
- Connect phone to computer via USB cable
fastboot flashing unlock
OKAY [ 0.090s] Finished. Total time: 0.090s 4. Follow the phones onscreen menu to confirm unlock At this stage you will get a warning message on every boot.
Flash the ROM
#Needs to be run inside the directory as links are relative
cd bluejay-factory-2022080500
./flash-all.sh
Re Lock Boot Loader
Optional. If you want greater security re lock it. If you going to be flashing other ROMs leave it unlocked
fastboot flashing lock
Follow phones onscreen prompts to confirm re lock
Optional
Relock OEM Unlocking Lock
- Enable Developer Options
- Settings>System>Advanced>Developer options and toggle on the ‘Enable OEM unlocking’ setting
Related
Links
- https://developers.google.com/android/images
- https://en.wikipedia.org/wiki/MicroG
- https://grapheneos.org/
- https://grapheneos.org/install/cli