Changing the Android version on Xiaomi smartphones is a challenge for both beginners and experienced users, and the reasons range from wanting fresh features to needing to bypass manufacturer restrictions. However, the upgrade process doesnβt always come down to clicking on the βUpdateβ button β especially if itβs older models like the Redmi Note 5 or Mi A2 that are no longer officially supported.
In this article, we will analyze all the current ways to change the version of Android on Xiaomi devices, including official updates via MIUI, manual firmware via Fastboot and install custom firmware like LineageOS. Particular attention will be paid to the risks of blocking the bootloader on new models (2022-2026) and the nuances of working with the Mi Flash Tool and ADB tools. If your phone is stuck on the old version or you want to try Android 14 on a stale device β read more.
1. Verify the current version of Android and compatibility
Before trying to update your firmware, make sure your device supports the target version of Android. For example, Redmi 9A (2020) will not officially get Android 13, and Xiaomi 13 Pro can already run Android 14 with MIUI 15.
To check the current version:
- Open the Settings. β The phone.
- Find the lines "Version" MIUIΒ» and βAndroid versionΒ».
- Remember or write the model code (e.g. 2201116PG for Redmi Note 11 Pro+ 5G).
Check the compatibility on official resources:
- π Download page MIUI β Here are the latest stable and beta versions for each model.
- π± Firmware Updater β a service with firmware history and download links.
- β οΈ Note: If your model is older than 2019 (such as the Mi 8 or Redmi Note 7), the official updates may have stopped.
Also note that on new devices (2022-2026), Xiaomi uses Bootloader Lock, which means that manual firmware will require:
- π Unlock the bootloader through the official tool (can take up to 720 hours of waiting!).
- π οΈ Use the Fastboot or EDL-The mode (only for experienced users).
2. Method 1: Update via settings (official method)
The easiest and safest way is to upgrade to an over-the-air (OTA) update, which is suitable if:
- β Your model is supported by the manufacturer.
- β You have enough battery power (minimum 50%).
- β There is a stable Wi-Fi connection (updates weigh 1-3 GB).
Instructions:
- Go to Settings β About the phone β System update.
- Click on "Check Updates."
- If a new version is available, download it and confirm the installation.
- Wait for the reboot (it can take 10-20 minutes).
What to do if the update does not come?
- π Try resetting your network settings (Settings) β SIM-maps and mobile networks β Resetting network settings).
- π‘ Connect to another Wi-Fi network or use mobile internet.
- β³ Wait 1-2 weeks β updates often come in waves.
π‘
If your phone is stuck checking for updates, try clearing the System Update app cache in Settings β Apps β App Management.
Limitations of the method:
- β It does not work for devices that are out of support (e.g. Redmi). 4X Mi Max 2).
- β Do not allow you to skip versions (for example, with Android 10 immediately on Android 12).
- β May contain regional restrictions (e.g. global firmware vs. Chinese firmware).
Method 2: Manual installation of firmware through Recovery
If OTA-No update, but there's an official firmware for your model, and you can install it manually through stock Recovery:
- π¦ Devices that βhangβ on the old version due to errors in Xiaomi servers.
- π Switching from beta to stable (or vice versa).
- π Changes in the firmware region (for example, from Chinese to global).
Step-by-step:
- Download the right firmware for your model from the page MIUI Downloads. Pay attention: π Device code (e.g. vili for Xiaomi Mi 11 Lite). π Region (Global, China, EEA, India, etc.). π’ Version (Stable or Beta).
update.zip
root-folder
Recovery mode
Turn off the phone β Press the power button + volume up β Wait for the MI logo to appear.Install update.zip β Confirm installation β Reboot your phone.Download the correct firmware version | Check battery power (>50%) | Make a backup of data |Rename the file to update.zip| Put the file in the root of memory
-->
Warnings:
β οΈ Warning: Incorrect firmware (e.g., for another model or region) can cause a device to fail (totally) and it is especially dangerous to install Chinese firmware on global devices, which can block Google services.
β οΈ Note: On some models (e.g, POCO F3 or Redmi K40) Stock Recovery can block downgrade firmware installations, which requires a Fastboot.
4. Method 3: Fastboot Firmware (for experienced)
The Fastboot method is used when:
- π§ You need to install firmware on the blocked bootloader (after official unlocking).
- π You need to downgrade the Android version (downgrade).
- π οΈ The device does not load into the system (soft-brick).
Tools required:
- π₯οΈ Windows computer 10/11 (For the Mi Flash Tool).
- π Cable USB Type-C (original, undamaged!).
- π¦ Firmware in.tgz or.zip format (download only from verified sources).
- π οΈ Utilities: Mi Flash Tool (official). ADB and Fastboot (for command line).
Instructions:
- Unpack the firmware in a folder without Cyrillic characters (for example, C:\Xiaomi\firmware).
- Launch the Mi Flash Tool, click Select and specify the path to the firmware folder.
- Connect your phone in Fastboot mode: Turn off your phone β Press the power button + volume down β Connect to your PC.
- In Mi Flash Tool, select firmware mode: Clean All β complete cleanup (removes all data!), Clean All and Lock β cleanup + lock bootloader (for official firmware), Save User Data β data storage (not always stable).
Click Flash and wait until it is completed (5-10 minutes).
Common mistakes and decisions:
| Mistake. | Reason. | Decision |
|---|---|---|
| Couldn't flash cust | Disparity between the firmware region | Download the firmware for your region (Global/EEA/China) |
| Anti-rollback check | Trying to downgrade the version below the permissible | Use only the permitted versions (check on Firmware Updater) |
| Device not found | Drivers are not installed or the cable is faulty | Install Xiaomi drivers, try another USB cable/port |
| Flash not done | Interrupted connection or lack of rights | Repeat the process, run the Mi Flash Tool on behalf of the administrator |
π‘
Fastboot is the only officially supported way to install software on locked Xiaomi devices, but it requires unlocking the bootloader, which can take up to 30 days to wait on new models.
5. Method 4: Install custom firmware (LineageOS, Pixel Experience)
If your device is no longer getting official updates, but the hardware is still capable of running new versions of Android, you can install custom firmware.
- π± LineageOS β pure Android without unnecessary applications.
- π± Pixel Experience β firmware with Google Pixel features.
- π± ArrowOS or HavocOS β firmware with advanced customization.
Requirements:
- π Unlocked loader (required!).
- π§ Installed custom Recovery (TWRP Or OrangeFox).
- π¦ Compatible firmware for your model (check on the XDA Developers).
Step-by-step:
- Download: π¦ Firmware (e.g. LineageOS). π§ TWRP Recovery for your model (search at twrp.me). π Open GApps (if you need Google services, choose the option) arm64 or arm depending on the processor).
TWRP
fastboot flash recovery twrp.img
fastboot boot twrp.imgTWRP
backup
Backup β Select sections β Swipe to Backup
Wipe β Advanced Wipe β Tag Dalvik, Cache, Data, System
Install β Select firmware β Swipe to Confirm Flash
Install β Select GApps β Swipe to Confirm FlashRestart to the system (the first start can take 10-15 minutes).
Risks and disadvantages:
- β Loss of warranty (if the device is under warranty).
- β Possible bugs (not working) NFC, camera, sensors).
- β Lack of official security updates.
- β Risk of hard-brick (complete failure) in case of an error.
What to do if the phone does not turn on after the firmware?
Frequent problems and their solutions
Even if you follow the instructions, you can make mistakes.
1.The device is not seen in the Mi Flash Tool
- π Check the cable and port USB (better USB 2.0 on the back of the PC).
- π₯οΈ Install drivers manually through Device Manager.
- π Restart your PC and phone, try a different connection mode (e.g., reboot your PC and phone, EDL instead of Fastboot).
2. "Anti-rollback" error
This error occurs if you are trying to install firmware older than the one on the device before. For example, you canβt install a MIUI 12 on the Redmi Note 10 Pro if you already have a MIUI 13.
Decision:
- π Find the list of allowed versions for your model on Firmware Updater.
- π§ Use only firmware that is not lower than the current version of the Anti-rollback.
3. After firmware there is no network or sensors do not work
This is a typical problem when installing the wrong firmware (e.g. global on a Chinese device or vice versa).
- π Scroll through the correct version (check the model code and region!).
- π‘ If the network is missing, install the modem firmware (firmware-update) through TWRP.
- π οΈ Sensors (gyroscope, compass) may require calibration or resetting of settings.
4.The phone got stuck on the MI logo after firmware
Reasons:
- β Incompatible firmware.
- β Interrupted installation process.
- β There is no vendor or firmware.
Decision:
- Download to Fastboot and run the full firmware through the Mi Flash Tool (select Clean All).
- If it doesn't help, try it. EDL-Mode (requires an authorized Xiaomi account).
7.How to return the official firmware after custom
If the custom firmware experiment failed or you want to return the warranty, you can roll back to stock MIUI.
Method 1: Fastboot (recommended)
- Download the full firmware (.tgz) for your model from the official website.
- Unpack it and run through the Mi Flash Tool in Clean All and Lock mode (this will block the bootloader back).
- Wait 5-10 minutes and the phone will restart with a clean MIUI.
Method 2: Recovery (if the Fastboot is not working)
- Download the backupdate.zip for your model.
- Put it in the root of memory.
- Download to stock Recovery and select Install update.zip.
It's important!
β οΈ Warning: After returning to stock firmware, all data will be deleted and the bootloader will be blocked.If you plan to install custom firmware again, do not block the bootloader (choose Clean All without Lock).