Why to Update Xiaomi on Your Computer and When You Need It
Updating your firmware through your computer is not the most obvious, but it's often the only way to get your device back up. OTA-Update (over the air), the PC method gives full control over the process, allows you to restore the "bricks" after unsuccessful experiments with custom firmware and bypass the limitations of regional versions MIUI.
Main reasons to choose this path: 1) The device does not turn on or hung on the Mi logo after an unsuccessful update. 2) You need to flash the global version MIUI Chinese model (for example, change China) ROM Globally ROM). 3) Official OTA-Updates stopped coming due to a lock or server error. 4) Refrain from the previous version MIUI after a critical bug in a new firmware.
It's important to understand that a computer update is not just an alternative, but a tool for forced flashing, bypassing standard system checks, such as installing firmware on a locked bootloader after unlocking through the Mi Unlock Tool.
Preparing for the update: what to do before the start
An unprepared update via PC can turn your smartphone into a brick. To avoid problems, follow these steps:
- π Battery charge at least 60 percent. When discharged during firmware, the device may fail.
- π» Computer - Use Windows 7/10/11 (MacOS and Linux may have driver problems. Disable the antivirus, it can block Mi Flash Tool utilities.
- π Backup β save data through Settings β The phone. β Backup or Mi Cloud. firmware erases all user files!
- π Cable USB β It's only original or certified, and cheap cables can interrupt data transmission.
Pay special attention to drivers. Without them, the computer will not recognize the device in Fastboot or EDL mode. Download the official Mi USB Driver package from Xiaomi's website and install it manually through Device Manager (if the automatic installation does not work).
π‘
If you have a Redmi Note 10 Pro or newer, check the bootloader version through the fastboot getvar anti command. Anti: 4 means that you will need to log in to your Mi Account for firmware, even if the bootloader is unlocked.
Method 1: Update via Fastboot (recommended method)
This method is suitable for most Xiaomi, Redmi and POCO Released models after 2018, and allows you to flash the full MIUI version without losing data (if you choose the right mode in the Mi Flash Tool).
Step 1: Download firmware and tools
1. Go to the official MIUI Downloads website.
2. Select your model (e.g. Redmi Note 12 Pro+ 5G) and download Fastboot firmware (file with.tgz or.zip extension).
3. Unpack the archive in folder C:\miui\ (the way without Cyrillic!).
4. Download the Mi Flash Tool (the latest version) from this site and install.
Step 2: Transfer the device to Fastboot mode
1. Turn off the smartphone.
2. Press the buttons Volume down + Power for 10 seconds until the hare appears in the hat-eared (Fastboot logo).
3. Connect the device to a PC. Android Bootloader Interface should appear in Device Manager.
Step 3: Firmware with Mi Flash Tool
1. Launch the Mi Flash Tool on behalf of the administrator.
2. Press Select and indicate the path to the unpacked firmware.
3. At the bottom of the window, select the mode:
Clean all β complete cleaning (recommended when changing regional firmware).
Clean all and lock β Cleaning + locking the boot loader (dangerous!).
Save user data β data retention (not always stable)
4. Press Refresh, your device should appear in the list. Then click Flash.
Download the correct Fastboot firmware for your model |
Unpack the archive in a folder without Cyrillic |
Install Mi Flash Tool and drivers |
Transfer your phone to Fastboot |
Connect the original USB-cable-->
It takes 5-15 minutes. When it's done, it automatically restarts. Don't turn off the cable or press the buttons. The first run after the firmware can take up to 10 minutes.
What if the Mi Flash Tool canβt see the device?
Method 2: Update via Recovery (for power users)
This method is suitable if you already have customized recavators (TWRP or OrangeFox) installed, or if you want to flash only part of the system (for example, the kernel or modem), and it is useful for installing MIUI on devices with a locked bootloader (but requires unlocking the bootloader in advance).
Warning: Mistakes in Recovery can lead to loss of IMEI or sensor issues, and use this method only if you are confident in your actions.
Step 1: Preparing the firmware
1. Download Recovery firmware (.zip file) for your model from the Xiaomi Firmware Updater website.
2. check the integrity of the archive (the size must match the size indicated on the site).
3. Transfer the.zip file to the root of the phoneβs internal memory or to the root of the phoneβs internal memory. SD-map.
Step 2: Installation via TWRP
1. Transfer the device to Recovery mode: turn off the phone, then press Volume up + Power.
2. In the TWRP menu, select Install β specify the path to the firmware file.
3. Swipe down and make Swipe to Confirm Flash.
4. Once completed, press Reboot System.
via Fastboot (Mi Flash Tool) |
Through Recovery (TWRP/OrangeFox) |
Through OTA (by air)|
I've never sewed it myself.-->
If the phone is stuck on the logo after the reboot, try resetting the cache: go back to Recovery and select Wipe β Advanced Wipe β Dalvik / ART Cache + Cache.
β οΈ Note: Install firmware via Recovery on Dynamic Partition devices (e.g. Xiaomi) 12T, Redmi K50) This could lead to the E:Unknown command error. [log]. In this case, use only Fastboot.
Method 3: Update via EDL (for "bricks")
Emergency Download Mode (EDL) is the last chance to bring back a device that doesnβt respond to buttons, isnβt detected in Fastboot, or has a damaged boot area, which requires an authorized Mi Account and a special cable (EDL cable).
Warning: Unauthorized firmware via EDL can permanently lock the device (called "hard brick"). Xiaomi is actively fighting unofficial firmware in this mode.
Step 1: Enter EDL mode
1. Turn off the phone.
2. Connect it to the PC by holding the Volume up + Volume down buttons (some models require circuiting test points on the board).
3. in Device Manager should appear Qualcomm HS-USB QDLoader 9008.
Step 2: Firmware with the Mi Flash Tool
1. Download. EDL-firmware (special version for your model) Official firmware in format EDL They are distributed only through service centers, but can be found on forums (for example, in the Internet, XDA).
2. In the Mi Flash Tool, select the downloaded firmware and press Refresh. The device should be defined as COMXX.
3.Tap Flash and wait until it is completed (the process can take up to 30 minutes).
| Model | Supports EDL? | Do you need authorization? | The risk of blocking |
|---|---|---|---|
| Redmi Note 9 Pro | Yes. | Yes (from 2021) | High-pitched |
| Xiaomi Mi 11 | Yes. | Yes. | critical |
| POCO X3 Pro | Yes. | No (until 2022) | Medium. |
| Redmi 10 | Yes. | Yes. | High-pitched |
| Xiaomi 13 Pro | Yes. | Yes. | Critical (possible loss of IMEI) |
β οΈ Note: If after the scaling of the EDL The device does not turn on and in Device Manager is displayed as Qualcomm HS-USB Diagnostics 900E, This means hardware locking, and you can only restore the phone through an authorized Xiaomi service center.
Common mistakes and their solutions
Even with the correct following of the instructions, there can be problems, and here are the most common mistakes and ways to correct them:
- π« Fastbootβs βCouldnβt Find Deviceβ Error β Check Drivers, Try a Different Cable or Port USB. If you are using Windows 11, disable the protection against counterfeit drivers.
- π 99 percent freeze on the Mi Flash Tool β wait 10 to 15 minutes. If nothing happens, reconnect the device and repeat the firmware with the clean all option.
- π± The phone doesn't turn on after the firmware - try to go to Recovery and make Wipe Data. If it doesn't work, re-sweep with the choice of clean all and lock (risky!).
- π An βAnti-rollback checkβ error means youβre trying to flash the old version MIUI Solution: Find firmware with the same or newer Anti-Rollback number.
If flash not done. device is locked appears during the firmware process via Fastboot, it means that the bootloader is locked. Unlock it through Mi Unlock Tool (requires a Mi Account binding and a wait of 7-30 days for new devices).
π‘
Always check the Anti-Rollback version in current and new firmware before you run it, and installing a firmware with a lower value will result in an irreversible device bribble.
How to check the success of the update
After the firmware is installed, you need to make sure that the system is working correctly.
- Check the MIUI version: go to Settings β About Phone β MIUI version. Check the build number with what you have flashed.
- Test of basic functions: - Calls and mobile Internet (check IMEI in *#06#). - Wi-Fi and Bluetooth. - Camera and sensors (gyroscope, accelerometer). - Battery charging.
- Loader check: Enter the fastboot oem device-info command in Fastboot. Device unlocked: true means that the bootloader is unlocked.
If after the update there were glitches (spontaneous reboots, lags, overheating), try:
- Reset the settings to factory (Settings β Additional β Recovery and Reset).
- Re-sweep with the clean all option.
- Install a different version of MIUI (e.g., try EEA instead of Global).