I am having some issues in reverting to FPOS. I’ve got my FP5 and tried IodeOS with a locked bootloader. Unfortunately non FOSS apps forced me back to the Stock Rom. The IodeOS installation was on Security Patch level: 13. Dec 2024
I waited for the OTA Update of .098 to relock my Bootloader but unfortunately, the fastboot parameter get_unlock_ability was 0. So i did not lock it.
I was finally able to download the Fastboot version of .098 today (SPL 5. Jan 2025). I flashed it multiple times like this:
With a modified flash file: (to prevent rebooting)
# Toggles
AUTO_REBOOT="false" # Control reboot behavior. Default is "true"
DATA_WIPE="true" # User data wipe. Default is "true"
DRY_RUN="false" # No-flash run. Default value is "false"
FRP_WIPE="true" # frp wipe. Default is "true"
INTEGRITY_CHECK="false" # Checksum run. default value is "true"
REBOOT_TO_BOOTLOADER="false" # default value is "false"
What am I doing wrong? I’ve never tried to trigger a fastboot lock command, but iode f.e. still offers me the option. Is it somewhat save to just try it, considering that I am 100% sure the Security Patch Level / Rollback protection has no reason to trigger?
By Reflashing FPOS and not booting into Android, then using the volume keys to restart the bootloader.
So I proceeded with locking as in all the tutorials:
fastboot flashing lock_critical
It worked, but the Phone rebooted with out me being able to stop it (adb and fastboot obviously couldn’t connect). But, as you might expect, after entering fastboot once again, get_unlock_ability is back to 0, with no way of changing it. Even worse, I am not able to reflash the FPOS, since fastboot flashing unlock_critical does not work.
so now I’m stuck in semi unlock jail and sincerely f*cked. Is there anything I could still try? This whole process is incredibly exhausting and the written information contradicts itself, it would be helpful if anyone with experience could help me.
EDIT: For some reason I was able to flash iodeOS without locking critical. It did not tho help to change unlock_ability back to 1. Now Im in semi unlock jail on IodeOS, with no way of reverting to FPOS.
Ive noticed, that i can enable OEM unlocking in iode (allways grayed out in FPOS). could this help or induce a disaster?
Enabling OEM unlocking in iodeOS gave me unlock_ability and I was able to unlock critical again. Flashing FPOS worked.
The way I found to relock both critical and non critical:
Flash FPOS without reboot (tripplecheck that the Security patch level is matching/higher)
Restart bootloader via Volume/powerkey if needed
check fastboot flashing get_unlock_ability
fastboot flashing lock
Let the Phone reboot, setup and enable developer options. Because the Bootloader is locked the “OEM Unlocking” option should be visible
Enable OEM Unlocking and reboot to bootloader (adb)
check if fastboot flashing get_unlock_ability is equal to 1
fastboot flashing lock_critical
Should be all set and done. Remember to disable developer options/OEM unlocking once set up.
Do never lock anything while fastboot flashing get_unlock_ability is 0, unless you know more than I do.
Hopefully this will help some poor soul in the future with the same Issue.
Its been a good Monolog, im off setting up my new Phone
You dont need to check get unlock ability to lock cirtical.
The critical step is this
Once you could boot into sytem after that and OEM unlocking is even enabled you are good to go. Normally I think you lock critical before you lock the bootloader and you could even let this unlocked