Changing the firmware on Xiaomi smartphones is a process that can dramatically change the way a device works, from fixing bugs to adding new features. However, the wrong actions lead to a โbrickingโ of the phone, loss of warranty or security problems. This article will help you understand when to update the software, what tools to use for official and custom firmware, and how to avoid typical errors.
The manufacturer regularly releases updates for the Redmi, POCO and Mi lineup, but not all of them are available for all regions at once. In addition, many users prefer alternative builds like LineageOS or Pixel Experience for more customization. We will look at both approaches, from automatic updates through Settings to manual firmware through Fastboot and Recovery.
Itโs important to understand that the procedure for 2020-2026 models is different from older devices (before the Redmi Note 7).Modern Xiaomi smartphones use a secure bootloader, and some features (such as unlocking through the Mi Unlock Tool) require a wait of up to 720 hours. If youโre a beginner, start with the official methods.
1. When to change firmware to Xiaomi
Software updates are not always warranted. Here are the key cases where a firmware change is really needed:
- ๐ Hanging and lag: If the phone brakes after the update MIUI, A rollback to a stable version could solve the problem, for example, many Redmi Note 10 Pro users have complained about bugs in the system. MIUI 14.0.3 - Return to 14.0.2 eliminates them.
- ๐ Region lock: Some models (e.g, POCO X3 Pro for India) have restrictions on regional services. Global firmware removes these restrictions.
- ๐ก๏ธ Security vulnerabilities: Critical patches (e.g., to fix vulnerabilities in the Linux kernel) are only closed in the latest versions MIUI.
- ๐ฏ New features: In custom firmware (such as ArrowOS) there are options that are absent in the stock MIUI โ For example, support for Seamless Updates or advanced camera settings.
But there is a downside: informal firmware deprives you of warranty, and improper installation can lead to a loss of IMEI or a problem with the NFC module. For example, on Xiaomi 12T, contactless payment often stops working after LineageOS firmware.
โ ๏ธ Note: If your phone is purchased on credit or under a contract with an operator (for example, MTS or Beeline), changing the firmware may violate the terms of the contract.
2. Preparation of the phone for firmware
Before any software manipulation, several critical steps must be taken, and neglecting them can lead to data loss or the inability to restore the device.
First, back up. Use the built-in Backup app (Settings โ Phone โ Backup) or third-party tools like Titanium Backup (requires root).
- ๐ฑ Contact and SMS (export to.vcf and.xml)
- ๐ท Photos and videos (transfer to PC or cloud)
- ๐ Application data (passwords, game saves โ use Swift Backup)
- ๐ IMEI Serial number (write on paper or take a photo of the sticker under the battery)
Second, check the model and version of MIUI. This is critical, as the firmware for the Redmi Note 11 Pro 5G (veux) is not suitable for the Redmi Note 11 Pro (peux).
- Enter the combination ##4636### in the phone app.
- Go to Settings โ About Phone โ MIUI version and tap 7 times on the Kernel line.
- Use the Device Info HW app (shows Model Number and Codename).
Make a backup copy of the data|Check the code name of the model|Charge the phone before 60% more|Download the correct version of the firmware|Prepare the cable. USB (preferably original)|Install drivers ADB/Fastboot PC-only-->
Third, unlock the bootloader if you plan to install custom firmware.
- Link your Mi Account to your phone (Settings โ Xiaomi Account).
- Activate debugging via USB (Settings โ About Phone โ MIUI Version โ 7 taps on the line โ Additional โ For developers โ Debugging by USB).
- Connect your phone to your PC and run in cmd: adb reboot bootloader fastboot oem device-info If Device unlocked: false status, use Mi Unlock Tool (download from the official website).
โ ๏ธ Note: Since 2023, Xiaomi has tightened the rules for unlocking. for new models (e.g. Xiaomi) 13T or POCO F5) Requires up to 30 days after account binding, and older devices (up to Redmi Note 10) unlock in 72 to 168 hours.
3. Official ways to update MIUI
The safest method is to use Xiaomiโs built-in tools, which are suitable for installing stable and beta versions of MIUI without risking losing warranty.
Updating by Air (OTA)
If you want to update to the latest version:
- Go to Settings โ About the phone โ System update.
- Click Check Updates. If a new version is available, download it (the file weight is usually 1.5-3 GB).
- After downloading, click Reboot and install.
For models with Seamless Updates support (such as the Xiaomi 12), the phone will reboot twice: first for installation, then for activation of the new firmware.
Manual installation via Recovery
If OTA-Update not available (for example, for regional firmware), download the full package MIUI official website:
- Go to the downloads page and select your model.
- Download a file with the.zip extension (for example, miui_VEUXGlobal_V14.0.4.0.TLCEUXM_...).
- Move it to the root folder of the phone (not in the folder!).
- Go to Settings. โ The phone. โ Update the system, tap the icon โฎ โ Select the update file.
Important: The file should be named strictly according to the template. 11 (Spes only fits a firmware with a name miui_SPESGlobal_.... You cannot rename the file!
| Type of firmware | File size | Method of installation | Do you need unlocking? |
|---|---|---|---|
| OTA (incremental) | 50โ500 MB | Through System Update | No. |
| Full ROM (full) | 1.5-3 GB | Through Recovery or Fastboot | No (but it's for a downgrade) |
| Fastboot ROM | 2โ4 GB | Through the MiFlash Tool | Yes (if not official) |
| Castomic (LineageOS, etc.) | 1-2 GB | Through Custom Recovery (TWRP) | Yes. |
๐ก
Official firmware via OTA or Recovery does not require unlocking the bootloader and retains a warranty. Use them if you do not need custom features.
4. Install custom firmware (TWRP + Custom ROM)
If you don't like stock MIUI, you can install an alternative firmware.
- ๐ฑ LineageOS โ pure Android without unnecessary applications.
- ๐จ Pixel Experience โ Google Pixel interface with Now Playing feature.
- โก ArrowOS โ Balance between productivity and customization.
- ๐ง Havoc-OS โ maximum settings for enthusiasts.
The installation will require:
- Unlocked boot loader (see section 2).
- Custom recovery is usually TWRP. Download the version for your model from twrp.me.
- Firmware and GApps (if you need Google services). For example, LineageOS 20 + NikGApps will be suitable for POCO X3 NFC (surya).
Step-by-step:
- Install. TWRP Fastboot: Fastboot Flash Recovery twrp-3.7.0_12-0-surya.img fastboot reboot recovery
- In TWRP, make Wipe โ Advanced Wipe and mark Dalvik, Cache, System, Data (donโt touch Internal Storage!).
- Install the firmware (Install โ select the.zip file), then GApps (if necessary).
- Reboot โ System: The first launch can take 10 to 15 minutes.
What to do if the phone is stuck on the MI logo after firmware?
โ ๏ธ Note: Some models (e.g. Redmi) K50) custom firmware breaks the job 5G-modem 6E. Before installing, check out reviews on the XDA-Developers forum.
5. Firmware via Fastboot (MiFlash Tool)
This method is used to restore a โbrickโ phone or install an official Fastboot ROM.
- ๐ง The phone is not switched on or stuck in the Fastboot.
- ๐ You need to do a downgrade (downgrading version). MIUI).
- ๐ Reflash the device after the failed installation of custom firmware.
Instructions:
- Download MiFlash Tool (version 2023.4.28.0 or later) and Fastboot ROM for your model from the official website.
- Unpack the archive with firmware in a folder without Cyrillic (for example, C:\MIUI\veux_fastboot).
- Turn off the phone, press the power. + Volโ for the entrance to the Fastboot.
- Connect your phone to your PC and start MiFlash. Press Select, specify the firmware folder.
- At the bottom, choose clean all (full cleaning) or clean all and lock (if you want to lock the bootloader after firmware).
- Press Flash. It takes 5-10 minutes.
On models with Snapdragon chipset 8 Gen 2 (for example, Xiaomi 13 Ultra) when you run through Fastboot, you need to disable the antirollback check, otherwise MiFlash will give you an error "anti-rollback check fail." flash_all.bat replace the line with --anti on --anti=off.
| Mistake. | Reason. | Decision |
|---|---|---|
| anti-rollback check fail | Attempt to lower the MIUI version below the permissible limit | Use firmware with the same or newer version of anti |
| device not found | Fastboot drivers not installed | Install Mi USB Driver or use Zadig |
| invalid sparse file | Firmware file damaged | Download the archive again, check the MD5 checksum |
6. Frequent errors and their solutions
Even if you follow the instructions, you can have problems, and let's look at the typical scenarios and how to fix them.
6.1. The telephone shall not be switched on after firmware
If the screen is black or only the MI logo is on:
- ๐ Check the battery charge (plug in to charge for 30 minutes).
- ๐ Try to log in to Recovery (Power) + Vol+) Make Wipe Data.
- ๐ฅ Fastboot phone via Fastboot (see section 5).
6.2 Loss of IMEI or network
If the mobile Internet is missing after firmware or the phone does not catch the network:
- Check IMEI in Settings โ About Phone โ General information. If it is missing (null), restore it using the Maui META or SN Write Tool.
- For models with MediaTek (e.g. Redmi 10C), use the MTK Engineering Mode:
Errors in unlocking the loader
If the Mi Unlock Tool makes a mistake:
- ๐ Couldn't unlock: Mi Account is not tied to phone. Repeat the link and wait 7-30 days.
- ๐ Wait XX hours: Unlock timer hasn't expired. Connect your phone to the Internet and wait until the countdown is over.
- ๐ USB debugging not authorized: Debugging permission will appear on the phone โ confirm it.
๐ก
If the Mi Unlock Tool doesnโt recognize your phone, try using version 5.5.224.24 (works with older models) or run the program on behalf of the administrator.
7. How to get back the official firmware
If custom firmware is unstable or you want to return the warranty, you can roll back to stock MIUI.
- Download Fastboot ROM for your model from the official website.
- Install the MiFlash Tool and Qualcomm drivers (for Snapdragon) or MediaTek (for Helio/Dimensity).
- Log in to Fastboot (Power + Volโ) and connect your phone to your PC.
- In MiFlash, select the firmware folder and press Flash. Use the clean all and lock option to lock the bootloader.
Once the firmware is in place, the phone will automatically restart, the first turn on can take up to 10 minutes. SIM-card in PUK-code (it can be found by the operator).
โ ๏ธ Note: On some models (e.g. Xiaomi) 12S Ultra) after returning to the official firmware may require re-activation of the Mi Account through the SMS. Make sure you have access to your phone number.