Owning a smartphone from a Chinese manufacturer often pushes users to upgrade software. Sometimes standard methods stop working, system errors appear, or the device stops turning on after a failed experiment. At such moments, the only way out is to manually reinstall the operating system, which may seem difficult to a beginner, but if you follow the algorithm of actions, it is quite safe.
There are several proven methods of restoring the functionality of Xiaomi Mi, each of which has its own characteristics. The choice of the specific method depends on the current state of the gadget: whether the screen is turned on, whether the touchscreen is responsive and whether access to the settings menu is available. We will analyze all the current options, from a simple update through the interface to deep recovery through the engineering menu.
Before you start taking action, you need to be clear about the difference between a data reset and a complete flashing. A routine reset clears user memory, leaving system files intact. Flashing replaces all the software code of the device with a fresh or stable version. This is a radical measure that often solves problems that are not amenable to other treatments.
Preparation of the device and collection of necessary tools
Quality training is 90 percent of the success of the entire operation, and ignoring this stage often leads to errors in the recording process or damage to memory sections. USB-A cable that is guaranteed to transmit data, not just charge the battery. Cheap cables from the power banks are often not suitable for this purpose.
Make sure to back up all your important data, as in most cases, the memory will be completely cleared. Sync your contacts with your Google or Mi Cloud account, save your photos to your computer or cloud storage. If you plan to save application data, use the built-in local backup feature in your phone settings.
βοΈ Checklist of preparations
You'll need to install drivers to run your computer, and without them, your PC won't see your phone in boot mode. They're usually installed automatically when you connect, but Windows 10/11 sometimes requires manual installation through Device Manager, and you'll also need to make room on the system disk to decompress your archives with your system image.
Selection of firmware type: Global, China and Recovery
Understanding the differences between software versions is critical to avoid compatibility issues: users are often confused by acronyms, leading to the installation of inappropriate software, and the main types are divided by regional and installation method.
Regional versions define the set of pre-installed services and supported frequency. Global ROM contains Google services and Russian language out of the box, while China ROM is focused on the domestic market of China and may not have the applications you need. There are also Indian and European variations that have their own optimization features.
| Type of firmware | Description | Method of installation |
|---|---|---|
| Recovery | A regular zip archive for updating | Through the selection menu |
| Fastboot | Complete system image (img) | Through the MiFlash utility |
| Recovery (EU) | Modified European version | Through the Recovery menu |
The installation method divides files into Recovery and Fastboot. The former are zip archives that can be run directly from the phone; the latter require a connection to a PC and use special software to write directly to memory. Fastboot firmware is a more reliable way to recover, since it completely rewrites all partitions, eliminating file conflicts.
Method 1: Update via Recovery Menu (without PC)
This method is suitable for cases where the phone turns on but is unstable, or you just want to upgrade to a new version of MIUI. You do not need a computer, just download the firmware file to internal memory or microSD card. The file should have the.zip extension and be called "update".
Once you download the file, go to the system version selection menu. To do this, open Settings β About your phone and click on the MIUI version several times until the additional menu appears. In the upper right corner, click on three dots and select "Select a firmware file." Find the downloaded archive and confirm the action.
β οΈ Warning: Make sure the battery is over 60% powered. interruption of the installation process due to battery discharge may result in the system not being able to boot.
The system will request confirmation to restart and start installing, and then a process that will take 5 to 15 minutes will begin, the phone may vibrate or fade several times, which is normal behavior, and do not attempt to interrupt the process or remove the battery if it is removable.
π‘
If the file is not selected, rename it to βupdate.zipβ and move it to the root folder of internal memory without putting it into other directories.
Method 2: Fastboot and MiFlash flash flashing
This is a "heavy artillery" option, and is used when the phone is not loading or you need to change region (for example, from China to Global). USB Download the archive with firmware specifically for Fastboot (extension.tgz) and unpack it to the root of the C disk so that the path is short, for example: C:\rom\.
Put your smartphone in Fastboot mode. Turn it off completely, then press the volume button and connect the cable to your PC. There's a rabbit in an orange cap fixing an android on the screen. If the phone's fixed, a device called the Android Bootloader Interface will appear in Windows Device Manager.
Launch MiFlash on behalf of the administrator. Press the "refresh" button and your device with its unique identifier should appear in the list. Choose the path to the folder with the unpacked firmware. In the lower right corner, you need to choose the cleaning mode: clean all (full cleaning) or clean all and lock (clean and lock the bootloader).
The command to check the connection in the CMD:
fastboot devicesAfter selecting the mode, press "flash." The process will take 200 to 600 seconds. The status should appear "flash success." If there is a red error, check the drivers or try another one. USB-port, preferably USB Once installed successfully, the phone will automatically restart and the first boot can last up to 10 minutes.
What if MiFlash gives you an error? Most often, the problem is the long path to the firmware files. Move the folder to the root of the disk (for example, C).
Unlocking the bootloader: why and how
To install global firmware on the Chinese version of the phone or custom builds, you need to unlock the bootloader. Without this procedure, official tools will give an authorization error, the process requires an application through the Mi Unlock Status application and waits from 7 to 168 hours.
Once you have permission to use your Mi Account, you need to download Mi Unlock to your computer. Sign in to the same account you have on your phone. Put it in Fastboot mode (as described above) and connect it to your PC. In the program, click Unlock. The system will warn you that all data has been deleted, which is a mandatory security measure.
β οΈ Warning: Unlocking the bootloader resets all data on the device. Pre-save photos, documents and passwords, as it will be impossible to restore them after the procedure.
There's a myth that unlocked bootloaders reduce security. It's not quite true: the risks only arise if you install questionable modifications. For the average user changing the region, it's a safe procedure. However, banking applications may require additional settings to work, because they see the system's altered state.
Possible errors and methods of their elimination
MiFlash error codes such as βMiss matching image and targetβ indicate an attempt to install firmware for another model. Always check the deviceβs code name (e.g. cepheus for Mi 9) before downloading files.
If the phone is stuck on the logo after installation (bootloop), try entering Recovery mode (press the power and volume button up) and reset Wipe Data. If that doesn't help, it may be damaged the recovery section, and you will need to flash through Fastboot with "Clean all" mode.
π‘
The main reason for errors is the discrepancy between the bootloader version and the firmware version. Always use the current versions of tools and drivers.
ADB driver problems are common. If your computer makes a connection sound but doesn't identify your device, go to Device Manager, find an unknown device, update your driver manually by specifying the Xiaomi driver folder, and sometimes disabling the digital signature check on Windows drivers helps.