Every Xiaomi device comes with stock Mi Recovery that should be sufficient for common tasks but not for flashing SuperSU or flashing custom Android ROM. Rooting through SuperSU is an ultimate task every Android user wants to so all potentials of the phone can be unleashed. But how to install custom recovery and to replace stock recovery safely? Meet TWRP Recovery by Team Win developers team. TWRP Recovery is the most popular custom recovery tool among many MIUI fans due to its compatibility as well as its easiness to use. Moreover, official TWRP builds are always well-maintained and updated by the Team Win developers.
This article tells you all necessary steps – with a twist – on how to install TWRP v3.0.2-1 on Xiaomi Mi 5 based on what described in TWRP official website. 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.
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, extract TWRP v3 package (.zip file) you have downloaded. Use Winzip or Winrar. You will have twrp-3.0.2-1-gemini.img file.
p.s: We won’t use MiFlash tool but we just want to take advantage of its included ADB Fastboot USB Drivers. However, there is a chance your device still won’t be recognized by your computer. Simply install alternative USB ADB Drivers if that happens. E.g: Universal ADB USB Drivers, PDANet, or Xiaomi USB Drivers.
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!