Xiaomi Mi A2 is one of the few smartphones of the brand released under the program Android One with pure Android instead of the proprietary shell MIUI. However, many users over time want to access Xiaomiβs branded features: advanced camera settings, themes, optimizations for iron and synchronization with the Mi Account ecosystem.
Transition to MIUI It requires a complete re-flashing of the device, as Mi A2 It does not support OTA-Update to the branded shell. In this guide, we will discuss all the steps from unlocking the bootloader to installing the current version. MIUI model-wise jasmine_sprout (codename A2). Important: The process is irreversible without returning to the stock Android One via fastboot, so prepare in advance.
Why are users switching from Android One to MIUI?
Despite the benefits of a clean Android (fast updates, no bloat), MIUI offers unique features that are not available in stock firmware:
- πΈ Advanced Camera Modes: Manual Customization ISO, scoring RAW and AI-Optimization for portraits.
- π¨ Topics and personalization: the ability to change icons, fonts, animations through the Mi Theme Store.
- π Battery Optimization: Aggressive Background Control and Power Saving Modes Not in Android One.
- π Synchronization with the Xiaomi ecosystem: integration with Mi Band, Mi Home and other devices of the brand.
- π‘οΈ Additional security features: Second Space (dual workspace), password-blocking applications.
Besides, Mi. A2 Android One often lost updates earlier than similar models on the Internet MIUI. For example, official support for Android 10 for Mi A2 It was completed in 2021, while MIUI-The versions received security patches longer.
β οΈ Attention: Transition to MIUI It also cancels Xiaomiβs warranty if it is still valid, and some banking applications (such as Sberbank Online) can block work on uncertified firmware.
Preparation for firmware: what to do before the start
The process of flashing Xiaomi Mi A2 on MIUI consists of several critical steps. skipping any of them can lead to a knock (inoperability) of the device.
Make a backup copy of the data (photos, contacts, messages)
Check the battery power (minimum 60%)
Install ADB/Fastboot drivers on PC
Download the correct version MIUI model jasmine_sprout
Get permission to unlock the bootloader (if not unlocked earlier)
Prepare. USB-cable (original or high quality)
-->
Pay special attention to the firmware version. A2 Only the assemblies marked are suitable jasmine_sprout β for example, miui_JASMINESPROUTGlobal_V12.5.3.0.RDIMIXM. Using firmware for another model (e.g. Mi) 6X, which is identical in iron) may cause problems with sensors or modules NFC.
Also check the status of the loader:
- Turn off your smartphone.
- Press Volume Down + Power to log into Fastboot Mode.
- Connect the device to the PC and type the command: fastboot oem device-info
- If the answer has a line Device unlocked: false, the bootloader is locked and requires unlocking.
β οΈ Warning: Unlocking the bootloader will reset all data on the device, including internal memory.Don't rely on backups in Mi Cloud - they won't recover on the device. MIUI post-fix.
Unlock the bootloader on Xiaomi Mi A2
Xiaomi officially lets you unlock the bootloader, but the process requires you to link your Mi Account to the device.
- Link your Mi Account to your device: Go to Settings β Accounts β Mi Account. Sign in to your account (if not, register a new one). Activate Sync and Find your device.
- Apply for unlocking: Download the Mi Unlock Tool (Xiaomi official website). Launch the program, log in to the same Mi Account as on your phone. Connect Mi A2 in Fastboot mode (see previous section). Press Unlock and wait for completion (usually takes 3-5 minutes).
Once successfully unlocked, the device will automatically reset to factory settings. Important: Xiaomi can block unlocking if the account is new (less than 72 hours after registration) or if the device was purchased less than 30 days ago.
π‘
If the Mi Unlock Tool gives you a βCouldnβt unlockβ error, try connecting your smartphone to another one. USB-port (preferably) USB 2.0) or use the original Xiaomi cable. Also check that the developer settings are enabled OEM Unlocking (although this item may not be available on blocked Xiaomi devices).
Selecting the version of MIUI Xiaomi Mi A2
For Mi. A2 (jasmine_sprout) several types of firmware available:
| Type of firmware | Features | Download link | Recommendation |
|---|---|---|---|
| MIUI Global Stable | Official stable version with full localization, updates are issued every 1-2 months. | Official website | β The best choice for most users. |
| MIUI China Stable | The Chinese version is without Google services, but with more frequent updates. | Official website | β οΈ Power users only (requires manual installation of GApps). |
| MIUI Weekly (Beta) | Weekly builds with new features, but bugs are possible. | Xiaomi.EU | β Not recommended for everyday use. |
| Brush firmware (LineageOS, Pixel Experience) | Alternative firmware based on AOSP, without MIUI. | XDA Developers | β οΈ For enthusiasts only (there may be no camera support or NFC). |
For most users, the best choice is MIUI Global Stable. Note the Android version in the file title:
- V12.5.x.x is a MIUI 12.5 based on Android 11.
- V13.x.x.x β MIUI 13 based on Android 12 (the last available for the Mi A2).
The newer versions of MIUI (14+) are not officially supported due to iron limitations.
How to check firmware compatibility with Mi A2?
Install MIUI via Fastboot: step-by-step instructions
The most reliable way to flash Mi A2 on MIUI is to use the Mi Flash Tool in Fastboot mode, which is suitable even if the device does not turn on (for example, after a failed firmware).
You'll need:
- π₯οΈ Windows computer (7/10/11).
- π Original. USB-cable (donβt use cheap cables β they can interrupt the process!).
- π Firmware MIUI in.tgz format (unpack it into a folder without Cyrillic characters).
- π οΈ The Mi Flash Tool.
Installation steps:
- Turn off your smartphone and transfer it to Fastboot Mode (clip Volume Down + Power).
- Connect the device to your PC. Make sure the drivers are installed (the Android Bootloader Interface should be displayed in Device Manager).
- Launch the Mi Flash Tool, press Select and point the path to the unpacked firmware folder.
- At the bottom of the program, select Clean All (Full Cleaning) or Clean All and Lock (Cleaning + Lock bootloader After Firmware).
- Press Flash and wait until it is completed (usually takes 5-10 minutes).
- After the success label appears, turn off the device and turn it on with the power button (the first start can take up to 15 minutes).
β οΈ Warning: If the process is interrupted during the flashing phase, do not turn off the cable! try repeating the firmware or checking the integrity of the files (possibly the archive has downloaded with errors).
π‘
Clean all and lock mode will block the bootloader after the firmware is installed, which increases security, but if you need to re-run the firmware, you will have to unlock the bootloader again.
Solving common errors in firmware
Even with the correct following of the instructions, errors can occur, and here are the most common problems and solutions:
| Mistake. | Reason. | Decision |
|---|---|---|
| Couldn't load device in Mi Flash Tool | No drivers or problems with USB-connection. | Install drivers manually through Device Manager or try another one USB-port. |
| This package is for βjasmine_sproutβ devices; this is a βwayneβ | Downloaded firmware for Mi 6X (codename wayne). | Download the firmware marked jasmine_sprout. |
| The device hung on the MI logo after firmware | Incompatible version of MIUI or interrupted process. | Repeat the firmware in clean all mode. |
| The anti-rollback error | Trying to install an older version of MIUI than the one that was previously. | Sweat a newer version or use the anti-rollback bypass (risky!). |
If Google services do not work after firmware (for example, in the Chinese version of MIUI), install them manually:
- Download the Open GApps package (select ARM64 platform, Android 11/12, pico option).
- Squeeze through TWRP (requires an unlocked bootloader).
π‘
If your IMEI is missing or your mobile network is not working, check the nvram and nvdata files in the /data folder. These can be restored from a backup or using the SN Writer Tool (requires an authorized Xiaomi account).
What to do after a successful firmware?
After the first MIUI launch on the Mi A2, follow a few important steps:
- π Update the firmware: Go to Settings β The phone. β Update the system and check for availability OTA-update.
- π Set up security: Activate Find the device and link your Mi Account (this will help in case of theft or loss).
- π± Personalize the interface: Install theme from the Mi Theme Store and customize control gestures (in the MIUI They are different from stock Android).
- π Optimize the battery: Enable Energy Saving mode and disable auto-run of unnecessary applications in Settings β Battery.
It is also recommended to check the operation of key functions:
- Camera: Launch the Camera app and check all modes (especially Portrait and Night Mode).
- NFC: If you use contactless payments, add the card to Google Pay or Mi Pay.
- Fingerprint Sensor: Re-register fingerprints in Settings β Screen lock.
β οΈ Attention: If after firmware the smartphone became stronger to warm or discharge faster, reset to factory settings through Settings β Additionally. β Recovery and reset. This is due to cache residues from Android One.