Can't Boot Flashed Twrp


soooo

Members
Sep 27, 2016
2
13
Hi all,

Trying to move from the latest global stable to the latest stable xiaomi.eu one. I have managed to get ADB and the correct drivers installed. Booted my phone into fastboot, flashed twrp successfully but when I am trying to boot it by typing:

fastboot boot twrp.img

it returns the following error message:

downloading 'boot.img'
OKAY
booting...
FAILED (remote: unknown command)
finished.

Obviously, there is no twrp after rebooting the phone in recovery mode.

Does anyone know what is going on?
 
Yeap,you cant boot twrp temporarily.. You can only flash it using:
fastboot flash boot twrp.img

I did it first and it was successful. The phone booted with the stock recovery anyway so I decided to try booting it too.

Edit: Okay, so looks I have finally figured out what the issue is. Each time I flashed twrp and rebooted phone normally, it would wipe the twrp and replace it with the stock recovery. So I tried the following:
1. put phone in the fastboot mode (switch it off, then press and hold power + volume down for a couple of seconds)
2. flash twrp through fastboot
3. switch phone off completly by holding power + volume down again
4. boot phone into recovery by holding power + volume up
5. the phone will boot into twrp

From there you should be able to install the unofficial rom.
 
Last edited:
  • Like
Reactions: Antonis Deligiannis
Yeap,the kernel has a build-in mechanism to check if recovery is replaced. When you flash Twrp,you have to boot at least once and allow the system partition change that it suggests,so it doesn't get replaced!
 
  • Like
Reactions: iamme729