Xiaomi Redmi 4X (codenamed santoni) is still a popular budget smartphone thanks to the robust Snapdragon 435 platform and the ability to install modern firmware. However, over time, official support for MIUI ends, and users face slowdowns, lack of security updates or the desire to install custom firmware like LineageOS or Pixel Experience. In this guide, we will analyze all the current ways to update Redmi 4X in 2026, from official updates to installing informal builds via TWRP.
It's important to understand that firmware is not only a way to upgrade the system, but also a risk of turning the phone into a brick if you break the process. Especially for models with a locked bootloader. In this article, you will find step-by-step instructions for each method, as well as unique solutions for errors specific to Redmi 4X (for example, the problem of checking the Mi Account after a reset or the black screen after a firmware through Fastboot). If you're a beginner, start with the official methods.
1. Firmware Preparation: What to Do Before Starting
Before you start firmware, make sure that all the preliminary steps are followed, which will save you from losing data and save time.
First, check the current version of MIUI: go to Settings โ About โ About โ MIUI version. Write it down, it will help you choose the right firmware. For example, if you have MIUI 12.5 and want to upgrade to MIUI 14, you will need a full ROM, not an incremental one.
Second, make sure to back up. Even if you plan to upgrade without a reset, errors happen. Use the built-in Settings tool โ Additional โ Backup and Reset โ Local backup or third-party utilities like Swift Backup.
- ๐ฑ Contact (export to) VCF)
- ๐ท Photos and videos (copy to PC or cloud)
- ๐ Wi-Fi passwords (save the list of networks)
- ๐ฎ Save games (use Google Play Games or Helium)
Finally, prepare the tools:
- ๐ฅ๏ธ Computer on Windows 10/11 or Linux (for Fastboot)
- ๐ Cable USB (preferably original, without damage)
- ๐ Battery charge of at least 60%
- ๐ Firmware (official or custom, see the next section)
2. firmware selection: official MIUI vs custom builds
The type of firmware that determines the functionality of the phone, stability and even its lifespan, letโs look at the pros and cons of each variant for the Redmi 4X.
The official MIUI is suitable for most users. It provides:
- ๐ Regular security updates (although for Redmi) 4X They're rare)
- ๐ฏ Full compatibility with iron (camera, sensors, module) NFC)
- ๐ Support for Xiaomi services (Mi Cloud, Mi Account)
Cons: the presence of advertising in system applications, limited customization options, an outdated version of Android (maximum Android 7.1 Nougat in the latest builds of MIUI 12.5).
Custom firmware (e.g. LineageOS 18.1, Pixel Experience, Havoc-OS) allows:
- ๐ Update Android to version 11-13
- ๐ Improve productivity through optimization
- ๐จ Flexibly customize the interface (dark theme, gestures, animations)
But there are risks:
- ๐ Faster battery discharge (due to unoptimized cores)
- ๐ธ Camera problems (for example, not working) HDR portrait-mode)
- ๐ Lack of Widevine certification L1 (Netflix HD not available)
| Criteria | Official MIUI | Custom firmware |
|---|---|---|
| Android version | 7.1 (Nougat) | 11โ13 |
| Security updates | Nearby (until 2022) | Current (monthly) |
| Productivity | Stable but slow. | Faster, but there's a possibility of bugs. |
| Support for banking applications | Yes (SafetyNet passing) | No (Magisk required) |
| Complexity of installation | Easy (via Updater) | Difficult (needs an unlocked bootloader) |
If you choose custom firmware, look for builds optimized specifically for santoni. 18.1 TheHitMan is considered one of the most stable, and you can download it on the forum. XDA Developers or in the Telegram channel @santoni_updates.
๐ก
Before installing custom firmware, check user reviews on 4PDA or XDA.Look for mentions of bugs with an NFC module (it often breaks on unofficial builds) and a proximity sensor (may not work during calls).
3. Unlock bootloader on Redmi 4X
Without unlocking the bootloader, you wonโt be able to install custom recovery (TWRP) or flash informal firmware. Xiaomi locks the bootloader on all devices, including the Redmi 4X, so this step is a must.
The unlocking process consists of three stages:
- Linking your Mi Account to your device.
- Getting permission to unlock through Mi Unlock Tool.
- Directly unlock through Fastboot.
Important: Xiaomi has a restriction that you have to wait 7 days (168 hours) before unlocking your account, and you can't legally bypass this timer.
- ๐ฑ The phone's debugging on. USB (Settings โ The phone. โ Version. MIUI (7 times press) โ Developer settings โ Debugging by USB)
- ๐ Two-factor authentication is disabled in the Mi Account (otherwise Tool will not see the device)
- ๐ Phone connected to the Internet via mobile network (Wi-Fi may not work)
Instructions for unlocking:
- Download Mi Unlock Tool from the official website (version no lower than 5.5.224.54).
- Launch the utility on behalf of the administrator and log in to your Mi Account.
- Connect your phone in Fastboot mode (turn off the device, then press Volume Down + Power).
- In the utility, press Unlock. If the "Couldn't unlock" error appears, try again in 24 hours.
What to do if the Mi Unlock Tool shows "Current account is different from the account info on the device"
๐ก
Once the bootloader is unlocked, the phone will perform a full reset (wipe), all data will be deleted, including photos on internal memory.
4. Firmware through Fastboot: step-by-step instructions
The Fastboot method is suitable for installing official firmware (for example, when recovering from a crash) or custom if you already have a bootloader unlocked. For Redmi 4X, this method is more reliable than through Recovery, since it eliminates errors with the signature verification.
Files required:
- ๐ Firmware in.tgz or.zip format (download from the official website or Xiaomi Firmware Updater)
- ๐ฅ๏ธ Mi Flash Tool (20180528 or later)
- ๐ง Qualcomm drivers HS-USB QDLoader 9008 (if Windows does not recognize the phone in Fastboot)
Instructions:
- Unpack the firmware in a folder without Cyrillic characters (for example, C:\santoni_fastboot).
- Install the Mi Flash Tool and run on behalf of the administrator.
- Connect your phone in Fastboot mode (clip Volume Down + Power when the device is off).
- In the Mi Flash Tool, click Select and specify the path to the firmware folder.
- Select firmware mode: Clean all - complete cleaning (recommended when changing the version of MIUI) Clean all and lock - cleaning + lock bootloader (only for official firmware!) Save user data - data storage (risky, can lead to bugs)
Flash
โ๏ธ Preparation for firmware through Fastboot
If the phone does not turn on after firmware or hung on the MI logo, try:
- Press Volume up + Power for 10-15 seconds for forced reboot.
- Repeat the firmware with the choice of Clean all mode.
- Check the integrity of the downloaded firmware (compare the MD5 hash with the official one).
How to Sweat Redmi 4X, If the Mi Flash Tool is an error "flash_all_lock.bat"
5. Install custom firmware through TWRP
Unofficial firmware installations (such as LineageOS or ArrowOS) require custom recovery โ TWRP. The official version for Redmi 4X is available on twrp.me, but we recommend using a modified build from TheHitMan (it works better with FBE encryption).
Steps to install TWRP:
- Download the latest twrp-3.7.0-santoni.img (check out the version on XDA or 4PDA).
- Connect your phone in Fastboot mode and execute the command: fastboot flash recovery twrp-3.7.0-santoni.img
- Immediately after that, go to TWRP, holding Volume Up + Power (otherwise the system will overwrite recovery).
- In TWRP, go to Wipe โ Format Data, type in yes and confirm (this will remove the encryption if it was).
Now you can install custom firmware:
- Copy. ZIP-Firmware file and (if necessary) GApps on the phone or SD-map.
- In TWRP, click Install, select a firmware file, and swipe for confirmation.
- After installing the firmware, repeat the step for GApps (if Google services are required).
- Run Wipe โ Dalvik / ART Cache and reboot.
6.Recovery after failed firmware
If the phone stopped turning on or was stuck on the MI screensaver, don't panic. In 90% of cases, the Redmi 4X can be restored. The main thing is to correctly diagnose the problem.
Symptoms and solutions:
| Problem. | Possible cause | Decision |
|---|---|---|
| Phone does not respond to buttons, screen black | Full battery discharge or EMMC failure | Connect to charging for 30 minutes. If it doesn't work, swipe through EDL (requires an authorized Xiaomi account). |
| Hanging on the MI logo | Damaged. boot.img or | Sweep through the official firmware via Fastboot with the choice of Clean all. |
| Cyclical reboot (bootloop) | Conflict of modules in custom firmware | Delete /data/dalvik-cache and /cache files via TWRP. |
| Error "This device is locked" | bootloader blocked, but tried to sew the caste | Unlock the bootloader (see Section 3) and repeat the firmware. |
| No network after firmware | Damaged modem or EFS | Sweep modem.img and fsg.mbn files from the official firmware via Fastboot. |
If the phone is not detected by your computer in Fastboot mode, try:
- Install drivers manually through Device Manager (select Qualcomm HS-USB QDLoader 9008).
- Use the other USB-port (preferably) USB 2.0 on the back of the PC).
- Press the Volume Up + Loud Down + Power for 20 seconds to force the transition to EDL.
๐ก
If the phone doesn't turn on even after you've run the Fastboot, check if the PMIC (power-control) module is on fire. It's a hardware malfunction, and it's not software-solved. Signs: the phone doesn't respond to charging, doesn't warm up, the screen is completely black.
7. Post-firmware optimization
After successful firmware, it is recommended to follow several steps to improve performance and stability:
For the official MIUI:
- ๐ง Disable unnecessary system applications through Settings โ Annexes โ Application management (e.g. Mi Video, Mi Music, Browser).
- ๐ Enable Developer Mode and Activate Optimize MIUI and background check RAM.
- ๐ Calibrate the battery: completely discharge the phone, then charge to 100% without interruptions.
For custom firmware:
- ๐ฏ Install the FrancoKernel or Perseus kernel to improve autonomy.
- ๐ Configure Magisk to pass SafetyNet (needed for banking applications):
- ๐ก To improve communication, edit the file /system/build.prop (Root is required by adding lines: ro.telephony.default_network=22 persist.radio.modem.sarc=1
If NFC does not work after custom firmware firmware, try:
- Swipe separately the file nfc.img from the official firmware via Fastboot: fastboot flash nfc nfc.img
- Install the NFC Fix for Santoni module via Magisk.