Fastboot is a special boot mode on Xiaomi smartphones that allows you to interact with the device at a low level through a computer. It is used to unlock the bootloader, install custom firmware, recover from failures and even "resuscitate" completely broken devices. However, working in this mode requires caution: one error can turn your Redmi into a real-life machine, POCO or Mi in the brick".
In this article, we will analyze all the stages of working with Fastboot on Xiaomi devices β from preparing and entering mode to unlocking the bootloader, firmware through MiFlash and solving typical errors. You will learn what tools you need, how to avoid common problems and what to do if something goes wrong. 13/14, Redmi Note 12, POCO F5 and others) in view of recent changes in Xiaomiβs policy on unlocking the bootloader.
What is Fastboot and Why You Need It on Xiaomi
Fastboot (from English "fast boot") is a protocol for interaction with the bootloader of an Android device that allows you to perform low-level operations through the use of a computer. USB-Unlike Recovery mode, which has basic recovery features, Fastboot gives you full control over the memory partitions, bootloader and kernel.
On Xiaomi smartphones, this mode is used to:
- π Unlocking the bootloader (mandatory step before installing custom firmware or root rights).
- π₯ Firmware official software via MiFlash (for example, when recovering from a crash).
- π οΈ Installations of custom Recovery (TWRP, OrangeFox and firmware (LineageOS, Pixel Experience).
- π Reset protection (for example, after a failed update or reset to factory settings).
- π¨ Restore "bricks" (devices that are not included or hung on the logo).
It is important to understand that Xiaomi blocks the bootloader on all devices by default, which means that without official unlocking, you will not be able to use Fastboot to firmware alternative software. The unlocking process requires an account binding Mi and waiting (usually 7-15 days), but more about this in the next section.
β οΈ Note: All operations in Fastboot reset data on the device. If you do not back up, important files (photos, contacts, messages) will be lost without the ability to restore data.
Preparation for work: what you need for Fastboot on Xiaomi
Before you get to the bottom of the game, make sure you have everything you need. Here's the full checklist:
βοΈ Preparation for work with Fastboot
Letβs look at each item in more detail:
1. Drivers. Without the right drivers, the computer won't recognize the device in Fastboot mode.
- π MiPhone Driver (official driver from Xiaomi, downloaded from the support site).
- π₯οΈ Qualcomm HS-USB QDLoader 9008 (needed for Qualcomm processor devices if the device is not defined).
- π§ Universal ADB Driver (alternative if the official drivers do not work).
2 Tools ADB And Fastboot. These are console utilities that allow you to send commands to the device:
- π¦ As part of Android SDK Platform-Tools (Official Source from Google).
- π§ Through XDA Developers (simplified builds, such as Minimal) ADB and Fastboot).
3. Firmware. If you plan to flash the device, download the official software from the Xiaomi website (Download section). β Choose a model β Fastboot ROM). Pay attention to the version:
- π Stable - stable firmware (recommended for most users).
- π§ͺ Developer - Test version (may contain bugs, but supports unlocking the bootloader).
4. Mi Unlock utility. To unlock the bootloader, you will need the official software from Xiaomi - Mi Unlock Tool. Download only from the official website to avoid viruses.
β οΈ Note: On devices with MediaTek processors (e.g. Redmi) 9A, POCO C31) Unlocking the bootloader via the Mi Unlock Tool may not work, in which case alternative methods will be required (for example, through the use of the Unlock Tool). SP Flash Tool).
| Tool. | Appointment | Download link |
|---|---|---|
| Mi Unlock Tool | Official unlocking of the loader | en.miui.com/unlock |
| MiFlash | Firmware official software in Fastboot | Xiaomi Downloads |
| ADB & Fastboot | Managing the device through the command line | Android SDK |
| TWRP (informal) | Castomic recavers for installing firmware | twrp.me |
How to Sign In to Fastboot on Xiaomi: 3 Ways to Work
There are several ways to get Xiaomiβs smartphone into Fastboot mode. Choose the one that suits your situation:
Method 1: Through a button combination (if the device is turned off).
- Turn off your smartphone (press the power button and select Turn off).
- Press and hold the power button. + Reduce volume for 5-10 seconds.
- Release the buttons when a hare in a hat-eared hat appears on the screen (Fastboot logo).
Method 2: Through ADB (if the device is on).
- Connect your smartphone to your PC and enable debugging USB (Settings β The phone. β Version. MIUI (press 7 times) β Additionally. β For developers β Debugging by USB).
- Open the command line in the folder with ADB Enter adb reboot bootloader
- The device will automatically reboot to Fastboot.
Method 3: Through Mi Recovery (if the device is stuck on the logo).
- Enter Recovery (click Power + Volume Increase).
- Choose Reboot. β Fastboot (navigation is carried out by volume buttons, the choice is by the power button).
If the device does not respond to buttons or is not detected by the computer, check:
- π Battery charge (must be at least 30%, otherwise the device may be switched off during operation).
- π Cable USB (Use an original or certified cable with data transmission support).
- π₯οΈ Port port USB on your computer (try the port) USB 2.0 if USB 3.0 is not working).
π‘
If the device is not identified in Fastboot, try reinstalling drivers manually through Windows Device Manager. Open Device Manager, find the device with an exclamation mark (usually under "Other Devices"), right-click β Update the driver β Search for drivers on this computer β Specify the folder with unpacked MiPhone drivers.
Unlock the bootloader on Xiaomi via Fastboot
Unlocking the bootloader is a must before any firmware modification. Xiaomi has made this process more difficult in recent years, so follow the instructions carefully.
Step 1: Linking your Mi Account.
- π± On your smartphone, enter Settings β Xiaomi account and log in.
- π Go to Settings. β Additionally. β For developers β Mi Unlock status and link your account to your device.
- β³ Wait 7-15 days (depending on model and region) without waiting, unlocking will not be possible!
Step 2: Prepare the Mi Unlock Tool.
- π₯ Download and install Mi Unlock Tool from the official website.
- π₯οΈ Launch the utility on behalf of the administrator (right click) β Launch on behalf of the administrator).
- π Log in to the same Mi Account that is linked to the device.
Step 3: Unlock.
- Transfer the device to Fastboot (by any of the methods described above).
- Connect your smartphone to your PC.
- In Mi Unlock Tool, press Unlock and confirm the action.
- Wait until the process is completed (usually takes 1-3 minutes).
Once successfully unlocked, the device will automatically reset to factory settings. Now you can flash custom firmware or install it. TWRP.
β οΈ Note: On some models (e.g. Xiaomi) 12T, Redmi Note 11 Pro+) When you unlock it, you may have a security alert every time you boot it, which is normal and doesn't affect the device.
π‘
Unlocking the bootloader resets all the data on the device. Backup is mandatory!
Xiaomi firmware via Fastboot: step-by-step instructions
Fastboot is the most reliable way to bring a device back to life or install official software, and we'll look at two methods: MiFlash and manually fastboot commands.
Method 1: Firmware via MiFlash (recommended for beginners).
- π₯ Download the firmware in.tgz format for your model from the official website.
- π Unpack the archive in a folder without Cyrillic characters (for example, C:\Xiaomi\ROM).
- π₯οΈ Install and run MiFlash (you can download here).
- π Connect the device in Fastboot mode.
- π In MiFlash, click Select and specify the folder with the unpacked firmware.
- π Select firmware mode: clean all - complete cleaning (recommended in case of failures). clean all and lock - cleaning + - lock the bootloader (if you need to return the official status), save user data - saving user data (does not always work correctly).
Flash
Method 2: Manual firmware through Fastboot commands (for experienced ones).
This method requires knowledge of commands and is suitable for installing separate partitions (e.g., only boot.img or recovery.img).
- Open the command line in the folder with unpacked firmware.
- Check the connection of the device: fastboot devices (serial number should be displayed).
- Sweep through all sections in turn (example for Redmi Note) 10 Pro): fastboot flash boot boot.img fastboot flash recovery recovery.img fastboot flash system system.img fastboot flash vendor vendor.img fastboot flash dtbo dtbo.img fastboot flash vbmeta vbmeta.img fastboot reboot
If the firmware is interrupted or the device is not booting, try repeating the process with the clean all option in MiFlash.
What to do if MiFlash gives you a βflash not doneβ error
Typical Fastboot Errors and How to Fix Them
Fastboot is often a bit of a bug, especially for beginners, and we've collected some of the most common problems and solutions.
| Mistake. | Reason. | Decision |
|---|---|---|
| waiting for device | Device not defined | Check the cable and port USB. Reinstall the drivers. Try another computer. |
| remote: device is locked | bootloader locked | Unlock the bootloader through the Mi Unlock Tool (see section above). |
| FAILED (remote: 'Partition not found') | The firmware is incompatible with the device | Download the correct version of the firmware for your model. |
| MiFlash: flash not done | Section entry error | Try a different mode (clean all). Use a different version of MiFlash. |
| The device does not turn on after firmware | Incorrect firmware or interrupted process | Repeat the firmware with the clean all option or manually stitch through fastboot. |
Additional advice:
- π If the device is stuck on the Mi logo, try to go to Fastboot and flash only the boot: fastboot flash boot section. boot.img fastboot reboot
- π If the device is not charging in Fastboot mode, plug it into charging for 10-15 minutes, then try again.
- π‘ If the Mi Unlock Tool is giving you a "Couldn't unlock" error, check: Is the account linked to the device? Is it 7 days since the link? Is the device connected to the Internet (via the device) SIM or wifi).
π‘
If the device does not run through MiFlash after unlocking the bootloader, try temporarily disabling antivirus protection. Some programs (for example, Avast or Kaspersky) block access to firmware files.
How to Get Out of Fastboot on Xiaomi
If you have completed all operations or accidentally got into Fastboot, you can get out of this mode in several ways:
Method 1: Standard Reboot.
- Press and hold the power button for 10-15 seconds.
- The device must be restarted as normal.
Method 2: Through Fastboot commands.
- Connect the device to the PC.
- Open the command line and type in: fastboot reboot
Method 3: If the device does not respond.
- Turn off the USB cable.
- Remove the battery (if possible, for example, on older Redmi models). 4X).
- Wait 1-2 minutes and turn the device back on.
If the device does not boot after leaving Fastboot (it freezes on the logo or restarts in a loop), this is a sign of a failed firmware.
- Get back on Fastboot.
- Sweep through the official firmware through MiFlash with the clean all option.