Reflashing Xiaomiβs smartphone is a process that can both bring a fermented device back to life and kill it completely if you approach it without preparation. Unlike standard βover the airβ updates, hand firmware gives you access to custom builds, global versions of MIUI for Chinese models or even alternative OSs like LineageOS. But with the opportunities come risks, from losing warranty to turning the phone into a brick.
In this article, weβll look at all the steps of flashing, from preparing and unlocking a bootloader to choosing between Fastboot and Recovery methods, and focus on the typical errors that can cause crashes among Redmi, POCO, and Mi users, as well as legal ways to circumvent Xiaomiβs restrictions on installing unofficial software. If youβve never worked with an ADB or Mi Flash Tool, start with a theory that will save you hours of recovery.
β οΈ Important: The flashing process will void the warranty on Xiaomi devices if it is still valid. The manufacturer does not officially support the installation of custom firmware and may refuse service.
1. Preparation for flashing: what to do before the start
Before you download the firmware, make sure your smartphone is ready for the procedure.Missing at least one of these steps can make it impossible to restore the device through standard Xiaomi tools.
- π± Check the device model: Go to Settings β The phone. β Note that the firmware for the Redmi Note 10 Pro and POCO X3 Pros are not interchangeable, even if they have the same processor.
- π Battery charge: At least 60%. Upon discharge during firmware, the phone may turn off and stop responding to charging.
- πΎ Backup: Save contacts, photos and app data. Use Mi Cloud or third-party tools like Titanium Backup (requires root).
- π Unlock the bootloader: Without this step, installing any unofficial firmware is impossible.
Also, prepare a Windows PC (for the Mi Flash Tool) or Linux/macOS (for fastboot in the terminal).The computer should have at least 5 GB of free space - Xiaomi firmware often weighs 2-3 GB.
2. Unlock the bootloader: why it is necessary and how to do it correctly
Xiaomi blocks the bootloader on all devices released after 2017, a security measure that makes life difficult for enthusiasts at the same time.
- Linking your Mi Account to your device (require to confirm your email and phone!).
- Expectations of 7β30 days (depending on the model) after applying through the Mi Unlock Tool.
- Use of the original USB-cables β cheap analogues often cause connection errors.
β οΈ Note: If you bought the phone with your hands, the previous owner could have linked his Mi Account. In this case, unlocking is possible only after resetting via Fastboot with loss of all data. FAQ.
The unlocking process:
- Download the Mi Unlock Tool (official website).
- Turn on the developer mode on the phone (7 times click on the MIUI version in the settings) and activate OEM Unlock.
- Connect your phone to your PC in Fastboot mode (clip Volume Down + Power when the device is off).
- Launch the Mi Unlock Tool, log in to your Mi Account and follow the instructions.
π‘
If the Mi Unlock Tool is a "Couldn't unlock" error, try using the 2021 version of the tool (see telegram feeds like Xiaomi Advices).
3. firmware selection: official MIUI vs custom builds
The type of firmware depends not only on the functionality, but also on the stability of the device.
| Type of firmware | Pluses | Cons | Who's right for? |
|---|---|---|---|
| Official MIUI (Fastboot) | Stability, OTG support, warranty (unless the bootloader is unlocked) | Advertising, region restrictions, slow updates | For those who want to update the version legally |
| Official MIUI (Recovery) | Simple installation, data retention (sometimes) | Not all versions are available, and there is a risk of error when updating. | To correct the current version bugs |
| LineageOS (Pixel Experience) | Clean Android, no advertising, long-term support | The camera, NFC or sensors may not work | Enthusiasts Ready for the Bugs |
| Ported MIUI (from other models) | New features on old devices | High risk of brick, iron problems | Experienced users |
For beginners, we recommend starting with official firmware from en.miui.com.
- π RELATED: Redmi Note 10 (global) firmware won't work for Chinese version).
- π Android Version: Installation MIUI 14 on Android 12 on top MIUI 13 on Android 11 could cause crashes.
- π§ File Type:.tgz for Fastboot,.zip for Recovery.
Where to download custom firmware safely?
4.Firmware methods: Fastboot vs Recovery
The choice of method depends on the type of firmware and your goals. Let's look at both options in detail.
Method 1: Fastboot firmware (for official and custom.tgz)
This method is suitable for a complete reinstallation of the system and requires an unlocked bootloader. Use the Mi Flash Tool (for Windows) or the fastboot command in the terminal.
Step-by-step:
βοΈ Firmware through Fastboot
β οΈ Warning: If the Mi Flash Tool is 99 percent dead, don't turn off your phone! Wait 10 to 15 minutes, sometimes it's delayed. If nothing happens after that time, try it:
- Change. USB-port (better to use) USB 2.0).
- Disable the antivirus (it can block the drivers).
- Try another version of the Mi Flash Tool (e.g. 2018 for older models).
Method 2: Firmware through Recovery (for.zip)
A more gentle method that sometimes saves user data, suitable for updating the current version of MIUI or installing custom firmware like OrangeFox Recovery.
Instructions:
- Download the firmware in.zip format and move it to the root of the phoneβs memory.
- Load into Recovery (click Volume Up + Nutrition).
- Select Install β Specify the file.zip β Swipe to confirm.
- After installation, run Wipe cache/dalvik.
β οΈ Critical error: Never install firmware for another model through Recovery!, such as trying to flash Redmi Note 9 Pro with a file from Redmi Note 9S This will cause hard brick (irreparable damage).
π‘
To install custom firmware (LineageOS, Pixel Experience), you first need to flash custom recovery (TWRP or OrangeFox), without which the system will not boot.
5. Common Mistakes and How to Avoid Them
Even experienced users face problems when reflashing Xiaomi, and here are the most common mistakes and solutions:
| Mistake. | Reason. | Decision |
|---|---|---|
| This device is locked (in Fastboot) | The bootloader is not unlocked | Complete the unlocking procedure (see Section 2) |
| The phone does not turn on after the firmware | Incompatible firmware or interrupted process | Swipe back the official version through Fastboot with the tick "clean all" |
| E: Footers is wrong (in Recovery) | The damaged.zip file | Download the firmware again, check the checksum (MD5) |
| Constant reboots (bootloop) | Conflict of the kernel or modules | Switch a complete package without selectable components |
If the phone does not load after firmware, try:
- Press Volume up + Power for 20-30 seconds (sometimes helps with soft brick).
- Connect to your PC and check if the device is detected in Fastboot (fastboot device command).
- If your phone doesnβt respond at all, contact the service center (recovery via EDL requires an authorized Xiaomi account).
π‘
If the sensor or camera doesnβt work after the firmware is running, chances are youβve installed firmware from another revision of the device. For example, the Redmi Note 8 Pro has versions with Helio G90T and Mediatek P65 processors β their firmware is incompatible!
6.Recovery after failed firmware
If something goes wrong, don't panic. 80 percent of the time, you can bring your phone back to life, and the key is not to try to stitch it over the broken system again.
Recovery methods:
- π Fastboot firmware official MIUI: Download the latest stable version for your model and check the clean all checkmark.
- π οΈ EDL-Emergency mode: Requires an authorized Xiaomi account and a special cable.
- π± Test Point: The ultimate method for unlocking EDL on locked devices. Requires rations (not recommended for beginners).
β οΈ Note: If the phone after a failed firmware is determined in Fastboot, but not stitched, try it:
fastboot oem edlThis command will translate the device into EDL-The system does not work on all models.
7.Alternative OS: Should LineageOS or Pixel Experience be installed?
Custom firmware based on AOSP (Android Open Source Project) offer "clean" Android without a shell MIUI.
- β No Advertising and Unnecessary Xiaomi Services.
- β Quick security updates.
- β The ability to customize the interface (for example, gestures in Pixel Experience).
But there are downsides:
- β Widevine often doesn't work. L1 (Netflix HD not available).
- β Camera problems (especially on flagships with advanced modules).
- β No support for certain features (for example, IR Blaster or Game Turbo).
If you do decide to try it, follow this algorithm:
- Install TWRP or OrangeFox Recovery.
- Sweep through the firmware + GApps (Google services).
- When you first download, reset via Recovery (otherwise lags are possible).