How to update Android on Xiaomi smartphone: all ways + error solving

Why You Should Update Your Firmware on Xiaomi and When You Need It

Updating the software on Xiaomi smartphones isn’t just about adding new features: Each new version of MIUI or HyperOS (for modern models) brings security patches, performance optimizations, and support for fresh apps. For example, without upgrading to Android 14, you won’t be able to install the latest versions of Google Play Services, and some banking apps will fail due to outdated encryption protocols.

But when exactly should you upgrade? First, if you notice a slowdown in your phone, frequent reboots or overheating, these are direct signs that the current firmware is not working properly. Second, if you have a notification about an available update in Settings β†’ The phone, you should not ignore it: the manufacturer has already tested the build for compatibility with your model. Finally, the update is mandatory if you plan to use new features of the Xiaomi ecosystem, such as cross-platform clipboard or improved integration with the Mi Band 8 Pro.

But there’s a downside: unstable betas can contain bugs, and on older models (like the 2019 Redmi Note 8), fresh firmware sometimes leads to reduced battery life. 4PDA or XDA Developers.

Preparing a smartphone for an update: 5 mandatory steps

Before you start an upgrade, you need to minimize the risk of failure. Even if you upgrade "over the air" (OTA), improper preparation can lead to a breeze (complete failure) of the device.

  • πŸ”‹ Charge the battery to at least 60%.When upgrading via Recovery or Fastboot, 100% is recommended, as the process can take up to 30 minutes.
  • πŸ“± Back up the data. Use the settings. β†’ Additionally. β†’ Backup and reset or third-party utilities like Titanium Backup (requires root).
  • 🌐 Connect to stable Wi-Fi. Update "over the air" weighs from 1 to 3 GB - mobile traffic may not withstand.
  • πŸ”Œ Disable all peripheral devices: headphones, memory cards, OTG-They can cause conflicts when you install them.
  • πŸ› οΈ Check the space. Internal storage should have at least 5GB β€” temporary update files take up a lot of space.
πŸ“Š How often do you update your firmware on Xiaomi?
Only when the phone starts to brake
Immediately after the release of the new version
Six months
Never update.

Pay special attention to unlocking the bootloader. If you plan to upgrade through Fastboot or install custom firmware, the bootloader must be unlocked.

fastboot oem device-info

If the answer is Device unlocked: false, you will need to officially unlock through the Mi Unlock Tool (the process takes up to 720 hours of waiting for new Xiaomi accounts).

What happens if you interrupt the update?
If the update is interrupted during the installation phase (e.g., pull out the battery or turn off the power), the smartphone may freeze on the MI logo or not turn on at all. 80% of the time, it helps to re-run the update through Recovery, but sometimes you need to flash through Fastboot with a full data reset.

Method 1: Air-to-air update (OTA) is the easiest method

The Over-The-Air method (OTA) is a standard upgrade method that doesn't require a PC connection, and it's suitable for 90% of users because it's a minimal error risk. Here's how it works:

  1. Open the Settings. β†’ The phone.
  2. Slip on System Update (or MIUI Update on older versions).
  3. Click Check Updates. If the update is available, the Download button will appear.
  4. After download, click Set and wait for the reboot.

Important: If the update doesn’t appear despite its official release for your model, try:

  • πŸ”„ Reset the update cache: go to Settings β†’ Annexes β†’ Application management β†’ Three points. β†’ Show system-based β†’ Update the system and clear the cache.
  • πŸ“‘ Change the firmware region, for example, if you have a global version (Global), but the update is only for the purpose of the update. EEA (Europe, you can manually download the package and install it through Local Update.
  • ⏳ Wait 1-2 weeks. Xiaomi often rolls out updates in waves.

β˜‘οΈ Preparation for OTA-renewal

Done: 0 / 5

Critical information: Some models (e.g. POCO F3 and Redmi K40) automatically reset settings when upgrading via OTA from MIUI 12.5 to HyperOS. Save data in advance!

Method 2: Manual installation via Recovery – if OTA does not work

If an automatic update is stuck or gives an error (e.g., Couldn't verify update), you can manually install the firmware through stock Recovery, which saves user data but requires the correct selection of the update file.

First, download the official service pack (.zip) from MIUI Downloads. Choose the version that suits your model and region (e.g. Redmi Note 11 Pro+ 5G β†’ Global β†’ Stable). Pay attention to the Android version: if your phone runs Android 12 and the downloaded package for Android 13, you will need a full Fastboot flashing.

Installation instructions:

  1. Move the downloaded.zip file to the root folder of internal memory (not to folders like Download).
  2. Rename the file to update.zip (required!).
  3. Turn off the phone and press Volume Up + Power to enter Recovery.
  4. Select the language (if you have an option), then Install update.zip to System.
  5. After you complete the process, select Reboot to System.

πŸ’‘

If Recovery does not have Install update.zip, your Recovery is modified (e.g. TWRP). In this case, select Install, specify the path to the file, and confirm the installation.

Common mistakes and their solutions:

Mistake.Reason.Decision
E: Footer is wrongA damaged update fileDownload the package again, check the checksum MD5
E: Error in /tmp/sideload/package.zipIncompatible version of the firmwareCheck the matching model and package region
Hanging on the MI logoModule conflict or incomplete installationRepeat installation or reset via Wipe data in Recovery

Method 3: Fastboot Firmware for Power Users

Fastboot is the most reliable, but it's also the most complex, and it's good if you:

  • πŸ”„ You want to downgrade the firmware version (downgrade).
  • πŸ› οΈ The phone is not switched on or got stuck in the bootloop.
  • πŸ“¦ You need to install a full firmware (for example, when switching from China). ROM Globally).

The work will require:

  • πŸ’» Computer with drivers installed ADB/Fastboot and Mi Flash Tool.
  • πŸ”Œ Cable USB Type-C (preferably original).
  • πŸ“„ Firmware file in.tgz or.zip format (download from Xiaomi Firmware Updater).

Step-by-step:

  1. Unpack the downloaded firmware archive in a folder without Cyrillic characters (for example, C:\Xiaomi\fastboot_rom).
  2. Turn off the phone and press Volume Down + Power to enter the Fastboot (a hare in a hat-eared hat will appear on the screen).
  3. Connect your phone to your PC and check for device detection by command: fastboot devices If the device isn’t displayed, install drivers manually through Device Manager.
  4. In the Mi Flash Tool, specify the path to the firmware folder, select clean all mode (full reset) or save user data (save data).
  5. Press Flash and wait until it is completed (the process will take 5-15 minutes).

πŸ’‘

The clean all mode in the Mi Flash Tool deletes all data, including photos and apps, and only use it if other methods have failed.

⚠️ Note: On models with a MediaTek processor (e.g. Redmi) 10C or POCO M5) Fastboot requires an additional tool β€” SP Flash Tool. Instructions for MediaTek are different: you need to download a scatter file and stitch in parts.

Solving errors during the update: codes and methods of correction

Even if you follow the instructions, the update can end in error, and let's look at the most common error codes and their solutions:

Error codeDescriptionHow to fix it
ERROR 7Incompatibility with the device or damaged packageDownload the firmware again, check the phone model in Settings β†’ About the phone β†’ Model
ERROR 14Not enough space on the deviceClear the cache to Settings β†’ Storage or transfer files to PC
ERROR 20Error of checking the signature of the packageTurn off signature verification in TWRP or use official Recovery
Anti-rollback check failTrying to install an old version of the firmwareUpdate to the latest version via Fastboot or contact the service center

If the error is not listed in the table, try:

  • πŸ” Look for the error code on 4PDA. Users often have a solution for a specific model.
  • πŸ“‘ Change the update server. β†’ Additionally. β†’ Select a different region (e.g. India over Global).

⚠️ Note: On some models (Xiaomi) 12T, Redmi K50) After a failed update, anti-rollback protection can work, in which case the phone will lock, and you can only unlock it through an authorized Xiaomi service center.

Update for old Xiaomi models: nuances and limitations

If your smartphone is released before 2020 (such as the Redmi Note 7, Mi 9 or POCO F1), the upgrade process has features that are:

  • πŸ“… Limited support: Xiaomi officially updates devices no longer than 3-4 years from the moment of release. A2 (2018) stopped on Android 10.
  • πŸ”„ Absence OTA. For older models, updates often only come manually through Recovery or Fastboot.
  • πŸ› οΈ If the official updates have stopped, you can install LineageOS, Pixel Experience or Havoc. OS (requires an unlocked loader).

For custom firmware installation:

  1. Unlock the bootloader through the Mi Unlock Tool.
  2. Install TWRP Recovery (see instructions in XDA for your model).
  3. Download firmware (for example, from XDA Developers) and GApps (Google services).
  4. In TWRP, run Wipe β†’ Advanced Wipe (mark Dalvik, Cache, System, Data).
  5. Install the firmware, then GApps, and restart.

Warning: Custom firmware can disrupt the camera (due to closed Xiaomi drivers), disable the Widevine L1 (no HD on Netflix), and break the NFC on some models.

FAQ: Answers to Frequent Questions About Xiaomi Update

Can I roll back the firmware to an older version?
On most Xiaomi models after 2021, the rollback is blocked by the Anti-Rollback mechanism. Trying to install the old firmware will lead to a breeze. Except for devices with an unlocked bootloader and custom Recovery, but even in this case, there may be problems with the modem module (no network).
Why does the battery quickly go down after the upgrade?
This is a typical problem in the first weeks after the update: πŸ”‹ Data re-indexing (the system optimizes files for the new version). πŸ“± Background activity of applications (after updating some applications may lose optimization). πŸ”„ Firmware bugs (especially for beta versions). Solution: perform Settings β†’ Battery β†’ Optimize, calibrate the battery (discharge to 0% and charge to 100% without interruptions) or wait for a patch (usually comes out in 1-2 weeks).
How to check if the bootloader is unlocked on my Xiaomi?
Turn off your phone and press Volume Down + Power to log in to Fastboot. Connect your device to your PC and type in the command: fastboot oem device-info If the answer has a line Device unlocked: true, the bootloader is unlocked. You can also see this by writing Unlocked at the bottom of the screen when you boot the phone.
What if there is no network after the update?
The problem is usually associated with the incorrect installation of modem files. Try: Reboot the phone. β†’ SIM-maps and mobile networks, select the operator manually. Reset network settings: Settings β†’ System system β†’ Resetting settings β†’ Reset network settings. If nothing helps, reflash your phone through Fastboot with the choice of the clean all and lock option (lock the bootloader, but restore the network).
Can I upgrade to Xiaomi without a computer?
Yes, if you're talking about OTA or Recovery, but for models that have a broken system (bootloop, no boot) or a downgrade, you don't need a PC, and you also need a computer to unlock the bootloader and install custom firmware.