Installing full firmware on Xiaomi smartphones is a process that can radically change the operation of the device: from restoring the βbrickβ to obtaining the latest features MIUI Or switching to custom assemblies, unlike standard ones. OTA-The full firmware rewrites all system partitions, which requires special care and preparation. This instruction covers all the current methods, from official MiFlash to manual stitching through the system. TWRP, with the nuances for Redmi models, POCO and Xiaomi 2020-2026.
The main challenge is unlocking the bootloader, without which most methods simply wonβt work. The manufacturer has tightened the rules: now, to unlock, you need to link your Mi Account to the device and wait up to 720 hours (30 days) on new models. We will discuss how to circumvent these restrictions legally, what tools will be needed (ADB, Fastboot, Mi Unlock Tool, and what to do if the firmware doesnβt get up due to bugs like anti-rollback or version incompatibility.
The procedure is different for China, Global and EEA For example, China Stable firmware on the Redmi Note 12 Pro+ Google will block Google services, and installing Global on Xiaomi 13 Ultra can lead to camera problems.
1.Preparation for installation: what you need to know before starting
Before you start the firmware, check out three key points:
- π bootloader status: run the command fastboot oem device-info in the terminal. If the answer Device unlocked: false - unlock is mandatory.
- π± Device model: firmware for Redmi Note 11 Pro 5G (veux is not suitable for the Redmi Note 11 Pro 4G (Please specify the code name in Settings β The phone. β Version. MIUI (Press 7 times on "CoreΒ»).
- π Version. MIUI: You canβt use the old version over the new one (for example, MIUI 14 β MIUI 13) because of the anti-rollback mechanism. Use only firmware with the same or higher version.
Also prepare:
- π₯οΈ Windows PC 10/11 (MiFlash is required.NET Framework 4.5+).
- π Cable USB Data-enabled (not all charging cables are suitable!).
- π Battery charge of at least 60% (when discharged during firmware, the device can turn into a βbrickΒ»).
- π Backup: Firmware erases internal memory (except for the card) SD).
Critical mistake of beginners: many download firmware from the first sites they see, risking getting a virus or build with pre-installed mining. MIUI available only on resources en.miui.com/download.html (global and miui.com/download (For custom firmware (PixelExperience, LineageOS), use trusted forums like XDA Developers or 4PDA.
2. Unlocking the bootloader: step-by-step guide 2026
Since 2021, Xiaomi has tightened the unlocking process, and new devices require:
- Link Mi Account to your phone in Settings β Xiaomi account.
- Activate the option OEM Unlocking in Settings β Additionally. β For developers.
- Wait 30 days (720 hours) from the moment you connect your account. Older models (Redmi Note 9 and earlier) unlock in 7 days.
After waiting:
- Download Mi Unlock Tool (version no lower than 6.5.224.30).
- Launch your phone in Fastboot mode: Turn off the device, then press Power + Volume down.
- Connect your phone to your PC and launch the Mi Unlock Tool. Sign in with the same account you're linked to.
- Press Unlock and wait until it is completed (usually 10β30 seconds).
Link Mi Account to your phone|Turn on OEM Unlock in the Developer Settings|Wait 30 days (for new models)|Download Mi Unlock Tool from the official website|Launch your phone in Fastboot-->
β οΈ Warning: If a Couldn't unlock error occurs when unlocking, or Current account is different from the account info on the device, check: Are you using the same account as the one linked to the phone? Is your phone connected to the Internet via mobile data (Wi-Fi may not work).
For models POCO F5, Xiaomi 13T And there's an additional limitation, which is that you can only unlock once every 30 days. If you've already unlocked the bootloader and then blocked it again (for example, through a fastboot oem lock), you'll have to wait a month to re-unblock it.
3. Methods of installing full firmware
There are three main ways to flash Xiaomi full firmware, depending on your goals and the status of the bootloader:
| Method | Unlocking required | Wipes data? | Suitable for | Difficulty |
|---|---|---|---|---|
| MiFlash (Fastboot) | Yes. | Yes. | Official firmware, restoration of "bricks" | Medium |
| TWRP (Recovery) | Yes. | Not (unless you format the data) | Castom firmware modified by MIUI | Tall. |
| OTA (update) | No. | No. | Update of the current version of MIUI | Low. |
| ADB Sideload | No (but root rights are needed) | No. | Installation of patches, minor updates | Medium |
Let us consider each method in detail.
3.1. firmware via MiFlash (recommended method)
This method is suitable for installing official firmware and restoring devices that are not turned on ("bricks").
- Download firmware in.tgz or.zip format from the official website (for example, here). Unpack the archive in a folder without Cyrillic characters (for example, unpack the archive in a folder, C:\MiFlash\proshivka).
- Install Mi drivers USB Driver (you can download here).
- Start MiFlash (download the official version), connect the phone in Fastboot mode.
- In MiFlash, click Select and point the way to the unpacked firmware. Select firmware mode: clean all β complete cleaning (recommended for changing the firmware region). clean all and lock β cleaning + Locking the bootloader (only if you complete experiments with custom firmware!) save user data (not always working correctly).
Flash
- Use an older version of MiFlash (e.g. 2018.5.18.0).
- Disable driver signature verification in Windows (via gpedit.msc).
- Squeeze in mode EDL (You need an authorized Xiaomi account).
-->
3.2. Firmware through TWRP (custom-fix)
TWRP (TeamWin Recovery Project is a custom recovery that allows you to install informal firmware, backup and root rights, a process that is more complex than MiFlash, but provides more options.
Instructions:
- Install. TWRP For your model (you can download it on the official website or 4PDA). Fastboot: Fastboot Flash Recovery twrp.img fastboot boot twrp.img
- Download firmware in.zip format (like PixelExperience or LineageOS) and place it on a memory card or phone memory.
- Boot into TWRP: Turn off the phone, then press Power + Volume up.
- In TWRP, run Wipe β Advanced Wipe and mark: Dalvik / ART Cache System Data (if you need a clean installation) Cache
Then swipe for confirmation.
Install
Reboot System
β οΈ Attention: Installation of custom firmware on the Xiaomi model 12S Ultra, POCO F4 GT And newer can cause a broken camera or fingerprint sensor. Before you run the firmware, check the forums if your model has working fixes (for example, patches for libarcore or vendor).
4. Solving common mistakes
Even with the correct following of the instructions, errors can occur.
- π« Anti-rollback check fail: means youβre trying to flash the old version MIUI. The solution is to find firmware with an equal or newer version of Android (for example, if you have a firmware that is similar to Android). MIUI 14 on Android 13, you can't flash MIUI 13 on Android 12).
- π USB device not recognized: driver problem.Try: Use the original Xiaomi cable.Put the phone to the rear port USB PC (front ports are often unstable) Install drivers manually through Device Manager (select Mi Flashable Driver).
- π Stuck on Mi logo: usually caused by incompatible firmware or an interrupted process. Solution - re-stitch clean all via MiFlash.
- π΅ This package is for "veux" devices; this is a "peux": you downloaded firmware for another model.
What if the phone doesnβt turn on after the firmware?
For bootloop-related errors (cyclical reboot), Fastboot reset will help:
fastboot erase userdata
fastboot erase cache
fastboot reboot5. How to Choose the Right Firmware
The choice of firmware depends on your goals:
- π Global Stable: official firmware with Google services, suitable for everyday use, minus the fact that updates are released less often than in China.
- π¨π³ China Stable: The latest version MIUI, You can manually install them through Google Installer, but some features (like Google Pay) may not work.
- π§ͺ Global/China Beta: Test builds with new features but possible bugs Not recommended for main phone.
- π οΈ Custom firmware (PixelExperience, LineageOS, ArrowOS): pure Android without shell MIUI. Pros: no ads, quick updates, downs, camera may not work, NFC gesture.
To select the appropriate version, use the compatibility table:
| Model | Recommended firmware | Risks of China-Firmware | Best custom firmware |
|---|---|---|---|
| Redmi Note 12 Pro+ (redwood) | Global Stable (V14.0.8.0) | No Google Services, Widevine Problems L1 (Netflix in low quality) | PixelExperience 13 (full camera support) |
| POCO F5 (marble) | Global Stable (V14.0.6.0) | Blocking the bootloader after China firmware | LineageOS 20 (No Support) IR Blaster) |
| Xiaomi 13 Ultra (ishtar) | China Stable (for maximum performance) | No Google Services, SafetyNet Issues | ArrowOS 13 (all cameras except Leica Authentic Mode) |
| Redmi 10C (fog) | Global Stable (V13.0.8.0) | No risks (you can flash China and install Google) | HavocOS 4.12 (Stable but no VoLTE for some carriers) |
π‘
For models with a MediaTek processor (e.g. Redmi Note 11, POCO M5) firmware SP Flash Tool may be required if the bootloader is damaged, but this method is risky - an error in the selection of the scatter file will lead to permanent damage to the device.
6. How to flash Xiaomi without unlocking the bootloader
If you donβt want to wait 30 days or risk a warranty, there are legal ways to update your firmware without unlocking:
- π OTA-Update: Settings β The phone. β System update. It only works for official firmware.
- π Local Update: Download the full service pack (.zip) and install via Settings β The phone. β Three points. β Select the update file.
- π₯οΈ Mi PC Suite: the official utility from Xiaomi for updating via PC (download here).
To install full firmware (not incremental update) without unlocking, the method through ADB Sideload:
- Download the firmware in.zip format (for example, from here).
- Go to Settings β Additional β For developers and enable debugging over USB.
- Connect your phone to your PC and execute: adb reboot recovery adb sideload firmware.zip
- Wait until the end (the progress bar will appear on the phone).
β οΈ Attention: Method ADB Sideload only works for firmware with the same version MIUI, It's on your phone, for example, if you have MIUI 14.0.5.0, you can only flash MIUI 14.0.6.0, but not MIUI 13 or MIUI 15.
7.Recovery after failed firmware
If the phone stopped turning on or stuck on the logo, act on the algorithm:
- Try to boot up in Fastboot: pinch the power + Down Volume for 10-15 seconds. If your PC defines it as Fastboot, run it again through MiFlash in clean all mode.
- Check it out. EDL-Mode: If Fastboot is not available, try to transfer your phone to the Fastboot EDL (For firmware in this mode, you will need an authorized Xiaomi account or help from a service center.
- Use Testpoint: for some models (e.g. Redmi Note 8 Pro, POCO X3 NFC) You can close contacts on the motherboard for forced transition to the EDL. Look for testpoint schemes on 4PDA or XDA.
- Contact the service: if nothing helps, it is possible that the flash memory (eMMC or eMMC) is damaged. UFS). In the official service Xiaomi recovery will cost 1,500-3000 rubles (prices for 2026).
To diagnose the problem, connect the phone to the PC and execute the command:
fastboot devices- If the device is displayed, flash through Fastboot.
- If not, try it. EDL testpoint.