Official TWRP for Redmi Note 7 Pro is Now Available!

Official TWRP for Redmi Note 7 Pro is Now Available! 1

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“.

v3.3.0-0 Changelog:

- 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:

https://dl.twrp.me/violet/

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.

UPDATE v3.3.1-0:

File name :
twrp-3.3.1-0-violet.img
Version 3.3.1-0 | 2656 downloads | Size: 64 MB

Changelog v3.3.1-0:

- 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
File name :
twrp-3.3.0-0-violet.img
Version 3.3.0-0 | 908 downloads | Size: 64 MB

Necessary Patch File

You will also need to download and flash this patched fstab, vbmeta, and thermal configs package.

File name :
Patched_fstab-vbmeta-thermal.zip
Version n/a | 2873 downloads | Size: 815 KB

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.

REQUIREMENTS

  1. You will need a Windows computer either a PC or a Laptop.
  2. A USB data cable. Make sure it’s a data cable and not a charging-only cable.
  3. Download ADB Fastboot Installer v1.4.3 (zip).
  4. Download TWRP image file from the link above (.img).
  5. Download latest Magisk root (zip).
  6. Download Magisk Manager app (apk).
  7. Download patched fstab, vbmeta, and thermal configs file (zip).
  8. 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.

UPDATE:
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).

ALSO READ:  NotKernel Offers Latest CAF Tags and Linux-stable Kernel for Redmi Note 7 (Lavender)

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“.

Effortless Root Poco F1 with Orange Fox and Magisk 3

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“.

Official TWRP for Redmi Note 7 Pro is Now Available! 2

Step 11. Now type following lines of command. Hit Enter every each line to issue it.

adb devices
adb reboot bootloader
fastboot devices

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.

Official TWRP for Redmi Note 7 Pro is Now Available! 3

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.

fastboot reboot

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 1. In your computer, download Magisk and Disable Encryption Patch. You should now have tow ZIP files.

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.

Tags:

17 thoughts on “Official TWRP for Redmi Note 7 Pro is Now Available!”

  1. After re-booting into fastboot mode via adb command, “fastboot devices” doesn’t see any devices and all further commands fail. What could be the problem? My phone looks like unlocked:
    OEM Unlocking = Bootloader is already unlocked
    Mi Unlock status = Unlocked
    USB Debug = ON.

    It behaves like the phone is not connecting with PC when in fastboot mode.

    1. It means your computer cannot detect your phone properly. Try:
      – Disable Windows Drivers Signature Enforcement on your computer.
      – Reinstall USB Driver
      – Use latest Android Platform Tools
      – Use USB 2.0 instead 3.0
      – use better USB cable.

  2. I was able to flash TWRP using Linux PC with androidSDK. I guess, usb drivers on Windows did not work properly. All steps 1 through 21 worked. However, booting back into the system forces the updates and invokes phone setup wizard. So, when it comes to rooting portion, it looks like TWRP is gone, I see just standard recovery interface after VolUp+Pwr. Should I just skip step 21 and load and install all “rooting” files at the same time as fstab patch is applied?

    MIUI verson is; Global 10.3.5.0 (PFHINXM), Android: 9 PKQ1181203.001, patch level 2019-04-01.

    1. Try reflashing TWRP again. But once the process finished, do not boot into recovery nor system.

      Follow this:
      1. type fastboot reboot but do not hit enter yet.
      2. Press and hold the Powe and Volume Up buttons
      3. Hit Enter on your keyboard.

      This will prevent Mi stock recovery to replace TWRP again.

  3. Getting into TWRP for the first time (step 15) wasn’t a problem. It worked by pushing pwr+VolUp either before or right after issuing fastboot reboot. As I said earlier, the steps 1 to 21 worked flawlessly, there were no errors when formatting the data or installing fstab patch. However, once rebooted back into the system, TWRP still got replaced by the stock recovery. So, the only way for me to root the system would be to install Magisk portion when in TWRP recovery mode for the first time (at step 15).

    It looks to me that there is some missing step to disable modification of the recovery image by the stock ROM. Does it happen magically when TWRP starts for the first time? Is the patch “Patched_fstab-vbmeta-thermal.zip” responsible for this?

    Or, maybe, the bootloader is still locked even if the system configuration says it is unlocked?

  4. Digging further, looks like TWRP must do the magic on the first boot, but it is not happening. Maybe, due to a bug or some other “secret” protection in the stock ROM. The bootloader is definitely unlocked. I can see in the fastboot mode:

    # ./fastboot oem device-info
    (bootloader) Verity mode: true
    (bootloader) Device unlocked: true
    (bootloader) Device critical unlocked: true
    (bootloader) Charger screen enabled: true
    OKAY [ 0.005s]
    Finished. Total time: 0.006s

  5. Finally, the problem solved — I was wasting my time for 2 days against broken TWRP image which simply doesn’t work with MIUI 10.3.5.0. There are lots of upset people in xda forum not being able to flash TWRP on Redmi Note 7 Pro running the latest patches. There is unofficial fix:
    https://forum.xda-developers.com/redmi-note-7-pro/development/unofficial-twrp-3-3-1-proper-t3933531. This patch has big notice DO NOT DISABLE encryption which also means no need to reformat data partition, so the installation can be done without wiping out existing data.

  6. I was able to follow the steps up until step 12. Whenever I try the command, PowerShell tells me that “Formatting is not supported for filesystem with type ‘f2fs’.” And I’m afraid to move any further thinking of the consequences. I have followed all the instructions properly. How do I proceed?

  7. Hello, I was able to do all the steps, except 12, because I used a different command, but it seems that twrp was overridden by the stock recovery. I got past all the steps and even made the official twrp app into a system app. I’m going to try again, but any suggestions?

Leave a Reply

Your email address will not be published. Required fields are marked *