How to turn it on TWRP Xiaomi: Unlock, Install and Setup

Inclusion TWRP (Team Win Recovery Project on Xiaomi smartphones is a key step for those who want to take full control of the device. This custom recavator allows you to install unofficial firmware, back up NANDroid, remove system applications and even restore bricks after unsuccessful experiments. TWRP on the Redmi, POCO Mi requires pre-unlocking the bootloader and following the instructions accurately – an error at any stage can result in a loss of warranty or complete inoperability of the device.

In this article, we will analyze all the stages: from preparing the phone to the final check of the work. TWRP. We will pay special attention to the nuances for different models (for example, the Xiaomi 13 Pro requires a different approach than the Redmi Note 10), as well as common problems such as the Fastboot error: FAILED (remote: 'Flashing is not allowed'. If you are a beginner, don't skip sections on backing up data and checking firmware compatibility!

What is TWRP and why is it necessary for Xiaomi?

TWRP (Team Win Recovery Project is an alternative touch-controlled recovery menu that replaces Xiaomi's standard Mi Recovery:

  • πŸ“¦ Installation of custom firmware (LineageOS, Pixel Experience, MIUI Pro and others.)
  • πŸ”„ Creating and restoring full system backups
  • 🧹 Removing system applications (bloatware) without root rights
  • πŸ”§ Fixing Download Errors After Failed Updates
  • πŸ”“ Unlock additional functions (for example, OTA-customization)

On Xiaomi devices TWRP Especially in demand due to the closure of the firmware MIUI. For example, it's impossible without him:

  • 🚫 Remove pre-installed Chinese services (such as Mi Browser or Mi Video)
  • 🚫 Install Google Camera (GCam) on models without official support
  • 🚫 Update to the new version MIUI, If Xiaomi has blocked the region of your device

However, it is important to understand: TWRP It resets all the data on the phone and can cause you to lose warranty.In addition, some features (such as Widevine) L1 for Netflix HD) They may stop working.

πŸ“Š What are you setting up for? TWRP Xiaomi?
Installation of custom firmware
Removal of Bloatware
Backup
Recovery after failure
Other

Preparation of the phone: unlocking the loader

Before installation TWRP The bootloader must be unlocked, a requirement for all Xiaomi devices, and takes between 7 and 30 days due to the company’s policy.

Here's a step-by-step algorithm:

  1. Link your Mi Account to your phone: Go to Settings β†’ Mi Account β†’ Sync and make sure the device is linked to your profile.
  2. Activate debugging on USB: In Settings β†’ About the phone, press 7 times on the version MIUI, Then go back to the settings. β†’ Additionally. β†’ For developers and enable debugging by USB and Unlock. OEM.
  3. Request permission to unlock: download the official Mi Unlock app, log in to your account and connect your phone in Fastboot mode (turn off your phone, then press Volume Down). + Nutrition).

You'll have to wait until you send the request.

Xiaomi modelWaiting period (2026)Notes
Redmi Note 12/13, POCO X57 daysNew HyperOS models require confirmation via SMS
Xiaomi 13/14, Mix Fold 315-30 daysAdditional account checks are possible
Redmi 10A, POCO M43-7 daysBudget models unlock faster

⚠️ Note: If you bought a phone in China (the domestic version), unlocking may not be possible without a Chinese phone number to confirm.In such cases, use intermediary services (such as Mi Account Unlock), but this is risky!

Once you have permission, repeat the procedure in the Mi Unlock Tool. Successful unlocking is confirmed by the Unlocked successfully message in the program.

Linking your Mi Account to your phone|Enable debugging on USB and OEM-unlock|Download Mi Unlock Tool from the official website|Connect your phone to Fastboot mode|Wait. SMS/email confirmatory-->

Selecting a TWRP version for your Xiaomi model

Not all versions. TWRP Installing an inappropriate firmware can cause a phone to "brick" (completely inoperable:

1. Find out the code name of the model:

- For the Redmi Note 11 Pro+ 5G It's veux.

- For Xiaomi. 12T β€” diting

- For POCO F4 GT β€” ingres

A full list of code names can be found on the XiaomiUI website or in support Telegram chats.

2. Download. TWRP source:

Official website: twrp.me (search by model code)

- Alternative repositories: XDA Developers (for new models)

- Telegram channels, like, @TWRP_updates (current builds for HyperOS)

3. Check the firmware type:

- For MIUI Global/EEA standard TWRP

- For MIUI China may require a modified version (e.g., a modified version, TWRP OrangeFox)

For HyperOS (new models 2026) look for builds marked Android 14

⚠️ If your Xiaomi model was released less than 6 months ago, the official TWRP In those cases, use temporary solutions like FastbootD or wait for the release from the community.

An example of the correct file name TWRP For the Redmi Note 10 Pro (sweet): twrp-3.7.0_12-0-sweet.img. Avoid files with the.zip extension – they are designed to be installed through the self-installation. TWRP, Not through fastboot.

What to do if you don't TWRP for my model?
If there is no official assembly, try it: 1. OrangeFox Recovery is an alternative TWRP Extended features (supports some new models). 2. Installation via FastbootD (for dynamic partition devices, such as Xiaomi) 12/13). 3. Waiting – watch out for announcements on XDA Or in the developers' telegram channels. TWRP From other models, it is a guaranteed breech!

Installation TWRP via Fastboot (step-by-step instructions)

Now let’s move on to the most important stage – installation. TWRP. You'll need it:

  • πŸ–₯️ Computer with Windows/Linux/macOS
  • πŸ”Œ Cable USB (preferably original)
  • πŸ“± Phone with unlocked loader and charge β‰₯50%
  • πŸ› οΈ Utilities: ADB Fastboot (you can download it in Android) SDK)

Instructions:

  1. Download the image TWRP (img file for your model and rename it to twrp.img For convenience, put the file in a folder with the platform-tools.
  2. Open the command prompt in this folder (Shift + right mouse button β†’ β€œOpen PowerShell window here”).
  3. Transfer the phone to Fastboot: adb reboot bootloader Or manually: turn off the phone, then press Volume down + Nutrition.
  4. Check the connection: fastboot devices should appear serial number of the device.
  5. Install. TWRP: fastboot flash recovery twrp.img For HyperOS devices (e.g. Xiaomi) 14) You may need a command: fastboot flash recovery_ramdisk twrp.img
  6. Launch it. TWRP: fastboot reboot recovery If the phone loads into a standard recavery, repeat step 5, then select Reboot. β†’ manually recover.

If, after the reboot, TWRP It doesn't start, and the phone goes back to Mi Recovery, which means your model has anti-rollback protection:

  • πŸ”„ Install. TWRP Temporary (no firmware in recovery): fastboot boot twrp.img This will allow you to load once in TWRP, thread disable_forceencrypt magisk.
  • πŸ“΅ Turn off signature verification in settings TWRP (if available).

πŸ’‘

After installation TWRP phone not turning on (black screen or Xiaomi logo), try to pinch Volume up + Power for 10-15 seconds for forced reboot. If that doesn't work, reflash your phone through the Mi Flash Tool with official firmware.

First steps in the TWRP: setup

After successful loading into TWRP You'll see a touch menu with a few tabs, and the first thing you need to do is back up your current firmware, and that will save your data if something goes wrong with further manipulation.

Step-by-step:

  1. Select the language: press Select Language β†’ Russian (if available).
  2. Allow system changes: Swipe Swipe to Allow Modifications (this will disable signature verification) MIUI).
  3. Create a backup: - Go to Backup. - Mark the sections: Boot, System, Data, Vendor. - Select a save location (internal memory or storage). OTG-Swipe to start backup. - Swipe to start backup.

The process may take 10–30 minutes depending on the amount of data. Upon completion, check the backup file in the folder. TWRP/BACKUPS β€” Its size should be at least 3–5 GB.

Additional settings TWRP:

  • πŸ”§ Settings β†’ Screen: set the screen backlight timeout (60 seconds default).
  • πŸ”’ Settings β†’ Password: Set a password to protect backups (optional).
  • πŸ“± Mount: You can connect internal memory here to transfer files over MTP.

⚠️ Note: If you plan to flash custom firmware, do not format the Data section in the TWRP This will result in the loss of all user data, including photos and messages.

πŸ’‘

Backup in TWRP β€” Your brick insurance, store a copy of it on your PC or the cloud, recover from the backup in 5-10 minutes, and return the phone to working order even after a failed firmware.

Common mistakes and their solutions

Even with the correct instructions, there can be problems, and here are the most common mistakes and ways to correct them:

Mistake.Reason.Decision
Fastboot: FAILED (remote: 'Flashing is not allowed')The bootloader is not unlocked or locked after the update MIUIRepeat unlocking via Mi Unlock Tool. If the error persists, wait 30 days (Xiaomi can reset the unlock counter).
TWRP It does not start, the phone is loaded into MIUINew models Xiaomi replaces TWRP on standard Recovery when loadingUse the command fastboot boot twrp.img for temporary loading, then slice disable_forceencrypt.zip.
E: Unable to mount /data Data decryption unsuccessfulEncryption of data in MIUI (especially on Android 10+)Please. format_data_fix.zip or manually format the data in TWRP (All user data will be deleted!).
The phone does not turn on after firmware (black screen)Incompatible version of TWRP or interrupted processDownload to Fastboot and run the official firmware through the Mi Flash Tool (select clean all).

If your problem is not listed in the table:

  • πŸ” Check the error logs in TWRP: Advanced β†’ Copy Log.
  • πŸ’¬ Find a solution in the forums: - XDA Developers (partition of your model) - 4PDA (Russian-speaking community)
  • πŸ“‘ Ask in telegram chats like this. @xiaomi_twrp or @miuirom.

For models on HyperOS (for example, Xiaomi 14 or Redmi) K70) You may need a patch for compatibility with TWRP. Download it on XiaomiUI and run it through Install β†’ Select Image.

Further actions: Magisk, custom firmware, recovery

Now that TWRP has been successfully installed, you can:

  • πŸ”“ Get root rights through Magisk: - Download the latest Magisk.apk - Rename the file to GitHub. Magisk.zip and pass through TWRP (Install β†’ Select Zip. – After the restart, install Magisk Manager to manage root.
  • πŸ“± Install custom firmware: - Popular options: LineageOS, Pixel Experience, ArrowOS. - Before the firmware format System, Vendor, Data (via Wipe) β†’ Advanced Wipe. - Switch in order: ROM β†’ GApps (if necessary) β†’ Magisk (optional).
  • πŸ”„ Restore the official firmware: - Download Fastboot-ROM for your model with Xiaomi Firmware Updater. - Sweat through Mi Flash Tool (select clean all for full cleanup).

When installing custom firmware, consider:

  • 🚨 Android-based firmware 13/14 They may not support Widevine. L1 (Netflix HD won't work).
  • πŸ“‘ Some models, for example, POCO F5) Require firmware and vendor separately.
  • πŸ”‹ After the firmware, the first start can take 10-15 minutes – do not interrupt the process!

If you want to get it back to "the way it was":

  1. Download the official Fastboot firmware for your model.
  2. Swipe it through the Mi Flash Tool with the clean all and lock option (this will block the bootloader again).
  3. Recover the data from the backup. TWRP (if there is).

πŸ’‘

Before installing custom firmware, check it for bugs in the topic on the XDA or 4PDA. Pay special attention to the work of the camera, NFC and 5G β€” These functions are often broken down in informal assemblies.

FAQ: Frequent questions about TWRP on Xiaomi

❓ Can we determine TWRP loader-free?
No, on all modern Xiaomi devices (after that) 2018 Unlocking of the bootloader is mandatory. The only exception is temporary loading. TWRP via fastboot boot twrp.img, But it doesn't give you permanent access.
❓ Why After Installation TWRP The phone doesn't see internal memory?
It's about encryption. FBE (File-Based Encryption) in new versions of Android. Solutions: disable_forceencrypt.zip into TWRP. Format Data (all data will be deleted!). OTG-file-storage.
❓ How to update TWRP Xiaomi?
Update is the same as installation: Download the new version of.img. Download to TWRP. Choose Install. β†’ Install Image and specify the path to the file. Click in the Recovery section. HyperOS models may require firmware via fastboot flash recovery_ramdisk.
❓ Can I get it? OTA-installable TWRP?
Yes, but with reservations: Official OTA-update MIUI will be thrown TWRP To avoid this, you should swipe before upgrading. TWRP_Installer.zip. For custom firmware (for example, LineageOS) OTA Updated via the Recovery itself or the Updater app.
❓ What to do if after installation TWRP phone doesn't see SIM-map?
This problem is typical for firmware based on HyperOS or unofficial ports. TWRP. Solutions: Run the correct version of vendor and firmware for your model. Check network settings in Settings β†’ SIM-If nothing helps, go back to the official firmware via the Mi Flash Tool.