Installing Android 10 on Xiaomi Redmi 4: Instructions

Owners of the legendary Xiaomi Redmi 4, often referred to as β€œProrok” or β€œSantana”, often face the desire to extend the life of their device by installing a more recent version of the operating system. Official support for the model has long been discontinued, and the latest stock solution was MIUI 10 based on Android 8.1 Oreo. However, the development community did not abandon this smartphone, creating a lot of custom firmware based on Android 10.

The process of transitioning to a new system requires attention and understanding of technical nuances, since it is a question of software intervention at a low level: you will unlock the bootloader, install a custom recavator and choose the right build of Android 10, which will not only update the interface, but also access modern applications that are no longer supported on older versions of the OS.

It is important to realize that installing unofficial software always carries certain risks, including the possibility of turning the phone into a brick if the technology of the process is broken. However, for experienced users and enthusiasts, this is a great way to give the gadget a second life. Below we will discuss in detail all the stages of preparation and installation of the system.

⚠️ Note: All actions described in this article are performed at your own risk.The author is not responsible for possible data loss or device failure.

πŸ“Š What is the Xiaomi Redmi 4 now?
Prime (3/32)
Pro (3/32)
Standard (2/16)
I have a different model.

Technical features and choice of firmware

Before you start any manipulation, you need to clearly understand what kind of modification of the device you have in your hands. Xiaomi Redmi 4 was released in three main versions: Standard, Prime and Pro, each of which is based on different processors. The standard version and Prime run on the Snapdragon 430, while the Pro version is equipped with a more powerful Snapdragon 625.

Choosing the wrong firmware can cause important modules like the camera or touch screen to fail or the system to fail to boot. For Android 10, LineageOS, Pixel Experience and ArrowOS builds are considered the most stable.

It is worth noting that Android 10 It requires more resources than previous versions, so the younger models are more expensive. 2 GB of RAM system can work slower than stock MIUI. But the kernel optimizations allow you to smooth out these roughnesses, and it's critical to download the firmware strictly under the code name of your device:'santana' for Standard/Prime and'prada for Pro.

  • πŸ“± LineageOS - provides stable operation and a high degree of customization of the interface.
  • πŸš€ Pixel Experience – gives you the feeling of using a clean Google Pixel with all services.
  • ⚑ ArrowOS – Minimalistic and fast firmware focused on autonomy.
  • πŸ”§ Paranoid Android – Balance between functionality and stability for advanced users.
What is the difference between GApps and Vanilla?
GApps (Google Apps) is a package containing all of Google’s services (Play Market, Maps, YouTube). Vanilla is a version of the firmware without preinstalled Google services, which is chosen by users who prefer alternative app stores or build their service package.

Tools and training required

The success of the operation depends on 90% on the correct preparation of the workplace and the set of tools. USB-A cable that can transmit data, not just charge the device, and a damaged cable can interrupt the firmware at the most inopportune moment.

You need to install all the necessary drivers on your smartphone. For Xiaomi devices, these are drivers. ADB and Fastboot, as well as specific USB-Qualcomm drivers. Without them, your computer won't be able to communicate properly with your phone in bootloader mode. 60-70%.

Make sure to make a full backup of all important data, as the process of unlocking and firmware involves completely removing information from the internal drive. Use cloud services or copy files to an external medium. Save contacts, photos and documents in a safe place.

β˜‘οΈ Checklist of preparations

Done: 0 / 5

Unlocking the bootloader (Bootloader)

The first and most important step is to unlock the bootloader, because without it, you can't install a customized Recovery. The official method requires you to submit an application through the Mi Unlock Tool app and wait 7 to 168 hours, a security measure introduced by the manufacturer.

First, you need to link your Mi Account to your device in your phone settings. Then turn on the developer mode by clicking on the build number several times in the About Phone menu. In the developer menu, activate OEM Unlocking and USB debugging.

Once you've received permission from Xiaomi's servers, turn off your phone and enter Fastboot mode, holding both the power and volume buttons, connect your device to your PC, and launch the Mi Unlock Tool. If all the data is correct, the unlock button will become active.

fastboot oem unlock


fastboot flashing unlock

⚠️ Attention: The process of unlocking the bootloader will automatically perform a full reset (Wipe Data) on the device.

πŸ’‘

If the wait for unlock is delayed, don’t try to re-link your account or reset your phone settings, this can reset your wait timer.

Installation of custom TWRP Recovery

Once successfully unlocked, the standard recovery menu is replaced with TWRP (Team Win Recovery Project), a special mode that allows you to install firmware, make partition backups and clear cache. The TWRP image should be strictly adapted to your Redmi 4 model.

Upload the twrp.img file to the ADB tool folder on your computer. Put your smartphone into Fastboot mode and connect it to your PC. From the command line, execute a command to temporarily load the recovery or permanently install it in the recovery section.

fastboot flash recovery twrp_santana.img


fastboot boot twrp_santana.img

Once you have completed the command, the phone should reboot in the TWRP menu. If you see a familiar interface with sliders, then the stage has passed successfully. Now the device is ready for adoption by the new operating system. Remember to allow modification of the system partition in the TWRP settings if necessary.

  • πŸ”„ Swipe to Wipe – Clean Data, Cache, Dalvik Partitions Before Installation.
  • πŸ’Ύ Install – Selection of a Zip Archive with Firmware for Installation.
  • πŸ”’ Wipe Format Data - full formatting (you need to enter the word yes).
  • πŸ”§ Advanced – section for working with ADB file manager.

Android 10 installation process

The final step is to install the operating system directly. Copy the firmware file (usually a zip archive) and Google Services Package (GApps) in advance, if not built into the phone's internal memory or onto a microSD card. Download to TWRP.

The first thing you need to do is clean up your old data. Go to the Wipe menu and select Advanced Wipe. Check the Dalvik/ART Cache, Cache, System and Data sections with ticks. Don't touch the Internal Storage section if the firmware files are there, or you'll delete the installer.

Once cleaned, go back to the main menu and select Install. Find an archive with Android 10 and confirm the swipe installation. It takes a few minutes. If the firmware does not include GApps, immediately after installation, without restarting, install the archive with Google services.

SectionAction.Purpose
Dalvik / ARTWipeCleaning the compilation cache
SystemWipeRemoval of the old OS
DataFormat DataComplete reset of user data
CacheWipeCleaning the system cache

πŸ’‘

Once you have installed firmware and GApps, be sure to run Wipe Cache/Dalvik again to avoid conflicts on your first run.

Solving problems and mistakes

Even with strict adherence to the instructions, there can be unexpected situations, often users encounter a β€œbottleup” (infinite restart) or a broken sensor, in most cases this is solved by re-cleaning the partitions or choosing a different version of the firmware.

If your camera or Bluetooth isn’t working after you install Android 10, you may be using the wrong kernel or GApps. Try to find an alternative Google service package or firmware version marked β€œStable.”

If the phone is no longer responsive to commands and is not in recovery mode, you will need to use the QFIL (Qualcomm Flash Image Loader) utility to restore stock image, a more complex method that requires the circuit board to close contacts (Test Point) to enter Emergency Download mode.

⚠️ Note: If the touch screen is not working in TWRP, Use the connection. USB-keyboard OTG-Adapter or volume buttons for navigation, if supported by the Recovery version.

What to do if the firmware weighs more than 2 GB?
Some modern firmware may not fit into the Recovery partition due to file system limitations, so use the ADB Sideload installation method by connecting your phone to your computer and transferring the file directly.

Frequently Asked Questions (FAQ)

Is it safe to install Android 10 on Redmi 4?
The process carries human-induced risks, and if you follow the instructions carefully and use the verified files from the XDA Developers forums, the risk is minimal, but the manufacturer's warranty is lost.
Will my data be saved after the update?
No, switching to custom firmware involves a full reset (Wipe Data). All photos, contacts and applications will be deleted, so backup is mandatory.
Can I return to the official MIUI?
Yes, you can always go back to stock firmware. This requires an unlocked bootloader and the Mi Flash Tool with a Fastboot ROM image.
Why isn’t Netflix working in HD?
When you unlock the bootloader, you reset the Widevine security certificate from L1 to L3, which limits video playback in streaming services to 480p or 540p, and it is almost impossible to get around this software.