How to update Xiaomi firmware manually: a safe guide for beginners and advanced

Updating the firmware on Xiaomi smartphones is a process that many users prefer to delegate to the system. But what if the automatic update is β€œhanging”, the device does not see the new version of MIUI, or you want to upgrade to custom firmware? Manual installation gives full control of the process, but requires accuracy: one wrong step can turn the phone into a β€œbrick”. In this article, we will discuss all the steps from preparation to the final reboot, and also tell you how to avoid typical errors.

It's important to understand that Xiaomi releases firmware in multiple formats β€” Recovery (for installation via stock recovery) and Fastboot (for firmware via PC), the choice depends on your model, current version of MIUI and goals. For example, for Redmi Note 12 Pro+ 2023, both methods will work, but for older devices like the Mi A1 you may need to unlock the bootloader. We'll look at both options, but we'll start with the safest one β€” upgrade via Recovery.

If you've never flashed your smartphone yourself, don't worry: it's easier than it sounds. It's about following the instructions and not missing the steps. And for power users, we've added a section with the nuances of Fastboot firmware and ADB.

1.Preparation for manual update: what to do before firmware

Before downloading the firmware, make sure your device is ready for the procedure. Failure to follow these steps can lead to data loss or system failure.

First, check the current version of MIUI. To do this, go to Settings β†’ About β†’ About β†’ MIUI version. Write it down to help you choose the right firmware file. For example, if you have MIUI 14.0.5 and want to upgrade to 14.0.7, download this version, not the latest one (like 14.0.9) to avoid conflicts.

Second, back up. Even if the update goes smoothly, some settings or data may reset. Use the built-in Backup app or third-party solutions like Swift Backup (requires root rights).

  • πŸ“± Contacts (export to) VCF-file)
  • πŸ“Έ Photos and videos (copy to PC or cloud)
  • πŸ”‘ Passwords and application data (if you use Google Smart Lock or similar)
  • πŸ“ SMS and call log (applications like SMS Backup & Restore)

Step three: charge the battery to a minimum. 60%. Better than before. 80-100%, As the process may take up to 30 You know, it's a little bit of a time, and it's a little bit of a time when you're running a firmware. USB-cable (preferably original) and PC if you plan to stitch through Fastboot.

⚠️ Note: If your device is blocked by the operator (for example, bought on credit from a mobile provider), manual firmware may lead to locking. IMEI. Check with the seller or Xiaomi support team.

πŸ“Š How often do you update your firmware on Xiaomi?
Only automatically.
Manual search for new versions
I'm installing custom firmware.
Never update.

2. Where to download the official firmware for Xiaomi

Xiaomi's official firmware is distributed across multiple sources. Never download files from third-party sites, the risk of running into viruses or fake firmware is too high.

1.The official MIUI website (new.c.mi.com) publishes stable and beta versions for all supported models to find your firmware:

  • πŸ” Type the name of the model in the search bar (for example, Redmi Note 11 Pro).+ 5G).
  • πŸ“„ Select a region (Global, Russia, EEA china).
  • πŸ“₯ Download a file with the.zip extension (for Recovery) or.tgz (for Fastboot) extension).

2. Xiaomi Community Forum (c.mi.com) This is where tester firmware and early builds are posted. Note the Stable ROM or Developer ROM section, which may contain bugs.

3. Telegram channels (e.g. MIUI Updates Tracker) are useful for tracking recent updates, but it is better to download firmware from official sources.

Type of firmwareFile extensionFor which devicesIs it necessary to unlock the loader
Recovery (OTA).zipAll models.No.
Fastboot.tgz or.zipAll models.Yes (except for some older devices)
Anti-Rollback.zipDevices with rollback protection (e.g. Mi 11)Yes.
EEA (Europe).zip/.tgzModels for the European marketNo.

If you downloaded the firmware but are not sure if it is authentic, check the hash amount (MD5 or SHA-1).

  1. Download HashMyFiles (Windows) or use the command in the terminal (macOS/Linux): md5sum name file.zip
  2. Compare the hash you get with what you see on Xiaomi’s website.

πŸ’‘

If you are flashing a device with a locked bootloader (such as the Poco X3 Pro), unlock it first through the Mi Unlock Tool.

3. Update via Recovery: The easiest way

The Recovery method is suitable for most users, as it does not require a PC connection and unlocking the bootloader. MIUI (For a radical change of version (e.g., from 14.0.3 to 14.0.5). MIUI 13 on MIUI 14) Fastboot may be required.

Instructions:

  1. Rename the firmware file to update.zip (required!) and place it in the root of internal memory (not in folders!).
  2. Open the Updater app and click on the three dots in the upper right corner β†’ Select a firmware file.
  3. Select update.zip and confirm installation. The device will reboot to Recovery and start the process.
  4. Wait until it's finished (usually 5-15 minutes). Don't press the buttons or turn off the power!

If after the reboot the system requests a password (for example, after a reset), use the previously made backup or Mi Account account associated with the device.

SHOWS official update.zip|The file is renamed and placed in the root of the memory|Data backup made.|Battery charged. >60%|The device is not connected to charging (to avoid failures)-->

⚠️ Note: On some devices (e.g. Redmi) K50) After the firmware is reset through Recovery, the firmware region may be reset, which will lead to the loss of support for certain functions (for example, for example, NFC To avoid this, only flash the version for your region.

4. Firmware through Fastboot: for power users

The Fastboot method is more complicated, but more reliable, allowing you to flash the device even if the system is not booting. A prerequisite is an unlocked bootloader. If you have never done this, first study the unlock guide for your model (for example, for the Poco F4, the process is different from the Mi 10T).

What you need:

  • πŸ–₯️ Windows computer (or macOS/Linux fixed ADB and Fastboot)
  • πŸ”Œ Original. USB-cable (do not use cheap Chinese cables!)
  • πŸ“¦ Firmware in.tgz format (unpack it into a folder)
  • πŸ”§ Mi Flash Tool (you can download from the official website)

Step-by-step:

  1. Turn off the phone. Press Volume down + Power to enter the Fastboot (there will be a hare in a hat-eared hat on the screen).
  2. Connect the device to a PC. The device should appear in Device Manager Android Bootloader Interface.
  3. Launch the Mi Flash Tool, press Select and point the path to the unpacked firmware.
  4. At the bottom, select Clean All (Full Cleaning) or Clean All and Lock (Cleaning) mode. + For most cases, the first option is suitable.
  5. Press Flash and wait for completion (10-20 minutes). The device will restart automatically.

If the Mi Flash Tool is an anti-rollback error, you're trying to flash an older version of MIUI than the one you're currently running.

  • Download the firmware of the new version (not lower than the current one).
  • Or use it. EDL-Requires an authorized Xiaomi account and a special cable).
What if the Mi Flash Tool can’t see the device?
1. Install Qualcomm drivers HS-USB QDLoader 9008 (download XDA Developers). 2. Try another one. USB-port (preferably) USB 2.0). 3. Disable the signature of drivers in Windows (to do this, enter in the command line from the admin: bcdedit) /set nointegritychecks on and restart the PC). 4. Use a different cable (preferably the original one from Xiaomi).

5. Common Mistakes and How to Avoid Them

Even if you follow the instructions, you can have problems, and here are the most common mistakes and solutions.

Mistake.Reason.Decision
Couldn't verify update packageA damaged firmware file or incorrect nameDownload the firmware, check MD5, rename to update.zip
This package is for "ingres" devices; this is a "raphael"The firmware is not suitable for your model.Download the firmware for the exact model name (check in Settings β†’ About phone)
The device hung on the Mi logoFailed firmware or version conflictEnter Recovery (Loudness Up + Power) and Re-install
Anti-rollback check failReversed to an older version of MIUIUse a newer version or use the EDL

If after firmware through Fastboot the device does not turn on, and when connected to the PC is defined as Qualcomm HS-USB QDLoader 9008, which means that the firmware was incorrect, and the phone went into emergency mode (EDL). In this case, you will need an authorized Xiaomi account to restore through the Mi Flash Tool in mode. EDL.

Another common problem is the loss of IMEI after the firmware, which happens when you don't follow the rules of Fastboot, to restore the IMEI.

  1. Download the Maui META or SN Write Tool.
  2. Enter the IMEI (indicated on the box or under the battery) in the appropriate fields.
  3. Connect your phone in Diag mode (to do this, enter in the terminal: adb shell setprop sys.usb.config diag,adb)

πŸ’‘

If you've lost sound, or your camera or sensors are not working, you've probably stitched the firmware for another device modification (e.g. Global instead of EEA). Solution: run the correct version.

6 How to return the stock firmware if something went wrong

If the device becomes unstable after manual update (for example, it overheats, discharges quickly or sends out applications), go back to the stock firmware.

Method 1: Through Recovery

  • Download the full stock firmware (not OTA!) for your model from the official website.
  • Rename it to update.zip and put it in the root of memory.
  • Log in to Recovery (Loudness up + Power) and select Install update.zip.

Method 2: Through Fastboot (full reset)

  • Download the firmware in.tgz format and unpack it.
  • In the Mi Flash Tool, select Clean All and Lock mode.
  • Sweep the device - this will return it to the factory state with the bootloader locked.

If none of the methods worked, and the phone does not even include in the Fastboot, the last option remains - firmware via EDL.

  • An authorized Xiaomi account (can be obtained from the XDA forum or official partners).
  • Special cable (EDL cable) or lintel on the motherboard.
  • Mi Flash Pro or QFil programs.

⚠️ Attention: Firmware through EDL Without authorization, it can lead to a complete locking of the device (hard brick), this method is recommended only in extreme cases and it is better to entrust it to the specialists of the service center.

7.Castom firmware: risks and opportunities

If you are not satisfied with stock MIUI, you can install custom firmware, such as LineageOS, Pixel Experience or crDroid.

  • πŸš€ Higher performance (no extra software from Xiaomi).
  • πŸ†• Fresh Android Versions (Even for Older Devices).
  • πŸ”§ Flexible settings (such as changing the kernel or gesture control).

There are, however, downsides:

  • ⚠️ Loss of official guarantee.
  • πŸ”‹ Possible battery problems (some custom firmwares are poorly optimized).
  • πŸ“± Some features (such as IR-blaster or Always-on Display) are not working).

To install custom firmware:

  1. Unlock the bootloader (instructions on the official website).
  2. Install custom recovery (TWRP or OrangeFox).
  3. Download the firmware from a trusted source (e.g. XDA Developers).
  4. Write through TWRP (do not forget to wipe the Dalvik, Cache, Data partitions).

Before installing custom firmware, check if it supports:

  • πŸ“Ά Your smartphone model (like Poco) X3 NFC POCO X3 Pro - different devices!).
  • πŸ”’ Encryption of data (some firmware requires disabling encryption in the TWRP).
  • πŸ”‹ Quick charging function (in some assemblies it works incorrectly).

FAQ: Answers to Frequent Questions

Can I upgrade to Xiaomi without a computer?
Yes, if you're using Recovery. Just download update.zip on your phone, put it in the root of the memory, and install it through the Update app. Fastboot requires a computer.
Why did root access disappear after firmware?
The firmware on Fastboot or Recovery resets root. To get it back, you need to re-install Magisk through custom recovery (TWRP) after the update. If you stitched the stock firmware with the bootloader locked, root will have to be re-installed.
How do I know if my Xiaomi bootloader is unlocked?
Turn off the phone and log in to Fastboot (Loudness Down) + Power. If you have Unlocked at the bottom of the screen or the locks are open, the bootloader is unlocked. If Locked is locked.
Can I revert to an older version of MIUI?
Technically, yes, but Xiaomi uses Anti-Rollback protection, and if you try to flash an older version, you get an error. You can only get around this through EDL, but the risk of bricking is high. You better wait for the official update.
What if the sensor does not work after the firmware?
This is a typical problem when running an incompatible version of MIUI. Solution: Strip the right firmware for your model and region. If the sensor doesn't work even in Recovery, try flashing through a Clear all Fastboot. At the very least, contact the service center - the touchscreen firmware may have been damaged.