Home » Xiaomi » Redmi Note 7 » How to Install TWRP and Root the Redmi Note 7 and Redmi Note 7 Pro?

How to Install TWRP and Root the Redmi Note 7 and Redmi Note 7 Pro?

It can take up to 15 days or longer to unlock the bootloader of the Xiaomi Redmi Note 7. Most people do this so that they can begin tweaking the device but we need to install some things before that. So this tutorial will walk you through how to install TWRP and gain root access to the new Redmi smartphone.

OEMs that are friendly to the bootloader unlock process don’t make you wait this long. So Xiaomi fans that have waited 2 weeks (on average) to unlock their device are anxious to begin modding their phone. The worst part about this is that even developers are forced to wait this long to begin working on their mods.

In any case, we do have a working version of TWRP for the Redmi Note 7 and Redmi Note 7 Pro. This means that we can boot into TWRP and install it over our stock recovery. With a custom recovery installed that gives us the ability to install the popular Magisk Framework to gain root access.

Requirements

The only requirement here is that you unlock the bootloader of the Xiaomi Redmi Note 7. If you haven’t done this yet then follow that linked guide so you are actually able to install software that isn’t officially from Xiaomi. Once that is done then you can continue with this guide.


In order to complete the tutorial below, you're going to need some things set up ahead of time. Please follow the how to install ADB and Fastboot tools guide if you haven't done so already. Then you will need to follow the how to enable Developer Mode guide, as well as the tutorial that shows you how to enable USB Debugging Mode.

You will then need to open a command prompt within the within the same folder as your ADB and Fastboot tools and execute the "adb devices" command (without quotes) to start the ADB service. Then connect the device to the PC with a USB cable and you should see the prompt to grant USB Debugging Mode access from the PC the phone is connected to.

Once granted, you can then test this by running the command "adb devices" again (without quotes) in a command prompt or PowerShell to make sure the computer recognizes the device.


Time needed: 10 minutes.

How to Root the Xiaomi Redmi Note 7 and Install the TWRP Custom Recovery

  1. Download TWRP for the Redmi Note 7Download TWRP for the Redmi Note 7 Pro

  2. Rename this file to simple “twrp.img” (without quotes)

    Make sure it’s just twrp.img and not twrp.img.img

  3. Move or copy the twrp.img file to the same folder as your ADB and Fastboot tools are in

  4. Download and move or copy the Magisk ZIP file to the Redmi Note 7

  5. Do the same for the Magisk Manager APK file

  6. Boot the Redmi Note 7 into Fastboot Mode

    Redmi Note 7 Root TWRP Fastboot Mode

  7. Connect the Redmi Note 7 to the PC with a USB cable

  8. Then open a Command Prompt or Windows PowerShell in the same folder as your ADB and Fastboot tools

    This should also be the same folder you put the twrp.img file in

  9. Type out the following command. . .

    fastboot flash recovery twrp.img

  10. . . .and then press Enter on the keyboard

    Then wait for Fastboot to copy and install the image file to your recovery partition

    Redmi Note 7 TWRP Root Fastboot Flash Recovery

  11. Unplug the USB cable from the Redmi Note 7

  12. Press and hold both the Power and Volume Up buttons at the same time

    Continue holding these two buttons until the Redmi Note 7 reboots and you feel the phone vibrate

  13. As soon as you feel the smartphone vibrate then let go of the Power button

    But you need to continue holding the Volume Up button

  14. Let go of the Volume Up button when you see the blue TWRP splash screen

    Just like in the video below, your first install of TWRP will show the phone reboot immediately after seeing this screen

  15. Wait during this second boot cycle (without pressing anything) and it will reboot you right back into TWRP

    If everything is in Chinese refer to the video below to switch the language to English

  16. Tap the Install button at the top left of the Redmi Note 7 TWRP main menu

    Redmi Note 7 Root TWRP Install

  17. Browse to and tap on the Magisk ZIP file we downloaded earlier

  18. Swipe the white arrows at the bottom of the screen to the right to begin the install

    It shouldn’t take more than 15-30 seconds to install Magisk

  19. Then tap the Reboot System button when it appears at the bottom

    Redmi Note 7 Root Install TWRP Reboot System

  20. Wait for the Redmi Note 7 to boot back into MIUI and check to see if the Magisk Manager app has been installed

    It wasn’t for me on the Chinese version of MIUI but the global version could be different

  21. If it’s not there, then sideload the Magisk Manager application that we downloaded earlier

  22. With Magisk Manager installed, open up the application and make sure it says Magisk has been installed

    Redmi Note 7 TWRP Root

Subscribe

So, there are a couple of thing here that I wanted to focus on here now that you can see how the process goes. As usual about half of my tutorial is the setup process. I do this because I want you to be able to know exactly what you are doing from step to step.

Many tutorials on XDA or other websites just give you some files and expect you to know what to do. That doesn’t help those who are new to the whole process. It also doesn’t help when someone gets confused either. As once confusion sets in you can really mess up a phone and actually hard brick it.

Version of Magisk Used on the Chinese Redmi Note 7

In the tutorial above I am linking to version 17.1 of Magisk along with version 6.0 of the Magisk Manager. If you follow along in the video then you know exactly why I’m doing this. I usually always recommend that you install the latest version of a community developer’s work.

At that time version 18.x wasn’t working for the Redmi Note 7 or Redmi Note 7 Pro so we were forced to use the 17.x (or a modded version) of Magisk. This issue has been fixed in the 19.x series so again, try to use the latest version first. If you need to go back to older versions then you can do that if you’d like.

If you want to help out then submit bug reports (with the proper logs) and with luck, the issues will be fixed in the future. Please, do not harass developers to fix things like this. Even if you have donated to the project that does not give you the right to demand anything.

Android mods from the developer community are usually done during people’s spare time and most don’t even make any money from the work they give the community. The best way to know if an updated version of something like Magisk is working on the Redmi Note 7 and Note 7 Pro is to ask the community.

Places like XDA-Developers and Xiaomi.eu are your best bet as they are more focused on the mod scene than others. The Xiaomi subreddit is another good place to look but you may get mixed answers as doesn’t have dedicated sections for the Redmi Note 7.


If this tutorial helped you in any way, please consider donating via PayPalPatreon, Cryptocurrency, or GoFundMe. If you can't afford to donate then sharing this on social networks such as Facebook, Twitter, XDA, forums, etc. will also help a lot. I would also appreciate suggestions for Android tips and tutorials that you would like to see in the future.


19 thoughts on “How to Install TWRP and Root the Redmi Note 7 and Redmi Note 7 Pro?”

    1. It should, but I can’t say for sure. I am running the Chinese hardware on the EEA Global MIUI ROM with this TWRP build installed.

  1. your web’s <div class="rll-youtube-player __web-inspector-hide-shortcut__" data-id="lkjFmmWoyiE" have too large size, it make me cannot click to twrp link and cover all the post in black when i hit play button (I solve it by hiding element). Btw, what is version of twrp you are using? since my twrp is getting alot of error: , ????? devices id, maximum size limit, too many link, etc…

  2. no worry im using the 1.4.3 in the link of your guide and it work. the only problem is the twrp return to xiaomi’s default recovery when i reboot to system, hence i have to flash it if i need it again.

  3. Filippo Gambarota

    thanks you your guide! could it be possible to install magisk without installing the recovery? I’d like to only root my redmi..

    1. You actually can, but you will need access to your boot.img file (which can be grabbed by downloading the Fastboot ROM of the version you’re currently using).

      There’s an option in Magisk that lets you manually patch a boot.img file. Once patched, you will then need to flash it to the device with Fastboot.

      I don’t think I’ve ever done a tutorial for that method of rooting with Magisk and it seems like a good idea to have on hand. So stay tuned here at AndroidExplained.com and I should have a step by step guide available for you.

  4. Sir Doug after running flash_all.bat, the cmd will prompt Missmatching image and device before closing. Any idea of this problem?

    1. No. You will need to manually download the Recovery ROM for the update you want to install. Then flash it in TWRP to upgrade from one version of MIUI to another

  5. hi, I’m unable to enter into the TWRP boot mode. Always keep to enter into the redmi recovery mode 3.0. The first time I did, it’ worked fine. But forget the sd card with the Magisk file on it. So just inserted into it. Now, i’m unable to enter into the TWRP. Any tips ?

  6. Aryeh Burnham

    Hi, I followed your instructions for flashing twrp, but when I reboot it just hangs in the twrp flash screen, and ideas? Thanks

    1. Are you installing the proper version of TWRP for your model of the phone? AKA install TWRP that is made for the Redmi Note 7 on the Redmi Note 7 and install TWRP that is made for the Redmi Note 7 Pro on the Redmi Note 7 Pro

  7. Hey there, Thanks for the how-to. Unfortunately it appears that just like thousands of others… The Miui recovery is just overwriting Twrp recovery. The phone instantly reboots after the files are flashed and if you try to bypass it by turning the device off, you just can’t get into twrp. It will boot straight into stock recovery every single time.

    The only way to edit the recovery file and prevent this is with root privileges which doesn’t help my case. Are there any other ways to flash TWRP? Thanks in advance.

    I’ve done everything I possibly can with no success.

    1. You have to install Magisk in order for TWRP to stick. That is why this is like the thousands of other tutorials. . .because it’s what you have to do.

      Now, if you don’t want to install root then you need to flash TWRP as directed here but instead of flashing Magisk afterwards, you need to format the data partition to remove encryption and then install this zip file https://androidfilehost.com/?fid=11410963190603877244

  8. What an amazing series of tutorials for Redmi Note 7. As someone who’s an advanced user in many topics (but new to android rooting) I appreciate a fellow techie who can create a proper guide. It is indeed sad to find so many useless guides that post 3 steps and expect people to just know what each of them means, so kudos to you my dude. Thanks again!

  9. Hi there.

    I’m having the same issue with TWRP. I loaded it for my N7Pro and it is stuck in the splash screen. I made sure to get the correct TWRP.

    What could be the issue?

    Thanks.

  10. I rolled back to an older twrp than the latest 3.3.1. I used 3.3.0 and cannot see the directories to install Magisk or recovery ROM.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.