Changing the firmware on Xiaomi smartphones is a process that can radically change the way a device works, from eliminating bugs to adding new features. However, not all users understand that firmware is official and customized, and their installation requires different approaches. Official updates from MIUI are distributed through OTA, but what if you want to upgrade to Global ROM from the Chinese version or install LineageOS for pure Android?
In this article, we will discuss all the current ways to change firmware to Xiaomi, including unlocking the bootloader, choosing the right version of software and step-by-step instructions for beginners. Special attention will be paid to the risks of loss of warranty and methods of minimizing them - information that is often hidden in surface guides. If you have never done firmware, start with official methods - they are safer and do not require deep technical knowledge.
1. Preparation for a firmware change: what you need to know
Before you start your firmware, identify the current MIUI and device model. This is critical: the firmware for the Redmi Note 10 Pro will not work for the POCO X3 Pro, even if they look similar. Check the version in the Settings menu β About Phone β MIUI version. Write down the full model name (for example, M2101K6G for the Redmi Note 10 5G).
Also consider:
- π The battery should be at least 60% charged, and if the process is interrupted due to a discharge, the device can turn into a brick".
- π± Backup is mandatory. The firmware erases user files in the section /data.
- π Unlocking the bootloader will reset all data on the device β it is an integral part of the process for custom firmware.
- π Selecting a firmware region is important: Global ROM Optimized for Europe, China ROM It contains Chinese services, and EEA ROM conforms to European standards.
β οΈ Note: Installing custom firmware (e.g. Pixel Experience or ArrowOS) voids Xiaomi warranty. Official updates via Mi Flash Tool warranty are not removed, but require a device-bound Mi Account.
2. Official ways to update MIUI
The safest method is to upgrade through Xiaomiβs built-in tools, which is suitable for upgrading to the new version of MIUI without loss of data and risks.
- OTA-Update (over the air): Automatic updates that come to the Settings menu β The phone. β System updates: Suitable for minor updates (e.g., with MIUI 14.0.3 at 14.0.4).
- Manual installation via Recovery: downloading the full firmware package (.zip) from MIUI Downloads and installing it via stock recovery. This method is needed for major updates (for example, from MIUI 13 to MIUI 14).
Instructions for manual installation via Recovery:
- Download the firmware for your model (for example, miui_BLOCKOTAGlobal_V14.0.3.0.TKUMIXM_210b123456_12.0.zip).
- Rename the file to update.zip and place it in the root directory of internal memory.
- Reboot the device in recovery: turn off the smartphone, then press Power + Volume up.
- In the recovery menu, select Install update.zip and confirm the installation.
βοΈ Preparations for formal renewal
If the device is stuck on the MI logo after the upgrade, wait 10-15 minutes. 90% of the time, the system completes the setup in the background. If the freeze lasts more than 30 minutes, try hard reset via recovery (Wipe Data option).
3. Unlocking the bootloader: a step towards custom firmware
To install unofficial firmware (LineageOS, Pixel Experience, HavocOS) you need to unlock the bootloader. Xiaomi officially allows this, but the process requires waiting and binding Mi Account.
Unlocking algorithm:
- Link your Mi Account to your device: Settings β Xiaomi Account β Sync.
- Activate debugging via USB: Settings β About Phone β MIUI version (click 7 times), then Additional β For Developers β Debugging via USB.
- Download Mi Unlock Tool and log in to the program.
- Connect your phone in Fastboot mode (clip Power + Volume down when the device is off).
- In Mi Unlock Tool, press Unlock and wait until it is completed (usually takes 72β168 hours to wait).
β οΈ Note: Once the bootloader is unlocked, the smartphone will perform a full reset (wipe), all data, including photos and apps, will be deleted, and some features (for example, Mi Pay or Widevine) will be deleted. L1 for Netflix HD) They may stop working.
If the Mi Unlock Tool is running a "Couldn't unlock" error, check:
- π Mi Account is linked to the device and confirmed by SMS/email.
- π± The device has not been unlocked before (limit: 1 unlock in 30 days per account).
- π₯οΈ Drivers are installed on the PC ADB/Fastboot (You can download it through Android Studio).
4. Installation of custom firmware: a step-by-step guide
Custom firmware gives you access to pure Android, additional features and updates for legacy devices.
- π± LineageOS - stable firmware with minimalist interface.
- π¨ Pixel Experience β ported Android from Google Pixel.
- β‘ ArrowOS β Balance between productivity and customization.
- π§ HavocOS β Maximum interface setting.
Installation process:
- Unlock the bootloader (see the previous section).
- Download firmware from the site XDA Developers (e.g., developers, lineage-20.0-20231010-nightly-redmi_note_10_pro-sweet.zip).
- Install custom recovery TWRP: fastboot flash recovery twrp-3.7.0_12-0-redmi_note_10_pro.img fastboot boot twrp-3.7.0_12-0-redmi_note_10_pro.img
- In TWRP, run Wipe β Advanced Wipe (mark Dalvik, Cache, Data, System).
- Install the firmware through Install β Choose. ZIP-file.
- After installation, go to Gapps (if you need Google services) and Magisk (for root rights).
| Firmware | Requirements | Pluses | Cons |
|---|---|---|---|
| LineageOS | Unlocked bootloader, TWRP | Stability, long updates | Minimum customization |
| Pixel Experience | Unlocked bootloader, Gapps | The interface is like Google Pixel | Sometimes camera bugs |
| MIUI EU | Unlocked loader | MIUI without Chinese services | No official support |
| HavocOS | Unlocked bootloader, TWRP | Maximum adjustment | Can brake on weak devices |
π‘
Before installing custom firmware, check reviews on the XDA or 4PDA forum. Some builds may not support NFC, wireless charging, or the camera in full functionality.
5 Risks and How to Avoid Them
Firmware change is a process that is fraught with errors, and let's look at the main risks and ways to prevent them:
- π "Brick: device not switching on. Cause: wrong firmware, interrupted process, errors in TWRP. β οΈ Warning: If the screen is black after firmware and the indicator is on, try to pinch the power supply. + Volume up for 20 seconds. If that doesn't work, you'll need firmware through Fastboot from PC.
- π Loss of loss IMEI: This is done when you run a modified modem. QCN-file (backup required).
- π΅ Network problems: if after firmware does not catch mobile Internet, check the settings APN Or re-follow the vendor section.
- π Fast battery discharge: typical of non-optimized custom firmware.Solution: calibrate the battery (discharge to 0%, charge to 100% without interruption).
To minimize the risks:
- π Use firmware only for your model (check the device code, for example, vili for Xiaomi Mi 11 Lite).
What to do if the firmware ended with an error "Error 7"
6.Recovery after failed firmware
If the device doesnβt turn on or gets stuck in the bootloop (cyclic reboot), use one of the recovery methods:
Method 1: Fastboot firmware
- Download the official firmware for Fastboot from the Xiaomi website (file.tgz).
- Open the archive and start the script: fastboot flash all bat-file-name.sh (Use it for Windows flash_all.bat).
- Wait until the process is completed (the process will take 5-10 minutes).
Method 2: Recovery through EDL (for "bricks")
If the device is not defined in Fastboot, you will need EDL (Emergency Download Mode) mode.
- Download the Mi Flash Tool and the firmware for EDL.
- Connect the phone to the PC by holding Volume up + Volume down (on some models you need to close the test points on the board).
- In the Mi Flash Tool, select Clean All and start the firmware.
β οΈ Attention: Regime EDL If you do not have a license, contact the service center - self-attempts can lead to the complete loss of the device.
Frequently asked questions
Can I return the official firmware after the custom?
Why does Google Pay not work after the firmware?
How to check if the bootloader is unlocked?
What Xiaomi models can not be stitched with custom firmware?
Will the unlock counter be dropped after returning to the official firmware?
π‘
Before any firmware check the compatibility of files with your model of the device. Mistake in choosing firmware is the main reason for the "bricking" of Xiaomi smartphones.