Xiaomi Redmi 4X
santoni
Android 6.0 Marshmallow
MIUI 11
Android 7.1 Nougat
Android 10
This guide will explain in detail how to upgrade Redmi 4X to Android 10 via custom firmware, what tools you will need and how to avoid the device blink if you install it incorrectly. We will look at two ways: through informal builds (for example, LineageOS 17.1 or Pixel Experience) and alternative methods using TWRP and fastboot. Importantly, the process requires unlocking the bootloader, which will reset all data on the phone.
If you're new to firmware, we recommend you take a close look at each step. Errors in the unlock or installation phase can lead to a loss of warranty (if it's still valid) or a device failure. Are you willing to take a risk for a new version of Android?
1. Device Preparation: What to Do Before Firmware
Before you start installing Android 10, you need to prepare the Redmi 4X and the computer. This stage is critical β skipping steps can lead to malfunctions in the firmware process.
First, check the current MIUI version and bootloader status. Go to Settings β About Phone β MIUI version. If the device never unlocked, the bootloader will lock β that's OK. Also make sure the phone has enough charge (at least 60%) to avoid a sudden shutdown.
- π Battery charge: at least 60%, better 80%+.
- π± Backup: Copy photos, contacts, and files to your PC or cloud (firmware erases all data!).
- π₯οΈ Drivers. ADB/Fastboot: Install them on PC (you can download from the Xiaomi website or through the Mi Flash Tool).
- π Mi Account: Link the device to your Xiaomi account (required to unlock the bootloader).
Pay special attention to unlocking the bootloader. Xiaomi lets you do it officially, but the process takes up to 72 hours (sometimes longer). If you have already unlocked the bootloader before, this step can be skipped. Otherwise, move to the next section.
2 Unlock the bootloader: the official way from Xiaomi
Unlocking the bootloader on Redmi 4X is a must-have step for custom firmware installation. Xiaomi provides the official Mi Unlock Tool, but with limitations: you will have to wait from 3 to 7 days for the company's servers to approve the request.
Download Mi Unlock Tool from the official website (the version should correspond to your MIUI). Install the program on your PC, then:
- Turn on the developer mode on your phone: go to Settings β About phone and tap 7 times on the MIUI version.
- Activate USB Debugging and OEM Unblocking in Settings β Additional β For Developers.
- Connect your phone to your PC, launch the Mi Unlock Tool, and log in to your Mi Account.
- Follow the instructions of the program. If you receive a message that you need to wait, wait patiently.
β οΈ If you see a "Couldn't unlock" or "Device not supported" error when unlocking, check: πΉ Is the phone linked to your Mi Account (Settings) β Mi Account). πΉ Is the phone connected to the Internet (required via mobile data or Wi-Fi). πΉ Are you using it? VPN or proxy (Xiaomi blocks the unlock through them).
Once successfully unlocked, the phone will automatically reset to factory settings, and you can now move on to install TWRP, the custom recavator that will run Android 10.
3. Installation of TWRP Recovery on Redmi 4X
TWRP (Team Win Recovery Project) is an alternative recovery that allows custom firmware, backups and system repair. There are stable TWRP builds for Redmi 4X (santoni), but it's important to choose the right version.
Download the latest version of TWRP for Santoni from the official website:
π twrp.me/xiaomi/xiaomiredmi4x.html
The file will be in.img format (for example, the file will be in.img format, twrp-3.7.0_9-0-santoni.img). Also download the utility fastboot for PC (part of Android) SDK Platform Tools).
Now run the following commands in the terminal (preliminarily go to the folder from fastboot and TWRP):
adb reboot bootloader
fastboot flash recovery twrp-3.7.0_9-0-santoni.img
fastboot boot twrp-3.7.0_9-0-santoni.imgOnce completed, the phone will reboot to TWRP. Here you can back up the current firmware (recommended!) or immediately start installing Android 10.
bootloader unlocked |Installed TWRP| Downloaded firmware Android 10 for santoni|Data backup |Disabled antivirus on PC-->
4.Selecting Android 10 firmware for Redmi 4X
There is no official firmware for Android 10 for Redmi 4X, but there are several tried-and-tested custom builds:
- π± LineageOS 17.1 β stable firmware with minimalist interface, close to the stock Android.
- π¨ Pixel Experience β firmware with design and chips from Google Pixel (including Google Camera).
- β‘ Havoc-OS β customizable firmware with many performance settings.
- π Resurrection Remix β hybrid build with functions from different firmware.
We recommend LineageOS 17.1 for stability or Pixel Experience for maximum similarity to βpureβ Android.
- π XDA Developers (Redmi) section 4X).
- π Official website of LineageOS.
- π Pixel Experience Downloads.
In addition to the firmware, download:
- πΉ Google Apps (Gapps) β Google Services Package (choose option) arm64 β 10.0 β pico).
- πΉ Magisk (optional) β to obtain root rights.
β οΈ Note: Some firmware (e.g. Pixel Experience) already include GApps. Please specify this in the build description to avoid conflicts when installing.
| Firmware | Stability | Features | Reference |
|---|---|---|---|
| LineageOS 17.1 | βββββ | Minimalist interface, regular updates | Download |
| Pixel Experience | ββββ | Design of Google Pixel, Google Camera | Download |
| Havoc-OS | βββ | Lots of customization, customization | Download |
5.Install Android 10 Step-by-step via TWRP
Now that you're done, we're going to install it, and this process erases all the data on the phone, so make sure you backup again!
Instructions:
- Copy downloaded firmware, GApps, and Magisk files (if needed) to your phoneβs internal memory or SD-map.
- Download to TWRP: Turn off the phone, then press Power + Volume Up.
- V TWRP Choose the Wipe β Advanced Wipe and mark: π Dalvik / ART Cache ποΈ System π Data π Cache
Swipe for confirmation.
Install
GApps
Magisk
Reboot β System
The first run can take 5-10 minutes - don't interrupt! If the phone has been stuck on the logo for longer than 15 minutes, try rebooting to TWRP and re-installing.
What to do if the firmware does not start?
6. Set up Android 10 after installation
After successfully booting Android 10, youβll have to set up the system first, a process similar to setting up a new phone, but there are a few nuances:
First, check the basic functions:
- πΆ Network: mobile Internet and Wi-Fi.
- π Sound: speakers and microphone.
- π· Camera: main and front.
- π Charging: Connect the charger.
If something is not working, check:
- πΉ Compatibility with your model (Santoni).
- πΉ Availability of firmware updates (some bugs are fixed in new builds).
- πΉ Correct installation of GApps (if Google services are not available).
To improve productivity:
- π§ Turn off animations in Settings β System system β For developers (set the scale of animation on the 0.5x or off.).
- ποΈ Clear the cache in Settings β Warehouse β Data cache.
- π Activate Battery Saving Mode for Background Apps.
Problem 2: The camera is not working.
- πΉ Reason: There is no driver or conflict with GApps.
- π§ Solution: Install an alternative camera app (e.g. Google Camera for Pixel Experience).Pick a patch for the camera (search on the XDA for your firmware).
Problem 3: Fast battery discharge
- πΉ Cause: Background processes or unoptimized core.
- π§ Solution: Check the battery statistics in Settings β Battery: Turn off autosynchronization and background activity for unnecessary applications. Install a kernel with santoni optimization (e.g., FrancoKernel).
π‘
If you have a critical error after your firmware (e.g., your phone is not switched on or not detected by your PC), don't panic. 90% of the time, you can fix it with fastboot or TWRP. The key is to keep the process running and follow the recovery instructions.