Trapped in fastboot mode with locked bootloader and corrupted custom ROM

Sure :slightly_smiling_face:
Keep in mind that I haven’t tested this, because I didn’t lock my bootloader afterwards and I can’t guarantee that there’s no possibility left to brick your phone!

With that out of the way, download the boot.img and the Magisk.apk (for others trying this on a different ROM, please use the corresponding boot.img for that ROM!) from those two links to your PC…

…and enable ADB debugging on your FP4 if you haven’t already.

  • Install the Magisk app by either running adb install Magisk-v24.3.apk or transferring the .apk to your phone
  • adb reboot bootloader and fastboot boot calyx-3.3.2_magisk_boot.img should boot you into a Magisk enabled Calyx
  • adb shell su -c 'resetprop ro.boot.flash.locked 1' should show a prompt on your phone screen to grant root privileges…
  • Change OEM unlocking to on in Developer options.
  • adb reboot bootloader and most importantly check if fastboot flashing get_unlock_ability actually returns 1
  • :pray: Pray to the ancient gods :smirk:
  • fastboot flashing lock

There might be, I only went with the tools I know, so others more knowledgeable in low level stuff maybe can help here :thinking:

10 Likes