Xiaomiβs smartphone firmware is a process that can bring a device back to life and turn it into a βbrickβ if you approach it without preparation. Unlike standard βover the airβ updates, manual firmware gives you access to custom builds, new features and even the ability to βreanimateβ locked devices. But here it is important to understand that each Xiaomi model has its own nuances, and an error in the stage of unlocking the bootloader or choosing the wrong firmware can cost the gadget its performance.
This article will not just list the steps, it will explain why you should do it this way, not the other way. We will break down the official and informal methods of firmware, discuss the risks (and how to minimize them), and also give checklists to check at each stage. If you have never encountered Fastboot, TWRP or ADB, donβt worry: the instructions are adapted for beginners, but also contain βadvancedβ life hacks for power users. And yes, there will be no template warnings here, only specific tips based on the mistakes of real users.
Preparation for firmware: what to do before the start
The first rule of successful firmware is not to start unless you're prepared for the consequences. Even official firmware through the Mi Flash Tool can lead to data loss if you don't follow the sequence of actions.
- π± Identify a model of the device. The firmware for the Redmi Note 10 Pro is not suitable for POCO X3 Pro, even if they look similar. You can find out the exact model in Settings β The phone. β Model or by the inscription on the box.
- π Charge the phone at least 60%. Fastboot firmware can take up to 20 minutes, and if the battery runs out in the process, the device may stop turning on.
- πΎ Backup. Use Mi Cloud, Google Drive, or local save via ADB Backup is especially important to keep contacts, SMS application data.
- π Check firmware compatibility. on Xiaomi Firmware website or forums 4PDA Check if your model supports the selected version. MIUI (for example, MIUI 14 is not suitable for older smartphones on Snapdragon 600).
Pay special attention to unlocking the bootloader. Without this step, installing custom firmware or even official through Fastboot will not be possible. Xiaomi requires an account to be linked to the device and waiting (sometimes up to 720 hours!) before unlocking. More on this in the next section.
Unlocking the bootloader: how to get around the limitations of Xiaomi
Xiaomi is known for its security policy, which includes locking the bootloader on all modern devices, which means that even installing the official firmware through Fastboot will require unlocking.
- Make sure that the phone uses the same Xiaomi account as the Mi Account site, without which the system will not allow you to send a request to unlock.
- Activate Developer Mode. Go to Settings β About Phone and 7 times click on MIUI Version. Then to Settings β Additional β For developers, turn on USB Debugging and OEM Unlock.
- Download Mi Unlock Tool, log in and connect your phone in Fastboot mode (Plug Power + Volume Down) and show the remaining latency (168 to 720 hours for new accounts).
Important: If you previously unlocked the bootloader, but then installed the official firmware through the OTA, the lock may return, in which case you will have to repeat the process again. Also note that unlocking resets all data on the device!
What if the Mi Unlock Tool canβt see the device?
Selection of firmware: official vs custom
Decide which firmware to install, half the battle. Official builds from Xiaomi are stable, but often contain unnecessary software and restrictions. Custom (for example, LineageOS, Pixel Experience) offer pure Android, but may lose features like IR-Or always-on display. Let's look at the pros and cons:
| Type of firmware | Advantages | Deficiencies | Who's right for? |
|---|---|---|---|
| Official (Fastboot/Recovery) | Stability, support OTA-Updates, all functions are working | Lots of Bloatware, MIUI restrictions, possible regional locks | For beginners who want to upgrade without risks |
| Castomium (TWRP) | Clean Android, regular updates, advanced settings | Camera, NFC or sensors may not work, there is no official support | Experienced users ready for bugs |
| Port from another device | Unique features (e.g. Xiaomi 13 MIUI on Redmi K50) | High risk "brick", unstable work, no guarantees | Enthusiasts ready for experimentation |
Where do I download firmware?
- πΉ Official: Miui Download (select the version for your model and region!).
- πΉ Castomy: XDA Developers or Telegram channels (e.g. Xiaomi Firmware Updater).
- πΉ Firmware Tools: Mi Flash Tool (for Fastboot), TWRP (for recovery).
π‘
Before downloading the firmware, check its hash (MD5 or SHA-1) on the source site, which will help avoid installing a corrupted file that can "brick" the device.
Firmware through Fastboot: step-by-step instructions
Fastboot is the most reliable method for installing official firmware, especially if the device does not turn on or is stuck on the logo.
- π₯οΈ Windows computer (for Mi Flash Tool).
- π Original. USB-cable (poor cables may interrupt the connection).
- π¦ Firmware in.tgz or.zip format (unpack it into a folder without Cyrillic characters!).
Steps:
- Install the Mi Flash Tool and drivers for Fastboot.
- Turn off the phone and press Power + Volume down to enter Fastboot mode (a hare in a hat-eared should appear).
- Connect your phone to your PC. In the Mi Flash Tool, press Select and point the path to the unpacked firmware.
- Select firmware mode: Clean all - complete cleaning (recommended when changing the version of MIUI); Clean all and lock - cleaning + lock the bootloader (only if you are sure that the firmware is stable!); Save user data - saving data (risky, can lead to errors).
Flash
Make sure the firmware model matches the phone model|Disable antivirus on PC|Charge your phone at least 60%|Download the firmware from an official source|Check that the cable and port USB properly-->
β οΈ If the Mi Flash Tool gives you an error called "Can't receive hello packet", try changing the device. USB-port USB 2.0 or use another cable, a mistake often associated with an unstable connection.
Firmware through Recovery (TWRP): for custom assemblies
If you chose custom firmware (like LineageOS or HavocOS), youβll need TWRP Recovery, an alternative recovery menu, which itself requires an unlocked bootloader and some command-line knowledge.
First, download the TWRP for your model from an official website or trusted sources (e.g., 4PDA).The file will be in.img format.
- Move the downloaded TWRP and firmware (e.g. lineage-20.0-20231010.zip) to the phone's memory.
- Turn on USB debugging and connect your phone to your PC.
- Open the command line (cmd) and type in: adb reboot bootloader fastboot flash recovery twrp-3.7.0_12-0-redminote10pro.img Fastboot Reboot Recovery (replace the file name with yours).
- In the TWRP menu, make a backup of the current firmware (Backup β Select Partitions β Swipe to Backup).
- Press Install, select a firmware file and confirm installation (Swipe to Confirm Flash).
- After completion, run Wipe β Format Data (required for custom firmware!) and restart.
β οΈ Note: If the phone is loaded after firmware, but does not see SIM-The map or the network is down, most likely, the firmware is installed for another region. For example, Global is not suitable for the Chinese version (China.
How to return the official firmware after custom
If experiments with custom assemblies did not meet expectations or there were problems with compatibility, you can return to the official MIUI.
- Download Fastboot firmware for your model (choose Stable, not Developer, if you want stable work).
- Unpack the archive and launch the Mi Flash Tool.
- Log in to Fastboot (Power + Volume Down buttons) and connect your phone to your PC.
- In the Mi Flash Tool, select Clean All mode (this will delete all data, including TWRP!).
- Press Flash and wait until it's done. The phone will reboot with the official firmware.
Once you return to MIUI, the bootloader will automatically lock, and if you plan to install custom firmware again, you will have to repeat the unlocking process.
π‘
If some features are lost after returning to the official firmware (for example, Google Pay does not work), reset to factory settings in the Settings menu β Additional β Restore and reset. This will help resolve conflicts with the previous firmware.