Installing a custom TWRP recovery on Xiaomi smartphones has traditionally been associated with the use of a computer, command line and complex manipulation of fastboot. However, in 2026, there were reliable ways to get around this limitation - now you can unlock the bootloader and flash TWRP Recovery directly from your phone, without connecting to a PC. This method is especially relevant for owners of Redmi, POCO and Mi devices who want to get root rights, install custom firmware or make a backup of the system, but do not have access to a computer.
In this article, we will discuss the entire process in detail - from preparing your smartphone to the final test of TWRP. It is important to understand that the procedure involves risks: improper actions can lead to a device lock (brick), loss of warranty or failure of MIUI. So before you start, carefully study all the steps and make sure that your Xiaomi model is supported. Spoiler: not all devices can be flashed without a PC - some require mandatory unlock through the Mi Unlock Tool, but we will tell you how to circumvent this restriction for most popular models.
Smartphone Preparation: What to Do Before Installing TWRP
Before you start installing, you need to follow a few critical steps. Neglecting them can cause the device to stop booting or lose data. Start by checking the compatibility of your model β not all Xiaomi smartphones support TWRP installation without a PC. For example, devices on the Qualcomm Snapdragon platform (such as the Redmi Note 10 Pro or POCO X3 Pro) are usually easier to flash than models on MediaTek (such as the Redmi 9A).
List of mandatory training:
- π± Check the device model: go to Settings β The phone. β Write down the exact name (e.g., model, m2101k6g For the Redmi Note 10 Pro).
- π Battery charge at least 70%: the installation process can take up to 30 minutes, and discharging in the middle will cause a failure.
- π Backup: Use Mi Cloud or local copying to a memory card. TWRP erases data at the first load!
- π Put the debugging on. USB: Settings β The phone. β Version. MIUI (Press 7 times to activate Developer Mode, then Settings β Additionally. β For developers β Debugging by USB.
- π Connect to stable Wi-Fi: Downloading files (especially firmware) can take up a lot of traffic.
Pay special attention to unlocking the bootloader. Without this step, installing TWRP is impossible. Previously, a PC and the official Mi Unlock Tool were required to unlock, but now there are workarounds through applications like FastbootD or OrangeFox Boot Manager. However, note that on some models (for example, Xiaomi 12T or POCO F4), unlocking without a PC may require a wait of 7-14 days due to Xiaomi's security policy.
Unlocking the bootloader without a PC: bypassing official restrictions
The official way to unlock a bootloader on Xiaomi is to use the Mi Unlock Tool on your computer. But what if the PC is not available? There are alternative methods based on exploiting vulnerabilities in firmware or using special applications. One of the most reliable ways is the FastbootD application, which emulates fastboot mode on the device.
Instructions for unlocking via FastbootD:
- Download. APK-FastbootD file from the official GitHub repository (check that the version supports your model).
- Install the application by pre-allowing installation from unknown sources (Settings β Applications β Special Access β Installation of Unknown Applications).
- Run FastbootD and grant root rights (if requested).The app will automatically restart the phone to fastbootd mode.
- From the FastbootD menu, select Unlock Bootloader. The system will prompt you to confirm the action - agree.
- Wait for the reboot. Some devices will display an unlock warning, confirm it with a volume button.
Important: Once the bootloader is unlocked, the smartphone will automatically reset to factory settings. All data (photos, apps, settings) will be deleted! Also note that new models (released after 2022) may require a Mi Account to confirm unlocking. If you have problems, try an alternative method through OrangeFox Boot Manager - it supports more devices, but requires pre-installing Magisk.
What happens if you break the unlock?
Choosing the Right TWRP Version for Your Xiaomi Model
The error in choosing a version of TWRP is one of the main reasons for the bad firmware, because the recoveries must be built for your model and the version of the processor. For example, TWRP for Redmi Note 10 Pro (sweet) is not suitable for Redmi Note 10 (mojito), even if the devices look similar. To avoid errors, use the official TWRP site or proven sources like XDA Developers.
How to find the correct version:
- π Find out the code name of the device: for example, Redmi Note 11 Pro+ 5G It's coded veux, and you can find it on sites like Kimovil or on themed chat rooms.
- π₯ Download the latest stable version: avoid alpha/beta builds if you are not sure of their stability. TWRP 3.7.0 or newer.
- π Check compatibility with MIUI: version TWRP Not working with the latest updates MIUI 14/15. Look for user reviews on forums.
| Xiaomi model | Code name | Supported version of TWRP | Notes |
|---|---|---|---|
| Redmi Note 10 Pro | sweet | 3.7.0_12-0 | Requires deactivation of dm-verity after installation |
| POCO X3 Pro | vayu | 3.6.2_11-0 | Incompatible with MIUI 14.1+ |
| Redmi 9A | dandelion | 3.5.2_9-0 | Only for firmware based on Android 10 |
| Mi 11 Lite | courbet | 3.7.0_12-1 | Supports data encryption |
If you donβt find your model in the table, check out the latest information on the TWRP Device Page. Note that some new models (such as the Xiaomi 13 Ultra or POCO F5) may not yet have stable TWRP builds. In this case, consider alternatives like OrangeFox Recovery or PitchBlack Recovery, which often support fresh devices faster.
π‘
If you downloaded TWRP in.img format and the instruction requires.zip, don't worry - it's the same. Just rename the file by adding the.zip extension (e.g. twrp-sweet-3.7.0.img β twrp-sweet-3.7.0.zip).
Installation of TWRP without PC: step-by-step instructions
Now that the bootloader is unlocked and the correct version of TWRP is downloaded, you can start installing it. We'll use the OrangeFox Boot Manager app, which allows you to flash backs straight from Android, which works on most Xiaomi devices with Qualcomm processors and some models on MediaTek.
βοΈ Preparation for installation TWRP
Step-by-step process:
- Download and install OrangeFox Boot Manager: APK-The file can be found on the official website.
If you see a standard MIUI recavator after the reboot, it means the firmware failed.
- π Wrong version TWRP (Check the code name of the device again).
- π Incompletely unlock the bootloader (repeat the steps from the second section).
- π‘οΈ Anti-rollback protection (relevant for devices with MIUI 13+).
π‘
If after installing TWRP, the smartphone boots into the system, but does not save the recovery (when you reboot, the standard MIUI Recovery appears again), then anti-rollback protection is turned on. Solution: re-sweeten TWRP, and then immediately after installation, go to Reboot β Recovery without booting into the system.
First download in TWRP: setup and error solving
After a successful firmware TWRP, you need to configure the recovers correctly to avoid problems with data encryption or system boot. When you first start, TWRP will suggest allowing modifications to the system partition β this is normal, but be careful: wrong actions can lead to data loss.
What to do at the first load:
- Allow modifications: Keep System Read Only? will appear on the screen β move the slider to the right (Swipe to Allow Modifications).
- Unlock the data (if required): TWRP asks for a password to decrypt /data, enter PIN-code or pattern lock to your device. If the partition doesn't decrypt, go to Wipe β Format Data, enter yes and confirm. Warning: this will delete all data!
- Backup: Go to Backup and select Boot, System, Data partitions. Save backup to memory card or cloud.
Common mistakes and their solutions:
- π΄ Failed to mount /data (Invalid argument): β οΈ Note: This error occurs due to data encryption in MIUI. Solution: Run Format Data in the Wipe menu, but remember that this will delete all user files.
- π΄ Unable to find partition: β οΈ Note: You may have downloaded the wrong version. TWRP. Check the code name of the device and download the correct file.
- π΄ The smartphone is loaded into bootloop (cyclical reboot): β οΈ Note: This happens if TWRP incompatible with the version MIUI. Solution: Sweat the official firmware through Fastboot (PC required) or install an older version TWRP.
Additional features: root, Magisk and custom firmware
Installing TWRP is just the first step to fully customize your Xiaomi, and from a recavery, you can get root rights, install Magisk to manage a superuser, or flash custom firmware like LineageOS or Pixel Experience, but remember, each of these operations carries risks.
How to get root rights through TWRP:
- Download the latest version of Magisk (APK or ZIP) from GitHub.
- If you downloaded the APK, install it and select Install β Direct Installation (recommended).
- If you downloaded ZIP, move the file to the device memory and run through Install to TWRP.
- Reboot. Once downloaded, check root using the Root Checker app.
Installation of custom firmware:
- π Download firmware (such as LineageOS or ArrowOS) for your model with XDA.
- π Place it. ZIP-Firmware and GApps (if you need Google services) in the memory of the device.
- π V TWRP run the Wipe β Advanced Wipe and tag Dalvik, Cache, System, Data.
- π Flush the firmware through Install, then GApps (if required).
- π Reboot. It can take 10 to 15 minutes to download the first one.
Warning: custom firmware may contain bugs, especially on new devices. Check forum reviews before installing and make sure the firmware supports:
- πΆ Communication modules (LTE, Wi-Fi, Bluetooth).
- π₯ Camera (on some firmware not working all modules).
- π Fast charging.
Recovery of the system after a failed firmware
If something goes wrong, the smartphone doesn't boot, it's stuck in the MI logo, or the TWRP makes errors, don't panic. Most of the time, the device can be restored, and the key is not to try to flash random files, which can make things worse.
Recovery methods:
- π Official firmware MIUI through TWRP: Download the full firmware (.zip) for your model from the official website. Place the file in the device memory. TWRP Select Install and specify the path to the firmware file. After installation, run Wipe. β Format Data (if the system is not loaded).
- π₯οΈ Fastboot Firmware (PC required): β οΈ Note: If none of the methods did not help and the smartphone does not load even in the TWRP, The only thing left is the firmware on your computer via the Mi Flash Tool. To do this, download the Fastboot firmware for your model and follow the instructions at xiaomiflashtool.com.
- π Contacting the service center: If the device is fully "bricked" (does not respond to buttons, is not determined by the computer), you may need to solder EMMC-It's expensive and not always possible.
To minimize the risks, always:
- π Keep backup before any manipulations.
- π Check the compatibility of files with your model.
- π‘ Watch the battery charge during firmware.