Unfortunately, I got a boot loop using the instructions here and in the comments. I spent quite a bit of time trying to fix and speaking with the CalyxOS folks in the matrix channel. But finally figured it out. I can’t edit the original post, but here are the instructions edited to be more up to date and fixed all issues for me:
Prerequisites:
- Make sure you have the latest version of
adbandfastboot, which is 33.0.3-8952118 as of the time of this writing. Not having the latest versions is what caused a boot loop for me. - Download the latest FP4 CalyxOS install image (as of 9/7/2022): https://release.calyxinstitute.org/FP4-factory-22308020.zip (check if a newer one is available by visiting releases on the repository)
unzip FP4-factory-22308020.zip-
cd FP4-sq3a.220705.003.a1(we will run the scriptflash-all.shin this directory later during installation)
Installation:
- Go through Fairphone setup and install all available updates
- Enable Developer Options. Settings → About Phone → Hit ‘Build Number’ until activated
- Get Bootloader Unlocking Code for Fairphone 3 - Fairphone and follow instructions to enable OEM unlocking in Developer Options
- in Developer Options enable USB Debugging
- Connect phone to PC via USB and run
adb reboot bootloader. From now on, just keep it connected until we are finished. Phone reboots into fastboot mode. Ifadbcannot find your device, try different USB cables and ports. Also make sure that your phone’s USB usage is set to “Transfer Data”. Tryadb kill-server; adb start-server, reconnect and try again. Allow access on the phone from your computer. - When the phone has rebooted into fastboot mode run
fastboot flashing unlock. Confirm with Vol Down + Power. This will wipe your data. You might needsudoif udev rules are missing. Iffastbootcannot find your device, again try different cables and ports, it seems to be very picky. The phone erases all data and reboots into FPOS. Skip through setup and again enable Developer Options and USB Debugging. Make sure OEM unlock is still enabled. - Again run
adb reboot bootloader. - Run
fastboot flashing unlock_criticalto fix any potential errors. I know earlier comments say not to do this. But I’ve been advised by experts in the CalyxOS matrix channel that this should be done - Now from the extracted FP4-sq3a.220705.003.a1 directory run
./flash-all.sh.
This is the scary part, this will wipe your OS! The device will reboot a couple of times. - When the script finishes start bootloader and go to recovery mode. If you get the screen with Android lying on its back, press Volume Up button while holding Power button down.
- With Vol Down select
Factory Data Resetand confirm with Power. System will again erase all data and finally reboot into CalyxOS. - If boot was successful, skip through setup and again enabled Developer Options and USB Debugging. We will wipe data one last time.
adb reboot bootloader- Relock the bootloader:
fastboot flashing lock. This is strictly not required but highly recommended. Also if you want to have SafetyNet Attestation, you must relock your bootloader. Again, this will erase all user data. Beware: there have been reports of unrecoverable bootloader loops after relocking, this can brick your phone. Before relocking, make absolutely sure, that your phone can boot into Calyx and that OEM Unlock is enabled in Developer Options. Double check if unsure! - Watch reboot into CalyxOS and enjoy your new degoogled privacy OS!