Installing custom recavators on Xiaomi smartphones is the first step to full control of the device. With TWRP or OrangeFox, you can flash informal firmware, backup your system, recover data after crashes, and even bypass some of the manufacturer's limitations. But the process requires care: one mistake can turn a phone into a brick. In this article, we will break down the current methods of 2026 that work on most models, from the Redmi Note 12 to Xiaomi 14 Ultra, taking into account the latest changes in the MIUI security policy.
Before we get started, it's important to understand that custom recovery is not just a tool, it's a complete replacement for the standard recovery menu, and it allows you to perform operations that are not available in normal mode, such as stitching. ZIP-archives with modified cores or remove pre-installed applications, but with the opportunities come risks: loss of warranty, potential problems with updates. MIUI And even locking the device when you're doing something wrong, and if you're a beginner, we recommend that you learn the theory first and then you move on to the practice.
Why you need to install custom recavator on Xiaomi
Xiaomi's standard recovery is extremely limited, allowing you to reset to factory settings, clear your cache, or install official updates via OTA. Custom solutions like TWRP (Team Win Recovery Project) or OrangeFox offer access to:
- ๐ฆ Install unofficial firmware (LineageOS, Pixel Experience, crDroid, etc.).
- ๐ Create complete backups of the system (including: /data, /boot, /vendor).
- ๐ง Remove Bloatware (pre-installed Xiaomi applications that cannot be removed by standard means).
- ๐ ๏ธ Data recovery after failed firmware or failures.
- ๐ Bypassing lockdown MIUI (For example, installation restrictions APK source).
Also, custom recavers are often required for rooting, installing Magisk or modified cores, such as if you want to overclock the processor or improve autonomy with a custom kernel, TWRP is essential, and it will also be useful for those who are testing beta versions of firmware and need a quick rollback to a stable version.
โ ๏ธ Note: Installing custom recovery will void the warranty on the device. In some regions (e.g. EU) the warranty can be restored after returning to standard software, but this is not guaranteed. TWRP update MIUI through OTA It may not work properly โ you will need a handheld firmware.
Preparation of the device: unlocking the loader
Before installing a custom recavator, you need to unlock the bootloader. Xiaomi blocks it by default, and without unlocking it, you can't flash TWRP. The process takes anywhere from 72 hours to a week, which is how long it takes to approve a request from Xiaomi servers.
Here's a step-by-step algorithm:
- Link your Mi Account to your device: Go to Settings โ Xiaomi Account. Sign in (if not, sign up). Activate Settings โ Additional โ Unlock OEM (may be called Factory Unlock).
Mi Unlock Tool
en.miui.com/unlock
Mi
Fastboot
Loudness down + Nutrition
Unlock
After successfully unlocking the bootloader, you can proceed to install the recaveri. Note that unlocking will reset all data on the device - back up in advance!
Choosing custom Recovery: TWRP vs OrangeFox
There are several popular custom recavers on the market, but for Xiaomi, TWRP and OrangeFox are the most commonly used.
| Characteristics | TWRP | OrangeFox |
|---|---|---|
| Support for models | A broad list, but not all Xiaomi devices are covered | More optimizations for Xiaomi/Redmi/Poco |
| Interface. | Classic, touchy. | More modern, with MIUI theme |
| Additional functions | Basic (backup, firmware, wipe) | Built-in file manager, support for Magisk, MIUI OTA |
| Updates | Rare, depending on the community | Frequent, especially for new models |
| Complexity of installation | Easy for beginners | You may need additional steps (for example, firmware). disable_dm-verity) |
For most users, OrangeFox will be preferred due to better integration with MIUI and additional features. However, if your Xiaomi model is not supported by OrangeFox, you will have to use TWRP. Before choosing, check for the availability of current builds for your device on official sites:
- ๐ Official website TWRP
- ๐ Official website of OrangeFox
โ ๏ธ Attention: Some assemblies TWRP Xiaomi may have errors when working with encryption /data. If after installation, the recavery asks for a password but doesn't accept it, that's a known problem. disable_forceencrypt Or use OrangeFox.
Step-by-step installation of custom recavery through Fastboot
The most reliable way to flash a Recovery is through Fastboot mode.
- ๐ฅ๏ธ Computer with Windows/Linux/macOS.
- ๐ Cable USB (preferably original).
- ๐ฑ Unlocked bootloader (see previous section).
- ๐ Recovery file in.img format (for example, twrp-3.7.0_12-0-lmi.img).
- ๐ ๏ธ Utilities. ADB Fastboot (can be downloaded as part of Android) SDK Platform-Tools).
Instructions:
โ๏ธ Preparation for the recaveri firmware
- Unpack the platform-tools into a separate folder (e.g., C:\adb).
- Place the recovery file (twrp.img or orangefox.img) in the same folder.
- Open the command line (Win + R โ cmd) and go to the folder with the platform-tools: cd C:\adb
- Connect your phone in Fastboot mode (turn off the device, then press Volume Down + Power).
- Check the connection command: fastboot devices If the device is displayed - you can continue.
- Fastboot flash recovery twrp.img (replace twrp.img with your file name).
- Reboot to Recovery Not in the System!: fastboot boot twrp.img This will temporarily load the Recovery without writing to the section.
If it's a success, you'll see a TWRP menu or an OrangeFox menu, and you'll need to lock the Recovery so that it doesn't get erased when you first boot it into the system.
- In the recavery, go to Advanced โ Flash Current TWRP (or similar item in OrangeFox).
- Confirm the action - this will record the recaps in both slots (recovery_a and recovery_b for devices A/B-partition).
- Reboot to the system.
๐ก
If you load your phone into the standard recovery menu after you run the recovery firmware, it means the system has overwritten it. Solution: immediately after you run the firmware, run the fastboot boot command. twrp.img, Then you'll go down the river. ZIP-file disable_dm-verity (You can download it on the forum XDA).
Solving common installation errors
Even with the correct following of the instructions, problems can arise, and here are the most common ways to solve them:
1. Failed to process command error in Fastboot
Reasons:
- ๐ Faulty cable or port USB.
- ๐ฅ๏ธ There are no Fastboot drivers.
- ๐ฑ The device is not in Fastboot mode (check the phone screen).
Solution: Try another cable, install drivers manually (e.g., via Mi Flash Tool), or run the command prompt on behalf of the administrator.
2.Recavery does not start after firmware
If after the command fastboot boot twrp.img the phone is loaded into the system or standard recaveri:
- ๐ Repeat the firmware, but before restarting, perform in TWRP reboot โ Recovery.
- ๐ง Please. disable_dm-verity (see the advice above).
- ๐ Check that the reclaimers are downloaded for your model (for example, twrp-3.7.0_12-0-alioth.img POCO F3).
3. Hanging on the MI logo after installation
This means that the system cannot boot due to a damaged boot partition or conflict with Magisk.
- ๐ Load into the Recaveri (Loudness up) + Food) and slice the original boot.img stock-stack.
- ๐งน Run the Wipe. โ Format Data (delete all data!).
- ๐ฅ Reflash the full stock firmware through Fastboot (you can download on the official website).
โ ๏ธ If after manipulation with the recovery phone stopped turning on (black screen, vibration without image), do not try to sew it through the Mi Flash Tool in clean all mode - this can irrevocably erase. IMEI. You should visit the XDA-Developers forum or service center.
How to Remove or Remove Custom Recavers
Over time, new versions of the recovery with bug fixes and support for fresh firmware are coming out, to update TWRP or OrangeFox:
- Download the current version of.img for your model.
- Load into the current Recovery (Loudness up + Nutrition).
- Select Advanced โ Flash Image from the menu.
- Specify the path to the new.img file and confirm the firmware.
- Reboot to the recaveri (not the system!) and record the changes (see step 7 of the previous section).
If you want to go back to the standard recap:
- Download the stock firmware for your model from the official Xiaomi website.
- Unpack the archive and find the recovery.img file.
- Fastboot: Fastboot Flash Recovery recovery.img
- Reset the device.
Note that after returning to the drain Recovery, some features (such as root access) will stop working, and you may also need to reflash boot.img if you previously modified it for Magisk.
๐ก
After removing the custom recavator, be sure to flash the original boot.img, otherwise the system may not boot. You can download it from full stock firmware or through the Mi Flash Tool utility.
Safety and recommendations after installation
Castomic Recovery are a huge opportunity, but they also pose safety risks, and here's what you should do after installation:
- ๐ Create a full backup of all partitions (Boot, System, Data, Vendor) in a recavator. Save a copy to your PC or cloud.
- ๐ก๏ธ Install Magisk for root rights management (download on GitHub).
- ๐ซ Turn off automatic updates MIUI in settings to avoid conflicts with custom recaveri.
- ๐ Check the forums regularly XDA or 4PDA Updates to your model.
Also remember:
- Do not install firmware or modules from unreliable sources โ this can lead to data loss or locking the device.
- Before you install a new firmware, always make Wipe Dalvik/Cache.
- If you use Magisk, update it through the app, not through the recavers.
If you plan to sell the phone, put it back to a runoff state: remove the Recovery, flash the original firmware, and perform a factory reset, which will save the new owner from problems with updates and warranty.