twrp

 

 


Installation

 

# Old android (Example: Mi4i)

Mi4i = ferrari

https://dl.twrp.me/ferrari/

[1] unlock device

[2] boot into fastboot

fastboot devices

71f1da59        fastboot

[4] flash the bootimage.img to recovery partition

fastboot flash recovery bootimage.img

i.e.

fastboot flash recovery twrp-3.3.1-0-ferrari.img

target reported max download size of 268435456 bytes
sending 'recovery' (24820 KB)...
OKAY [  0.795s]
writing 'recovery'...
OKAY [  0.875s]
finished. total time: 1.680s

[5] reboot to recovery mode(TWRP)

fastboot reboot recovery         # fastboot reboot

rebooting...

finished. total time: 0.000s

Note

many devices will replace your custom recovery automatically during first boot.

To prevent this, use Google to find the proper key combo to enter recovery.

After typing fastboot reboot, hold the key combo and boot to TWRP.

Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP.

If you don't follow this step, you will have to repeat the install.

 

# New android (Example: MiA1)

Use old

Sending 'recovery' (30972 KB)                      OKAY [  0.935s]
Writing 'recovery'                                 FAILED (remote: partition table doesn't exist)
Finished. Total time: 1.000s

fastboot flash boot_b <your recovery/bootimage.img>

 


 

 

Creative Commons license icon Creative Commons license icon