Update Xiaomi via computer: a complete guide with photos and videos

Updating the firmware on Xiaomi smartphones through a computer is the only way to bring back to life the β€œbrick” device, install custom firmware or go to a new version MIUI/HyperOS before the official release, unlike OTA-Updates, this method gives full control over the process, but requires preparation: from installing drivers to unlocking the bootloader.

In this article you will find the relevant instructions for 2026 year, including support for the latest models (Xiaomi) 14, Redmi Note 13, POCO F6) We're going to look at two major scenarios: updates through the Mi Flash Tool (the official way) and updates using the Mi Flash Tool. fastboot/ADB (We will pay special attention to common errors such as anti-rollback or problems with Qualcomm drivers that block the process of the user. 99%.

If your phone doesn't turn on, hangs on the logo or gives an error "This" MIUI "version cannot be installed on this device" - this guide will help restore the functionality. For beginners, we have prepared checklists and video instructions, and for advanced users - a section with fastboot commands and bypassing the restrictions of Xiaomi.

1. Update Preparation: What to Do Before Firmware

Before you connect your phone to your PC, follow 5 mandatory steps, and skipping at least one of them can lead to data loss or turn your smartphone into a brick.

First, check the current version. MIUI/HyperOS And the device model. Go to Settings for that. β†’ About the phone. Write down the data:

  • πŸ“± Device model (e.g. Redmi Note 12 Pro)+ 5G or the code name ruby)
  • πŸ”’ Version. MIUI/HyperOS (for example, V14.0.5.0.TMBCNXM)
  • πŸ”’ bootloader status (unlocked/locked) can be found through the fastboot oem device-info command

Then back up. Even if the update is successful, some settings (such as fingerprints or Mi Account data) may reset.

  • πŸ”„ Local Backup: Settings β†’ Additionally. β†’ Backup and reset
  • ☁️ Xiaomi Cloud: sync contacts, notes and photos in Mi Cloud
  • πŸ’» Third-party tools: Titanium Backup (requires root) or Swift Backup

A critical error of 75% of users: ignoring unlocking the bootloader. Without this, the official firmware through the Mi Flash Tool will not install, and the unofficial one will lock the device forever. If you are a Locked bootloader, follow the instructions in the next section.

Know the code name of the model (e.g., "tucana" for Mi) 10)|Check the version. MIUI/HyperOS|Make a data backup|Install the drivers Qualcomm/MTK|Unlock the loader (if required)|Charge your phone at least to 60%-->

2. Unlocking Xiaomi bootloader: a step-by-step guide

Xiaomi locks the bootloader on all devices to protect against unauthorized firmware.To update the phone through your computer, it needs to be unlocked - this takes between 72 hours and 1 week due to the Mi Account verification.

Algorithm of action:

  1. Attach Mi Account to your phone: Settings β†’ Xiaomi account β†’ Come in.
  2. Activate debugging via USB: Settings β†’ About Phone β†’ MIUI version (click 7 times), then Additional β†’ For Developers β†’ Debugging via USB.
  3. Connect the phone to the PC and confirm the debugging permission.
  4. Download the Mi Unlock Tool (the official tool from Xiaomi).
  5. Launch the utility, log in to the same Mi Account as on your phone, and follow the instructions.

You'll have to wait until you send the unlock request, and you can check the status on the Mi Unlock app, and when you say "Unlocked successfully," you can start the firmware.

1. Use another. USB-cable (original from Xiaomi).

2. disable the antivirus on the PC.

3. Run the utility on behalf of the administrator.

4. Connect the phone to the port USB 2.0 (usually black).-->

⚠️ Warning: Unlocking the bootloader resets all the data on the phone! After the procedure, the device will return to the factory settings.

3. Selection of firmware: official vs custom

The type of firmware that you use not only determines the functionality of your phone, but also the risk of turning it into a brick.

Type of firmwarePlusesConsWho's right for?
Official (Fastboot)Stable work, support OTA, guaranteeLong wait for updates, limitations MIUIFor those who value reliability and trustworthiness
Official (Recovery)Does not require unlocking the bootloader, saves dataNot all models support limited functionalityFor minor updates without PC
Castomic (AOSP, LineageOS)No advertising, current software, advanced settingsNo guarantee, possible bugs, complex installationExperienced users
Port from another deviceUnique features, experimentsHigh risk of bricking, no supportEnthusiasts and developers

For most users, the best choice is the official firmware in the format of Fastboot.

  • 🌍 Official portal MIUI (Choose a version for your model!)
  • πŸ”— Xiaomi Firmware Updater (the latest builds, including beta versions)
  • πŸ“¦ 4PDA (Russified firmware and patches)

⚠️ Warning: Never install firmware from another model, even if the names are similar (e.g. Redmi Note 12 Pro and Redmi Note 12 Pro).+). This will result in an anti-rollback error and irreversible device failure.

Official (stable)|Official (developer)|Castomy (AOSP)|Port from another device|I'm not updating at all.-->

Installation of drivers: without them, the computer will not see the phone

Frequent problem when running through a PC – the computer does not recognize the device in fastboot or EDL. This is due to the lack of drivers for Qualcomm or Mediatek chipsets.

Instructions for installing drivers for Windows:

  1. Download Mi. PC Suite (automatically installs basic drivers).
  2. For fastboot: download Android SDK Platform Tools and Unpack to the Root of the Disk C:\platform-tools.
  3. For Qualcomm devices: install QDLoader HS-USB Driver (required for mode) EDL).
  4. For Mediatek: Download MediaTek USB VCOM drivers.

Check the correctness of the installation:

  1. Connect the phone off to the PC, keeping Volume down + Meals (to enter fastboot).
  2. Open Device Manager (Win + X β†’ Device Manager).
  3. The list should appear Android Bootloader Interface or Qualcomm HS-USB QDLoader 9008.

If the device is displayed as Unidentified, right-click on it β†’ Update the driver β†’ Perform a search on this computer β†’ Select from the list and manually specify the path to the downloaded drivers.

What to do if drivers are not installed?
1. Turn off driver digital signature verification in Windows: - Reboot your PC with Shift key clamped β†’ Diagnostics β†’ Additional parameters β†’ Loading parameters β†’ Reboot. - Press when downloading. F7 (disable mandatory signature verification). 2. Use Driver Signature Enforcement Overrider. 3. Try installing drivers on another Windows PC 10/11 (Windows 7 Maybe there's a problem).

5. Firmware through Mi Flash Tool: step-by-step instructions

Mi Flash Tool is Xiaomi's official firmware tool for fastboot. It supports all models, including the latest Xiaomi 14 and Redmi Note 13.

Step 1: Preparing files

  • πŸ“ Download firmware in.tgz or.zip format (for example, tucana_global_images_V14.0.6.0.TMBMIXM_20231212.0000.00_12.0_global_1d1d1d1d1d.tgz).
  • πŸ“‚ Unpack the archive in a folder without Cyrillic characters (for example, C:\MIUI\rom).
  • πŸ”§ Install the Mi Flash Tool and unpack it in the same folder.

Step 2: The firmware process

  1. Turn off the phone and press the volume down. + Food for fastboot entrance (a hare in a hat-eared hat will appear on the screen).
  2. Connect the phone to the PC.
  3. Run MiFlash.exe on behalf of the administrator.
  4. Click Select and point the way to the folder with unpacked firmware.
  5. Select firmware mode at the bottom: clean all – complete cleaning (recommended when changing version) MIUI). Clean all and lock - cleaning + bootloader lock (only for official firmware!) save user data - data storage (not always stable).

Refresh

Flash

If the process is hanging on 99% or a mistake "flash_all_lock.bat failed, try it:

  • πŸ”Œ Reconnect. USB-cable.
  • πŸ”„ Reboot your phone in fastboot again.
  • πŸ“ Reinstall the driver (see previous section).
  • πŸ–₯️ Repeat firmware on another PC.

πŸ’‘

If the Mi Flash Tool is giving you an anti-rollback error, you are trying to install an older version. MIUI, It's better than the one on the phone before, and then you can only use the firmware through the phone. EDL (emergency mode) or contacting a service center.

6. Firmware through fastboot manually (for experienced)

If the Mi Flash Tool doesn't work (for example, when you make errors with super or vendor partitions), you can flash the phone through fastboot commands. This method requires knowledge of the console, but gives you more control.

Instructions:

  1. Unpack the firmware in a folder. C:\platform-tools\rom.
  2. Open the Command Prompt in this folder (Shift) + right-button β†’ Open the team window).
  3. Check the phone connection: fastboot devices should show the serial number of the device.
  4. Sweat each section separately (example for Redmi Note) 10 Pro): fastboot flash boot boot.img fastboot flash dtbo dtbo.img fastboot flash recovery recovery.img fastboot flash super super.img fastboot flash vbmeta vbmeta.img
  5. Clear the cache: fastboot erase cache fastboot erase userdata
  6. Reboot the phone: fastboot reboot

⚠️ Note: If there is a file in the firmware archive flash_all.bat, You can run it with a double click, it will automatically execute all the commands, but before you do that, check the contents of the file for any unnecessary commands (for example, locking the bootloader).

For devices on Mediatek (e.g., Redmi) 9A) Instead of fastboot, we use a utility. SP Flash Tool. The process is similar, but requires a separate setup of the scatter file.

7.Error Solving: What to do if the firmware fails

Even with the correct following of the instructions, errors can occur, and we will discuss the most common ways to correct them:

Mistake.Reason.Decision
anti-rollbackTrying to revert to the old version of MIUIOnly re-read the new version or EDL
This MIUI version cannot be installedThe firmware is not designed for your model.Download the correct version from Xiaomifirmwareupdater.com
99% Freezing in Mi FlashProblems with drivers or USB-portReconnect the cable, change the port to USB 2.0
fastboot: error: Command failedLack of rights or file corruptedRun the command line from the administrator, download the firmware
The phone does not turn on after the firmwareFirmware inconsistency or error in recordingRepeat firmware in mode EDL (Authorized account required)

If the phone has turned into a β€œbrick” (no buttons, no PC is detected), try to enter mode. EDL:

  • πŸ”Œ Turn off the phone.
  • πŸ”˜ Hold the Loud up. + Loud down and plug in. USB-cable.
  • πŸ–₯️ In the Device Manager should appear Qualcomm HS-USB QDLoader 9008.
  • πŸ› οΈ Use the Mi Flash Tool or QFil to Firmware in EDL-mode.

Important: Firmware in mode EDL Requires the authorization of Xiaomi account with an official partner. Independent attempts can lead to permanent brick (irrecoverable breakage).

8.After Firmware: First Steps and Optimization

After a successful upgrade, follow a few steps to keep your phone running smoothly:

Step 1: Initial settings

  • πŸ”„ Go through the initial setup (choose language, connect to Wi-Fi).
  • πŸ”‘ Log in to the same Mi Account you used to unlock the bootloader.
  • ☁️ Restore data from backup (if you did backup).

Step 2: System inspection

  • πŸ“± Make sure the version MIUI/HyperOS Updated: Settings β†’ The phone.
  • πŸ”‹ Check the operation of the main functions: camera, sensors, mobile network.
  • πŸ”„ Update all apps through Google Play or App Store.

Step 3: Optimization (optional)

  • πŸš€ Disable unnecessary system applications through Settings β†’ Annexes β†’ Application management.
  • πŸ”’ Set up permissions for applications in Settings β†’ Confidentiality.
  • 🎯 Activate Performance Mode: Settings β†’ Special facilities β†’ Game mode.

If there are bugs after firmware (for example, the battery quickly goes down or does not work). NFC), try:

  1. Reset settings to factory: Settings β†’ Additionally. β†’ Recovery and discharge.
  2. Install the patch through TWRP (If there is a custom recovery).
  3. Reverse to the previous version MIUI (Unless there is an anti-rollback limit!).

πŸ’‘

After firmware is installed via fastboot, it is recommended to manually update the camera and radio modules through the Xiaomi Community app (Updates section), which will improve photo quality and communication stability.

FAQ: Answers to Frequent Questions

Can I upgrade Xiaomi through my computer without unlocking the bootloader?
No, for firmware via fastboot or Mi Flash Tool, the bootloader must be unlocked. Except for the update via recovery (if official firmware in.zip format is available), but this does not work on all models.
How to update Xiaomi if it does not turn on (brick)?
If the phone does not respond to buttons, but is determined by the PC in Qualcomm 9008 mode (EDL), You can try flashing it through the Mi Flash Tool with a clean all tick. If the device is not defined at all, you will need a special programmer (for example, Deep Flash Cable) or contact the service.
Why does the Mi Flash Tool give you an β€œaccount not bound” error?
This error means that the Mi Account tied to the phone is not authorized to run in mode. EDL. Solution: Make sure you are logged in to the same account on your phone and in the Mi Unlock Tool. Wait 72 hours after you have linked your account (if you have recently unlocked the bootloader) Try flashing it on another PC with an authorized account (for example, in a service center).
How to return the official firmware after custom?
To get back to stock. MIUI/HyperOS: Download the official Fastboot firmware for your model. Unlock the bootloader (if it's locked). Sweat through the Mi Flash Tool with the clean all and lock option. After the reboot, reset the settings. If custom firmware has changed super or vendor partitions, manual fastboot restoration may be required.
Where to find firmware for an old Xiaomi model (e.g. Redmi 4X)?
For outdated models, official firmware can be downloaded: On the official archive MIUI (Old Devices" section. On Xiaomi Firmware Updater Archive. 4PDA or XDA Developers. for models older than 2018 (e.g. Redmi Note) 4X) Note LineageOS or Pixel Experience firmware, which is supported by the community longer than the official one. MIUI.