Have you found a Xiaomi smartphone and want to bring it back to life, but it is locked with a password, requires a Mi Account or just works unstable? firmware is one way to solve these problems, but it is important to understand that the process is different from the standard update. Found devices often have tied accounts, activated Find Device function or corrupted software. In this article, we will discuss how to properly flash Xiaomi, avoiding locks and βbricksβ.
We warn you right away: the firmware of someone elseβs phone without the ownerβs consent may violate privacy laws (Article 137 of the Criminal Code of the Russian Federation).We consider only legal scenarios β for example, if you bought a used device with problems or restore your device after resetting. For models Redmi Note 10/11/12, POCO X3/X4, Mi 11/12 and others, the general principles are relevant, but there are nuances depending on the version of MIUI (14 or 15) and the type of lock.
1.Preparation: What to Know Before Firmware
Swiping Xiaomi from scratch is not the same as updating software through Settings β About the phone. Found devices often have:
- π Mi Account Blocking β Requires Original email/password of the previous owner.
- π± Activated Find Device β can lock your phone after resetting.
- π§ Damaged firmware β if the phone turns off, restarts, or doesnβt turn on.
- π« Locked bootloader - on new models (Xiaomi) 13/14, Redmi Note 12) Requires official permission to unlock.
Before you start, check:
- Phone model (on the box, under the battery or via fastboot getvar product in Fastboot mode).
- bootloader status: If this device is locked when you turn on, you need to unlock it.
- Availability of a backup of data (if the phone is turned on, copy the files to the PC).
Attention! If the phone is found on the street or bought from hand without reset, there is a high risk that once the firmware is βbrickβ due to the link to the Mi Account. In 2026, Xiaomi tightened the policy: even after a reset via Fastboot, you may need to enter the username / password of the previous owner.
2. Firmware methods: which one to choose?
There are three main Xiaomi firmware methods and each is suitable for different situations:
| Method | When to use | Pluses | Cons |
|---|---|---|---|
| Through Recovery (TWRP) | The phone is switched on but locked or is not operating smoothly | No PC, saves data (unless you wipe it) | Root rights, risk of blocking Mi Account |
| Through Fastboot (Mi Flash) | The phone is not switched on or locked at the bootloader level | Restores the bricks, the official method from Xiaomi | Deletes all data, requires unlocking the bootloader |
| Through EDL (Emergency Mode) | Phone does not respond to buttons, damaged loader | It works even on locked devices. | Requires an authorized Xiaomi account or boxing |
For most users, Fastboot is optimal β it does not require deep knowledge and is suitable for Redmi 9/10/11 models, POCO F3/4. However, if the bootloader is blocked, you first need to unlock it through the official Mi Unlock application (the process takes up to 720 hours of waiting!).
π‘
If you find a phone recently, try contacting the previous owner via Find Device (IMEI) and may have forgotten to unlock the device before selling.
3. Step-by-step instruction: firmware via Fastboot
This method is suitable if the phone is in Fastboot mode (clambing Volume down + Power when the device is off).
- π» Windows PC 10/11 (For the Mi Flash Tool).
- π Cable USB (better-than-original).
- π₯ Firmware for your model (download from the official website).
- π Unlocked bootloader (if not, read section 4).
Step 1: Installation of drivers
Download and install:
- Mi Phone Manager (for drivers)
- Mi Flash Tool (for firmware).
Step 2. Connecting the phone
- Turn off the phone.
- Press Volume Down + Nutrition until the hare in the eardress cap appears (Fastboot mode).
- Connect to a PC. Android Bootloader Interface should appear in Device Manager.
Step 3. Firmware
- Unpack the downloaded firmware (file with extension.tgz) in the folder without Cyrillic.
- Open the Mi Flash Tool, press Select and select the folder with the firmware.
- At the bottom, choose clean all (full reset) or clean all and lock (reset + lock bootloader).
- Press Flash and wait until the end (5-10 minutes).
Make sure the firmware model matches the phone model |
Download firmware from the official website (not from forums)|
Check battery power (minimum 50%) |
Disable the antivirus (can block the Mi Flash Tool)|
Prepare the original cable USB (cheap-substitute)-->
If you choose the wrong firmware (for example, for the Redmi Note 10 Pro instead of the Redmi Note 10), the phone will turn into a brick and require repair through EDL.
4. Unlock the bootloader: how to get around the limitations of Xiaomi
From 2021, Xiaomi will block the bootloader on all new models, and to unlock it, you need to:
- Link your phone to your Mi Account (unless it is linked to someone elseβs account).
- Wait 72 to 720 hours (depending on the model).
- Use the official Mi Unlock Tool app.
Problem: If you find a phone, it's already tied to someone else's account, and then you can unlock it only by:
- π Through EDL (requires an authorized developer account or boxing).
- π Contact the Xiaomi service center with documents on the phone (if you are the legal owner).
Attention! Sites that offer βMi Account bypass in 5 minutesβ often spread viruses or fraudulent schemes. In 2026, Xiaomi closed most of the loopholes, and the only legal way is to officially unlock.
What happens if you flash a phone with a locked bootloader?
5. Firmware through TWRP: Data retention and root rights
If the bootloader is unlocked, but you want to save data or get root rights, you can use custom recovery TWRP.
- π² Custom firmware installations (such as LineageOS or Pixel Experience).
- π Resetting password (if you forget the pattern lock).
- ποΈ Backup of data before resetting.
Instructions:
- Download TWRP for your model from the official website.
- Rename the file to recovery.img and place it in a folder with fastboot.
- In the command line, run: fastboot flash recovery.img fastboot boot recovery.img
- V TWRP Make a backup (Backup section) or slick ZIP-firmware.
β οΈ Attention! custom firmware installation is warranty-free and could lead to problems with Google Pay, Netflix (due to lack of Widevine certification) L1).
6. Frequent errors and their solutions
Xiaomi's firmware rarely goes smoothly. Here are the typical bugs and ways to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Couldn't unlock bootloader | 72/720 hours of waiting has passed. | Waiting or using EDL |
| This device is locked | bootloader locked | Unlocking through Mi Unlock or EDL |
| Anti-rollback check | The firmware is older than the current version | Download a newer firmware |
| The phone does not turn on after the firmware | Incompatible firmware or interrupted process | Repeat the firmware through EDL |
If the Mi Flash Tool is 0x80070002 error, check:
- π Cable USB (Try another port or cable).
- π₯οΈ Antivirus (disable Windows Defender).
- π The path to firmware (should not be Cyrillic or gaps).
π‘
If the phone requires an old Mi Account after the firmware, the only legal way is to contact the previous owner. Bypassing the engineering menus or "miracle firmware" from the forums in 99% of cases leads to blocking the IMEI.
7. Alternative methods: if nothing helps
If the phone is not stitched through Fastboot or TWRP, the following are the following:
1. EDL (Emergency Download Mode)
The Brick Recovery mode requires:
- π§ Authorized Xiaomi account (for new models).
- π» Special cable or box (e.g. Deep Flash Cable).
- π₯ Firmware in.mbn format.
EDL instructions are rarely published openly, usually by service centers.
2. Contact the service center
If the phone is found and linked to someone elseβs Mi Account, the service center can only help if you have:
- π Documents for purchase (check, warranty card).
- π Access to the original Mi Account (if the owner agrees to untie the device).
3. Sale of parts
If the phone is locked at the hardware level (e.g., a memory chip is burned), it can be sold as a donor to repair other devices.