Finally, the official build of TWRP recovery is now available for Xiaomi Redmi Note 7 Pro codename Violet. You can download TWRP v3.3.1-0 flash-able image file from below direct link.
Previously, we’ve seen the unofficial Chinese TWRP: the LR.Team’s build by wzsx150. It works just fine with few bugs expectation.
Luckily, the official build has just arrived not so long after its unofficial friend.
The maintainer of this release is Adarsh.S.Kushwah a.k.a Doomsday101. The developer states that everything works within the v3.3.0-0 except one thing. The recovery does not support data encryption on MIUI ROM.
It means you have to wipe /data partition.
Furthermore, flashing this recovery demands you to wipe userdata. Hence, you may expect to lose all your files, data, and settings unless you created backups.
This official build was based on Xiaomi SM6150 kernel source. It has all key features of TWRP v3.3.0-0. The best part, this TWRP build has fixed a major bug that prevented flashing any files due to “digest-verification“.
- Fix automatic installing of OTA zips on encrypted devices - Remove SuperSU from TWRP - Support both md5 and md5sum file extensions when doing MD5 checking for zip files
Download TWRP v3.3.0 for Redmi Note 7 Pro
The official TWRP build available below is for Redmi Note 7 Pro codename Violet. Please do not flash it on Redmi Note 7 codename Lavender.
Download from its official page:
We strictly suggest you to grab the flash-able image file from its official page. That way you can check for latest stable version available.
Alternatively, you can also download it from mirror link below. The file is hosted on cloud servers. The direct link supports resume-able multiple connections.
- Fix selinux issues during formatting
- Various fixes for toybox and toolbox builds
- Flash both A and B partitions when installing a recovery ramdisk
- Add option to uninstall TWRP app from /system
- Create digest for subpartitions
Necessary Patch File
You will also need to download and flash this patched fstab, vbmeta, and thermal configs package.
It is a small patch file but it is very crucial to improve your system performance prior installing the TWRP recovery above. The patched fstab, vbmeta, and thermal configs file is essential for Redmi Note 7 Pro running stock MIUI ROM.
How to Install Official TWRP on Redmi Note 7 Pro
These are the comprehensive steps to flash the official build of TWRP (v3.3.0) on Redmi Note 7 Pro. The steps ar basically similar to the usual TWRP flashing task.
Unfortunately, Google and phone manufacturers have become much more clever. There is always a way to prevent users from tempering devices’ system and settings.
- 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.
- Download ADB Fastboot Installer v1.4.3 (zip).
- Download TWRP image file from the link above (.img).
- Download latest Magisk root (zip).
- Download Magisk Manager app (apk).
- Download patched fstab, vbmeta, and thermal configs file (zip).
- Download Android Platform Tools r28.0.1 (zip).
Words of caution:
Flashing a custom recovery requires an unlocked bootloader. This process wipes all your data. Please create backups beforehand. Neither TWRP Dev Team nor our team will hold the responsibility for any damages. Please proceed with caution.
No one forces you to do this. Please proceed responsibly.
We strongly encourage you to read the whole article thoroughly. Do it once you have a full understanding of the general flow of the steps.
The official build v3.3.1-0 has decryption issue and could replaced by the stock MIUI recovery in the second boot. The alternative, follow this guide to flash TWRP v3.3.1-6 (unofficial) on Redmi Note 7 Pro to fix the issues.
Steps to Flash TWRP on Redmi Note 7 Pro
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.
Step 5. Copy the downloaded “twrp-3.3.0-0-violet.img” file and the “Patched_fstab-vbmeta-thermal.zip” file into the “platform-tools” folder.
Step 6. Rename the “twrp-3.3.0-0-violet.img” file to “recovery.img“. In many cases, you might just need to neglect the .img file extension. Hence, you may just need to rename it from “twrp-3.3.0-0-violet” to “recovery” (if the file extension is hidden).
Step 7. Now enable USB debugging on your phone. You might have it enabled during bootloader unlocking process. However, it is a good practice to double-check it.
Enabling 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 “OK“.
Step 8. Now connect your Redmi Note 7 Pro to your computer using its USB.
Step 9. Choose “File Transfer” mode when asked (do not choose charging mode”.
Step 10. In Windows Explorer, go to the “platform-tools” folder. Hold down the Shift button on 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.
Step 12. Next, it is required to wipe userdata. At this point you’ll lose all your data. Issue this command to proceed:
fastboot format userdata
Step 13. Now you can flash TWRP by typing this command:
fastboot flash recovery recovery.img
The flashing process should finish in few seconds.
Step 14. Once done, you have to reboot into TWRP while the phone is in the rebooting process. Sounds confusing? All you have to do is typing this command then press “Power” and “Volume Up” buttons simultaneously soon after issuing the command.
Again, this is important to press the key combo to boot into TWRP right after issuing the fastboot reboot command. This step is crucial because your phone will replace TWRP recovery automatically during first boot.
This step allows TWRP to patch the stock ROM to prevent it from replacing TWRP that has been flashed.
Step 15. Your phone will reboot into TWRP recovery. Now do the “Swipe to allow system modifications“.
Step 16. Choose “Wipe” from the TWRP’s main menu then “Format Data“. Proceed accordingly but do not do this through Advanced Wipe option.
Step 17. Next, back to the command prompt window then type this command:
adb push Patched_fstab-vbmeta-thermal.zip /tmp/
The command above transfers the zip file to the ramdisk in your device. The location is at /tmp/ folder to be precise.
Step 18. Now in TWRP, go back to main menu then choose “Install“.
Step 19. Next, locate the zip file that you have just copied. You just need to navigate to the /tmp/ directory. Found it? Tap on the file name to select it.
Step 20. Do the “Swipe to confirm flash” action.
Step 21. Wait for the process to finish. Once done, you can reboot into system again (Choose the “Reboot” menu then “System“).
That’s it. Congratulation, you have successfully installed official TWRP recovery on Xiaomi Redmi Note 7 Pro.
How to Root Redmi Note 7 Pro
You can now root Xiaomi Redmi Note 7 Pro easily since you have already had TWRP recovery installed. Follow steps below to root the Reno 7 Pro codename Violet.
Step 2. Now copy the two zip files (e.g: Magisk-v19.1.zip and Disable-Encryption.zip) to your phone internal storage. You can do this through Windows Explorer.
Step 3. Grab your phone and reboot it into TWRP Recovery mode. You can do this by turning it off completely then press Power and Volume Up key simultaneously.
Step 4. Choose “Install” from the main menu, then locate the Magisk zip file. Tap on it to select it.
Step 5. Do the “Swipe to confirm flash” action.
Step 6. Once done, go back to the main menu, select “Install“, then locate the “no-verity-force-encrypt-6.0.zip” file. Tap on it to select it.
Step 7. Do the “Swipe to confirm flash” action again.
Step 8. Once done, choose “Reboot” then “System“.
Step 9. Your phone will reboot into system again. This time, the phone is rooted.
Step 10. You’ll notice a new app called “Magisk Manager”. This app is crucial to manage and organize all root access on your phone. You might need to install it manually if you couldn’t find it for some reason. You can grab Magisk Manager APK file here.
That’s all. You can also use Root Checker app to confirm the root status.
Do you have any questions? Have you found any difficulties? Drop your comments below.