This is a dedicated guide on how to flash TWRP custom recovery on Xiaomi Redmi 7, an entry-level smartphone running MIUI 10 based on Android 9.0 Pie. Since the official build of TWRP is not available just yet for Redmi 7, we’ll use the unofficial one.
The method of flashing TWRP should be similar between the official and its unofficial builds. You can check if the official build has been available at its official page here.
Meanwhile, we’ll use LR.Team’s TWRP by Wzsx150. This build has all the basic features of TWRP despite being the unofficial one. The only drawback is its default language. Wzsx150 is a Chinese developer and hence the default language is predictably Chinese.
Nevertheless, it is pretty easy to switch to English. We have posted a nice little guide on how to change default TWRP language from Chinese to English here.
Now enough with the chitchat and let’s go through the main course. Shall we?
- You will need a Windows computer either a PC or a Laptop.
- A USB data cable. Make sure it’s a data cable and not a charging-only cable. We recommend you to use the one shipped with your device.
- Download ADB Fastboot Installer v1.4.3 (zip).
- Download Android Platform Tools r28.0.1 (zip).
- Download LR.Team TWRP Recovery (.img).
- Download latest Magisk root (zip).
Flashing a custom recovery requires an unlocked bootloader. This process wipes all your data.
We hold no responsibility for any damages. Please proceed with full caution.
No one forces you to do this. Please proceed responsibly. We recommend you to read and grasp the whole steps prior to actually implementing the steps.
How to Flash TWRP on Redmi 7
Step 1. Disable Windows Drivers Signature Enforcement on your computer. We have the detailed tutorial here.
Step 2. Extract Xiaomi ADB Fastboot Driver zip file (miui-ADB-Driver-Installer-v1.4.3.zip) and install it on your computer. This should finish in seconds. Make sure you install it on C:\adb\. This step is necessary to install ADB Fastboot system-wide.
Step 3. Extract the miui-platform-tools_r28.0.1-win.zip on your computer. You’ll get a folder called “platform-tools“. This step is important to make sure you use the latest version of ADB-Fastboot.
Step 4. Unlock the bootloader of your phone. Read the full guide on how to unlock MIUI bootloader officially here. Please be aware that the process requires you to reset your phone. All your data will be lost. Unlocked already? Jump to the next step.
Step 5. Rename the downloaded recovery from (for instance) recovery-TWRP-3.3.0-0420-REDMI7-CN-wzsx150.img to recovery.img file name. Doing so is easy. Simply right-click on the file and choose Rename.
Step 6. Copy/move that recovery.img file to the “platform-tools” folder.
Step 7. Now enable USB debugging on your phone. You might have it enabled during the bootloader unlocking process. However, it is a good practice to double-check it.
Enable Developer Options, go to:
Settings >> About phone >> tap the MIUI version 7x >> You are developer!
Enable USB Debugging, go to:
Settings >> Additional Settings >> Developer Options >> USB Debugging >> toggle it on.
A notification will pop up on your screen. Tap the “OK” button.
Step 8. Next, connect your Redmi 7 to your computer using its USB.
Step 9. Choose the “File Transfer” mode when asked (do not choose the charging mode).
Step 10. In Windows Explorer, go to the “platform-tools” folder. Hold down the Shift button on the keyboard, right-click anywhere within that folder, and choose “Open command prompt window/PowerShell window from here“.
Step 11. Now type following lines of command. Hit Enter every each line to issue it.
adb reboot bootloader
The first line asks your computer to recognize your device. The second line instructs your phone to boot into bootloader mode a.k.a fastboot mode. You’ll see the Mi Bunny logo displayed.
This instructs your computer to establish an ADB connection with your device while verifying any device attached. Second, this also reboots your device into Fastboot mode (bootloader mode). You will see your phone rebooting and you will also see the Mi Bunny Fastboot logo displayed.
Step 12. Next, type following command lines and hit Enter on the keyboard:
fastboot flash recovery recovery.img
The first command flashes TWRP to the recovery partition. The process shall finish in a few seconds.
Step 13. It’s time to reboot into TWRP recovery for the very first time. Type this command but DO NOT hit the Enter key just yet:
Step 14. Grab your phone. Press the Power button and the Volume Up button simultaneously. Hold it for approximately 3 seconds, then hit the Enter key on your keyboard.
Voila! Your phone is now entering TWRP recovery.
You may need to swipe to confirm system modifications. Yes, it is in Chinese but the meaning is predictable. Simply do it and you’ll be in the main menu of TWRP. Again, you can follow steps explained here to switch from Chinese to English.
HOW TO ROOT REDMI 7
Step 1. Copy or move the Magisk .zip file to the “platform-tools” folder.
Step 2. Copy the zip file to the device using this command:
adb push Magisk-v19.3.zip /tmp/
p.s: change Magisk-v19.3.zip with the latest version of Magisk.
Step 3. Choose “Install” from the main menu of Pitch Black TWRP.
Step 4. Locate the Magisk zip file. Tap on it to select it.
Step 5. Do the “Swipe to confirm flash” action.
Step 6. Finally, reboot your phone by choosing Reboot then System.
That’s all. Ran into problems? Do not hesitate to leave comments below.
Found a broken link? Write a comment below!