How to put Android 10 on Xiaomi Redmi 4X: official and unofficial ways

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.

πŸ“Š You have already unlocked the bootloader on your Xiaomi?
Yeah, long ago.
Yeah, but I don't remember how.
No, I'm just going to.
I don't know what it is.

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:

  1. Turn on the developer mode on your phone: go to Settings β†’ About phone and tap 7 times on the MIUI version.
  2. Activate USB Debugging and OEM Unblocking in Settings β†’ Additional β†’ For Developers.
  3. Connect your phone to your PC, launch the Mi Unlock Tool, and log in to your Mi Account.
  4. 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.img

Once 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.

FirmwareStabilityFeaturesReference
LineageOS 17.1⭐⭐⭐⭐⭐Minimalist interface, regular updatesDownload
Pixel Experience⭐⭐⭐⭐Design of Google Pixel, Google CameraDownload
Havoc-OS⭐⭐⭐Lots of customization, customizationDownload

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:

  1. Copy downloaded firmware, GApps, and Magisk files (if needed) to your phone’s internal memory or SD-map.
  2. Download to TWRP: Turn off the phone, then press Power + Volume Up.
  3. 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?
If after installing Android 10, the phone gets stuck on downloading or crashing into fastboot, try: Refuse the firmware without GApps (possibly a version conflict); Set another build (for example, instead of Pixel Experience try LineageOS); Check the hash amount of downloaded files (possibly corrupt); Perform a full reset via TWRP and repeat the installation. If nothing helps, restore the backup via TWRP or return to the stock firmware via Mi Flash Tool.

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.

FAQ: Frequent questions about installing Android 10 on Redmi 4X

❓ Can I return the stock firmware after installing Android 10?
Yes, it's possible through the Mi Flash Tool. Download the official firmware for Redmi 4X from Xiaomi's website, upload the phone to fastboot mode and stream the stock version. Note that this will block the bootloader again and erase all data.
❓ Will Google Pay and banking apps work after firmware?
It depends on the firmware and the availability of Magisk. Banking applications often lock devices with unlocked bootloader or root rights: πŸ”Ή Use Magisk Hide to hide root. πŸ”Ή Firmware with SafetyNet certification (e.g. LineageOS for microG). πŸ”Ή Install Universal SafetyNet Fix in Magisk.
❓ What is the most stable Android 10 firmware for Redmi 4X?
According to user reviews, LineageOS 17.1 shows better stability, and Pixel Experience - the best balance between functionality and performance. Havoc-OS is suitable for those who like customization, but may be less stable.
❓ Can I upgrade to Android 11 or 12 on Redmi? 4X?
Technically, but with reservations. There are informal builds of Android 11 (like LineageOS 18.1), but they can run slower due to the limitations of iron (Redmi 4X is equipped with a Snapdragon 435 processor and 2-4 GB of RAM). Android 12 is extremely rare and is not recommended for everyday use.
❓ How often do updates for custom firmware come out?
It depends on the developer community. LineageOS updates every 1-2 months, Pixel Experience less often. XDA Developers or in telegram channels dedicated to Redmi 4X.