Xiaomi Mi 6A is a budget smartphone of 2017, which is still popular due to its reliability and the ability to install custom firmware. However, over time, official support from the manufacturer ends, and users face the need for manual flashing. In this article, we will analyze all the current ways to update the software on the Mi 6A, from official methods to installing informal builds.
You can reflash the device for a variety of reasons: performance improvements, installing a fresh version of Android, fixing bugs, or even returning to factory status. But it's important to understand that doing the wrong thing can turn a smartphone into a brick. So before you start, learn all the nuances and prepare the necessary tools.
Preparation for firmware: what to do before the start
Before you start flashing the Xiaomi Mi 6A, follow a few mandatory steps.This minimizes risks and simplifies the process.
First, back up all the data. The firmware erases the internal memory, so photos, contacts, and apps will be lost. Use Mi Cloud, Google Drive, or local copy on your PC.
- ๐ฑ Contact (export to) VCF-file)
- ๐ธ Photos and videos (copy to computer)
- ๐ Passwords and notes (save in a secure place)
- ๐ฎ Save games (if you use cloud services such as Google Play Games)
Second, check the model of the device. The Mi 6A has several modifications, and the firmware should be your version. You can find out the model in Settings โ About the phone โ Model or by the inscription on the box. Pay attention to the code name - cactus (global version) or ugglite (Chinese).
Third, charge the battery to at least 60 percent, and interruption due to battery discharge is almost guaranteed to cause the device to fail.
- ๐ฅ๏ธ Windows computer 7/10/11 (for the Fastboot method)
- ๐ Original. USB-cables (cheap cables can cause errors)
- ๐ ๏ธ Drivers. ADB/Fastboot (install Android SDK Platform-Tools)
- ๐ Firmware file (official or custom)
Official Firmware Methods: MIUI Updater and Recovery
If your goal is to upgrade the Mi 6A to the latest official MIUI without risking losing your warranty, use the built-in tools. This is the safest method, but it has limitations: only stable builds approved by Xiaomi are available.
Method 1: Update with MIUI Updater
This method is suitable for installing incremental updates (small patches) or full firmware if they are already available for your model.
- Open Settings โ About the phone โ System update.
- Click Check Updates and wait for the search to be completed.
- If you find an update, download it (Wi-Fi is recommended).
- After download, click Set and confirm the reboot.
Method 2: Installation through Recovery
If Updater is not available or you downloaded the full firmware package (.zip) from the official website, use Restore Mode. Importantly, this method requires an unlocked bootloader (we will discuss this below).
- Download the firmware for the Mi 6A from en.miui.com (select the version for cactus or ugglite).
- Rename the file to update.zip and move it to the root of internal memory.
- Turn off the phone, then press Volume Up + Power to enter Recovery.
- Select Install update.zip to System and confirm installation.
๐ก
If you update your phone with Recovery and it's stuck on the MI logo, reset your Wipe Data in the same Recovery menu, which will delete all user data, but will restore the functionality.
Unlocking the bootloader: a mandatory step for custom firmware
By default, the Xiaomi Mi 6A has a locked bootloader, which protects the device from unauthorized changes. However, to install custom firmware (such as LineageOS or Pixel Experience) or manually update via Fastboot, you will need to unlock it.
Attention! Unlock the loader:
- ๐ Resets all data on the device (full wipe).
- ๐ซ Cancellation of the warranty (if it is still valid).
- ๐ Requires binding of the Mi Account (be sure to remember the login and password!).
The unlocking process includes several stages:
- Activation of Developer Mode: Go to Settings โ About the phone and 7 times click on the version MIUI. Then in Settings โ Additionally. โ For developers, turn on OEM-unlocking and debugging USB.
- Mi Account Link: In the same Developer Menu, find Mi Unlock Status and link your account. Wait 72โ168 hours (Xiaomi can delay this period).
- Using Mi Unlock Tool: Download the utility from the official website, log in to your account and connect your phone in Fastboot mode (Loudness down). + Food. Follow the instructions of the program.
What if the Mi Unlock Tool gives you a "Couldn't unlock" error?
Once the bootloader is unlocked, the phone will automatically reset to factory settings. Don't be afraid, that's okay. Now you can install any firmware through Fastboot or custom Recovery (like TWRP).
Firmware through Fastboot: step-by-step instructions
The Fastboot method is the most reliable way to flash the Xiaomi Mi 6A, especially if the device is not turned on or requires a complete system reinstallation.
Instructions:
- Download the firmware for cactus/ugglite from the official website (for example, Xiaomi Firmware Updater) or custom build (for example, LineageOS).
- Unpack the archive in a folder with platform-tools (where fastboot.exe and adb.exe are located).
- Turn off your phone and press Volume Down + Power to enter Fastboot mode (a bunny with the words Fastboot will appear on the screen).
- Connect the device to the PC and check the communication command: fastboot devices If the device is displayed, you can continue.
- Run the firmware script: fastboot flash all or (for custom firmware): fastboot flash boot.img fastboot flash system.img fastboot flash recovery recovery.img
- Upon completion, type in fastboot reboot
Download the official / custom firmware package|Drivers installed ADB/Fastboot|The phone is charged at least to 60%|Data backup created|Loader unlocked (if required)-->
If, after you have been firmwareed through Fastboot, the phone is stuck on the logo or rebooted into the loop, do a full reset:
โ ๏ธ Type in command line: fastboot erase userdata fastboot erase cache fastboot reboot This will delete all user data, but often solves download problems.
Install custom firmware: LineageOS, Pixel Experience and others
If the official versions of MIUI donโt suit you, you can install custom firmware based on Android (for example, LineageOS, Pixel Experience or HavocOS).
- ๐ A more recent version of Android (like Android 12 instead of Android) MIUI 10).
- ๐ Absence of unnecessary Xiaomi apps and advertising.
- ๐ง Advanced settings for experienced users.
There are, however, downsides:
- ๐ Possible battery or stability problems.
- ๐ฑ Certain functions (e.g, IR-Ports or cameras may not work properly.
- ๐ No official support (updates coming from community).
Instructions for installing custom firmware:
- Unlock the bootloader (as described above).
- Install custom Recovery (TWRP). To do this, download the image twrp-3.7.0-cactus.img and run it through Fastboot: fastboot flash recovery twrp-3.7.0-cactus.img
- Boot in TWRP (Loudness Up + Power) and make a full backup (optional).
- Run Wipe โ Advanced Wipe and mark Dalvik, Cache, System, Data.
- Install the firmware (Install) โ Choose. ZIP-file and, if necessary, GApps (Google services).
- Reboot. The first launch can take 10 to 15 minutes.
๐ก
Custom firmware requires regular updates. Keep an eye out for new releases on the XDA Developers or 4PDA forums to avoid security vulnerabilities.
Solving common errors in firmware
Even with strict adherence to instructions, errors can occur, and let's look at the most common problems and ways to solve them.
| Mistake. | Reason. | Decision |
|---|---|---|
| Fastboot: error: cannot load '...' | A firmware file or wrong path is damaged. | Check the integrity of the archive (unpack again) and make sure the files are in the folder with fastboot.exe. |
| Phone is not defined in fastboot devices | There are no drivers or problems with USB-port. | Install Google USB Driver and try a different cable/port. |
| This package is for "cactus" devices; this is a "ugglite". | Inconsistency of the firmware model and device. | Download the firmware for the correct model (cactus โ global, ugglite โ Chinese). |
| Cyclical reboot (bootloop) | Incompatible firmware or incomplete wipe. | Log in to Recovery and run Wipe Data, then reflash the device. |
| Anti-rollback check error | An attempt to roll back an older version of MIUI. | Update to the last official firmware, then try again. |
If the Xiaomi Mi 6A does not turn on after the firmware is installed (black screen, no button response), try:
โ ๏ธ 1.Squeeze power. + Volume up for 20โ30 seconds (forced reboot). 2. Connect to charging for 1-2 hours (possibly the battery has died). 3. Try flashing through the Fastboot again using another firmware version. 4. If nothing helps, contact the service center - perhaps the partition is damaged. EFS modem.
How to return the official firmware MIUI after custom
If experiments with custom firmware did not meet expectations or problems with stability, you can return the official MIUI.
- Download the latest stable firmware for the Mi 6A from en.miui.com (select Fastboot version).
- Unpack the archive and launch the script flash_all.bat (For Windows, or use Fastboot manually: fastboot flash all
- If the device does not boot, pre-unlock the bootloader (if it was blocked after installing custom firmware).
Important: After returning to MIUI, you may need to re-assign your Mi Account if you previously untied it, and some features (such as Find Device) may not work properly until you re-authorize.