Installing or reinstalling the operating system on Xiaomi Redmi smartphones is a challenge for both beginners and experienced users. The reasons can be different: from wanting to switch from the Chinese version. MIUI But the process requires care, because a mistake at any stage can turn a phone into a brick. In this article, we'll look at all the ways you can install a system: From official methods via Fastboot and Recovery to alternative firmware like Pixel Experience or LineageOS.
It's important to understand that Redmi is not just one model, but a whole line of devices with different processors (Snapdragon, Mediatek, Dimensity) and bootloader versions. For example, the instruction manual for Redmi Note 10 Pro (2021) will not work for Redmi 12 (2023) because of the differences in architecture, and we will take these nuances and give universal recommendations, and also indicate where to find the current firmware files for your model.
Before you start, answer three key questions:
- What version of the system you need: official MIUI (stable/beta, global ROM (EEA, Global) or custom firmware?
- Are you ready for data loss? (In 90% of cases, installing a system requires a complete reset.)
- Do you have a backup of important files and access to your PC?
1. Preparation for installation: Backup and unlocking of the bootloader
The first and most critical stage is preparation. Without an unlocked bootloader, you wonโt be able to install custom software or even official firmware through Fastboot. Xiaomi has a strict policy: unlocking requires a Mi Account account and waiting (3 to 30 days depending on the model).
What to do before you start:
- ๐ฑ Create a backup: Use Settings โ Additionally. โ Backup and reset or third-party utilities like Swift Backup (requires root). Especially save: Contacts (export to.vcf) Photos and videos (copy to PC or cloud) SMS and call logs (applications like.vcf) SMS Backup & Restore)
- ๐ Unlock the bootloader: Link Mi Account to the device in Settings โ Xiaomi account. Enable Developer Options (7 times tap on the version) MIUI In Settings โ On the phone. Activate Unlock. OEM and debugging. USB Download Mi Unlock Tool (the official utility from Xiaomi) and follow the instructions.
- ๐ป Prepare a PC: Install drivers ADB/Fastboot (For example, through Minimal ADB and Fastboot) and download the firmware for your model.
โ ๏ธ Note: If you unlocked the bootloader but haven't installed a new firmware within 30 days, the device may automatically lock again.This rule applies to models released after 2021.
Where to look for firmware:
| Type of firmware | Source | Notes |
|---|---|---|
| Official MIUI (Stable/Beta) | Official Xiaomi website | Choose a version for your model (for example, Redmi Note 11 Pro)+ 5G = veux). |
| Global ROM (EEA/Global) | Xiaomi Firmware Updater | Check the region! Firmware for India (IN) may not support NFC Europe. |
| Castom firmware (AOSP) | XDA Developers | Popular options: Pixel Experience, LineageOS, ArrowOS. |
| Stockware (for recovery) | MIUI ROM | Suitable if you need to return the phone to the factory settings. |
โ๏ธ Checklist before firmware
2. System installation methods: Fastboot vs Recovery
There are two main methods of firmware Redmi: through Fastboot (boot mode) and Recovery (recovery mode).
Method 1: Installation via Fastboot (recommended for official firmware)
- โ Suitable for: change of region (c) CN on Global), recovery after failure, installation of official updates.
- โ Not suitable for: custom firmware (requires pre-installation of custom Recovery).
- ๐ง Instructions: Unpack the downloaded firmware (.tgz or.zip format) into a folder on your PC. Connect your phone to your PC in Fastboot mode. + Volume down when turned on. Launch the file flash_all.bat (Windows or flash_all.sh (Linux/Mac). Wait until the process is completed (the process will take place) 5โ15 minute).
Method 2: Installation through Recovery (for custom firmware)
- โ Suitable for: Pixel Experience, LineageOS, modified cores.
- โ Risks: Wrong firmware choices can lead to loss IMEI or a broken camera (especially on models with Mediatek).
- ๐ง Instructions: Install custom Recovery (for example, TWRP) Fastboot: Fastboot Flash Recovery twrp.img fastboot boot twrp.img Copy the firmware (.zip format) on your phone or flash drive. TWRP Choose Install โ Select a file โ Swipe to Confirm Flash. After installation, run Wipe โ Format Data (required for the AOSP-firmware!).
โ ๏ธ Note: Some Redmi models (e.g. Note 12 Pro)+) custom Recovery is blocked by anti-rollback, in which case a patch is required to bypass the protection (see on the XDA device-coded).
๐ก
If after firmware through Fastboot the phone is stuck on the logo MI, Try to clamping the power. + Volume up 20 seconds for forced reboot. If it doesn't work, repeat the full format firmware (fastboot erase userdata).
3. Setting a global ROM on the Chinese version of Redmi
Many users buy Redmi in Chinese stores (for example, on AliExpress or Gearbest) and face a problem: the device runs on Chinese firmware (CN) With a bunch of unnecessary apps and no support for Google Services. EEA) It solves these problems, but requires caution.
Step-by-step:
- Check the device model and code: Go to Settings โ The phone. โ Version. MIUI. Find the Model string (for example, M2101K6G For Redmi Note 10 Pro, define the region by code: C โ China, G โ Global, R โ Russia.
Download the correct firmware
- For the Redmi Note 11 (spes) global firmware will have a name spes_global_images_....
- Use the firmware archive to find a stable version.
- Fastboot: Fastboot Flash boot boot.img fastboot flash system system.img fastboot flash vendor vendor.img fastboot flash dtbo dtbo.img fastboot reboot If the firmware is in.tgz format, use flash_all.bat (see section 2).
Frequent mistakes and decisions:
- ๐ซ Anti-rollback error: means you are trying to install the old version of the software on a new one. The solution is to download the firmware with the same or newer Anti-rollback number (indicated in the file name).
- ๐ซ No network after firmware: check if the firmware region matches the modem region. 9 may need to be sewn modem.img separately.
- ๐ซ Freeze: Reset with Recovery (Wipe Data).
How to check the Anti-rollback version?
4. Installation of custom firmware (AOSP, Pixel Experience and others.)
Custom firmware like Pixel Experience or LineageOS allows you to get a โcleanโ Android without a shell MIUI, However, installation requires an unlocked bootloader and custom Recovery (usually) TWRP).
Detailed instructions for the Redmi Note 10 Pro (sweet):
- Install. TWRP: Download the current version TWRP For your model from the official website.Swipe through Fastboot: fastboot flash recovery twrp-3.7.0_sweet.img fastboot boot twrp-3.7.0_sweet.img
Prepare the firmware.
- Download Pixel Experience or LineageOS for Sweet C XDA.
- Additionally, download NikGApps (Google Apps package) and Magisk (for root).
- Let's go in. TWRP: V TWRP Choose the Wipe โ Advanced Wipe and mark Dalvik, Cache, System, Data. Install the firmware (Install) โ Choose. ZIP), Then GApps and Magisk. Reboot System. It can take up to 10 minutes to turn on.
Problems and solutions for custom firmware:
| Problem. | Reason. | Decision |
|---|---|---|
| The camera's not working. | No drivers for Mediatek or Snapdragon | Sweep the patch. ANX_Camera Or use GCam with config for your model. |
| No sound in the speaker. | Incompatibility with the kernel | Install an alternative core (e.g., FrancoKernel). |
| Not defined SIM-map | Absent. modem.img erroneous | Sweat the stock modem from the official firmware. |
โ ๏ธ Note: On devices with Dynamic Partition (e.g. Redmi) K50) Installation of custom firmware can lead to loss of data in the userdata section. Before firmware, make a full backup via adb backup.
5. System Recovery After Failed Firmware
If you don't turn on your phone after you've installed it, you freeze it on your logo, or you go to a bootloop, don't panic. 90 percent of the time, you can restore it, and the key is to diagnose the problem correctly.
Algorithm of action:
- Identify the symptom: ๐ Bootloop (permanent restart) โ usually caused by incompatible firmware or interrupted process. ๐ต Black screen โ can be a hardware problem (check charging) or damage boot.img. ๐ค Hanging on the logo MI โ Often associated with an incorrect vendor or system.
- Try to enter Recovery: Click the Power + Volume up for 10 to 15 seconds. If stock Recovery appears, select Wipe Data. TWRP โ Try to re-flash the system.
- Fastboot: Download the stock firmware for your model. Use the command to clean it completely: fastboot erase boot fastboot erase system fastboot erase userdata fastboot flash_all.bat
If nothing helps
- Check if the Anti-rollback has been activated (see spoiler section 3).
- Contact the service center if the problem is hardware (for example, damaged eMMC chip).
๐ก
If the phone doesnโt respond to any combination of buttons, try plugging it into charging for 30 minutes โ sometimes a dead battery blocks access to the Fastboot.
6. System optimization after installation
Once successful, the firmware remains to configure the system for maximum performance and stability, which is especially important for custom firmware, where optimizations from Xiaomi may not be available.
Checklist for optimization:
- โก Disable unnecessary services: In Settings โ Apps disable autorun for Mi Browser, Mi Video, Cleaner. ADB Deactivation of system applications: adb shell pm uninstall --user 0 com.miui.cleanmaster
- ๐ Configure the battery: Activate Adaptive Charging in Settings โ Battery. For custom firmware, install AccA (battery calibration app).
- ๐ก Improve communication: In Settings โ SIM-Maps and mobile networks turn on 4G+ For a weak signal, run an alternative modem (see on the 4PDA model).
- ๐ฎ For gamers: Enable Performance Mode in Settings โ Additionally. โ Install Game Turbo (available in the MIUI default).
For custom firmware (Pixel Experience, LineageOS):
- Install Magisk for root rights and modules (e.g, ViPER4Android sound-wise).
- Set up Kernel Adiutor to fine tune the kernel (frequency) CPU, input-output planner).
- Use GCam with config for your model (e.g, BSG For the Redmi Note 11 Pro+).
๐ก
If the swipe gesture does not work after the Pixel Experience firmware, install the Fluid Navigation Gestures module via Magisk.
7. Frequent mistakes and how to avoid them
Even experienced users have experienced errors when running Redmi, and we've collected some of the most common problems and solutions.
| Mistake. | Reason. | Decision |
|---|---|---|
| Invalid sparse file format at header | A firmware file or incompatible version of TWRP is damaged | Download the firmware again and check the checksum (MD5). Update. TWRP. |
| This package is for "sweet" devices; this is a "veux". | The firmware is not suitable for your model. | Check the device code in Fastboot with the fastboot getvar product command. |
| Phone is not defined in Fastboot | Lack of drivers or faulty cable | Install the Mi Flash Tool (includes drivers) or try another one USB-port (preferably) USB 2.0). |
| Loss of IMEI after firmware | The nvram or modem partition is damaged | Restore. IMEI via MauiMeta (for Mediatek) or QCN (for Snapdragon). |
| Anti-rollback check fail! | Attempt to roll back on the old version of the software | Find firmware with the same or newer Anti-rollback (see Section 3). |
If you have an error that is not in the table:
- Take a picture of the screen with the error.
- Find the error text in Google or forum 4PDA (partition).
- Enter the device code (e.g. Redmi Note 10 Pro sweet).