How to completely upgrade Xiaomi phone: from OTA to manual flashing

Modern Xiaomi, Redmi and POCO smartphones require regular software updates to ensure stable operation and security. Often users are faced with a situation where a standard air update does not arrive or the installation ends in error. In such cases, a full update cycle is required, which may include a data reset and manual installation of the current version of MIUI or a new HyperOS.

The process of completely reinstalling the system requires careful preparation, as it affects the deep layers of the file system of the device. Mistakes can lead to loss of personal data or software failures. Therefore, before starting any manipulation, it is important to understand the difference between a regular update and a complete flashing, and prepare all the necessary tools and backups.

In this guide, we’ll look at everything from checking the current build version to using customized PC utilities, how to get around the limitations of regional versions and install global firmware if it has the necessary functionality. Following the instructions will extend the life of your gadget and access the latest interface features.

Device preparation and data backup

The first and most critical step is to save important information. A full update often involves formatting the internal drive, which will result in the removal of all photos, contacts and applications. Backup is not just a recommendation, but a mandatory requirement before starting work.

Mi Account and Google account holders can use cloud services to synchronize basic data, but for full cloning, it's better to use a built-in migration tool that allows you to even move your desktop icons and passwords from Wi-Fi networks to a new image.

⚠️ Warning: Before starting the procedure, make sure that the battery is at least 60%. interruption of the system file writing process due to battery discharge may result in the inability to boot the device.

You also need to make room on the internal drive, and even if you're planning a reset, the system needs a temporary space to unpack the update archives, and it's recommended that you have at least 5-10 GB of storage available.

  • πŸ“Έ Back up photos and videos to your computer or cloud storage.
  • πŸ“± Save important dialogs in messengers through their internal settings.
  • πŸ”‘ Write down passwords from important accounts if you don’t use a password manager.
  • πŸ’Ύ Check for free memory by removing unnecessary files or applications.

β˜‘οΈ Readiness for renewal

Done: 0 / 4

Automatic update via settings (OTA)

The easiest and safest method is to use the built-in OTA (Over-The-Air) mechanism, which is suitable for scheduled updates when the phone simply does not see the new version or the previous installation was incorrect. To access the update menu, go to Settings β†’ About Phone and click on the current version of MIUI.

If the update is available, the system will prompt you to download the package. In case the phone says that there are no updates, but you know that they exist, you can try clicking three dots in the corner of the screen and select "Select a firmware file." This will allow you to start the installation manually using the downloaded zip archive, but without losing data (Clean Install through this menu is usually not done, only Update).

A common problem is the region of the device. If you have a Chinese version of the smartphone, the global firmware will not stand up via OTA, which would require a change of region in settings or using more complex methods. The stability of the Wi-Fi connection also plays a key role, since the files weigh several gigabytes.

πŸ“Š What kind of shell is installed on your Xiaomi?
MIUI 13
MIUI 14
HyperOS 1.0
Chinese version of MIUI

Once the packet is loaded, the device will request a reboot for installation, the screen will go out, the Xiaomi logo and progress bar will appear, at which point you should absolutely not touch the control buttons.

Manual installation of firmware through Recovery (Clean Install)

Clean Install, through Recovery, completely cleans the system of debris, accumulated errors and remnants of remote applications. This is the most effective way to refresh a smartphone if it starts to work slowly or glitch. ROM) official website.

The downloaded file with the.zip extension must be renamed to update.zip and placed in the root of internal memory (not in the folder, but immediately in the main window of the Explorer). Next, you go to the update menu, click three dots and select the previously mentioned file selection point.

⚠️ Note: When you select the Wipe Data mode, all information from your phone will be deleted.

If the standard menu doesn't accept the file, you can try to enter Recovery mode hardware. To do this, turn off the phone and press the combination of the buttons Volume Up + Power. In the menu that appears (manage volume buttons, select power buttons), select Wipe Data, and then Wipe All Data. After reset, select Connect with MIAssistant (if the firmware is installed via a PC) or simply reboot if the file is already in memory and the system itself offers an update.

What if Recovery says "Can't verify update"?
This message means that you are trying to roll back to an older version of Android or install firmware from another region without unlocking the bootloader, in which case only a full Fastboot flash with the unlocked bootloader will help.

The installation process will take 5 to 15 minutes. Once complete, the phone will automatically restart to the clean system. The first run will take longer than usual, as the applications are optimized.

Full Fastboot Fastboot and Mi Flash

Radical problem solving or region change (e.g., from China to Global) requires the use of Fastboot mode and the Mi Flash Tool on your computer, which allows you to write all memory partitions again, including system partitions, which guarantees a complete update.

You'll need a cable. USB (Preferably original and short), Windows PC and drivers ADB/Fastboot. Download Fastboot ROM (It has the.tgz extension, and unpack the archive. The path to the folder should not contain Cyrillic or spaces. flash_all.bat complete cleaning or flash_all_except_storage.bat, save files.

fastboot devices

This command in the command line allows you to check if the computer sees the device in Fastboot mode. If the list is empty, you need to install drivers. To enter Fastboot mode on the phone turned off, press Volume Down + Power until the rabbit appears in the hat.

Type of firmwareExpansionMethod of installationData retention
Recovery ROM.zipThrough the update menuMaybe (Update)
Fastboot ROM.tgzThrough the Mi Flash ToolOnly with cleaning
Europe/Global.zip/.tgzDepends on the type.Requires unlocking.
China ROM.zip/.tgzDepends on the type.No restrictions.

*Note: Regional change (China) ↔ Globalization always requires a complete cleanup of data (Clean All), regardless of the script chosen.

Unlocking the bootloader (Bootloader)

Installing global firmware on a Chinese phone or custom recavator is impossible without unlocking Bootloader, a procedure that removes the manufacturer's restrictions on modifying the system partition, using the official Mi Unlock Tool on the PC.

The process requires you to link your Mi Account to your device through the developer settings (Settings β†’ About Phone β†’ Tapai 7 times according to MIUI β†’ Advanced Settings β†’ Developer Access β†’ Mi Unlock Status). After binding, you need to wait 7 days (168 hours).

πŸ’‘

Use the same computer and Mi Account that was used to link to unlock the bootloader. Changing your PC or account will reset your wait timer.

Once the waiting period has expired, launch Mi Unlock, log in, put your phone into Fastboot mode and press Unlock. The process will take a few seconds, but the phone will be completely cleared. The bootloader status will change to Unlocked, allowing you to flash any compatible images.

Solving Frequent Errors and Problems After Updating

Even if you follow the instructions correctly, you can have errors, and a common problem is bootloop. If your phone is stuck on the logo for more than 10 minutes, try forcefully restarting it (slamming the power for 15 seconds) If that doesn't work, you'll need to log in to Recovery and reset the data.

Another common error is β€œDowngrade anti-rollback,” which occurs when you try to install an older version of Android than the one you installed earlier, and the manufacturer blocks this for security, and you can’t get around it with standard methods, you need to find specific workarounds for a particular model, which is a complicated procedure.

⚠️ Note: If after the update it stopped working NFC or wide-angle camera, check the region in settings (Settings) β†’ Additional settings β†’ Sometimes changing a region to β€œIndia” or β€œSingapore” and back again resolves the program conflicts of the modules.

Also, users often complain about the fast battery drain in the first days after the update. This is normal: the system performs file indexing and optimization of background processes. Give the phone 2-3 days in normal use, and the situation stabilizes.

πŸ’‘

The most common cause of update errors is an unstable Internet connection or the use of modified (custom) themes and fonts that conflict with new system files.

FAQ: Frequently Asked Questions

Can I upgrade Xiaomi if I have Root rights on my phone?
Having superuser rights (Root) usually blocks the arrival of official OTA-Updates: Attempting to install may result in errors or loss of rights.It is recommended to temporarily remove Root (via Magisk -> Uninstall) or hand-stitch your phone through Fastboot with a full cleanup.
What if your phone says β€œDevice not found” in Mi Flash?
Most likely, drivers are not installed. ADB/Fastboot or used defectively USB-Try another port. USB (preferably USB 2.0 behind the system unit, another cable, and check the Windows Device Manager for unknown devices.
Will IMEI be reset by flashing?
When using official methods and stock firmware, IMEI is not reset because this partition is protected. However, if you misuse Partition Table or use custom scripts, there is a risk of losing IMEI. Always back up the EFS partition if you plan to do deep experiments.
How to get HyperOS back to MIUI?
Officially, the HyperOS to MIUI rollback is not possible due to the Anti-rollback mechanism. The only way is to unlock the bootloader and flash the older version of the Fastboot ROM through Mi Flash, if the anti-rollback version in the new firmware has not been upgraded.