The Xiaomi Redmi Note 4X (codenamed mido) is still one of the most popular smartphones for firmware and root rights experiments. Despite the launch of the model in 2017, its hardware platform (Qualcomm Snapdragon 625) and active community support make the device an ideal candidate for root access. However, the process of unlocking the bootloader and installing Magisk or SuperSU requires strict follow-the-instructions โ a mistake at any stage can turn the phone into a brick.
In this article, we will analyze three officially supported methods for obtaining root rights on the Redmi Note. 4X: loader-free + Magisk, using custom Recovery TWRP And you'll also learn how to check the success of the procedure, avoid common errors, and return the phone to its original state if something goes wrong. MIUI 12/13/14 Android 7โ10 (including ported firmware such as Pixel Experience or LineageOS).
Preparation of the smartphone: what to do before unlocking
Before you start unlocking the bootloader and installing root rights, you need to follow a number of mandatory steps, neglecting them can lead to data loss, blocking the Mi Account or even hardware damage to the device.
First, back up all the data. Unlocking the bootloader and installing a custom TWRP will result in a full-scale reset of the phone. Use Mi Cloud, Google Drive or local copying to your PC to save:
- ๐ฑ Contacts (export in.vcf format)
- ๐ธ Photos and videos (especially from the folder) DCIM)
- ๐ฌ Messages (annexes of type) SMS Backup & Restore)
- ๐ฎ Game saving (via Helium or manual transfer)
Second, check the MIUI version and bootloader. Go to Settings โ About Phone and tap the MIUI version several times until you get the message You're a developer!. Then go back to the main settings menu, open Additional โ Developers, and find the bootloader status bar. If it says Locked, you'll have to unlock it (on that in the next section).
Make a data backup|Check the version. MIUI Android|Enable the developer mode|Connect your Mi Account to your device|Charge your phone at least 60%|Install. ADB-PC-driver-->
Unlock the bootloader on Redmi Note 4X: the official method from Xiaomi
Xiaomi allows you to unlock the bootloader legally, but with a number of restrictions, the main one is the binding of the Mi Account to the device. If you do not do this in advance, after unlocking the phone will require you to enter a login / password, which may not work due to server restrictions.
Algorithm of action:
- Link your Mi Account: go to Settings โ Mi Account and log in. Make sure that in the Cloud โ Find the device, the phone appears as connected.
- Download Mi Unlock Tool: the official utility is available on the Xiaomi website (choose the version for Windows).
- Run the utility in administrator mode and log in under the same Mi Account as on your phone.
โ ๏ธ Warning: Once the bootloader is unlocked, the phone will automatically perform factory reset. If the utility gives you a Couldn't unlock or Wait 360 hours error, then your Mi Account is not tied to the device for long enough (minimum period is 7 days of active use).
What to do if the Mi Unlock Tool is 86012 error?
Installation of TWRP and Magisk: step-by-step guide
Once the bootloader is unlocked, you can start installing the custom TWRP and Magisk (the recommended method for obtaining root rights). It is important to use the correct version of TWRP for the Redmi Note 4X (mido), otherwise you risk getting a bootloop ( looped boot).
Download the necessary files:
- ๐ Official TWRP for mido (select version 3.6.0 or later)
- ๐ The latest version of Magisk (.zip format)
- ๐ ADB and Fastboot tools (for the Windows/Linux/macOS)
Follow the instructions:
- Move the files: Place the files twrp-3.6.0_mido.img To the folder with the platform-tools. Magisk-v26.4.zip internal memory of the phone (not in the folder!).
Fastboot
Open the command line.
platform-tools
fastboot flash recovery twrp-3.6.0_mido.img
fastboot boot twrp-3.6.0_mido.imgTWRP.
Install โ Select Magisk-v26.4.zip โ Swipe for confirmation
Reboot.
Reboot โ System
โ ๏ธ Note: If after installing Magisk phone is stuck on the logo MI, So you're using an incompatible version. TWRP Or firmware:
- Press Volume Up + Power to log back into TWRP.
- Remove /data/adb/magisk.db (via File Manager in TWRP).
- Refresh the Magisk.
Official unlock + Magisk|TWRP + custom firmware | Alternative methods (without unlocking) | Not yet decided-->
Root rights verification and problem solving
After the reboot, you need to make sure that the root rights are successfully activated.
- Install the Root Checker app from Play Market.
- Run it and press Verify Root.
- If you receive a message Congratulations! Root access is properly installed... then everything went well.
One of the working ways is to use the DirtyCOW exploit (for Android 7.0):
- Download a special APK (for example, KingRoot or TowelRoot).
- Install it by pre-allowing installation from unknown sources (Settings โ Security).
- Launch the application and follow the instructions.
โ ๏ธ Warning: This root will be temporary and disappear after the reboot.In addition, many banking applications and games (for example, for example, the game will be used in the future, Pokรฉmon GO) They'll find that root and block access.
How to return the phone to its original state
If you need to remove root rights (for example, for warranty repairs or phone sales), follow the following steps:
- Delete Magisk: Open Magisk Manager. Click Uninstall โ Complete Uninstall.
boot.img
fastboot flash boot stock_boot.img(file stock_boot.img You can get it from the official firmware for your model).
Lock the loader.
fastboot oem lockโ ๏ธ This will result in a complete data dump!
After that, the phone will return to stock firmware without any root rights. However, note that some applications (such as Netflix or Google Pay) can store information about previous rooting in their services, in which case only a complete flashing through the Mi Flash Tool will help.
๐ก
Even after deleting Magisk, some system files can retain traces of modifications. For complete "purity", it is recommended to flash the phone with official firmware through Fastboot.