First, some background. I have followed the steps in ✏ FP3: unlock the bootloader to unlock my bootloader and flashed a GSI image according to [HOW TO] Flash a custom ROM on FP3 with GSI .
At this point everything was working as expected, so I decided it would be nice to re-lock the bootloader as an extra security precaution. I did it like this:
- Disabled OEM unlocking in the android settings (In hindsight this might have been the biggest mistake)
- Rebooted into fastboot
- Ran the command
fastboot oem lock
And this is where the trouble begins. When the device starts, I first briefly get the fairphone logo and then I get the following error on the screen
Your device is corrupt. It can’t be trusted and will not boot
Then it sits for 5 seconds and tries again, giving me the same error. After a lot of retries it boots into fast boot mode directly.
The only thing I can get in to is fastboot, where I’ve tried the following things:
- Choosing
Recovery mode
in the menu which reboots into the error screen fastboot oem unlock
which gives meFAILED (remote: oem unlock is not allowed)
fastboot boot twrp-3.3.1-0_k4y0z-20200202-02-fp3.img
which gives meFAILED (remote: unlock device to use this command)
fastboot flash boot boot.img
with the stock boot image, it gives meFAILED (remote: Partition flashing is not allowed)
fastboot reboot emergency
which reboots into the error screenfastboot set_active
to switch between the slots, both cause a reboot into the error screen
I’m presuming that what is happening is that when locked, the bootloader tries to verify the boot image, but since that has been modified, it fails.
Is there anything I can do, or am I the first lucky person to brick my device?