How to flash TWRP Recovery on Xiaomi via Flashtool: a complete guide with nuances

Installing custom TWRP on Xiaomi smartphones gives you access to advanced features from the system backup to the firmware of informal ROM. However, the process through the Mi Flash Tool (aka Xiaomi Flash Tool) requires accuracy - an error at any stage can turn the device into a "brick." Unlike the standard method through fastboot, firmware through Flashtool is suitable for recovering devices with a damaged bootloader or when other methods do not work.

In this article, we will analyze the step-by-step algorithm with the current requirements of 2026, from unlocking the bootloader to choosing the right version of TWRP for your model. We will focus on typical errors (for example, anti-rollback or invalid image) and how to get around them. If you are a beginner, don’t skip the preparation section: 80% of problems arise from non-compliance with preconditions.

1.Preparation: What to do before TWRP firmware

Before you start firmware, make sure that all the preconditions are met. Skipping even one item can lead to locking the device or inability to complete the process.

  • πŸ“± Check the device model: the method works for most Xiaomi, Redmi and other smartphones POCO, There are exceptions (for example, devices running the MediaTek platform require a different approach).
  • πŸ”“ Unlock the bootloader: without this, Flashtool simply will not see the device in mode EDL. The official way is through Mi Unlock Tool (requires a Mi Account and wait) 7-15 days).
  • πŸ’» Install drivers: to work in mode EDL Qualcomm drivers are needed HS-USB QDLoader 9008. You can download them from the XDA Developers or through the Mi Flash Tool (automatic installation).
  • πŸ”‹ Battery charge: at least 60% when running through EDL The device is not charged and discharging during the process can kill it.

Important: If your device has been unlocked before, but the TWRP firmware does not take root (the device is loaded into stock Recovery), then the manufacturer has activated anti-rollback protection, in which case you will need to roll back to an older version of MIUI before installing a custom Recovery.

πŸ“Š What Xiaomi model are you using?
Redmi Note 10/11/12
POCO F3/F4/F5
Mi 11/12/13
Another model

2. Download the necessary files: where to get and which versions to choose

File selection is responsible for 90 percent of success, and using incompatible versions of TWRP or Flashtool leads to errors like SLA Auth Error or Firehose mismatch.

  • πŸ“ Mi Flash Tool: official version from Xiaomi website (e.g. here) Alternatively modified version of Mi Flash Tool 2026 with support for new models.
  • πŸ”§ TWRP For your model: download only from the official website or verified branches XDA. Pay attention to the Device Tree section – it should match your modification (for example, the Redmi Note 10 Pro has sweet and sweetin options).
  • πŸ“„ Firehose file (prog_emmc_firehose): need to work EDL. It can be extracted from stock firmware or downloaded separately (for example, for Snapdragon). 660 file fits prog_emmc_firehose_8953.mbn).

Critical: If you download TWRP for another device modification (e.g., for the global version instead of the Chinese version), the recovery will either not boot or the device will get stuck on the Mi logo. Check the exact model in the settings along the Settings path β†’ About Phone β†’ MIUI version (e.g., V14.0.4.0.TKFMIXM – here TKF indicates the region).

Model of the deviceCode nameTWRP referenceNotes
Redmi Note 10 ProsweetDownloadSupports the A/B section
POCO F3aliothDownloadRequires AVB 2.0 shutdown
Mi 11venusDownloadIncompatible with MIUI 14+ without patches

3. Installation of drivers and setting up Mi Flash Tool

Without properly installed drivers, Flashtool will not be able to "see" the device in EDL mode. Here is a step-by-step instruction:

  1. Download Qualcomm drivers: for 64-bit systems, the QDLoader HS-USB Driver package will suit (link conditional, look for the current version).
  2. Connect the device in EDL mode: Turn off the smartphone. Press Volume up + Volume down and connect the USB cable to the PC. Hold the buttons for 10-15 seconds until the Qualcomm HS-USB QDLoader 9008 appears in the Device Manager.

Update the driver β†’ Search on this computer β†’ Select from the list β†’ Install from the disk

Once you have the drivers installed, run the Mi Flash Tool and see if the device is defined. If Connected is displayed in the status, you can go to the firmware. If not, repeat the steps or try another one. USB-port (preferably) USB 2.0).

Qualcomm drivers installed | Device determined in EDL|Mi Flash Tool launched on behalf of administrator |TWRP file renamed twrp.img|Firehose-file suitable for your model-->

4. TWRP firmware via Mi Flash Tool: a step-by-step process

Now, to the most critical stage, follow the instructions in strict order.

  1. Prepare a firmware file: Downloaded twrp-3.7.0_12-0-sweet.img (Example of the Redmi Note 10 Pro) rename in twrp.img. Place it in a folder with Flashtool (for example, C:\MiFlash\images).

Run the firmware.

  • Press Flash and wait until it is completed (usually 5-10 minutes).
  • If the process is stuck on Waiting for device, check the USB connection or reinstall the drivers.

πŸ’‘

After installation TWRP If you have a touch screen that's not working, download the alternative touch-enabled build for your model. POCO X3 Pro's gonna do the version. twrp-3.7.0_12-0-vayu-mauronofrio.img.

6.The first download in TWRP: what to do next

After successful firmware, you need to configure TWRP correctly to avoid system boot problems:

  1. Load into the recavery: Press Volume up + Power immediately after firmware.
  2. Unlock encryption: Go to Wipe β†’ Format Data. Enter yes for confirmation.

Squeeze Magisk (optional)

  • Download the latest version of Magisk.
  • In TWRP, select Install β†’ Select Magisk.zip β†’ Swipe to Confirm Flash.
  • Reboot to the system: select Reboot β†’ System.

How do you check if TWRP has been successful?
After you've done the firmware, load up into the recavers (clutching Volume Up + Power). If you see a blue interface that says TeamWin Recovery Project, it's a success. If you see a stock recavers (with the Mi logo), it's a failure.
Can I flash TWRP on Xiaomi with a MediaTek processor?
For MediaTek devices (such as Redmi 9A or POCO C31), the Mi Flash Tool method is not suitable. Instead, use: The SP Flash Tool method (requires a scatter.txt file). Or the MTK Bypass utility to unlock the bootloader. For detailed instructions, look in the themes on XDA Developers for your model.
What if the device does not turn on after TWRP firmware?
It's likely that there was a firmware error or the TWRP file was incompatible. Try: Boot into fastboot (clamb Down + Power) and flash the stock receptacles. If the device doesn't respond, put it into EDL mode (as described above) and run the official firmware through the Mi Flash Tool. If nothing works, contact the service center - the bootloader may be damaged.