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.
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.
Note – There seems to be a change that happened in MIUI 10.3.5.0 that messes with how the official build of TWRP (as of writing this note) decrypts your data. This has caused an issue and the recommended course of action is for Redmi Note 7 Pro owners to use this unofficial build while the official build is being worked on.
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 this guide: How to Enable Developer Mode, as well as this one which shows you How to Enable USB Debugging Mode.
You will then need to open a command prompt within the same folder as your ADB and Fastboot tools and execute the "adb devices" command (without quotes) to start the ADB service. From here, you can connect the device to the PC with a USB cable. If everything has been done properly then you'll be asked if you want 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, Terminal, or Windows PowerShell to make sure the computer recognizes the device. If your PC is not detecting the device using these methods then you are likely having USB driver-related issues. It is then advised to download and install the ADB driver released by the OEM.
Time needed: 10 minutes.
How to Root the Xiaomi Redmi Note 7 and Install the TWRP Custom Recovery
- Download TWRP for the Redmi Note 7 – Download TWRP for the Redmi Note 7 Pro
- Rename this file to simple “twrp.img” (without quotes)
Make sure it’s just twrp.img and not twrp.img.img
- Move or copy the twrp.img file to the same folder as your ADB and Fastboot tools are in
- Download and move or copy the Magisk ZIP file to the Redmi Note 7
- Do the same for the Magisk Manager APK file
- Boot the Redmi Note 7 into Fastboot Mode
- Connect the Redmi Note 7 to the PC with a USB cable
- 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
- Type out the following command. . .
fastboot flash recovery twrp.img
- . . .and then press Enter on the keyboard
Then wait for Fastboot to copy and install the image file to your recovery partition
- Unplug the USB cable from the Redmi Note 7
- 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
- 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
- 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
- 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
- Tap the Install button at the top left of the Redmi Note 7 TWRP main menu
- Browse to and tap on the Magisk ZIP file we downloaded earlier
- 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
- Then tap the Reboot System button when it appears at the bottom
- 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
- If it’s not there, then sideload the Magisk Manager application that we downloaded earlier
- With Magisk Manager installed, open up the application and make sure it says Magisk has been installed
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, please consider supporting the website in any number of ways. Even if you are unable to donate, sharing my websites (AndroidExplained.com & PlayStoreSales.com) on social networks helps a lot, sharing or liking content on Facebook, subscribing on YouTube and liking videos, etc. It all helps in more ways than one.
If you run into any issues with this guide though, please leave a comment to let me know. This will help me to keep content as up to date as possible.