Updating the firmware on Xiaomi smartphones through a computer is a process that may seem difficult for beginners, but in fact it opens up more possibilities than the standard one. OTA-This method is relevant when the device does not see new versions through the air, there are errors when downloading or you need to roll back to a stable build. Unlike an automatic update, firmware through the PC allows you to select a specific version. MIUI (including global, Chinese or custom, and restore the working capacity of the bricks after unsuccessful experiments.
In this article, we will analyze all the current ways to update Xiaomi, Redmi and POCO through the computer: from the official Mi Flash Tool to alternative utilities like XiaoMiTool. Particular attention will be paid to preparation (driver, unlock the bootloader), typical errors (for example, 0x80070002 or This device is not eligible) and how to fix them. If you have never flashed your smartphone yourself, do not worry: step-by-step instructions with photos and videos will help avoid critical errors.
Why upgrade Xiaomi via PC instead of over the air
Most users are used to automatically update MIUI through the Settings menu β About Phone β System Update. However, this method has limitations:
- π A long wait.TA-Updates come in waves β your device may be at the end of the queue for months.
- π Regional restrictions: Chinese models (Xiaomi 13, Redmi) K60) Often do not get global firmware without manual intervention.
- π Slow loading: With weak internet, a file weighing 2-4 GB can take hours to download or break down.
- π§ No rollback, if the new version MIUI It is not working properly, but returning the old one. OTA impossible.
PC firmware solves these problems: you manually select the version (including betas and ported builds), control the process (no communication risk), and if you make errors, you can always try again or restore backup. In addition, some models (such as the POCO F5 or Redmi Note 12 Pro+) require forced firmware to unlock additional features β for example, support for 5G in some regions.
Preparation for firmware: what to do before the start
An unprepared update via PC can turn your smartphone into a brick. To avoid this, follow the mandatory steps:
- Check the model and version MIUI. Go to Settings. β About the phone and write it down: π± Model name (e.g. Redmi Note 11 Pro) 5G Xiaomi 12T). π’ Version MIUI (for example, MIUI Global 14.0.5). π Assembly number (e.g, V14.0.5.0.TLCCNXM).
- Unlock the bootloader (unless unlocked) without it, official tools like Mi Flash won't be able to flash the device. Detailed instructions are in the section below.
- Download the correct firmware. Use only files from official sources: π Official website MIUI (for global and Chinese versions). π Xiaomi Firmware Updater (alternative archive with version history).
Install the drivers.
Fastboot
EDL
Mi Phone Manager
Android SDK Platform-Tools
βοΈ Checklist before firmware
If your device was purchased in China (models with the C suffix in the title, for example Redmi). K50 Pro C), firmware of the global version MIUI It can lead to loss of support NFC, 5G Before you upgrade, check compatibility on forums like XDA Developers.
How to unlock the bootloader on Xiaomi
The bootloader on all Xiaomi smartphones is locked by default, a security measure, but it also blocks the ability to run through a PC. Unlocking takes 3 to 360 hours (depending on Xiaomiβs policy) and requires a Mi Account to be linked.
Step-by-step:
- Link your Mi Account to your device: π± Go to Settings. β Xiaomi account and log in. π In the Mi Cloud menu, enable Sync and Find the device.
- Activate the Developer Mode: π§ Go to Settings. β About the phone and 7 times click on the version MIUI. π Back to Settings β Additionally. β For developers and enable OEM unlocking.
- Open the unlock with the Mi Unlock Tool: π» Download Mi Unlock Tool and install it on PC. π± Put your phone in Fastboot mode: Turn it off, then press Volume down + Nutrition. π Connect your smartphone to your PC and launch the Mi Unlock Tool. Log in to the same Mi Account as your phone. β³ Press Unlock and wait until completion (it may take up to 15 days to wait!).
β οΈ Attention! Once the bootloader is unlocked, all data (photos, contacts, apps) will be deleted from the device, as well as some features like Mi Pay or Widevine. L1 (for Netflix HD) They can stop working. Sometimes you can only re-lock the bootloader.
What if the Mi Unlock Tool canβt see the device?
How to Upgrade Xiaomi via PC
There are three main methods of firmware Xiaomi through the computer, the choice depends on your goals and the state of the device:
| Method | When to use | Pluses | Cons |
|---|---|---|---|
| Mi Flash Tool | Official firmware, restoration of the "brick" | β Supports all modelsβ Option to choose a version (Stable/Beta) | β Requires an unlocked bootloaderβ Deletes all data. |
| XiaoMiTool | Automatic firmware, change of region | β Simple interfaceβ Automatic model definition | β Not all models are supportedβ Possible errors with new devices |
| Fastboot + ADB | Manual firmware, installation of custom recovery | β Maximum controlβ Suitable for experienced users | β Hard for beginners.β Risk of error |
Next, we will discuss each method in detail with step-by-step instructions and screenshots.
Method 1: Firmware via Mi Flash Tool (official method)
Mi Flash Tool is a proprietary utility from Xiaomi for firmware devices in Fastboot or EDL mode. It is suitable for installing official versions of MIUI, recovering from failures and changing the firmware region (for example, from Chinese to global).
What you need:
- π» Windows computer 10/11 (on macOS/Linux work is not guaranteed).
- π± Smartphone with unlocked loader and charge >50%.
- π Original. USB-cable (do not use cheap Chinese cables!).
- π Firmware in.tgz or.zip format (download from the official website).
Step-by-step:
- Download and install the Mi Flash Tool: π₯ Download the utility from the official page. π§ Install the program by following the instructions (drivers will be installed automatically).
- Prepare the firmware: π Unpack the downloaded archive with firmware in a folder without Cyrillic (for example, C:\MIUI\). π Inside should be a folder with images files and script flash_all.bat.
- Transfer the smartphone to Fastboot mode: π Turn off the phone. π Hold the Loud down. + Power before the appearance of the Fastboot logo (robot with a gear).
- Connect the device to the PC and start the firmware: π Connect your smartphone to your computer. π₯οΈ Open the Mi Flash Tool, press Select and point the path to the firmware folder. π Select firmware mode: Clean all - complete cleaning (recommended when changing region). Clean all and lock - cleaning + Save user data - saving data (not always stable). π Press Flash and wait until it is completed (usually 5-15 minutes).
If the process is stalled at the Waiting for device stage, check:
- π Cable and port USB (Try the port USB 2.0 on the back of the PC).
- π§ Are drivers installed (Device Manager should display Android Bootloader Interface).
- π Try restarting your PC and smartphone.
π‘
If the Mi Flash Tool is 0x80070002, download the firmware again β it may be damaged. Also check that the MIUI version is compatible with your model (for example, do not try to flash the Redmi Note 10 Pro firmware from POCO X3 Pro).
Method 2: Automatic firmware via XiaoMiTool
XiaoMiTool is an alternative open source utility that automates the firmware process. It defines the device model, downloads the right firmware and installs it, is suitable for beginners, but does not support all models (especially new ones).
Benefits of XiaoMiTool:
- π€ Automatic definition of model and version MIUI.
- π The possibility of changing the firmware region (for example, from Chinese to global).
- π Support for rollback to the old version.
Disadvantages:
- β Not all models are supported (e.g. Xiaomi 14 or Redmi Note 13 Pro)+ may not be recognized).
- β Sometimes they download outdated versions of the firmware.
Instructions for use:
- Download and install XiaoMiTool: π₯ Download the utility from the official website. π§ Install the program by following the instructions (required.NET Framework 4.8).
- Connect your smartphone in Fastboot mode: π Turn off the phone and press the volume down. + Nutrition. π Connect to the PC.
- Start XiaoMiTool and follow the instructions: π₯οΈ Open the program and wait for it to define your model. π Select the firmware you want (e.g. Stable Global). π₯ Click Download (if the firmware is not downloaded) or Flash (if the file is already available). β³ Wait until the end (usually 10-20 minutes).
β οΈ Attention! XiaoMiTool may offer to flash the unofficial version MIUI (It's a bit like a ported device, and it's a bit like a broken camera or a mobile network, and always make sure that the firmware is for your model!
Method 3: Hand-held firmware via Fastboot and ADB
This method is suitable for advanced users who want maximum control over the process. There is no graphical interface - all commands are entered manually through the command line. The method is universal and works even with models that are not supported by the Mi Flash Tool or XiaoMiTool.
What you need:
- π» Android SDK Platform-Tools (includes fastboot and adb).
- π Firmware in.tgz format (unpacked into a folder with images files).
- π§ Knowledge of fastboot core commands.
Step-by-step:
- Install Platform-Tools: π₯ Download the archive from the Android Developers website. π Unpack it in a folder. C:\platform-tools\.
- Connect your smartphone in Fastboot mode: π Turn off the phone and press the volume down. + Nutrition. π Connect to the PC.
- Check the connection: π₯οΈ Open the command line in the platform-tools folder (click Shift). + PCM β Open the PowerShell window here). π Enter the command: fastboot devices If the device is displayed (for example, 1234abcd fastboot β connection established.
- Switch the device: π Go to the folder with the unpacked firmware (where the file lies) flash_all.bat). π₯οΈ Launch the file. flash_all.bat (for complete cleaning; or flash_all_except_storage.bat (preservation). β³ Wait until completion (there will be progress in the command line window).
Commands for manual firmware (alternative method):
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash dtbo dtbo.img
fastboot flash vbmeta vbmeta.img
fastboot rebootAttention! If you are flashing custom recovery (like TWRP), unlock the bootloader first and back up the original recovery:
fastboot flash recovery twrp.img
fastboot boot twrp.imgAfter installing custom recovery can be stitched ZIP-file-file directly from the memory card.
π‘
Manual firmware via Fastboot is the most flexible method, but requires precise follow-up of instructions. A command error (such as the wrong path to the file) can lead to a brick.
Typical errors when firmware Xiaomi via PC and their solution
Even if you follow the instructions accurately, you can get errors, and here are the most common problems and ways to fix them.
| Mistake. | Reason. | Decision |
|---|---|---|
| This device isnβt eligible for unlocking | The Mi Account is not tied to the device or the wait for unlocking is not complete. | 1. Make sure you log in to the same Mi Account on your phone and to the Mi Unlock Tool.2. Wait 3-15 days (if unlocking is in the process).3. Try another Mi Account (some users report that older accounts are performing better). |
| 0x80070002 or 0x80070057 | A damaged firmware file or incompatible version. | 1. Download the firmware again (check the checksum MD5).2. Make sure the firmware is suitable for your model (for example, do not try to flash Redmi Note 12 firmware from POCO X5).3. Try another version of the Mi Flash Tool. |
| Waiting for device (hang) | The PC does not see the smartphone in Fastboot mode. | 1. Check. USB-cable and port (try the original Xiaomi cable).2. Install drivers manually through Device Manager.3. Run the command line on behalf of the administrator and type:fastboot devices If the device does not appear - the problem is in the drivers. |
| Anti-rollback check | Try to flash the old version of MIUI to a new device. | 1.Sweat down the newer version of MIUI.2. If you need to roll back, use XiaoMiTool with the Anti-rollback bypass option (risky!).3. In extreme cases, swipe through EDL (requires an authorized Xiaomi account). |
Additional advice:
- π If the smartphone does not turn on after firmware, try to go to Fastboot (Volume down). + Meals) and repeat the process.
- π‘ If there is no network after the firmware, check that the firmware has been stitched through the correct version (for example, global firmware on the Chinese model may not support local frequencies). 4G/5G).
- π If the device is discharged during firmware, connect it to charging and repeat the process.