Installing CalyxOS on the Google Pixel 6a


Installing CalyxOS on the Google Pixel 6a

Prerequisites

  • Google Pixel 6a.
    Purchased outright, no contract or directly from Google.
    Not purchased via a mobile network carrier.
  • Ubuntu 22.04
#Install android-sdk-platform-tools-common
sudo apt update
sudo apt install android-sdk-platform-tools-common

#Download CalyxOS Factory Image
wget https://release.calyxinstitute.org/bluejay-factory-22307032.zip
#Verify 6f6bc3738331125e8c985d6edc2cda73374104207e92fd997bf101d1c886eb71
sha256sum bluejay-factory-22307032.zip

#Download CalyxOS Device Flasher
wget https://release.calyxinstitute.org/device-flasher/1.0.4/device-flasher.linux
#Verify 5367712159b76e06bdca04f9feafc6391e26ffbc197ef7d2f686ced15941874e
sha256sum device-flasher.linux
#Set to executable
chmod +x device-flasher.linux

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.

Enable USB Debugging

Settings → System → Advanced → Developer Options → USB Debugging

Unlocking Bootloader

  1. Boot phone into FastBoot (hold the volume down button while the phone boots.)
  2. 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

./device-flasher.linux

.......
6. Please use the volume and power keys on the device to lock the bootloader
Rebooting bluejay .............. ...
7. Disable OEM unlocking from Developer Options after setting up your device

Flashing complete

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
  • https://developers.google.com/android/images
  • https://calyxos.org/install/devices/bluejay/
,