Xiaomi Redmi 4X (The codename santoni is still a popular budget smartphone among custom firmware enthusiasts. TWRP Recovery on this device has its own nuances - from the mandatory unlock of the bootloader to the fight against the Orange State error after the firmware. In this article, you will find the current instructions for installing and launching. TWRP on the Redmi 4X, including bypassing typical 2026 problems.
It is important to understand: the process is different from the standard input to stock recovery (Power). + This will require pre-production, like unlocking the bootloader, running the custom recovery through fastboot, and in some cases, manipulating the anti-rollback file, and we'll go through all the steps, from checking the version of the device to alternative login methods. TWRP non-start.
This article is relevant for all Redmi modifications. 4X (2/16 GB, 3/32 GB, 4/64 GB) based on Qualcomm Snapdragon processor 435. If your device has not been modified before, start with the section about unlocking the bootloader - without this step, login to the bootloader. TWRP impossible.
1. Device preparation: model and version verification MIUI
Before installation TWRP Make sure your device is a Xiaomi Redmi. 4X (SANTONI Firmware incompatible Recovery can lead to a breeze (complete inoperability) of a smartphone.
To test the model:
- Go to Settings. β The phone.
- Find the line Model device (should be Redmi) 4X) and code name (Santoni).
- Write down the version. MIUI (for example, MIUI Global 12.5.3 Stable).
It is also critical to check the bootloader version and unlock status:
- π§ Turn off the phone, then press the power. + Vol Down for fastboot login.
- π₯οΈ Connect the device to your PC and type in the command: fastboot getvar anti If the answer has a line anti: 3 or higher, your bootloader is already unlocked (you can skip section 2.
β οΈ Attention: On Redmi 4X version MIUI 12.0.2.0 can be activated by anti-Rollback protection. TWRP And on that device, you're going to get Orange State error and block the download. TWRP supportive ARB (see section 5).
2 Unlock the bootloader on Redmi 4X
Without unlocking the loader entrance TWRP Xiaomi officially allows you to unlock the bootloader, but the process requires a Mi Account and waiting (usually 7-14 days).
Step-by-step:
- Link the Mi Account: π± Go to Settings. β Xiaomi account and log in. π B Settings β Additionally. β For developers, activate Mi Account Linking and Unblocking OEM.
- Install the Mi Unlock Tool: π₯οΈ Download the official utility from the site en.miui.com/unlock (version 5.5.224.24). π¦ Unpack the archive and launch it. miflash_unlock.exe on behalf of the administrator.
Run the unlock:
- π Connect your phone in fastboot mode (see section 1).
- π In the utility, press Unlock and confirm the action. If you receive a waiting message, wait for the specified time (usually 168 hours).
When you successfully unlock the phone, you'll see a warning, This device is unlocked, which is normal. TWRP.
β οΈ Note: If you have a Couldnβt verify device error when unlocking, try it: π Reconnect. USB-cable (it is better to use the original cable). π₯οΈ Run the utility in compatibility mode with Windows 7. π‘ Disable Antivirus and Firewall.
Linked to the Mi Account to the device|Developer mode activated|Unlocking enabled OEM|Download the latest Mi Unlock Tool version|Phone in fastboot mode-->
3. Download the correct version TWRP for Redmi 4X
For Redmi. 4X (Santoni: There are several versions TWRP, But not all of them are compatible with the latest Anti-Rollback updates, and using the wrong version will cause Orange State to fail or not boot the system.
Recommended versions TWRP (2026):
| TWRP version | Support for Anti-Rollback | Download link | Notes |
|---|---|---|---|
| 3.7.0_9-0 | Yes (ARB 4+) | Official website | Stable version, supports MIUI 12β14 |
| 3.6.2_11-0 | Partially (ARB 3) | XDA Developers | Suitable for older versions MIUI |
| 3.5.2_9-0 (informal) | No. | AndroidFileHost | Only for MIUI up to 11.0.3 |
How to choose the correct version:
- π If your current firmware is newer MIUI 12.0.2.0 β download 3.7.0_9-0 or newer.
- π For a downgrade with a new one MIUI In the old one, go first. TWRP supportive ARB, later.
- π« Avoid older versions 3.2.3-0 β They are incompatible with modern cores Xiaomi.
After downloading, rename the file to twrp.img and place it in a folder with fastboot (for example, C:\platform-tools\).
π‘
Before the firmware TWRP Turn off signature verification in the developer settings (Debugging by USB β Allow unlocking OEM). This will prevent the Signature failed verification error.
Installation TWRP fastboot
Now, to the backup firmware, you're going to need a computer with drivers installed. ADB/Fastboot and the platform-tools themselves (you can download from the Android site).
Step-by-step:
- Connect your phone in fastboot mode: π Turn off Redmi. 4X, Then press the Power. + Vol Down before the Fastboot logo appears. π₯οΈ Connect the device to the PC through USB.
Check the connection:
fastboot devicesThe serial number of the device should be displayed. If not, install the drivers.
TWRP:
fastboot flash recovery twrp.imgThen:
fastboot boot twrp.imgThis team will temporarily load TWRP without writing to the recovery section (useful for testing).
If it goes well, you will see the TeamWin logo and menu. TWRP. But at Redmi. 4X Often there is a problem: after a reboot, the stock recovery overwrites TWRP. To avoid it:
- π§ V TWRP Go to Mount. β Enable MTP And copy the file to the phone. disable_dm-verity_forceencrypt.zip (download).
- π¦ Sweep this file through Install in TWRP.
- π Reboot to TWRP Reboot again. β Recovery).
β οΈ Note: If after the firmware TWRP The phone is loaded into stock recovery, so the anti-Rollback protection is activated. TWRP supportive ARB (see table in section 3). Delete the file. /data/.twrp through ADB: adb shell rm -rf /data/.twrp
π‘
On the Redmi. 4X TWRP You need to stitch TWO: first through fastboot, then through the Recovery itself (to prevent overwriting stock recovery).
5. Entrance TWRP on the Redmi 4X: basic
After successful installation, enter TWRP There are a number of ways. You can choose the method depending on the situation:
Method 1: Classical button combination
- π Turn off the phone.
- π Hold the Power. + Vol Up and hold for 10-15 seconds until the logo appears TWRP.
- π« If you are running a recovery, then TWRP was rewritten (see decision in section 4).
Method 2: Through the ADB team
If the buttons are not working (for example, the volume key is broken), use:
adb reboot recoveryThe device will automatically reboot to TWRP.
Method 3: Through the terminal TWRP (if already established)
If you are in the system, but you need to restart to the Recovery:
- π± Install the Quick Reboot app.
- π Select the Recovery option.
On the Redmi. 4X s MIUI 12+ The button input may not work because of the changed core. ADB terminal.
What to do if TWRP stitched but not launched?
6. Solving errors at the entrance to TWRP
Even after installing the correct system, Redmi users 4X They're facing typical problems. Let's look at the most common problems:
| Mistake. | Reason. | Decision |
|---|---|---|
| Orange State (orange stripe) | Conflict with Anti-Rollback (firmware of the old) TWRP new MIUI). | Please. TWRP supportive ARB (version 3.7.0+). Delete the file. /data/.twrp through ADB. |
| T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-TWRP It is not held up, reset to stock recovery | Stock firmware overwrites the Recovery when loading. | After the firmware TWRP Just load it up and run it. disable_dm-verity.zip. |
| Failed to mount /data (Invalid argument) | Encryption /data into MIUI. | V TWRP Execute Format Data β Yes (data will be deleted!). |
| T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-T-TWRP Does not see the internal memory | Not mounted section /data. | Go to Mount β Enable MTP. |
If after manipulation the phone stopped loading (brick), try:
- Swipe stock firmware through the Mi Flash Tool (select clean all).
- Re-unlock the loader and install TWRP.
For Redmi. 4X s MIUI 13/14 You may need a patch to bypass signature verification. no_verity_opt_encrypt.zip and run it in TWRP after-installation.
7. Alternative methods of entry into TWRP (if nothing works)
If the standard methods donβt work, try workarounds:
Method 1: Through editing boot.img
This method is suitable if TWRP It is not installed but is not opened due to the protected boot:
- Download the stock firmware for your model from the Xiaomi Firmware Updater website.
- Remove boot.img from the archive.
- Fastboot: fastboot flash boot.img
- Repeat the firmware. TWRP.
Method 2: Using Magisk to secure TWRP
If TWRP It can be βfixedβ with Magisk:
- π± Install Magisk in TWRP.
- π§ In Magisk settings, activate the Preserve option AVB 2.0/dm-verity.
- π Reboot to the system, then back to the TWRP.
Method 3: Through the annex TWRP App
If the phone is loaded into the system but does not respond to the buttons:
- π± Install Official TWRP App.
- π Provide root rights (if any) and select Reboot to Recovery.
On the Redmi. 4X s MIUI 14 may require a rollback to MIUI 12.5 for stable operation TWRP. Use the firmware archive for downgrade.