This tutorial will guide you step by step to flash TWRP v3.0.2-0 either temporarily or permanently on your Mi 4s phone through fastboot method. As always, we have to keep remind you that flashing custom recovery may not void your phone warranty but it may lead to a bricked device, bootloop, or damaged device if done wrongly. Therefore, creating full backup of all important files and data of your phone is a good practice. For your information, each Xiaomi device comes with stock Mi Recovery that should be sufficient for common tasks but not for flashing SuperSU or flashing custom Android ROM. TWRP Recovery is the most popular custom recovery tool among many MIUI fans due to its compatibility as well as its easiness to use. Flashing TWRP on your Mi 4s will bring you to a one step closer to root your device.
Here are some things you may need :
A Mi 5 device with unlocked bootloader;
A computer (PC/Laptop) running Windows 7, 8, 8.1, or 10 (64-bit system is recommended);
A USB cable – just use the one came with your phone;
Firstly, Disable Windows Drivers Signature Enforcement on your computer. How to do it? Simply follow these sequence. You can do that by pressing Windows button + i on keyboard to reveal the Settings page. From there you can choose Update & Security >> Recovery >> Advanced startup >> Restart now. Wait a moment for your computer to restart. Next, go to Troubleshoot >> Advanced options >> Startup settings >> Restart. Once your computer restarts, now choose Disable driver signature enforcement which is option number 7. See the video below for more details :
Secondly, install MIUI Flashing tool you’ve just downloaded into your computer. This is necessary to make sure that you need all required drivers come within MiFlash tool.
Thirdly, rename the twrp-3.0.2-0-libra-aqua-20160612.img file to recovery.img.
Step 8 – Once done, you may need to wait for ~ 30 seconds to make sure the process is finished completely. Next, you may then turn off your phone by pressing (and holding) the Power button until the Fastboot logo disappears.
Step 9 – Disconnect your phone from your PC.
Step 10 – Next, let’s reboot into TWRP interface for the very first time by pressing Volume Up (+) and Power buttons all together until it reboots into TWRP.
That’s it. You can now reboot back to normal Android system. The next time you reboot into Recovery by pressing Volume Up + Power buttons. Enjoy!