How to Install TWRP on Xiaomi Mi3 (Guide)
In this article
This guide walks you through installing Team Win Recovery Project (TWRP) on the Xiaomi Mi3 (cancro). TWRP is a custom recovery that lets you flash custom ROMs, make full backups, and wipe system partitions more thoroughly than the stock recovery. You'll need an unlocked bootloader, a computer with ADB and Fastboot tools, and the correct TWRP image file for your device.
What You'll Need
- Xiaomi Mi3 with bootloader unlocked (if not, see note in Troubleshooting).
- USB cable and a Windows/Mac/Linux computer.
- ADB and Fastboot tools installed (platform-tools).
- TWRP image file for Mi3 (cancro) – download the latest .img from the official TWRP site.
- Backup your important data – flashing recovery won't wipe data, but always be safe.
Step-by-Step
- Enable Developer Options and USB Debugging – Go to Settings > About Phone, tap “MIUI version” 7 times. Then go to Settings > Additional Settings > Developer Options and enable “USB debugging” and “OEM unlocking” (if available).
- Unlock the Bootloader (if not already done) – Visit Xiaomi’s official unlock page, apply for permission, and use the Mi Unlock tool. This process may take a few days for approval. Do not skip this – flashing TWRP requires an unlocked bootloader.
- Install ADB and Fastboot on your computer – Download platform-tools from Google, extract to a folder (e.g., C:\adb). Test by opening a command prompt in that folder and running
adb devices– it should list your device when connected with USB debugging on. - Download the TWRP image – Go to twrp.me, find the Xiaomi Mi3 (cancro) page, and download the latest .img file. Save it as
twrp.imgin the same folder as adb. - Boot into Fastboot mode – Power off the phone. Then press and hold Volume Down + Power simultaneously until the fastboot logo appears (a rabbit with a robot). Alternatively, run
adb reboot bootloaderfrom the command prompt. - Connect your phone to the computer – Use a good USB cable. Verify fastboot sees your device by running
fastboot devices. You should see a serial number. - Flash TWRP – In the command prompt, run:
fastboot flash recovery twrp.img. Wait for the “OKAY” message. Do not disconnect during this. - Reboot into TWRP – After flashing, use the volume keys to navigate to “Recovery” and press Power to select it. Or run
fastboot rebootand then immediately hold Volume Up + Power when the screen goes off. The first boot into TWRP may take a moment. - First boot in TWRP – When TWRP loads, it may ask to keep system read-only. Swipe to allow modifications. Then you can proceed to flash custom ROMs or make backups.
Common Mistakes
- Using the wrong TWRP image – Ensure you download the file for the Mi3 (cancro), not the Mi4 or other variant. Using a wrong image will cause a bootloop.
- Not unlocking the bootloader – Flashing recovery without an unlocked bootloader will fail or brick the device.
- Incorrect fastboot command – Some guides say
fastboot flash recovery twrp.imgbut if you typefastboot flash recovery twrp.imgwrong, it won't work. Double-check the filename and path. - Disconnecting during flash – A loose USB cable can interrupt the process and corrupt the recovery partition.
- Skipping the “keep read-only” prompt – If you accidentally swipe to keep system read-only, TWRP may not stick after reboot. Choose “Keep System Read Only” only if you plan to use systemless root; otherwise, swipe to allow modifications.
Tips
- Always keep a backup of your stock recovery via TWRP’s “Backup” option before making changes.
- Use a USB 2.0 port on your computer for more stable fastboot connections.
- If you plan to install custom ROMs, also download the latest Magisk or SuperSU zip before flashing.
- Keep your battery charged above 50% before starting.
- After flashing TWRP, consider formatting data (wipe > format data) if you're coming from MIUI to avoid encryption issues.
Troubleshooting
Fastboot doesn't recognize the device – Install the proper USB drivers for Xiaomi. On Windows, install the Mi USB driver from Xiaomi’s site. Try a different USB cable/port. Ensure USB debugging is enabled.
Bootloop after flashing – This usually happens if the bootloader is locked or the wrong image was flashed. Reboot to fastboot, flash the stock boot.img or reflash TWRP correctly. If that fails, use MiFlash to flash stock ROM.
TWRP doesn't stick – phone boots to stock recovery – Some MIUI versions overwrite recovery on boot. After flashing TWRP, do not let the phone boot normally. Immediately boot into recovery via fastboot command fastboot reboot then hold Volume Up. If it still overwrites, flash TWRP again and then boot directly to recovery.
Cannot mount data in TWRP – This is common on encrypted devices. Go to Wipe > Format Data and type “yes”. This will erase all data, but it will decrypt the partition.
Stuck on TWRP splash screen – Force reboot by holding power for 10 seconds. If it persists, reflash the TWRP image or try an older version.
Frequently Asked Questions
Q: Do I need to unlock the bootloader to install TWRP?
A: Yes, absolutely. Xiaomi devices have locked bootloaders by default, and flashing any custom recovery or ROM requires an unlocked bootloader.
Q: Will installing TWRP void my warranty?
A: Yes, it typically voids the warranty. You can restore the stock recovery and relock the bootloader to regain warranty, but that’s not always guaranteed.
Q: Can I install TWRP without a computer?
A: No, the standard method requires a computer with fastboot. Some apps claim to do it on-device, but they are risky and not recommended.
Q: What is the difference between TWRP and stock recovery?
A: TWRP is a custom recovery that supports touch, backups, flashing ZIPs, and wiping partitions individually. Stock recovery only allows official OTA updates and factory resets.
Q: Will TWRP automatically root my phone?
A: No, TWRP is just a recovery. You still need to flash a root solution like Magisk separately.
Q: How do I go back to stock recovery?
A: Download the stock recovery image for Mi3 and flash it via fastboot using the same command fastboot flash recovery stock.img.