Root rights to Xiaomi Redmi 4 Pro: a safe way to unlock and install

Xiaomi Redmi 4 Pro (codename markw) is still a popular budget smartphone due to its reliable β€œstuffing” and deep customization. However, the factory firmware MIUI limits users: you can not remove system applications, change the processor frequency or install modified cores. The solution is root rights, but the process requires caution: a mistake at any stage can turn the phone into a β€œbrick”.

In this article, the guideline for 2026 is relevant to Xiaomi’s policy changes (e.g., mandatory device-based account binding) and newer versions of tools like Magisk and OrangeFox Recovery. We’ll take every step from unlocking the bootloader to checking root. We’ll focus on bypassing the unlock restriction through the Mi Unlock Tool after 720 hours of waiting, a problem that many Redmi 4 Pro owners face.

Preparation: What to Know Before Starting

Getting root rights to the Redmi 4 Pro is a multi-step process that involves unlocking the bootloader, installing a custom recovery, and Magisk firmware. Before you start, make sure that:

  • πŸ”‹ Battery charged at least 70% (process can take up to 2 hours).
  • πŸ“± There is an official firmware on the phone. MIUI (Not a custom!. check the settings. β†’ The phone. β†’ Version. MIUI.
  • πŸ’» There is access to a Windows PC 7/10/11 (Mi Unlock Tool is required for Windows).
  • πŸ”‘ You have a Xiaomi account tied to your phone (unblocking is impossible without it).

Important: Once the bootloader is unlocked, Xiaomi Redmi 4 Pro will perform a full reset (wipe), save contacts, photos and other data to an external drive or to the cloud in advance, and note that unlocking will void the warranty (if it is still valid).

⚠️ Note: If your Redmi 4 Pro is purchased in China (the domestic version), unlocking the bootloader may be blocked at the hardware level. β†’ The phone. β†’ Model: if there is a letter C at the end (e.g, MZB4417IN vs MZB4417CN), The chances of success are minimal.

ComponentRequired versionDownload link
Mi Unlock Tool5.5.224.30 (or later)Official website
ADB & FastbootThe latter (included in Platform Tools)Android Developers
OrangeFox RecoveryR11.1_5 (markw)OrangeFox Download
Magisk26.4 or 27.0 (stable)GitHub Magisk
πŸ“Š You’ve tried to root on Xiaomi?
Yeah, but it didn't work.
Yeah, and it works.
No, it's my first time.
I don't know what root is.

Step 1: Unlock the bootloader through the Mi Unlock Tool

The bootloader on the Xiaomi Redmi 4 Pro is locked by default, and unlocking it is a mandatory step without which installing custom recovery and root is impossible. The process consists of two parts: linking the account to the device and actually unlocking through the PC.

First, turn on the developer mode and allow OEM-unlock:

  1. Go to Settings β†’ About Phone and click on the MIUI version 7 times until the notification β€œYou became a developer” appears.
  2. Back to Settings β†’ Additionally. β†’ For developers.
  3. Activate the switches: πŸ”“ Unlocking OEM (may require input PIN-code). πŸ”Œ Debugging by USB.

Connect the phone to the PC and confirm the debugging permission (pop-up on the smartphone screen).

Next, link your Xiaomi account to your device:

  1. In the same menu for developers, find the Mi Unlock Status item and click Add account and device.
  2. Sign in to your Xiaomi account (if not tied) and wait for a successful link message.

⚠️ Note: If you try to link your account to an error "Device is not supported", then your version MIUI Update the firmware through Settings. β†’ Update to the latest official version for Redmi 4 Pro.

Now go to unlock through the Mi Unlock Tool:

  1. Download and install the Mi Unlock Tool on your PC (link in the table above).
  2. Run the program on behalf of the administrator and log in to the same Xiaomi account that is linked to the phone.
  3. Turn off Redmi 4 Pro and press Volume Down + Power to log into Fastboot Mode.
  4. Connect your phone to your PC. In Mi Unlock Tool, press Unlock.

If done correctly, it will start counting down (usually 72-168 hours), which is Xiaomi's restriction for theft protection.

How to speed up unlocking without waiting 720 hours
1. After the first attempt to unlock, restart the phone to MIUI. 2. In the Developer Menu, turn off and re-enable OEM Unlock. 3. Re-enter Fastboot Mode and launch Mi Unlock Tool. 4. This time, the program may offer unlock without waiting (does not work on all devices).

Step 2: Install custom recaveri (OrangeFox)

Once the bootloader is unlocked, you need to replace the standard recovery (MI-Recovery) with a custom one, for example, OrangeFox. ZIP-files (including Magisk) and make backups of the system.

Download OrangeFox Recovery for Redmi 4 Pro (file with type name) OrangeFox-R11.1_5-Stable-markw.img) and follow the following steps:

β˜‘οΈ Installation of OrangeFox Recovery

Done: 0 / 4
  1. Place the downloaded recovery.img file in the folder with Platform Tools (where adb.exe and fastboot.exe are located).
  2. Open the command prompt in this folder (Shift + right mouse button β†’ β€œOpen PowerShell window here”).
  3. Enter the command to check the connection: fastboot devices must display the serial number of your Redmi 4 Pro.
  4. Fastboot flash recovery recovery recovery.img
  5. Reboot your phone to a new recap: fastboot boot recovery.img

If it goes well, you'll see the OrangeFox Recovery logo with an orange fox, and it's recommended to back up the current firmware immediately:

  1. Select Backup β†’ Select Partitions.
  2. Check the boxes Boot, System, Data and Vendor.
  3. Click Swipe to Backup and wait until the file is completed (the file will be saved to the memory card).

πŸ’‘

If the phone loads into MI-Recovery after OrangeFox firmware, then the bootloader is not fully unlocked. Repeat the step with the Mi Unlock Tool and make sure that in the output of the command fastboot oem device-info, the line Device unlocked: true.

Step 3: Magisk firmware to obtain root rights

Magisk is a universal tool for obtaining root rights without changing the systemless root, it also allows you to hide root from applications (for example, banking) and install customization modules.

Download the latest version of Magisk (Magisk-v27.0.zip file) and do the following:

  1. Copy. ZIP-Magisk file to a memory card or internal phone memory.
  2. Reboot to OrangeFox Recovery (turn off the phone, then press Volume Up + Power).
  3. In the recaveri, select Install and specify the path to the Magisk-v27.0.zip file.
  4. Swipe to Confirm Flash and wait until it is finished.
  5. Reboot your phone to the system (Reboot β†’ System).

After downloading MIUI, check for root rights using the Magisk Manager application (it will install automatically) or through the terminal:

su

If you receive a command (#) invitation, root is successfully received.

⚠️ Attention: On some firmware MIUI 12/13 for Redmi 4 Pro after installing Magisk, the mobile network may disappear.Solution: patch Disable_Dm-Verity_ForceEncrypt.zip (download XDA Developers).

πŸ’‘

Use only stable versions of Magisk (not beta!). Redmi 4 Pro versions 26.4 and 27.0 are tested and run without critical bugs.

Problems and Solutions: What to Do When Something Goes Wrong

Even with the exact instructions, errors can occur, and below are the most common problems on the Redmi 4 Pro and how to solve them.

Problem.Possible causeDecision
Mi Unlock Tool Shows "Couldn't Unlock"72/168 hours of waiting have passedWait or try the reset method OEM-Unlocking (see spoiler above)
The phone does not turn on after Magisk firmwareIncompatible version of Magisk or damaged ZIPSwipe boot.img from stock firmware through Fastboot, then repeat the Magisk installation
Constant reboots (bootloop)Magisk module conflict or damaged system partitionRestore the backup via OrangeFox or flash clean MIUI through fastboot flash system.img
No mobile network after rootForce Encrypt or dm-verity function is activatedSweep Disable_Dm-Verity_ForceEncrypt.zip or disable encryption in Magisk settings

If the phone has turned into a β€œbrick” (does not turn on, does not respond to buttons), try emergency firmware through the phone. EDL-regime:

  1. Download Mi Flash Tool and stock firmware for Redmi 4 Pro (e.g, markw_global_images_V12.0.3.0.PCKMIXM_20210302.0000.00_10.0_global).
  2. Turn off the phone, press Volume up + Volume down and connect to the PC – should be defined as Qualcomm HS-USB QDLoader 9008.
  3. In the Mi Flash Tool, select the downloaded firmware and press Flash (choose the clean all option).

EDL recovery will reset all the data, but it will bring the phone back to life, and then you can repeat the root process.

What to do after obtaining root rights

Now that you have root, you can customize the Redmi 4 Pro completely. Here are some useful steps:

  • 🧹 Remove System Applications: Use Titanium Backup or System App Remover to Remove Unnecessary Services MIUI (For example, Mi Browser, Mi Music).
  • ⚑ Performance optimization: Install the Magisk module to control CPU frequencies (e.g. Kernel Adiutor).
  • 🎨 Change the look: Scroll themes through Magisk or install Substratum for deep customization of the interface.
  • πŸ”’ Hiding root from apps: In Magisk settings, enable MagiskHide and add banking apps to the list.

But remember, root rights are not just opportunities, they're also risks.

  • 🚨 Security: Viruses and malicious applications gain access to system files.
  • πŸ“΅ Updates: Official updates MIUI through OTA It can break root or lead to bootloop.
  • πŸ”„ Reset: After resetting to factory settings (Wipe Data), the root will disappear, and it will have to be installed again.

πŸ’‘

To avoid problems with banking applications (such as Sberbank or Tinkoff), use the MagiskHide Props Config module, which allows you to swap security fingerprints (safetyNet) and hide the fact that root is present.

Alternative methods of obtaining root

If the standard method with Magisk did not work, there are alternative options:

  1. Patched Boot Image: Download stock boot.img for your version MIUI. Open it in Magisk Manager (click Install) β†’ Select and Patch a File.Sweep the resulting file through Fastboot: fastboot flash boot magisk_patched.img

SuperSU (Outdated Method):

SuperSU was used before, but it is not currently supported and can cause conflicts with MIUI 12/13.

Castom firmware:

Install firmware based on LineageOS or Pixel Experience β€” root is already built in. However, for the Redmi 4 Pro, such firmware can work unstable (problems with the camera or modem).

For power users, there is another way to manually edit boot.img via AIK (Android Image Kitchen), which requires knowledge of command line and hex editors, so it is not suitable for everyone.

FAQ: Frequent questions about root on Xiaomi Redmi 4 Pro

Can I get root without unlocking the bootloader?
No. On the Xiaomi Redmi 4 Pro (as on all modern Xiaomi smartphones), unlocking the bootloader is mandatory. Without it, you can not flash a custom Recovery or a modified boot.img.
Will I lose data when I unlock the bootloader?
Yes, unlocking the bootloader through the Mi Unlock Tool results in a full reset. All data on the internal memory will be deleted. It is recommended to make a backup on the PC or an external memory card in advance.
Can I roll back root and return the guarantee?
Technically yes, it's required: Delete Magisk through its manager (Uninstall) β†’ Complete Uninstall. - Switch to Fastboot: Fastboot Flash Recovery stock_recovery.img Return the stock. boot.img (If you have a patched device, reset to factory settings, but Xiaomi can detect traces of unlocking the bootloader (for example, through fastboot oem device-info), so the warranty can be canceled.
Will Google Pay and banking apps work after root?
By default, no, because root violates SafetyNet. However, this can be bypassed: Turn on MagiskHide in the Magisk Manager settings. Install the MagiskHide Props Config module and select the Pixel 5 certificate. Restart your phone and check SafetyNet status through the SafetyNet Test application. Sberbank Online and Tinkoff may additionally require the Universal SafetyNet Fix module.
How to update MIUI after getting root?
Updates through OTA (Settings β†’ System updates can break root. Recommended way: Download the full service pack (.zip) from the site MIUI Downloads. Write it through OrangeFox Recovery (no wipe data). After the update, re-sweep Magisk (since you have a copy of the update). boot.img The alternative is to use the module. MIUI OTA Updater for Magisk, which automatically saves root when you update.