1

If I want to boot into a temporary recovery by issuing command

fastboot boot my_temp_recovery.img

must the bootloader of the device first be unlocked?

jxramos
  • 595
  • 1
  • 4
  • 15
  • 2
    A locked bootloader boots a boot.img (or recovery.img) only if it's signed with OEM's private keys: https://android.stackexchange.com/a/218886/218526 – Irfan Latif Jul 04 '21 at 17:30
  • 1
    @alecxs It depends on the OEM. I had a Nokia device which used to boot boot.img from factory firmware. Never tested with any other device because the very first thing after having a device is bootloader unlocking ;) – Irfan Latif Jul 05 '21 at 07:45

1 Answers1

0

It does indeed look like an unlocked bootloader is a requirement even for temporary boots, the key message found is the Device not unlocked cannot boot

$fastboot boot twrp.img
Sending 'boot.img' (15240 KB)            OKAY [  0.510s]
Booting                                  FAILED (remote: '    Device not unlocked cannot boot')
fastboot: error: Command failed
$fastboot oem device-info
(bootloader)    Device tampered: true
(bootloader)    Device unlocked: false
(bootloader)    Charger screen enabled: false
(bootloader)    Display panel:
OKAY [  0.000s]
Finished. Total time: 0.000s
jxramos
  • 595
  • 1
  • 4
  • 15