Updating Xiaomiβs smartphone via Fastboot mode is one of the most reliable ways to install a fresh version of MIUI when standard methods donβt work, a method that is suitable for recovering brick-and-brick devices, manual downgrades, or custom firmware installations, but the process requires care: wrong actions can lead to data loss or phone breakdown.
Unlike Settings β About the phone, Fastboot allows you to flash your device even when your system is damaged or bootloader is locked. But there are pitfalls here, from choosing the right version of your firmware to working with tools like MiFlash or XiaomiTool. In this article, we will analyze every step from preparation to the final restart, and also look at typical errors and how to fix them.
What is Fastboot Mode and When is It Needed?
Fastboot is a low-level interface for interacting with the smartphone bootloader. Unlike Recovery Mode, where the update is via a graphical interface, here the firmware is installed directly through the fastboot flash command, which is used in three cases:
- π Recovery after a crash: if the phone doesn't turn on or hovers on the logo MI.
- π Downgraid firmware: a return to the old version MIUI (for example, MIUI 14 on MIUI 13).
- π§ Install custom firmware: for example, LineageOS or Pixel Experience.
It is important to understand that Fastboot works with an unlocked bootloader. On new Xiaomi models (released after 2022), the bootloader is blocked by default, and it requires official permission through the Mi Unlock Tool to unlock it.
Preparation for the update: what to do before the firmware
Before you go to firmware, follow the mandatory preparatory steps, which can lead to data loss or turn the phone into a brick.
Backup data | Check model and version of MIUI| Download correct firmware |Install ADB/Fastboot | Charge phone at least 50% |Unlock bootloader (if required)
-->
First, save all the important data. Fastboot firmware usually erases internal memory (unless you use fastboot flash --skip-reboot followed by fastboot reboot recovery).
- π Mi Cloud (if the phone is still on).
- π» ADB Backup (adb backup team) -apk -obb -shared -all -f backup.ab).
- π Physical copying on PC through MTP.
The second is to determine the exact model of the phone and the current version of MIUI. This is critical, as the firmware for the Redmi Note 10 Pro (sweet) is not suitable for the Redmi Note 10 (mojito).
- In settings: Settings β About phone β MIUI version β Press 7 times on the βCoreβ.
- Through ADB: adb shell getprop ro.product.device
β οΈ Note: If you are running a device with Dynamic RAM (for example, Xiaomi 12T), Make sure the firmware version supports this feature, otherwise the phone may lose some RAM.
Where to download the official firmware for Fastboot
The official firmware for Xiaomi in Fastboot format is available on three resources:
| Source | Reference | Features |
|---|---|---|
| Official Xiaomi website | miuidownload.com | Only stable versions require registration |
| Xiaomi Firmware Updater | xiaomifirmwareupdater.com | Weekly and stable builds, archive of old versions |
| 4PDA | 4pda.to | Castomic and modified firmware, discussions |
When choosing a firmware, pay attention to:
- π Type of build: Stable (stable) or Weekly (weekly.
- π Region: Global, China, EEA (China's firmware may not support Google services.
- π’ Android Version: For example, MIUI 14 can work on Android 12 or Android 13.
The Fastboot firmware file has an extension of.tgz or.zip and weighs between 2 and 4 GB. After downloading, be sure to check the checksum (MD5), You can do this through a utility to avoid firmware errors. MD5 Checker or team:
certutil -hashfile name file.tgz MD5π‘
If you downloaded firmware from 4PDA, check the comments to the topic β there are often indicated known bugs and ways to bypass them.
Step-by-step: how to flash Xiaomi through Fastboot
Now, let's get to the process. You'll need to get the firmware in.
- π₯οΈ Windows computer 10/11 (or Linux/macOS fixed ADB/Fastboot).
- π Cable USB Type-C (preferably original).
- π¦ Unpacked firmware in a folder without Cyrillic symbols.
- π οΈ MiFlash (for Windows) or fastboot in the terminal.
Step 1: Put your phone in Fastboot mode
- Turn off the device.
- Press the Power button + Volume down for 10 seconds.
- On the screen will appear a hare in a hat-eared β this is a sign of the Fastboot mode.
Step 2. Connect your phone to your PC and check the connection
Open the command line (Win + R β cmd) and type:
fastboot devicesIf the device is identified (the serial number appears), the drivers are installed correctly. If not, install the Mi USB Driver from the official website.
Step 3. Launch the firmware
For Windows:
- Open MiFlash.
- Press Select and specify the folder with the unpacked firmware.
- Select Clean All (Full Cleaning) or Clean All and Lock (Locking bootloader).
- Press Flash and wait until it is completed (10-20 minutes).
For Linux/macOS:
sudo ./flash_all.shβ οΈ Warning: If the firmware is interrupted during sparse, don't turn off the cable! Wait 10 minutes - sometimes the process continues after a pause. If the error repeats, try another version of MiFlash (for example, MiFlash 2020 instead of 2023).
Typical Fastboot Firmware Errors and Their Solutions
Even with the correct instructions, errors can occur, and here are the most common ways to correct them:
| Mistake. | Reason. | Decision |
|---|---|---|
| fastboot: error: Failed to boot into userspace | Incompatible firmware or damaged boot.img | You can only play boot with fastboot flash boot boot.img. |
| MiFlash: cannot receive hello packet | Problems with drivers or cable | Try another one. USB-port (preferably) USB 2.0) |
| This package is for "sweet" devices; this is a "mojito" | Firmware for another model | Download the correct version for your device code |
If the phone does not turn on after firmware or hung on the logo, try:
- Go to Recovery Mode (Nutrition + Volume Up) and make Wipe Data.
- Repeat the firmware with the option Save user data in MiFlash.
- Switch only the system partition by the command fastboot flash system.img.
What if MiFlash canβt see the device?
How to check the success of the update and restore data
Once the firmware is in place, the phone should automatically restart, and it can take up to 10 minutes to turn on the first one, which is normal, to make sure that the update is successful:
- Check out the MIUI version in Settings β About the phone.
- Make sure all the features are working: camera, sensors, mobile network.
- Launch Google Play (if Global firmware) and update the apps.
If the data has been erased, it can be restored:
- π± From Mi Cloud (if backup was enabled).
- πΎ Local copy (if done) ADB Backup).
- π Using programs like Dr.Fone or EaseUS MobiSaver (for undeleted files only).
β οΈ Note: If you have lost your firmware after IMEI (No network, do not try to restore it through the engineering menu (#4636##.Use the official method: contact the Xiaomi service center with a check about the purchase - they will restore it. IMEI database.
Alternative ways to upgrade Xiaomi
If Fastboot seems complicated, consider alternative methods:
- π OTA-Update: Settings β The phone. β Upgrade system. The safest way, but it requires a working system.
- π¦ Recovery Mode: Firmware via.zip file in TWRP Or drain recovery. It's suitable for custom firmware installation.
- π₯οΈ XiaomiTool: Semi-automatic utility for unlocking and firmware (supports most models).
Comparison of methods:
| Method | Difficulty | Unlocking required | Data retained |
|---|---|---|---|
| Fastboot | ββββ | Yes. | No (usually) |
| OTA | β | No. | Yes. |
| Recovery (TWRP) | βββ | Yes. | Yeah (unless you wipe) |
π‘
Fastboot is the only way to flash a phone with a damaged system, but it requires the most preparation. For a regular update, you'd better use OTA or Recovery.