Fastboot is one of the most reliable ways to install official or custom software when standard methods are not available through Recovery, which requires unlocking the bootloader but gives you complete control over the process, allowing you to restore the brick, update the MIUI version or upgrade to global firmware. But mistakes are not allowed: the wrong command or interrupted process can turn the device into a useless βbrickβ.
Unlike the firmware through Recovery, where it is enough to choose ZIP-Fastboot runs at the low-level command level through a computer, which means you'll need the Mi Flash Tool, drivers. ADB/Fastboot, And the correct firmware version for your model, and in this article, we'll go through the whole process from unlocking the bootloader to the final restart, focusing on the typical bugs and how to fix them.
What is Fastboot and When to Use It
Fastboot mode is a protocol for communicating with an Android device loader via USB, which allows you to send commands directly to the bootloader without passing the operating system. In the context of Xiaomi, this mode is used to:
- π Installation of official firmware (for example, when switching from Chinese) CN Global version MIUI).
- π οΈ Restore the device after a failure (the βbrickβ) when the system is not booted.
- π Unlock the bootloader (a mandatory step before any firmware via Fastboot).
- π± Custom firmware installations (such as LineageOS or Pixel Experience).
Unlike Recovery, Fastboot installs firmware by byte through commands, not as an archive, which makes the process more flexible, but also more risky. For example, if you interrupt the firmware through Recovery, the device probably won't boot, but will remain functional for a second try. In Fastboot, an interrupt can damage the bootloader, and then you will need specialized hardware to restore.
β οΈ Warning: Fastboot erases all data on your device, including photos, contacts and apps, even if you are flashing the same version. MIUI, Backup via Mi Cloud or manually.
Preparation for firmware: what will be needed
Before you start the process, make sure you have everything you need.
- π± Xiaomi smartphone with a battery charge of at least 60% (better than 100%).
- π» Computer running Windows 7/10/11 (for Mac/Linux Additional drivers will be required).
- π Original. USB-cable (cheap cables can cause data transmission errors).
- π Firmware in.tgz or.zip format for your model (download only from the official Xiaomi website).
- π οΈ Used by Mi Flash Tool, ADB/Fastboot drivers, Mi Unlock Tool (to unlock the bootloader).
Pay special attention to the choice of firmware. For example, for the Redmi Note 10 Pro (sweet) global stable version will have a type name sweet_global_images_V13.0.6.0.SKFMIXM_20230310.0000.00_12.0_global.zip. Donβt confuse the regions: the firmware for CN (China is not suitable for the Global or EEA (Europe).
| Component | Where to download | Notes |
|---|---|---|
| Mi Flash Tool | Official website | 2023 version or newer |
| ADB/Fastboot drivers | Android Studio | Or through Minimal ADB and Fastboot |
| Mi Unlock Tool | Unlocking page | Requires a Mi Account with a linked phone number |
| Firmware for your model | Xiaomi Firmware Updater | Check out the Android version (like 12 or 13) |
β οΈ Warning: If you are flashing a device with Android 10 or newer, make sure the firmware supports your anti-rollback version.Installing the old version on a new device can lock the bootloader permanently.
Make sure that the smartphone model supports unlocking the bootloader |
Download firmware from an official source (not from torrents!)|
Check the compatibility of the Android version (anti-rollback) |
Install ADB/Fastboot drivers on PC|
Charge your phone to at least 60%-->
Step 1: Unlocking the Xiaomi bootloader
Without an unlocked bootloader, you can't flash the device through Fastboot. Xiaomi blocks this process by default to protect against unauthorized access.
- Link your Mi Account to your device in Settings β Mi β Mi Cloud account.
- Enable Developer Options: Go to Settings β About Phone and click on MIUI Version 7 times.
- In Developer Options, activate OEM Unlock and USB Debugging.
- Connect your phone to your PC, launch the Mi Unlock Tool and follow the instructions.
The unlocking process can take anywhere from 72 to 360 hours (depending on Xiaomi policy). Once you submit your request, you will receive a wait time notification. Upon expiration, connect your phone in Fastboot mode (press Power + Volume Down) and complete the unlock.
Important: Unlocking the bootloader resets the device to factory settings. All data will be deleted!
What if the Mi Unlock Tool canβt see the device?
Step 2: Install drivers and connect the device
Without the right drivers, your computer wonβt be able to βseeβ your Xiaomi in Fastboot mode.
- Download and install Minimal ADB and Fastboot or Platform Tools from Android Studio.
- Connect your phone to your PC in Fastboot mode (press Power + Volume down when the device is off).
- Open Command Prompt in the ADB folder and type: fastboot devices If the device is displayed (e.g., 1234abcd fastboot) β the drivers are installed correctly.
If the fastboot device command does not show your device:
- π Try another one. USB-port (preferably) USB 2.0 on the back of the PC).
- π Reinstall drivers manually through Device Manager (select Android Bootloader Interface).
- π οΈ Disable the driver signature in Windows (to do this, type in the command line on behalf of the administrator: bcdedit /set nointegritychecks on
π‘
If the Mi Flash Tool is 0x8007001f, try running the program in Windows 7 compatibility mode and on behalf of the administrator.
Step 3: Firmware with Mi Flash Tool
When the bootloader is unlocked and the drivers are installed, you can start the firmware.
- Unpack the downloaded firmware (for example, sweet_global_images_V13.0.6.0.SKFMIXM_20230310.0000.00_12.0_global.tgz) a folder without Cyrillic symbols on the way.
- Launch the Mi Flash Tool, press Select and point the path to the unpacked firmware folder.
- Connect your phone in Fastboot mode and press Refresh β the device must be determined.
- Select the firmware method: Clean all β complete cleaning (recommended for changing the firmware region); Clean all and lock β cleaning + locking the bootloader (only for official firmware!); Save user data β data storage (not always working correctly).
Flash
Critical error: If an anti-rollback check fail message appears during the firmware process, DO NOT TRY to continue! This means you are trying to install the firmware with an older anti-rollback version than the current one. The only solution is to find firmware with a compatible or newer version.
π‘
Always check the anti-rollback version in the firmware name (e.g. anti4 or anti5). Installing an older version can permanently lock the device.
Typical 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: cannot load 'image_name' | A damaged firmware file or wrong path | Download the firmware, unpack it into a folder with a Latin name. |
| This package is for "sweet" devices; this is a "". | The firmware is not suitable for your model. | Check the code name of the device (such as sweet for Redmi Note 10 Pro) |
| Device is locked. Cannot flash images | The bootloader is not unlocked | Repeat the unlocking process with the Mi Unlock Tool |
| anti-rollback check fail | The firmware is older than the current version of the anti | Find firmware with the same or newer version of anti |
If the device after firmware does not turn on or hung on the MI logo:
- π Try re-swipe the device with the choice of Clean all.
- π± Go to Fastboot and execute the command: fastboot erase userdata then restart the device.
- π οΈ If nothing helps, the boot section may be damaged. Try flashing it separately: fastboot flash boot boot.img
Firmware custom ROM through Fastboot
If you are installing custom firmware (like LineageOS or ArrowOS) rather than the official MIUI, the process will be different:
- Unlock the bootloader (as described above).
- Install custom Recovery (e.g. TWRP) via Fastboot: fastboot flash recovery twrp.img fastboot boot twrp.img
- In TWRP, reset (Wipe β Format Data), then install ZIP with firmware.
Important: Custom firmware often requires additional steps, such as installing GApps (Google services) or kernels. Always read the instructions for a particular firmware on the XDA Developers forum.
β οΈ Attention: Installation of custom firmware can lead to loss of warranty, as well as problems with the operation of the module NFC, Check user reviews of your model before installing it.