Why Fastboot is the Best Way to Update Your Firmware Deeply
Updating the firmware through Fastboot mode is not just an alternative to the standard OTA-It is a powerful tool for those who want to gain full control over the system of their Xiaomi. β The phone. β System update, Fastboot method allows you to install a clean version of the firmware without remnants of previous data, which is especially critical when switching between global and Chinese versions. MIUI or after system failures.
This method is suitable for all modern Xiaomi, Redmi and POCO smartphones released after 2018, including the flagship Xiaomi series 13/14, Redmi Note 12 and POCO F5. However, it is important to understand: Fastboot-firmware requires an unlocked bootloader (bootloader), otherwise you will get a device is locked error. If your phone has never been unlocked, first read the official instructions Xiaomi unlock bootloader.
In this article, we will discuss:
- π§ How to Prepare Your Phone and Computer for Fastboot Firmware
- π₯ Where to download official firmware and how to check their integrity
- π» Step-by-step instruction with commands for Windows, macOS and Linux
- β οΈ Typical errors (from critical partition flashing is not allowed to anti-rollback)>) and the way in which they are addressed
Preparation for firmware: what to do before the start
Before you go into action, make sure that all the preliminary steps are followed, and neglect of preparation is the main reason for the "bricking" of devices.
1. Verification of the model and firmware version
Each firmware is codenamed, for example, Redmi Note 11 Pro+ 5G has peux code, and Xiaomi 12T Pro has diting code.
- π± Through the Settings app β The phone. β Version. MIUI (Tap 7 times on the line "Version" MIUI", To activate the developer menu, then check in Settings β Additionally. β For developers β Model of the device).
- π On the official website of Xiaomi in the firmware section (enter the name of the model in the search).
- π οΈ Adb shell getprop ro.product.device (if you have a ADB already in tune).
Also, write down the current version of MIUI (e.g. MIUI Global 14.0.5) and Android (e.g. Android 13) to avoid problems with anti-rollback protection.
2 Unlocking the bootloader (bootloader)
Without an unlocked bootloader, firmware through Fastboot is impossible. If you have never unlocked the bootloader, follow Xiaomi's official instructions:
- Link your Mi Account to your device in Settings β Xiaomi Account.
- Apply for unlocking via Xiaomiβs website (it may take up to 72 hours to wait).
- Use the Mi Unlock Tool to complete the procedure.
Once unlocked, the phone will be reset to factory settings!
Make sure the phone model matches the firmware|Unlock bootloader (unless previously done)|Download the correct version of the firmware (Global/China/EEA)|Charge your phone at least to 60%|Prepare. USB-cable (preferably original)|Disable antivirus on PC (can block firmware files)-->
3. Installation of necessary tools
To run through Fastboot, you will need:
| Tool. | Appointment | Download link |
|---|---|---|
| Mi Flash Tool | The official utility for Xiaomi firmware | Xiaomi website |
| ADB & Fastboot | Team tools for working with Android | Android Developers |
| Xiaomi drivers | For phone recognition in Fastboot mode | Xiaomi Flash Tool |
| 7-Zip or WinRAR | For unpacking the archive with firmware | Official website |
β οΈ Note: If you are using macOS or Linux, install fastboot via the package manager (brew install android-platform-tools for Mac or sudo apt install fastboot for Ubuntu). In Windows, be sure to disable driver signatures, otherwise the Mi Flash Tool won't see the device.
Where to download the official firmware for Fastboot
Using unofficial or modified firmware can lead to loss of warranties, sensor errors and even hard-brick (complete failure of the phone).
1.The official website of Xiaomi
The most reliable way is to download the firmware from Xiaomi resources:
- π Global MIUI Downloads β for international versions (Global, EEA).
- π¨π³ Miui.com (China) β for Chinese versions (China).
On the site, select your model, then search for the Fastboot section (usually a 2-3GB archive with the.tgz or.zip extension).
Alternative sources
If the official website is not available, you can use:
- π Xiaomi Firmware Updater β a firmware aggregator with hash-sum verification.
- π₯ XDA Developers β a forum where firmware for rare models is published.
β οΈ Attention: Firmware with XDA It can be modified, check before use. MD5 or SHA-1 The hash of the archive (it is indicated on the download page). To verify, use the command: certutil -hashfile filename.zip MD5 Windows command line.
3. Choosing the Right Version of the Firmware
Version error is the main reason for bootloop after firmware.
- π Region: Global (international), China (Chinese), EEA (Europe), India (India).
- π Type of build: Stable (stable) or Developer (developer).
- π Android Version: You canβt flash Android 13 on Android 12 unless itβs supported by the manufacturer.
What is Anti-Rollback and why is it important?
Step-by-step: how to flash Xiaomi through Fastboot
Now, to the process itself, follow the instructions carefully, and skipping the steps can lead to errors.
Step 1: Transfer your phone to Fastboot mode
Turn off the phone, then:
- Press the buttons Loudness down + Power for 10-15 seconds.
- On the screen will appear a hare in a hat-eared (Fastboot logo).
- Connect your phone to your computer through USB-cable.
Make sure the drivers are installed correctly: Android Bootloader Interface should be displayed in Device Manager.
Step 2: Unpacking the firmware
Downloaded archive with firmware (for example, peux_global_images_V14.0.5.0.TKCCNXM_20231012.0000.00_13.0_global.zip) need to unpack:
- Use 7-Zip or WinRAR to extract files.
- Inside the archive will be a folder with.img files (e.g. boot.img, system.img).
- The path to the folder should not contain Cyrillic or spaces (e.g., C:\MIUI\peux\).
Step 3: Firmware with Mi Flash Tool
Run the Mi Flash Tool (on behalf of the administrator) and:
- Press Select and select the folder with unpacked firmware.
- At the bottom, select the firmware mode: π Clean all β complete cleaning (recommended when changing version) MIUI). π Clean all and lock - cleaning + Loader locking (only for experienced ones!). π Save user data β data retention is not always stable).
Refresh
Flash
1. Reconnect. USB-cable to another port (preferably) USB 2.0).
2. disable driver signatures in Windows (via Run β bcdedit /set nointegritychecks on).
3. Use the original Xiaomi cable (cheap cables often don't support data transfer to Fastboot).-->
Step 4: Alternative method β via command line
If the Mi Flash Tool doesnβt work, you can manually flash it through fastboot:
- Open the command prompt in the firmware folder (click Shift + PCM β Open the PowerShell window here).
- Run the command to check the connection: fastboot devices must display the serial number of the device.
- Start the firmware (for Windows): fastboot flash boot boot.img fastboot flash recovery recovery.img fastboot flash system system.img... Fastboot reboot For a full list of commands, see the file flash_all.bat inside.
Error "Flashing is not allowed in locked state"
This error means that the bootloader is locked.
- Unlock bootloader through Mi Unlock Tool (see Preparation section).
- Once unlocked, the phone will be reset to factory settings!
4. the phone does not turn on after firmware (bootloop)
If the phone is stuck with the MI or Redmi logo after firmware:
- π Repeat the firmware: Maybe the firmware files were damaged. Download the archive again and check. MD5.
- π§Ή Select "clean all": In the Mi Flash Tool, use the full cleanup mode.
- π± Sweat through Recovery: If Fastboot doesn't help, try installing firmware through Recovery (you need a.zip file with firmware to do this).
π‘
If the phone doesnβt turn on even after re-routing, the EFS (IMEI) partition may be damaged, which requires recovery through a service center or specialized tools like QFil or Miracle Box.
What to do after a successful firmware
Fastboot firmware is complete, the phone is turned on β what next? Follow these guidelines to avoid problems in the future.
1.Initial setting
After the firmware is cleaned, the phone will be like new.
- π Donβt miss Mi Account binding: This will be needed for future updates and unlocking the bootloader.
2. Checking of performance
Make sure all functions are working correctly:
- π Sound: Test speakers, microphone and 3.5mm connector (if available).
3. Data recovery
If you have made a backup through Mi Cloud or Google Account:
- Sign in to your Xiaomi account in Settings β Xiaomi account.
- Go to Settings β System β Backup and Reset β Restore.
- Select the last backup and wait for the recovery to be completed.
If you donβt have a backup, use programs like Dr.Fone or Tenorshare to extract data from internal memory (if the phone is recognized by the computer).
Locking the loader (optional)
If you stitched your phone through clean all and lock, the bootloader will automatically lock. If not, you want to return the factory protection:
- Transfer the phone to Fastboot (Loudness down + Power).
- Connect to the PC and execute the command: fastboot oem lock
- Confirm the action on the phone (if necessary).
β οΈ After blocking the bootloader, you will not be able to flash custom firmware or cores without re-displaying the unlock!