Xiaomi’s modern smartphones have a powerful hardware, but software constraints often prevent them from realizing their true potential: Obtaining superuser rights, or root access, allows you to change system files, remove embedded software, and customize the processor, but this process requires care and understanding the risks associated with the security of the device.
Owners of Redmi Note and POCO series often face MIUI locks that prevent them from fully managing the system. Standard methods through applications like KingRoot on modern Android versions are almost not working. The only reliable way is to unlock the bootloader and implement the Magisk patch.
Before you start, be aware that this procedure will void the manufacturer’s warranty. Your device’s Bootloader will be unlocked, resulting in a complete data reset. All photos, contacts and apps will be deleted, so make sure to back up in advance.
Necessary preparation and requirements for software
The process of modifying the system begins long before the first command is entered into the console. USB-The computer should be running Windows 10 or 11, as Xiaomi drivers work best in this environment.
The critical step is to unlock the bootloader through the official Mi Unlock service. Without this step, installing a modified recovery is impossible. You will need a Mi Account that must be linked to the device for at least 168 hours (7 days).
⚠️ Attention: Once you have linked your account to the Developer Menu, the countdown timer must expire completely.
You also need to download the latest versions of software tools, the list of necessary software includes:
- 📱 Drivers. ADB and Fastboot (installed separately or through the SDK Platform Tools).
- 🔓 Mi Unlock Tool from the latest version of the official website.
- 🛠 Recovery image TWRP, Adapted specifically to your smartphone model.
- 📦 Firmware file Magisk.apk, renamed magisk.zip patchy boot.img.
☑️ Checklist of preparations
Make sure your smartphone has USB debugging enabled. Go to Settings → About Phone and press the MIUI build number seven times. Then activate the switches you want from the Developer menu.
Unlocking the bootloader (Bootloader)
The first technical step is to unlock the bootloader, which clears the internal drive of the device for security purposes. Connect the smartphone to the PC when it's off, holding both the power and volume buttons to go to Fastboot mode.
Launch the Mi Unlock Tool and log in to your account. The utility will check the status of the device. If all conditions are met, the unlock button will become active. The process can take several minutes, after which the phone will automatically restart.
It is important to understand the difference between unlocked and locked state. Locked bootloader checks the digital signature of boot partitions, preventing the running of modified software. Unlocked bootloader allows you to run custom images, but reduces the level of data security.
| Parameter | Locked (Locked) | Unlocked (Unlocked) |
|---|---|---|
| Launching custom Recovery | Impossible. | Permitted. |
| Work of banking applications | Stable. | It requires disguise. |
| Data protection in case of theft | Tall. | Reduced. |
| Possibility of rolling back the Android version | Forbidden. | Permitted. |
What is Anti-Rollback?
Once successfully unlocked, the boot screen will display an image of the open lock, which is a standard behavior that confirms the successful execution of the procedure.
Installation of custom Recovery TWRP
Xiaomi's standard recovery does not allow changes to the system partition. To set the rights of a superuser, we will need TWRP (Team Win Recovery Project), which is a modified menu recovery has a wide functionality for working with the file system.
Copy the downloaded twrp.img image into the ADB tool folder. Open the command line in this directory and connect the phone in Fastboot mode. Enter the command to check the connection:
fastboot devicesIf the device is displayed, you can start temporarily loading the recaveri.
fastboot boot twrp.imgUsing boot instead of flash allows you to download TWRP without permanent memory, which is safe for the first run. If the menu loads, you will see the interface with the Install, Wipe and Advanced buttons.
⚠️ Attention: On devices with encryption A/B Partitions are different partition structure. Make sure the version is different. TWRP Supports your specific model, otherwise touch input may not work.
Inside. TWRP First, make a full backup of your current system (Backup section) and this is your insurance policy for failure to modify it. Select Boot, System, Data and save the image to the backup section. SD-card or external storage device through OTG.
Implementing Magisk and getting Root access
The most modern and secure way to get rights is to use Magisk. Unlike the old (SuperSU) methods, Magisk works systemless, which allows you to bypass some security checks. You will need the original firmware file (boot.img) corresponding to the version of the system on your phone.
Copy the file. boot.img You can use a Magisk apk file on your phone. Install the Magisk app, open it, and select "Installation» → «Select and patch the file. Show the path to boot.img. The program will create a new file with a prefix patched_.
Return the patched file to your computer. Now, either in Fastboot or through TWRP, You need to write this image in the download section. ADB:
fastboot flash boot patched_boot.img- 🚀 After the firmware restart the device with the command fastboot reboot.
- 🔍 When you first turn on the system can boot longer than usual – this is normal.
- ✅ If the Magisk icon appears in the list of applications, then root rights are active.
💡
If after installing Magisk, the phone goes to bootloop (cyclic reboot), boot to TWRP and make Wipe Dalvik/Cache, or restore the original boot.img from the backup.
You can check for permissions using a terminal or specialized applications like Root Checker. In the terminal, the su command must issue a command prompt with the # symbol.
Magisk settings and bypassing the detection
Just getting root isn’t enough – many apps (banks, games) will fail if modifications are detected. Magisk has built-in hiding mechanisms, but they need to be activated correctly. In the application settings, turn on “Zygisk” and “Enforce DenyList”.
Next, the DenyList menu should mark all apps that don't have to see the rights. Be sure to select Google Play Services, Google Play Store and the banking apps themselves. NFC-Payment may cease to function.
It is also recommended to hide the Magisk app itself. In the settings, select Hide Magisk, set a new name (such as Settings), and the package, which will help avoid blocking applications that scan the list of installed programs for known root managers names.
⚠️ Note: Updating Magisk app via Google Play is prohibited, this will result in the loss of root rights. Update only through the built-in functionality of the application or manually install new versions.
For advanced users, the Shamiko module is available, which enhances the concealment and allows you to not turn on DenyList in the Magisk settings, leaving root available for all applications, but hidden for detectors.
Possible problems and ways to solve them
The modification process doesn't always go smoothly. One of the common problems is the brick, when the phone stops responding to commands. If the screen is black but the vibration or indicator is working, try pressing the power and volume buttons to enter recovery mode.
If the sensor in TWRP doesn’t work, it means that the recovery image isn’t fully compatible with your Android version or screen type, so you’ll need to look for another build marked “Tested” for your Redmi model.
Widevine's problems L1 (disappear HD-Streaming quality is solved by installing modules to save certificates or backup the persist and modem sections before unlocking. L1 practically impossible.
| Problem. | Probable cause | Decision |
|---|---|---|
| Bootloop (load cycle) | Incompatible boot.img | Switch the original boot.img through Fastboot |
| The sensor is not working in TWRP | Wrong version of Recaveri | Find a TWRP image strictly for your version of Android |
| Mistakes in Mi Unlock | Account binding <7 days | Wait for the timer to expire without untiing the account |
| No Internet after firmware | IMEI/Baseband gathering | Restore the persist/modem partitions from the backup |
Always check the forums (4PDA, XDA Developers) before starting the procedure, and often have patched versions of files for specific revisions of the motherboard.
FAQ: Frequently Asked Questions
Will the guarantee be reset after obtaining root rights?
Can I get root without unlocking the bootloader?
Will Google Pay and banking apps work?
How to return to the factory firmware without root?
💡
Getting root rights to Xiaomi is a powerful tool, but it requires discipline: Always backup and only use verified files for your particular model.