Reflashing Xiaomiโs smartphone is a process that can either return a device to a โsecond lifeโ or turn it into a โbrickโ if you approach it without preparation. Unlike standard updates through MIUI Updater, manual firmware allows you to install a more recent version of the software, switch to global firmware from Chinese, remove preinstalled software or even install custom builds like LineageOS. But here lies the main trap: wrong firmware choice or violation of the sequence of actions can lead to a loss of warranty, IMEI failure or complete inoperability of the device.
In this article, we will look at all the current ways Xiaomi firmware is used, from official methods through Fastboot and Recovery to alternative solutions using ADB and third-party utilities. Special attention will be paid to unlocking the bootloader (without it, most methods simply will not work), choosing the right version of firmware for your model and the typical mistakes that users make. If you have never done firmware before, start with official instructions and only then move on to experiments with custom software.
1. Firmware Preparation: What to Do Before Starting
The first and most important step is to save all the data. The firmware, especially through Fastboot, completely erases the device's internal memory. Use Mi Mover, Google Drive, or physical porting to your PC to back up:
- ๐ฑ Contacts (export to.vcf via Contacts app)
- ๐ท Photos and videos (check folders) DCIM and Pictures)
- ๐ Logins and passwords (use Google Smart Lock or Bitwarden)
- ๐ฎ Game saves (some games, such as Genshin Impact, are linked to a Mi Account)
Next, check the device model and the current firmware version. This is critical: the firmware for the Redmi Note 10 Pro (sweet) will not work for the Redmi Note 10 (mojito).
- ๐ In settings: Settings โ The phone. โ Version. MIUI (Click several times on the "Core Versionยป)
- ๐ Through ADB: Connect your phone to your PC and type in the command adb shell getprop ro.product.device
Also prepare:
- ๐ป Windows PC 10/11 (Fastboot and Mi Flash Tool)
- ๐ Cable USB (preferably original, with data transmission support)
- ๐ Battery charge of at least 60%
- ๐ ๏ธ Qualcomm or MediaTek drivers (depending on the processor)
2 Unlock the bootloader: without it anywhere
90% of firmware methods require an unlocked bootloader, except for an upgrade via MIUI Updater or Recovery (but there may be limitations), and the unlocking process is officially supported by Xiaomi, but has its own nuances:
โ ๏ธ Warning: Unlocking resets the device to factory settings. If you have linked your Mi Account to your phone, you will need to enter your username/password to activate it after unlocking.
Step-by-step:
- Link your Mi Account to your phone: Settings โ Xiaomi account.
- Activate debugging via USB: Settings โ About Phone โ MIUI version (click 7 times), then Additional โ For Developers โ Debugging via USB.
- Connect the phone to the PC and confirm the debugging permission.
- Download Mi Unlock Tool (official utility from Xiaomi).
- Launch the utility, log in to your Mi Account and follow the instructions, which can take up to 72 hours (if you have a new account) or take place immediately (if you have an account attached to your device for more than 30 days).
Once you unlock it successfully, the phone will restart, and in Fastboot mode, it will say Unlocked. Now you can start the firmware.
What if the Mi Unlock Tool canโt see the device?
3. Method 1: Fastboot firmware (official method)
Fastboot is the most reliable method for installing official firmware.
- ๐ Brick recovery (if the phone is not turned on)
- ๐ Transition from Chinese firmware to global (and vice versa)
- โฌ๏ธ Updates to the new version MIUI absent OTA
Requirements:
- Unlocked loader
- Official firmware in.tgz format (download from the official website)
- The Mi Flash Tool
Instructions:
- Unpack the firmware archive in a folder without Cyrillic characters (e.g., C:\Xiaomi\proshivka).
- Turn off the phone and press Volume Down + Power to log into the Fastboot.
- Connect your phone to your PC and start the Mi Flash Tool.
- Click Select and point the way to the firmware folder.
- Select firmware mode: Clean all โ clean all and lock โ clean + lock bootloader (only for experienced) Save user data โ data storage (not always stable)
Flash
โ๏ธ Checklist before firmware via Fastboot
Typical errors and decisions:
| Mistake. | Reason. | Decision |
|---|---|---|
| Can't receive hello packet | Problems with drivers or cable | Reinstall the drivers, try another one. USB-port |
| Flash not done | Incorrect firmware or damaged archive | Download the firmware again, check the device model |
| Device is locked | The bootloader is not unlocked | Repeat the unlocking process with the Mi Unlock Tool |
Method 2: Firmware through Recovery (without PC)
If you don't have access to your computer, you can update your firmware through Recovery, which is a method that works for:
- ๐ฒ Official installations OTA-update
- ๐ Recovery after a failure (if the phone is turned on)
- โก Moving to a newer version MIUI without data loss (sometimes)
Important: Not all firmware supports installation via Recovery. Look for archives with the.zip extension and the Recovery ROM tag on the official website.
Instructions:
- Download the firmware.zip and move it to the root of the phoneโs internal memory (not folders!).
- Rename the file to update.zip (required!).
- Turn off the phone and press Volume Up + Power to enter Recovery.
- Choose a language (usually English or Chinese).
- Go to Install update.zip to System (or similar).
- Confirm the installation and wait for completion.
โ ๏ธ Note: If E:footer is wrong in the process, the firmware file is corrupted or not intended for your model. Download it again and check the checksum MD5.
๐ก
If the phone is stuck on the MI logo after running through Recovery, try resetting it through the same Recovery (Wipe Data) that often solves the boot problem.
5. Method 3: Firmware through ADB Sideload (for experienced)
ADB Sideload is useful when standard methods fail, such as when system files are damaged. It requires a PC, but does not always need an unlocked bootloader (depending on the model).
Advantages:
- ๐ง It works even if the recovery is damaged.
- ๐ฆ Allows you to install large firmware (more than 2 GB)
- ๐ Can be used to revert to the previous version MIUI
Instructions:
- Install ADB and Fastboot on your PC (download Googleโs Platform Tools).
- Download the firmware in.zip format for Recovery.
- Launch your phone in Recovery and select Connect with MIAssistant (or ADB Sideload).
- Connect your phone to your PC and type the command: Adb devices Make sure the device is identified.
- Enter the command to install: adb sideload name file.zip
Firmware through ADB Sideload can take up to 30 minutes - do not turn off the cable or interrupt the process, even if the progress bar on the phone screen is not moving.
6. Method 4: Install custom firmware (LineageOS, Pixel Experience, etc.)
Custom firmware like LineageOS, Pixel Experience or Havoc OS give you more freedom: pure, ad-free Android, regular security updates and additional features.
- ๐ Unlocked loader
- ๐ ๏ธ Installed custom Recovery (e.g, TWRP)
- ๐ฅ Compatible firmware for your model
Step-by-step:
- Install TWRP Recovery via Fastboot: fastboot flash recovery twrp.img fastboot boot twrp.img
- Make a full backup of the current firmware in TWRP (Backup item).
- Download custom firmware (.zip) and GApps (if you need Google services).
- In TWRP, run Wipe โ Advanced Wipe and mark Dalvik / ART Cache System Data Cache
GApps
Reboot. The first launch can take 10 to 15 minutes.
Popular custom firmware for Xiaomi:
| Firmware | Features | Xiaomi support |
|---|---|---|
| LineageOS | Clean Android, stable operation | Most models (e.g. Poco F1, Redmi Note 9 Pro) |
| Pixel Experience | Google Pixel interface, regular updates | Popular models (e.g. Mi 9, Redmi K20 Pro) |
| Havoc OS | Maximum customization, many functions | Limited list (check out the official website) |
โ ๏ธ Note: Castom firmware may not support some features, such as Widevine L1 (no HD Netflix) or dual cameras. Check forum reviews before installing XDA Developers or 4PDA.
7.Typical mistakes and how to avoid them
Even experienced users face firmware problems, and here are the most common bugs and solutions:
1.The phone does not turn on after firmware ("brick")
- ๐ Try going to Fastboot (Loudness Down). + Food) and re-sew.
- ๐ If it doesnโt work, use the Mi Flash Tool with the Clean All option.
- ๐ ๏ธ In the extreme, contact the service center (but it can be expensive).
2.Loss of IMEI or network
- ๐ก Check if the firmware supports your model (especially for Chinese versions).
- ๐ง Restore. IMEI Engineer Mode (code ##4636## or #36446337##).
- ๐ If Baseband is missing, swipe the modem module separately through Fastboot.
3. Infinite Boot (bootloop)
- ๐ Reset your settings via Recovery (Wipe Data).
- ๐ฅ Go back to another version. MIUI (It is possible that the current firmware is damaged).
- ๐ If nothing helps, then swipe through Fastboot with the Clean all and lock option (but this will block the bootloader!).
๐ก
Before firmware, always check the firmware compatibility with your model by device code (for example, raphael for Redmi K20 Pro).