Fastboot flashing is one of the most reliable ways to upgrade or restore a Xiaomi smartphone when standard methods donβt work, and itβs a good way to install official and custom firmware, restore after crashes, or even accelerate performance. However, the process requires care: a bug at any stage can turn a phone into a brick. In this article, weβll look at all the steps from unlocking the bootloader to final firmware installation, and also show you how to avoid typical problems.
It's important to understand that flashing through Fastboot is different from updating through Recovery, where you're working directly with system partitions on the device, which gives you more control, but also increases risks.+ This can cause a camera module to fail or sensor problems, so check file compatibility before you start and follow the instructions without improvisation.
What is Fastboot and why is it needed?
Fastboot is a low-level tool for interacting with the Android device bootloader. Unlike Recovery Mode, where firmware is installed via a graphical interface, Fastboot allows you to send commands directly through your computer.
- π± The smartphone does not turn on or hovers on the Mi logo;
- π You need to roll back the firmware to an older version;
- π It is required to unlock the bootloader before installing custom software;
- π οΈ You need to restore damaged system files.
The key advantage of Fastboot is that it can flash a device even when it has damaged Recovery or when the screen doesn't respond to touch, but it also has disadvantages: for example, it requires a computer with drivers installed to work. ADB/Fastboot, The process takes longer than air renewal (OTA).
Xiaomi blocks the bootloader on all modern devices (starting with the Mi 5 and later), which means that before you run through Fastboot, you will have to officially unlock it through your Mi Account account. Without this step, the device will simply not accept the new firmware.
Preparation for firmware: what to do before the start
Before you play Xiaomi through Fastboot, follow the mandatory preparatory steps, which can lead to data loss, device locking, or even physical damage to the hardware.
Make a backup copy of data (photos, contacts, messages)|Check the device model and firmware version|Install drivers ADB/Fastboot PC-only|Download the official firmware for your model|Charge your phone at least to 60%|Get permission to unlock the loader (if required)-->
1. Data backup. Fastboot firmware almost always results in a complete device reset. Use Mi Cloud, Google Drive, or local copying to your PC to save:
- πΈ Photo and video (folder) DCIM);
- π Contacts and call log;
- π¬ Communications (SMS/MMS) chatrooms;
- π΅ Music and downloads.
2. Check the firmware model and version. Install the wrong firmware and risk getting a broken module. NFC You can find out the exact model:
- In settings: Settings β The phone. β Model;
- On the device box or under the battery (for older models);
- Quickboot Getvar Product (after connecting to a PC)
Installation of drivers and tools. The computer must have:
- π₯οΈ Drivers. ADB/Fastboot (Download from the Xiaomi website or through SDK Platform Tools by Google);
- π§ Mi Flash Tool (for official firmware) or Fastboot Enhance (for customized software);
- π Firmware in.tgz or.zip format (only for your model!).
β οΈ Warning: If you use a laptop, connect it to the network. interruption of the process due to a discharged PC battery can make the phone unusable for recovery.
Unlocking the Xiaomi bootloader: step-by-step instructions
Without an unlocked bootloader, firmware through Fastboot is impossible. Xiaomi requires official confirmation of this action through a tied Mi Account.The process takes up to 72 hours (sometimes longer), so start in advance.
Step 1. Link your Mi Account to your phone.
- Go to Settings. β Mi Account and log in;
- Enable data synchronization;
- Activate the Device Search option (in the security settings).
Step 2. Request permission to unlock.
- Download the official utility Mi Unlock Tool;
- Launch it on behalf of the administrator;
- Sign in under the same account as on your phone;
- Connect your phone in Fastboot mode (clip Volume Down + Power);
- Press Unlock and wait. SMS or notification of successful unblocking.
| Xiaomi model | Waiting time to unlock | Features |
|---|---|---|
| Redmi Note 10/11 | 72-168 hours | Requires confirmation by SMS |
| POCO X3/X4 | 24-72 hours | Re-linking of the account may be required |
| Mi 11/12 | 360 hours | Frequent refusals at the first request |
| Redmi 9A/9C | momentarily | Unlock without waiting (outdated models) |
Step 3: Check bootloader status. Once unlocked, restart your phone and make sure that the Fastboot says Unlocked. If not, repeat the process or reach out to Xiaomi for support.
β οΈ Warning: Unlocking the bootloader resets all data on the device, including files in internal memory.Don't rely on backups made after unlocking - they may be corrupted.
π‘
If the Mi Unlock Tool gives you a "Couldn't unlock" error, try using a different version of the utility (e.g. 5.5.224.24 instead of the last one).
Download and choose the right firmware
Mistakes in firmware selection are the most common reason Xiaomi has βbrickedβ; even if the models look similar (like the Redmi Note 10 and Redmi Note 10 Pro), their firmware is incompatible.
1. Official firmware. download files only from verified sources:
- π Xiaomi official website (select Global, China or China region) EEA);
- π₯ Xiaomi Firmware Updater (archive of all versions);
- π€ Forum XDA Developers (for custom builds).
Fastboot is suitable for files with the extension.tgz or.zip, but their content is different:
- Fastboot ROM β Full system image installed via Mi Flash Tool;
- Recovery ROM β Not suitable for Fastboot (Recovery Mode only);
- Anti-Rollback firmware with rollback protection on older versions (for example, for Mi 9 and newer).
Compatibility check: The name of the firmware file must include:
- The code name of the model (for example, surya for the model) POCO X3);
- Android version (for example, 12 or 13)
- Region (e.g. global or cn)
An example of the correct firmware name for Redmi Note 10 Pro: sweet_global_images_V12.5.3.0.RKFMIXM_20210707.0000.00_11.0_global_1234567890.tgz
What is Anti-Rollback and why is it important?
Fastboot Firmware Process: A Step-by-Step Guide
Now, to the most critical phase, the firmware installation, where it's important to follow the instructions without missing the keys, we'll look at two ways: through the Mi Flash Tool (for official firmware) and through the manual Fastboot commands (for power users).
Method 1: Mi Flash Tool (recommended for beginners)
- Unpack the downloaded firmware (.tgz) in a folder without Cyrillic characters;
- Open the Mi Flash Tool on behalf of the administrator.
- Connect the phone in Fastboot mode (the screen should show the hare in the hat-eared);
- In the utility, click Select and specify the path to the folder with the firmware;
- Select firmware method: Clean all β clean (recommended); Clean all and lock β clean + bootloader lock; Save user data - data storage (risky).
Flash
Method 2: Fastboot manual commands (for advanced ones).
If the Mi Flash Tool doesnβt work or you need flexibility, use manual commands:
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 --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot rebootFrequent errors and their solution:
- π« device not found β check the drivers and cable USB;
- π Flash Not Done β Try another port USB or disable the antivirus;
- π Anti-rollback check fail β only flash the new version (see spoiler above).
β οΈ Warning: If the process is stuck in the waiting for device stage, do not turn off the cable! Wait 10-15 minutes - sometimes the utility is looking for the device for a long time due to driver conflicts.
π‘
Always use the original cable. USB Cheap cables may not transmit data in Fastboot mode, which will lead to firmware errors.
What to do after the firmware: the first setup and verification
After successful firmware, the phone will restart and you'll have to set up the initial setup.
1. First run. It can take up to 10 minutes -- don't interrupt. If the screen is long on the Mi logo, reset via Recovery. + Nutrition β Wipe Data).
2. Functional check. Make sure that:
- πΆ Mobile network and Wi-Fi;
- π· Main and front cameras;
- π Speakers and microphone;
- π Charging (connect the charger).
3. Update to the latest version. If you have stitched the old firmware, update via Settings β Update the system, which will fix any bugs and improve compatibility.
4. Data recovery. Don't rush to restore backups right away! First, make sure the system is stable. Especially when it comes to copies of applications, they may contain viruses or conflict with new firmware.
π‘
If it's gone after the firmware. IMEI (No network, try to restore it through the engineering menu: dial ##4636## β Phone information β Choose. SIM β Update the data.
Problem Solving: Phone is not turned on or errors have occurred
Even with the right instructions, there are sometimes failures, so let's look at the typical scenarios and how to fix them.
1. the phone is not turned on (black screen).
- π Check the battery charge (plug in to charge for 30 minutes);
- π Try going to Fastboot (Loudness Down). + Nutrition);
- π οΈ If it doesn't respond, it may be a damaged bootloader. EDL Mode (for experienced users only!).
2 This package is for "surya" devices; this is a.
So you're trying to run firmware from another model, check the code name of your device through the command:
fastboot getvar product3. Hanging on the Mi logo.
- π Perform a reset via Recovery;
- π₯ Refuse the device with the option Clean all;
- π§ If it doesnβt work, go through boot and dtbo sections separately:
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot reboot4. Loss of network (IMEI).
If you're missing IMEI, try:
- Restore a backup copy of the nvram partition (if you did a backup);
- Use tools like Maui META or SN Write Tool (requires a developer account);
- Contact the service center (if you do not have experience with the EDL).
| Symptoms. | Possible cause | Decision |
|---|---|---|
| The phone vibrates, but does not turn on | Boot section damaged | Sweep boot.img separately |
| Hanging on to Mi Logo | The conflict of vbmeta versions | Disable verification (--disable-verity) |
| No sound after firmware. | The vendor section is damaged. | Sweep the original vendor.img |
| Remote: Partition table doesn't exist | Incompatible firmware | Download the correct version for your model |