Xiaomi Mi 8 remains a popular device even a few years after its release, but sometimes users face the need to reinstall the operating system. The reasons can be different from a banal update to a more global version of Android, to critical software errors that cannot be corrected with a standard reset.
The process of recovering or updating via Fastboot is deeper and lower-level than a conventional installation of updates by air, allowing data to be written directly to partitions of the device memory, bypassing the standard boot system, but despite its effectiveness, this method requires strict adherence to the sequence of actions and the presence of a certain set of tools on the computer.
Before you start taking action, it is important to realize that working with system partitions carries risks. Incorrect firmware or interruption of the recording process can lead to the fact that the phone will not respond to commands. However, with a competent approach and using official tools from Xiaomi, the procedure is successful in the vast majority of cases, allowing you to completely clear the device of errors.
Workplace preparation and necessary tools
The foundation of successful firmware is the proper preparation of the software environment on your personal computer. You will need a computer running the Windows operating system, since the main toolkit from the manufacturer is optimized for this platform. Using macOS or Linux is possible, but requires additional manipulation of the command line and scripts, which increases the risk of error for the inexperienced user.
The key element is a USB cable. You should not use cheap cables that come with budget electronics or bought at gas stations. To transfer large amounts of data and stable power in Fastboot mode, you need a high-quality cable that supports USB 2.0 or 3.0. Bad contact can lead to desynchronization of data packets at the most critical time.
- ๐ฑ Smartphone Xiaomi Mi 8 battery-charged 50-60%.
- ๐ป Personal computer with Windows and Internet access.
- ๐ Original or quality certified USB-cable.
- ๐ฅ Installed program Mi Flash Tool of the latest version.
You also need to make sure that the computer drive where the firmware files are uploaded has enough free space. System image archives for the Mi 8 can take from 2 to 4 gigabytes, and after unpacking, they will need even more space for temporary files. It is advisable to conduct all operations on the system disk or disk with the NTFS file system to avoid problems with long paths to files.
Unlocking the Bootloader bootloader
Official firmware via Fastboot is impossible without an unlocked bootloader. Xiaomi has implemented this security mechanism to prevent malware installation or data theft. If you plan to install a global version on a Chinese device or custom firmware, this step is a must. Without unlocking, Mi Flash will give an error when you try to record data.
The unlocking process takes time. After you apply for the Mi Unlock Tool on your computer, you'll probably have to wait 72 hours to 7 days. This is normal security. SIM-card, otherwise the timer will reset and the wait will start again.
โ ๏ธ Attention: The process of unlocking the bootloader leads to the complete removal of all data from the internal storage of the smartphone.
Once you've been authorized to unlock, you need to put your phone in a special mode, and you turn it off, and then you're going to press the Volume Down and Power buttons at the same time, and you're going to see a picture of a hare repairing an android, which is a sign of a successful entry into Fastboot mode. You can start the unlock utility by connecting the cable to your PC.
Loading firmware and installing drivers
For the Xiaomi Mi 8 (codename dipper), you need to download the appropriate firmware archive. It is important not to confuse the model: there is a version of the Mi 8, Mi 8 Pro and Mi 8 Lite, for which firmware is incompatible. Files should be searched on official resources or verified portals, choosing a version for Fastboot (usually has the extension.tgz), and not for Recovery (extension.zip).
Once the archive is loaded, it needs to be unpacked. It is critical that the path to the firmware folder be short and free of Cyrillic characters or spaces. The ideal option is to create a folder named rom at the root of the C disk. Long paths can cause an error in the firmware scripts and the process will not start.
Where can I find the code name of the device?
ADB and Fastboot drivers are often installed automatically with Mi Flash, but sometimes manual installation is required. If Windows Device Manager does not see the connected phone in Fastboot mode (displays it as an unknown device), you will need to install drivers manually through Device Manager, indicating the path to the folder inside the drivers archive.
- ๐ Download the firmware with the.tgz extension for Fastboot.
- ๐ Unpack the archive into the root of the disk (for example, C:\rom\).
- ๐ง Make sure there are no Russian letters or spaces on the way.
- ๐พ Check for Qualcomm or Xiaomi drivers in Device Manager.
The process of firmware through the Mi Flash Tool
When all the files are ready, you can proceed to the main step: run the executable file XiaoMiFlash.exe on behalf of the administrator. In the program interface, press the Refresh button. If the drivers are installed correctly and the phone is connected in Fastboot mode, the device with the corresponding serial number will appear in the list.
Then you need to specify the path to the unpacked firmware. Press the Select button and select the folder you previously unpacked the files into. After choosing the path, click Refresh again to allow the program to read the file structure. At the bottom of the window, select the firmware mode. To completely clean, choose clean all.
โ๏ธ Check before the start of the firmware
Press the Flash button to start the process. At that point, partitions will start writing. The phone screen may not change anything, or the process log will be displayed. It is strictly forbidden to interrupt the connection or turn off the computer. The entire process takes 300 to 600 seconds, after which the phone will automatically restart.
| Firmware mode | Description of action | Data retention |
|---|---|---|
| clean all | Complete cleaning and installation of the new system | No (all removed) |
| save user data | Reinstallation of the system with file saving | Yes (risky) |
| clean all and lock | Cleaning, Installation and Re-Blocking Bootloader | No (all removed) |
Solving common mistakes
In the process, users often encounter a Miss matching image and device error, which means that you are trying to flash firmware that is not intended for this model, or you have confused the region (for example, Global to China without unlocking).
Another common problem is the Flash Error error or a certain percentage hanging over. USB-Try to switch the cable to another port, preferably. USB 2.0, located directly on the motherboard behind the system unit, bypassing the front panels or USB-Unstable power supply to the port is a common cause of failures.
โ ๏ธ Warning: If there is a bug in the firmware process, don't panic or turn off the cable immediately. Wait for the error message in the program, take a screenshot of the error code to find a solution, and then try to reconnect the device.
Sometimes antivirus software can block the work of the firmware scripts, perceiving their actions as suspicious. During the procedure, it is recommended to temporarily disable the antivirus and Windows firewall to prevent interference of third-party software in the process of writing system partitions.
๐ก
If Mi Flash can't see the device, try pressing the Volume Down button immediately after the cable is connected, even if the phone is off.
First start and set up system
Once the process is complete, the phone will go into reboot, and the first run after running through Fastboot can last much longer than usual, up to 10-15 minutes, which is normal, as the system creates new partitions, checks the integrity of files, and performs initial application optimization.
If the screen caught fire but the download stuck on the Mi or Android logo for more than 20 minutes, there may have been a failure during the recording process, in which case the procedure will most likely have to be repeated by selecting clean all mode.
When the system is fully booted, you will have to set up the standard setup procedure: language selection, Wi-Fi connection and login to your Google account, and since a full reset has been made, all your apps will be removed and will have to be re-installed from the Play Market store.
๐ก
Successful firmware via Fastboot returns the smartphone factory state, eliminating software errors, but requires care when choosing a firmware file and installation mode.