How to put TWRP Recovery on Xiaomi Redmi Note 4X: a complete guide with files

Xiaomi Redmi Note 4X (codenamed mido) is still a popular device among Android customization enthusiasts. Even in 2026, this smartphone can surprise performance on alternative firmware - but they require custom recaps (usually TWRP). Without it, you can not flash Magisk for root rights, install LineageOS or Pixel Experience, and make a full backup system.

But the process of installing a recover on the Redmi Note 4X has nuances, from unlocking the bootloader (which takes up to 720 hours to wait!) to choosing the right version of TWRP for your smartphone modification. This article presents the current files and commands for the recovery firmware in 2026, as well as solving typical errors like FAILED (remote: 'Flashing is not') or getting stuck on the Mi logo.

1. Preparation: What to do before installing TWRP

Before you start firmware, make sure you have everything you need. Without proper preparation, you risk getting a brick, a smartphone that doesn't even turn on in Fastboot mode.

Here's the minimum set:

  • πŸ“± Xiaomi Redmi Note Smartphone 4X (modification: 3/32 GB, 4/64 GB, Global or China. Check the code name in Settings β†’ The phone. β†’ Version. MIUI β€” Must be mido.
  • πŸ’» Computer on Windows 10/11 Linux (macOS will require additional drivers) Virtual machines are not suitable!
  • πŸ”Œ Cable USB β€” It is preferable to be original, as cheap cables can interrupt data transmission.
  • πŸ”‹ Battery charge at least 60%, firmware at low charge can be interrupted.

Also download the following files (links are valid for 2026):

File.AppointmentReference
Mi Unlock ToolOfficial utility for unlocking the bootloaderDownload from Xiaomi website
TWRP for midoCastomy Recaveri (version) 3.7.0_9-0)Official website of TWRP
ADB & FastbootTools for firmware through the command lineAndroid Developers website
USB-Xiaomi driversFor phone recognition in Fastboot modeXiaomi Support Page

⚠️ Note: If you are using Redmi Note 4X helio-processor X20 (Modification for India, download TWRP Only marked mido - firmware version for Redmi Note 4 (codename nikel) will lead to inoperability of the sensor!

πŸ“Š What kind of firmware do you plan to install after TWRP?
LineageOS
Pixel Experience
Havoc OS
Stock MIUI with root rights
Another.

2. Unlocking the bootloader: how to bypass a 720-hour timer

Without an unlocked bootloader, you can't flash TWRP -- Xiaomi blocks any changes to the system partition. The official way to unlock through the Mi Unlock Tool requires you to tie your Mi Account and wait up to 30 days (720 hours), but there are workarounds.

Standard procedure:

  1. Enable Developer Options: Go to Settings β†’ About Phone and click on MIUI Version 7 times.
  2. Activate OEM Unlock and USB Debugging in Settings β†’ Additional β†’ For Developers.
  3. Link your Mi Account to your device in Settings β†’ Xiaomi Account.
  4. Launch the Mi Unlock Tool on your PC, log in to the same account and follow the instructions.

If you don’t want to wait 30 days, use the following informal methods:

How to unlock a bootloader without waiting?
1. Install Magisk on a blocked bootloader via patch boot.img (method only works on MIUI 12 below). 2. Use it. EDL-Mi Flash Pro boxing mode (emergency firmware) – requires an authorized developer account. 3. Buy an unlocked bootloader from trusted forum sellers (risk of fraud!).

⚠️ Warning: Unofficial Unblocking Methods May Lead to Mi Account Ban or Blocking IMEI. Use them at your own risk and risk!

πŸ’‘

If the Mi Unlock Tool gives you a β€œCouldn’t unlock” error, try changing your account region to China in the Mi Account settings and try again.

3. Install TWRP via Fastboot: step-by-step instruction

When the bootloader is unlocked, you can start running the backpack firmware. We'll use Fastboot, which is a mode where the smartphone connects to a PC for low-level operations.

Follow the following steps:

Download and unpack platform-tools (ADB/Fastboot) to the root of the C:| disk

Copy the file twrp-3.7.0_9-0-mido.img into a folder with platform-tools|

Connect your phone in Fastboot mode (clamp Volume down + Power)|

Open the command line in the platform-tools folder and enter the firmware command |

-->

fastboot flash recovery twrp-3.7.0_9-0-mido.img


fastboot boot twrp-3.7.0_9-0-mido.img

After the commands are executed, the phone will automatically restart to TWRP. If this does not happen, manually press Volume Up + Power when turned on.

⚠️ Note: If after the firmware TWRP The phone is stuck on the Mi logo, so you've stitched the wrong version of the Recovery or you haven't unlocked the bootloader.

4. Typical errors 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
FAILED (remote: 'Flashing is not allowed')Bootloader blockedUnlock the Bootloader with the Mi Unlock Tool
device not foundDrivers not installed or cable is faultyInstall Xiaomi drivers and check the cable
TWRP is stitched but not launchedStock Recavery Re-records TWRPAfter the firmware, immediately boot to TWRP and disable Auto-reboot.
Touch doesn't work on TWRPThe wrong version of the recovery for your modificationDownload TWRP marked mido for Helio X20

If after installing TWRP, the phone does not see internal memory, perform in the recave:

  1. Go to Wipe β†’ Format Data (this will delete all data!).
  2. Enter yes to confirm.
  3. Reboot to the Recovery and check the availability of memory.

πŸ’‘

If the phone doesn’t turn on after TWRP firmware, try flashing stock ROM through the Mi Flash Tool in EDL mode (an authorized account is required).

5. How to Backup TWRP Before Firmware Custom ROM

Before installing any custom firmware, be sure to create a full backup of the current system, which will allow you to restore the phone if something goes wrong.

Instructions for creating a backup:

  1. Boot to TWRP (click Volume Up + Power).
  2. Go to the Backup section.
  3. Check the boxes: Boot, System, Data, EFS (if any).
  4. Select a place of preservation (better to save) SD-map OTG-accumulator).
  5. Swipe to start the backup.

You can restore the backup in the same Restore section. Note that the backup takes 8-12 GB – make sure that there is enough space on the drive.

πŸ’‘

If you plan to flash GSI-firmware (Generic System Image), additionally make a backup of the Vendor partition - without it the camera and sensors may not work.

6 How to Upgrade TWRP to Redmi Note 4X

Over time, new versions of TWRP with bug fixes and support for fresh firmware are released.

Method 1: Fastboot (recommended)

  1. Download the latest version of TWRP for mido.
  2. Connect your phone in Fastboot mode.
  3. Run the command: fastboot flash recovery twrp-new.img fastboot boot twrp-new.img

Method 2: Through the Recavery itself

  1. Download the new.img file to your phone.
  2. Download to TWRP.
  3. Go to Install β†’ Install Image and select the downloaded file.
  4. Select the Recovery section and swipe for firmware.

After the update, check the version in TWRP β†’ About. If it hasn’t changed, repeat the firmware.

7.Alternative Recavers: OrangeFox and PitchBlack

In addition to TWRP, other custom recaps with advanced features are available for the Redmi Note 4X:

  • 🦊 OrangeFox Recovery is based on TWRP, But with an improved interface, Magisk support, and a built-in file manager.
  • ⚫ PitchBlack Recovery is a minimalist recovery with a focus on performance. AB-partitioning FBE. Download.

Installation of alternative Recovery is similar to firmware TWRP β€” Fastboot or the Recovery itself, the main difference is some features (e.g., some of the features, OTA-Updates may not work properly.

⚠️ OrangeFox and PitchBlack are incompatible with some GSI-If you're planning to install Phh-Treble or AndyYan's. GSI, use the standard TWRP 3.7.0.

FAQ: Frequent questions about Recovery on Redmi Note 4X

Can I flash TWRP without unlocking the bootloader?
No, without unlocking the bootloader, any changes to the recovery section will be blocked. The only workaround is temporary firmware through the fastboot boot, but after the restart, the stock recovery will return.
Why does the phone not turn on after TWRP firmware?
Chances are you've stitched a non-castom recaveri or interrupted the firmware process.Solution: Try booting into Fastboot. + Food. Please pass TWRP If it doesn't work, run the stock. ROM via Mi Flash Tool.
How do you get the stock recap?
Download the official firmware for your model from Xiaomi, unpack it and swipe the recovery.img file through Fastboot: fastboot flash recovery.img
Can I install TWRP on the Redmi Note 4X with a Snapdragon processor?
No, the Redmi Note 4X was only released with a Helio X20 processor (codenamed mido). If you have a smartphone with a Snapdragon 625, it's a Redmi Note 4 (codenamed nikel) - you need to download another Recovery for it!
How to Switch Magisk through TWRP?
Download the latest Magisk.zip from GitHub, download to TWRP, click Install, select a file and swipe for firmware. After rebooting, check the root rights through the Magisk Manager app.