Fastboot is one of the most reliable ways to bring a device back to life after software failures, update the software to the current version or install custom firmware. Unlike Recovery, this option works even on bricks (non-loadable phones), but requires an unlocked bootloader and follow the instructions accurately. A mistake at any stage can lead to a complete loss of functionality of the gadget, so it is important to understand each step.
In this article, we will discuss the process from A to Z: from driver preparation to the final reboot, and pay special attention to typical problems, for example, when the Mi Flash Tool gives an error can't receive hello packet or the phone is not detected in the mode. EDL. Youβll also learn how to check firmware compatibility with your Xiaomi model (including Redmi, POCO and Black Shark, and avoid the "eternal bootloop".
What is Fastboot and When You Need It
Fastboot is a low-level interface for interacting with the Android device bootloader. Unlike Recovery, which works at the operating system level, Fastboot allows you to manage memory partitions directly even if the main firmware is damaged.
- π Recovery of the phone after a failed upgrade or reset.
- π± Official firmware installations (including global, Chinese and development versions).
- π Unlock the bootloader (mandatory step before the firmware).
- β‘ Eliminating βbricksβ (when the phone doesnβt turn on or gets stuck on the logo).
However, there are limitations to the method, such as Fastbootβs firmware completely erases /data data, including photos, messages, and settings. Some Xiaomi models (such as the Redmi Note 10 Pro or POCO F3) require additional authorization through the Mi Account to unlock the bootloader, without which firmware will be impossible.
If your phone is loading but not running smoothly, try resetting first through Settings β About Phone β Resetting. Fastboot is a last resort only when there are serious crashes.
Preparation for firmware: what will be needed
Before you start, you can collect everything you need, and if you don't have one component, you can get a bug or a bad firmware, and here's the full list.
- π± Xiaomi smartphone with a battery charge of at least 50% (better than 100%).
- π» Computer on Windows 7/10/11 (for Mac/Linux Additional drivers will be required).
- π Original. USB-cable (cheap cables may not transmit data to Fastboot).
- π Unlocked boot loader (instruction below).
- π Firmware in.tgz or.zip format (official or customized).
- π οΈ Programs: Mi Flash Tool, ADB & Fastboot, Qualcomm drivers (for Snapdragon models).
Pay special attention to the choice of firmware. For Xiaomi, there are several types:
| Type of firmware | Description | Suitable for |
|---|---|---|
| Global Stable | Official firmware with localization and Google services. | Users outside of China. |
| China Stable | The Chinese version is not Google, but with the latest updates. | Enthusiasts who are ready to install Google manually. |
| Developer (Beta) | Test builds with new features, but bugs are possible. | Developers and testers. |
| Custom (AOSP, LineageOS) | Unofficial firmware with an alternative interface. | Advanced users. |
Download the firmware only from official sources:
- π Xiaomi official website (for global versions).
- π¨π³ Miui.com (for Chinese assemblies).
- π§ Xiaomi Firmware Updater (Firmware Archive).
β οΈ Note: Firmware from another model (e.g. Redmi Note 11 instead of Redmi Note 11 Pro) will cause the device to fail. POCO F3) In the phone settings or via the command fastboot getvar product.
Unlocking the bootloader: a mandatory step
Without unlocking the bootloader, it is impossible to flash Xiaomi through Fastboot. The process takes up to 72 hours (due to Xiaomi policy) and requires you to link the Mi Account to the device.
- Turn on the developer mode on the phone: go to Settings β About phone and 7 times click on the MIUI version.
- Back to Settings β Additionally. β For developers and activate: π Unlocking OEM. π Debugging by USB.
Download the Mi Unlock Tool and log in to it under the same Mi Account as you do on your phone.
Connect your phone to your PC in Fastboot mode (click Volume Down + Power when the device is off) and follow the program instructions.
Once successfully unlocked, the phone will reset to factory settings. All data will be deleted!
βοΈ Checking before unlocking
β οΈ Note: Some models (e.g. Redmi) K50 Xiaomi 12T) Unlocking may require waiting up to 360 hours (15 days) after the first account link.
Step-by-step instructions for firmware through Fastboot
When the bootloader is unlocked and the firmware is downloaded, we start the main process.
- Install drivers: Download ADB & Fastboot and unpack to the root of the C:\platform-tools drive. Install Qualcomm drivers (for Snapdragon) or Mediatek drivers (for MTK processors) from the manufacturer's website.
- Prepare the firmware: Unpack the downloaded.tgz archive into a folder without Cyrillic characters (for example, C:\ROM\).
- Run Mi Flash Tool: Select the folder with the unpacked firmware. At the bottom of the window, select Clean All or Clean All and Lock. + loader-lock).
Connect the phone: Transfer it to Fastboot (clip Volume Down + Power) and connect to the PC.
Start the firmware: Press Refresh in Mi Flash Tool, then Flash. The process will take 5-15 minutes.
Once complete, the phone will automatically restart. The first turn on can take up to 10 minutes - don't interrupt the process!
What to do if the Mi Flash Tool can't see your phone?
Typical errors and their solutions
Even if you follow the instructions accurately, you can get errors.
| Mistake. | Reason. | Decision |
|---|---|---|
| can't receive hello packet | Problems with drivers or cable. | Reinstall the drivers, try another cable. |
| flash not done | Incompatible firmware or blocked bootloader. | Check the firmware model and the status of the loader. |
| anti-rollback check | Trying to install an old version of MIUI. | Download a newer firmware. |
| The phone does not turn on after the firmware | The Mi Flash Tool is incorrectly selected. | Repeat the firmware with clean all mode. |
If your phone is stuck on the Xiaomi logo, try:
- Press Volume up + Power to log in to Recovery and make Wipe Data.
- Repeat the firmware with the mark clean all and lock.
- Use it. EDL-Mode (requires an authorized Mi Account).
π‘
If the Mi Flash Tool is an error 0x80070002, Try renaming the firmware folder, removing spaces and Cyrillic from the name, C:\ROM_vili instead C:\Firmware POCO F3.
Fastboot Firmware without Mi Flash Tool (alternative method)
If the Mi Flash Tool doesn't work, you can manually flash the phone through the command line, which requires knowledge of the Fastboot commands, but gives you more control over the process.
Here are the base teams:
fastboot devices # Check the connection
fastboot flash boot.img # Boot section firmware
fastboot flash system.img # System Firmware
fastboot reboot #RebootFor full firmware use script flash_all.bat (You can run it on behalf of the administrator, and it'll go automatically.
β οΈ Attention: It is easy to skip critical partitions (e.g. modem or dtbo) with manual firmware, resulting in network loss or sensors that are broken.
What to do after the firmware
After successful installation of the firmware:
- Set up your phone again: Go through the initial setup, connect to Wi-Fi, and log in to your Mi Account.
- Check the efficiency: πΆ Telephone network and mobile Internet. π Sound, microphone, speakers. π· Cameras (main and front). π Charging and battery definition.
Update: Go to Settings β About Phone β Update the system and install the current patches.
If something doesn't work (e.g., it doesn't catch the network), it's likely that the firmware was assembled for another region.Install the correct version (e.g., Global instead of China).
π‘
After you have flashed through Fastboot, always check the phone's IMEI (type *#06#). If it's gone, you'll need to recover it through an engineering menu or service center.