The Xiaomi Redmi Note 7 is still a popular smartphone among Android modding enthusiasts, despite the release of new models. Getting root permissions opens up access to hidden system functions, allows you to remove embedded applications, optimize performance and install custom firmware. However, the process of obtaining root access on this device has nuances related to Xiaomiโs policy of blocking the bootloader and the features of the Snapdragon 660 chip.
In this article, you will find the instructions for unlocking the bootloader, installing a custom TWRP recavator and obtaining root rights through Magisk, which are relevant for 2026. We will analyze each stage in detail, point out typical errors and provide solutions for them. Importantly, the procedure involves the risk of turning the device into a brick, so the Redmi Note 7 with MIUI 14+ firmware requires a mandatory binding Mi Account before unlocking.
Preparation of the device: what to do before unlocking
Before you start unlocking the bootloader, you need to perform a number of mandatory actions, neglecting them can lead to blocking the IMEI or the inability to restore the device through the Fastboot.
First, check the MIUI version on your Redmi Note 7. Go to Settings โ About Phone โ MIUI version. Current firmware (MIUI 13/14) requires you to link your Mi Account to your device at least 7 days before unlocking. If you just dropped your phone or bought it used, youโll have to wait.
- ๐ฑ Back up all your data (photos, contacts, messages) and use Mi Cloud or third-party tools like Titanium Backup (if you already have a root).
- ๐ Charge the battery to at least 60%. interruption of the process due to discharge can make the phone inoperable.
- ๐ Make sure you have access to the Mi Account linked to the device.
- ๐ป Install drivers for Xiaomi on your PC. Download them from the official website or use the Mi Flash Tool.
Pay special attention to the status of the bootloader. On the Redmi Note 7, it is initially blocked, and trying to install TWRP without unlocking will lead to a FAILED error (remote: 'Flashing is not allowed in Lock State').
fastboot oem device-infoIn the answer, look for the line Device unlocked: false. If the value is true, the bootloader is already unlocked (which is unlikely for new devices).
Unlock the bootloader with the Mi Unlock Tool
Xiaomiโs official tool, the Mi Unlock Tool, is the only legal way to unlock a bootloader on the Redmi Note 7. However, since 2022, the company has tightened the requirements: it is now mandatory to link an account to a device and wait 168 hours (7 days) before unlocking.
Download the latest version of the Mi Unlock Tool from the official website (avoid third-party sources - they may contain viruses). Install the program on your PC and follow the following steps:
- Turn on the developer mode on your phone: go to Settings โ About phone and 7 times click on the MIUI version.
- Back to Settings โ Additionally. โ For developers and activate: ๐ Unlocking OEM (It may be absent from some of the silk) ๐ Debugging by USB
Fastboot
Loudness down + Nutrition
Fastboot
Mi Unlock Tool
Mi
If you see a message called Couldn't unlock.Please add account and device in Mi Cloud and wait for 168 hours, it means that the account is not linked to the device or has not been 7 days.
- ๐ Wait for the specified time (timer resets when resetting the phone!).
- ๐ Make sure your phone is enabled Data Sync and Find the device in your Mi Account settings.
- ๐ Use a stable Internet connection (preferably over Wi-Fi).
Linked to the Mi Account to the device|Debugging is on. USB|Xiaomi drivers installed|Phone's charged. >60%|Data backup created-->
โ ๏ธ Warning: Once unlocked, the bootloader will reset all data on the phone, including internal memory.Don't rely on backups in Mi Cloud - they may not recover on custom firmware.
Installation of custom TWRP Recovery
The standard MIUI recovery does not allow you to install files to obtain root rights. Therefore, after unlocking the bootloader, you need to flash TWRP (Team Win Recovery Project) - custom recovery with advanced functions.
For the Redmi Note 7 (codename lavender) use the official assembly TWRP Download a file with the.img extension (for example, twrp-3.7.0_9-0-lavender.img).
TWRP firmware is implemented via Fastboot:
- Place the downloaded twrp.img file in the folder from fastboot (usually C:\platform-tools\).
- Connect your phone in Fastboot mode (as in the previous section).
- Open the command line in the folder with fastboot and execute the command: fastboot flash recovery twrp-3.7.0_9-0-lavender.img
- After successful firmware, reboot to TWRP, holding Volume Up + Power.
If you reset to standard recap, MIUI re-wrote TWRP. To avoid this, you're back in the standard recap.
- ๐ง Set in TWRP patch Disable_Dm-Verity_ForceEncrypt.zip (download XDA Developers).
- ๐ Do not reboot to the system immediately after the firmware TWRP โ Install Magisk first.
- ๐ Check that fastboot displays the correct device name: fastboot devices.
| Problem. | Reason. | Decision |
|---|---|---|
| FAILED (remote: 'Not allowed in locked state') | The bootloader is not unlocked | Use the Mi Unlock Tool (see Section 2) |
| TWRP doesn't start | MIUI re-records the recaveri | Install the patch. Disable_Dm-Verity |
| Invalid sparse file format error | The twrp.img file is damaged. | Download the file again, check the checksum |
| TWRP is stitched, but the sensor is not working. | Incompatible version of TWRP | Use the assembly specifically for lavender |
๐ก
If the phone is stuck on the MIUI logo after TWRP, donโt panic. Turn it off with a long press of the power button (10+ seconds), then reboot to TWRP and install Magisk.
Getting Root Rights through Magisk
Magisk is a universal tool for obtaining root rights without changing the systemless root, it allows you to hide the root from applications (for example, banking) and is checked by SafetyNet.
Download the latest version of Magisk (Magisk-v26.4.zip or later) from the official repository on GitHub. Do not use third-party versions - they may contain malicious code.
Installation of Magisk via TWRP:
- Download the file Magisk-v26.4.zip transfer to the phone (can be via MTP to TWRP or memory card).
- In TWRP, click Install, select the Magisk file and swipe your finger for confirmation.
- After installation, press Reboot System.
- After loading the system, install APK-Magisk file (can be downloaded on GitHub).
To check that the root rights are obtained successfully:
- ๐ฑ Open the Magisk app and make sure that the top of the screen displays a green checkmark and the words Installed: 26.4 (26400).
- ๐ Install the Root Checker app from Google Play and run the check.
- ๐ ๏ธ Try uninstalling a system application (such as Mi Browser) via Titanium Backup or Adb Shell.
โ ๏ธ Note: Redmi Note 7 with firmware MIUI 14+ Magisk may not pass SafetyNet by default. To fix this, in Magisk settings, enable Enforce DenyList and blacklist apps you need to hide from root rights (such as Google Pay or banking apps).
Solving typical problems after getting root rights
Even if you successfully get a root, you can have problems, and here are the most common ones and how to fix them:
| Problem. | Possible cause | Decision |
|---|---|---|
| The phone doesn't pass SafetyNet | Magisk's incorrect configuration | Install Universal SafetyNet Fix in Magisk |
| Apps donโt see root (e.g. Titanium Backup) | Not updated binary file su | Update Magisk through the app |
| Constant reboots (bootloop) | Magisk module conflict or damaged firmware | Remove all modules in TWRP or re-flash MIUI |
| The camera does not work after installing the custom core | Incompatible core with Snapdragon 660 | Return to the standard core via TWRP |
If after obtaining the root license stopped working OTA-updates, that's okay -- custom recavery blocks their installation. MIUI:
- Download the full firmware package (.zip) for lavender from the Xiaomi Firmware Updater website.
- Transfer the file to your phone and run through TWRP (no wiping!).
- After the update, re-sweep Magisk.
What if the phone doesnโt turn on after Magisk firmware?
How to hide root rights from banking applications
Many banking applications (such as SberBank Online or Tinkoff) block work on root-right devices, but Magisk allows you to bypass these restrictions with the MagiskHide feature (in newer versions โ DenyList).
To hide the root:
- Open the Magisk app and go to Settings (cog in the upper right corner).
- Activate the Enforce DenyList option.
- Return to the home screen and click DenyList (formerly MagiskHide).
- Add to the list the apps that need to hide the root (for example, Sberbank, Google Pay, Netflix).
- Reboot the phone.
If the app still detects root, try:
- ๐ Install Universal SafetyNet Fix in Magisk.
- ๐ฑ Use the Island app to create an isolated environment (not working on all firmware).
- ๐ง Refuse Magisk to another slot (boot instead of recovery or vice versa).
To check the status of SafetyNet, use the SafetyNet Test app (available on Google Play). If both tests (ctsProfile and basicIntegrity) show true, the root is successfully hidden.
๐ก
Hiding root rights through Magisk does not guarantee 100% banking applications, and some applications (e.g. Alpha Click) use additional methods to detect a modified system.
Alternative methods of obtaining root rights
If the standard method with Magisk does not work (for example, because the bootloader is blocked on new firmware), alternative methods can be tried, but they are less reliable and can lead to loss of warranty or blocking IMEI.
One of these methods is using the MTKClient utility (for devices on MediaTek), but the Redmi Note 7 is built on the Snapdragon 660, so this is not the way to go.
- ๐ง Patched boot.img: Extract. boot.img From the firmware, modify it through Magisk and stitch it back. Detailed instructions: How to patch it boot.img For the Redmi Note 7 1. Download the full firmware MIUI for lavender in.tgz format. 2. Remove the file from the archive boot.img (It is usually in the image folder). 3. Move it. boot.img On the phone and open in Magisk (click Install) โ Select and Patch a File). 4. After patching, the file will appear in the folder Download/magisk_patched.img. 5. Sweep the patchy boot.img Fastboot: Fastboot Flash boot magisk_patched.img
- ๐ฆ Custom firmware: Some firmware (like LineageOS or Pixel Experience) already include root rights, but installing them requires an unlocked bootloader and may deprive you of some features (like Widevine). L1 viewable HD Netflix).
- ๐ Exploit Methods: For Older Versions MIUI (Before 12.5), there were exploits like DirtyCOW, but they donโt work on current firmware.
If you decide to install custom firmware, consider:
- ๐ฎ You will lose official Xiaomi support (including the official support of the company). OTA-update).
- ๐ก Possible problems with VoLTE and Wi-Fi Calling.
- ๐ Some firmware is poorly optimized for the Snapdragon 660, which leads to overheating.