TeamWin / android_device_motorola_cedric

3 stars 8 forks source link

Can't flash twrp recovery because it's too big ? #2

Open solsticedhiver opened 3 years ago

solsticedhiver commented 3 years ago

I don't know if it's the right place to post this. It's a duplicate of https://github.com/TeamWin/android_bootable_recovery/issues/136 May be I need to delete that one instead ?

Using an unlocked Moto G5, I tried to flash twrp-3.5.1_9-0-cedric.img with fastboot flash recovery and this gives this followwing error:

$ fastboot flash recovery twrp-3.5.1_9-0-cedric.img
(bootloader) is-logical:recovery: not found
Sending 'recovery' (17536 KB)                      OKAY [  0.832s]
Writing 'recovery'                                 (bootloader) Image size exeeded partition limits
(bootloader) Preflash validation failed
FAILED (remote: '')
fastboot: error: Command failed

So I used the previous versin which a little smaller twrp-3.5.0_9-0-cedric.img and it owrked:

$ fastboot flash recovery twrp-3.5.0_9-0-cedric.img
(bootloader) is-logical:recovery: not found
Sending 'recovery' (16448 KB)                      OKAY [  0.793s]
Writing 'recovery'                                 (bootloader) Image not signed or corrupt
OKAY [  0.526s]
Finished. Total time: 1.325s
solsticedhiver commented 3 years ago

Well worked is not correct. I booted once in TWRP recovery, but now booting into recovery gives me a "No command" with dead droid. So it was not flashed after all ? But that's another isue, I guess...