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:
Recovery modein the menu which reboots into the error screen
fastboot oem unlockwhich gives me
FAILED (remote: oem unlock is not allowed)
fastboot boot twrp-3.3.1-0_k4y0z-20200202-02-fp3.imgwhich gives me
FAILED (remote: unlock device to use this command)
fastboot flash boot boot.imgwith the stock boot image, it gives me
FAILED (remote: Partition flashing is not allowed)
fastboot reboot emergencywhich reboots into the error screen
fastboot set_activeto 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?