How to Root Xiaomi Redmi Phones: Step-by-Step Guide
In this article
Rooting a Xiaomi Redmi phone gives you full administrative control over Android, letting you remove preinstalled apps, install system-level tools, and flash custom software. However, it is not a one-click process: you must unlock the bootloader first, which wipes all data and may void your warranty. The exact steps vary by model and MIUI version, but the general path is: enable developer options, bind your Mi account, wait out the unlock period, flash a patched boot image with fastboot, and verify root with Magisk. Below is a practical guide for typical Redmi devices running MIUI 12 or later. Note that menu labels can differ slightly by region and MIUI version.
What You'll Need
- A Windows PC with a USB-A port (or a USB-C to USB-A adapter).
- A quality USB data cable (not charge-only).
- Your Xiaomi account credentials and the phone number/email linked to it.
- The official Mi Unlock tool (available from Xiaomi's support site).
- ADB and Fastboot platform-tools (from Google's developer site).
- The correct boot image for your exact model and MIUI version (extracted from the official fastboot ROM).
- Magisk app (latest stable release from its official GitHub page).
- A backup of all important data (unlocking wipes the phone).
Step-by-Step
- Back up your data. Unlocking the bootloader erases everything: photos, messages, apps, and internal storage. Copy files to a PC or cloud, and note that some app data (like chat histories) may not transfer unless the app has its own backup.
- Enable Developer Options. On the phone, go to Settings > About phone and tap MIUI version seven times. You will see a message that you are now a developer.
- Turn on USB debugging and OEM unlocking. Go to Settings > Additional settings > Developer options. Enable USB debugging and OEM unlocking. Also enable “Install via USB” if present.
- Bind your Mi account. In Developer options, tap Mi Unlock status. Read the warning and tap Add account and device. The phone must be connected to the internet (mobile data or Wi-Fi). This step ties the device to your account for the unlock wait period.
- Wait the required period. Xiaomi enforces a waiting time (typically 7 days for new accounts, sometimes longer) before the bootloader can be unlocked. You can check remaining time in Mi Unlock status. Do not remove the account or factory reset during this period, or the timer may reset.
- Install Mi Unlock and fastboot drivers on the PC. Download Mi Unlock from Xiaomi's official site and install it. Also install ADB and Fastboot platform-tools, and the Xiaomi USB drivers (often bundled with Mi Unlock or available from Xiaomi's support pages). Reboot the PC if prompted.
- Boot the phone into fastboot mode. Power off the phone. Hold Volume Down and Power until the fastboot logo appears (a rabbit with a hat). Connect the phone to the PC via USB.
- Unlock the bootloader. Open Mi Unlock, sign in with the same Mi account used on the phone, and click Unlock. The tool will verify the account and wait period. If successful, it will wipe the phone and reboot. This may take several minutes. Do not disconnect the cable.
- Complete initial setup. After the wipe, the phone reboots to setup. Go through the wizard, reconnect to Wi-Fi, and sign in with your Mi account again. Re-enable Developer options and USB debugging as in steps 2–3.
- Extract the boot image. Download the fastboot ROM for your exact model and MIUI version from Xiaomi's official firmware page. The ROM is a .tgz archive; extract it and locate the boot.img file inside the images folder. Copy boot.img to your PC.
- Patch the boot image with Magisk. Install the Magisk app on the phone (from its official GitHub release). Copy boot.img to the phone's storage. Open Magisk, tap Install > Select and Patch a File, and choose boot.img. Magisk will create a patched image (magisk_patched-*.img) in the Download folder. Copy that file back to your PC.
- Flash the patched boot image. On the PC, open a command prompt in the platform-tools folder. Boot the phone into fastboot mode (Volume Down + Power) and connect it. Run
fastboot devicesto confirm the phone is detected. Then runfastboot flash boot magisk_patched-*.img(replace with the actual filename). Finally, runfastboot reboot. - Verify root. After reboot, open the Magisk app. If it shows “Installed” and the root status is active, rooting succeeded. You can test with a root checker app from the Play Store, but Magisk's own status is reliable.
Common Mistakes
- Skipping the Mi account binding. Mi Unlock will refuse to unlock if the account is not bound and the wait period has not passed.
- Using the wrong boot image. Flashing a boot.img from a different model or MIUI version can brick the phone. Always match the exact build number.
- Not backing up. Unlocking wipes all data; there is no way to recover it afterward.
- Disconnecting during unlock or flash. Interrupting the process can leave the phone in a bootloop or fastboot-only state.
- Forgetting to re-enable USB debugging after the wipe. You need it for the patching step.
Tips
- Use a USB 2.0 port on the PC if fastboot is unreliable; USB 3.0 ports sometimes cause detection issues.
- Keep the phone charged above 50% before starting.
- Disable antivirus or firewall temporarily if Mi Unlock cannot connect to Xiaomi's servers.
- After rooting, avoid installing OTA updates directly; they may fail or remove root. Instead, download the full ROM and patch the new boot image.
- Consider using Magisk's “Hide” feature to pass SafetyNet for banking apps, but note that some apps may still detect root.
Troubleshooting
- Mi Unlock says “Couldn't verify device” or “Account not bound”: Ensure the phone is online, the Mi account is the same, and the wait period has passed. Try logging out and back into the Mi account on the phone, then re-bind.
- Fastboot does not detect the phone: Reinstall Xiaomi USB drivers, try a different cable or USB port, and run
fastboot devicesas administrator. On Windows, check Device Manager for unknown devices. - Phone bootloops after flashing patched boot: The boot image likely mismatches. Reflash the original boot.img from the same ROM to recover, then double-check the build number and re-patch.
- Magisk shows “Installed” but root apps fail: Open Magisk settings and ensure “Magisk Hide” is configured if needed, and grant root permission per app. Some apps require additional modules.
- Unlock tool stuck at 99%: Do not disconnect. Wait at least 15 minutes; if still stuck, reboot the PC and phone, then retry. The wait period may still be active.
Frequently Asked Questions
Does rooting void my warranty?
Xiaomi's policy varies by region, but unlocking the bootloader generally voids the warranty. Some regions allow re-locking, but root itself is usually considered modification.
Can I unroot and relock the bootloader?
Yes. Flash the original boot image to remove root, then use Mi Unlock or fastboot to relock. Relocking wipes data again and requires the same account.
Will I still get MIUI updates?
OTA updates may fail or remove root. You can still update by downloading the full ROM and re-patching the boot image.
Is rooting safe?
Rooting itself is safe if you follow correct steps, but it opens the door to system changes that can break the phone. Always use trusted sources for images and modules.
Why does Mi Unlock say “Current account is not bound to this device”?
The Mi account on the phone and the one in Mi Unlock must match, and the binding step must be completed in Developer options. Re-check both.
Can I root without a PC?
No, unlocking the bootloader and flashing boot images require a PC with fastboot. Some one-click tools exist but are unreliable and often unsafe.