Xiaomi Mi A2 Lite firmware: official and custom methods

Xiaomi Mi A2 Lite

daisy

Android One

In this article, we will look at all the current ways to run the Mi A2 Lite firmware in 2026, from official updates via OTA to custom firmware installation via TWRP and Fastboot. We will focus on unlocking the bootloader, a key step without which most methods simply won’t work, and you will find a firmware compatibility table, checklists to prepare and solve typical errors.

If you're a beginner, don't be intimidated by terms like ADB, Fastboot, or bootloop, we'll explain it in plain language. Power users can immediately navigate to the desired section through the table of contents. The rule is that Fastboot erases all data on the device, so back up in advance.

1. Firmware Preparation: What You Need to Know Before You Start

Before you start firmware, make sure you understand the risks and consequences. Mistakes can lead to:

  • πŸ”΄ Loss of warranty (if still valid) Unlocking the bootloader will officially void Xiaomi warranty obligations.
  • πŸ”΄ Data loss: Fastboot firmware or factory reset removes everything from internal memory, including photos, contacts and apps.
  • πŸ”΄ Brick of the device (turning into a brick) This happens if you interrupt the firmware process or use incompatible firmware.

To minimize the risks, follow these rules:

  1. Check the device model in Settings β†’ About Phone β†’ Model. It should be M1805D1SG (global version) or M1805D1SI (Indian). Firmware for other modifications (for example, Redmi 6 Pro) will not work!
  2. Charge the phone at least 60 percent. If you discharge during firmware, there's a high risk of failure.
  3. Download the official Xiaomi drivers and ADB/Fastboot tools (links in the next section).
  4. Back up via Mi Cloud or manually (copy files on PC).

⚠️ Attention: If your Mi is yours A2 Lite is purchased from a carrier (e.g. MTS or Beeline) and may have a locked bootloader at the operator level, in which case unlocking through the standard Mi Unlock tool will not work – additional manipulation will be required.

πŸ“Š You have already been using Xiaomi smartphones?
Yes, many times.
Yeah, but long ago.
No, it's my first time.
I tried it, but it turned out a brick.

2 Unlock the bootloader on Xiaomi Mi A2 Lite

The bootloader on all Xiaomi smartphones is locked by default, a security measure that prevents unofficial software from being installed. To flash a device through Fastboot or install TWRP, it must be unlocked.

The official way is through the Mi Unlock Tool, which takes up to 720 hours (30 days) due to Xiaomi's policy, but there are workarounds to speed up.

  1. Activate debugging on USB: Go to Settings. β†’ About the phone and 7 times click on the build number to activate the developer mode. β†’ Additionally. β†’ For developers and include: πŸ”§ Debugging by USB πŸ”§ Unlocking OEM (point!)
  2. Link your Mi Account: In the same Developer Menu, find Mi Unlock Status and link your Xiaomi account to your device. Connect your phone to your PC and confirm debugging permission.
  3. Download Mi Unlock Tool: Official utility: https://en.miui.com/unlock/ (select the latest version). Install it on your PC and run it on behalf of the administrator.

Start unlocking.

  • Log in to your Mi Account, connect your phone in Fastboot mode (click Volume Down + Power when the device is off).
  • Press Unlock and wait until it's finished. If you get a message saying you need to wait, try again after a specified time.

The standard wait time is 168 hours (7 days), but some users report a reduction of the time to 72 hours after repeated attempts. If you need to unlock the bootloader urgently, there are informal methods (for example, through EDL), but they require deep knowledge and are risky.

Linked to Mi Account device | USB |On debugging |OEM |On unlock Downloaded latest version of Mi Unlock Tool| Phone charged more than 60%-->

3.Firmware methods Xiaomi Mi A2 Lite

Depending on your goals, you can choose from three basic firmware methods, each with its pros and cons:

MethodWhat's the point?PlusesCons
Officially OTA-updateUpgrade to the latest version of Android without losing dataβœ… Simplicityβœ… No risk to the device❌ Not always available.❌ Slow updates
Firmware through FastbootInstallation of official firmware (for example, in case of system failure)βœ… Stabilityβœ… Suitable for recovery❌ Requires unlocking the loader❌ Erase data
Installation via TWRPBrush firmware (LineageOS, Pixel Experience) or modificationsβœ… Flexibilityβœ… Backup capability❌ Hard for beginners.❌ Risk of error

We'll go into each method in detail next. If you want to just upgrade your phone to the latest official version, start with OTA. Fastboot is good for recovery from a crash or installing a clean Android. If you want to try Android 13 or LineageOS 20, you'll have to master TWRP.

4. Firmware through Fastboot: step-by-step instructions

This method is suitable for installing official firmware from Xiaomi (for example, if the phone is stuck on the logo or you need a rollback to the factory version).

  • πŸ–₯️ Windows computer 10/11 Linux.
  • πŸ”Œ Cable USB Type-C (preferably original).
  • πŸ“¦ Firmware in.tgz format for your model (you can download it on the official website).
  • πŸ› οΈ Tools ADB and Fastboot (download: Android) SDK Platform-Tools).

Instructions:

  1. Unpack the firmware: Download the archive.tgz unpack in a folder (for example, C:\MiA2Lite_fastboot). There's gotta be a file inside. flash_all.bat (for Windows or flash_all.sh (Linux).
  2. Turn the phone into Fastboot mode: Turn off the device. Press Volume down + Power and hold until the Fastboot logo appears (a robot labeled FASTBOOT).
  3. Connect to your PC and start the firmware: Open the command line (Win) + R β†’ cmd) and go to the firmware folder: cd C:\MiA2Lite_fastboot Run the firmware script: flash_all.bat (for Linux: chmod +x flash_all.sh, later./flash_all.sh)

Wait for completion

  • It takes 5-10 minutes, and the phone will reboot several times.
  • When completed, you will see a success message in the command line.

⚠️ Attention: If the script flash_all.bat Remote: partition table doesn't exist, which means that the firmware is incompatible with your version of the bootloader. Solution: download a newer or older firmware version (check the build number in Settings). β†’ The phone).

πŸ’‘

If the phone has been stuck on the Xiaomi logo for more than 10 minutes after firmware, try pinching Volume Up + Power for 15 seconds for a forced reboot.

5. Install custom firmware through TWRP

If you want to install LineageOS, Pixel Experience or some other custom firmware, you'll need TWRP Recovery, an alternative recovery menu, which is more complex than Fastboot, but it's more powerful.

Here's what we need to do:

  1. Install. TWRP: Download the latest version TWRP For daisy (e.g., here: twrp.me). Transfer your phone to Fastboot and connect to your PC. Open the command line in the folder with the platform-tools and do: fastboot flash recovery. twrp-3.7.0_9-0-daisy.img fastboot boot twrp-3.7.0_9-0-daisy.img
  2. Backup: In the TWRP menu, select Backup and save the Boot, System, Data sections. You'd better copy it on PC, and it'll come in handy if something goes wrong.
  3. Install firmware: Download the firmware (e.g. LineageOS 20 for daisy) and place it on your phone or SD-In the map. TWRP Select Install, find the firmware file (usually.zip) and confirm the installation. β†’ Format Data (this is mandatory for custom firmware!).

Reboot.

  • Select Reboot β†’ System.
  • The first run can take up to 15 minutes – don’t interrupt the process!

Popular custom firmware for Mi A2 Lite:

  • πŸ“± LineageOS 20 (Android 13) is fast and stable.
  • πŸ“± Pixel Experience – pure Android with Google Pixel chips.
  • πŸ“± Havoc-OS – flexible interface configuration.
  • πŸ“± ArrowOS – Optimized for weak devices.
What if there is no network after installing the firmware?
If a mobile connection is lost after custom firmware has been installed, there are likely no modem modem modem modem modem modem modem modem modem modem modem modems. Solution: 1. Download the appropriate mode (e.g. RIL fix for daisy). 2. Install it via TWRP (similar to firmware). 3. Reboot the phone. If the problem persists, check the APN settings in Settings β†’ Mobile Network β†’ Access Points (APN).

6. Solving typical firmware errors

Even with strict adherence to the instructions, problems can arise, and here are the most common mistakes and ways to correct them:

Mistake.Reason.Decision
remote: partition table doesn't existIncompatible firmware or damaged loaderDownload another firmware version or swipe an anti-rollback patch
FAILED (remote: 'Flashing is not allowed in Lock State')The bootloader is not unlockedUnlock the bootloader through the Mi Unlock Tool (see Section 2)
The phone is stuck on the Xiaomi logo (bootloop)Incorrect firmware or interrupted processPress Volume Up + Power to Reboot in Recovery, Then Repeat the Firmware
E: Unknown command [log] in TWRPDamaged TWRP imageDownload another version of TWRP and reinstall
No network after firmwareModem drivers missingSet RIL fix or check APN settings

If your error is not listed in the table, try:

  1. Search for solutions on the XDA-Developers forums (Mi A2 Lite section).
  2. Check the integrity of the downloaded files (for example, through MD5 hash amounts).
  3. Try flashing the device from another PC (sometimes the driver problem).

πŸ’‘

If after a few failed attempts, the phone stopped turning on, don't panic. In 90% of cases, it can be restored through a phone. EDL-mode (emergency firmware), but this will require a special cable and the program Mi Flash Pro.

7.How to return the official firmware after custom

If you are not satisfied with the experiments with custom firmware or have problems with stability, you can return the official MIUI or Android One.

  1. Download the official firmware: For Android One: look for versions marked V10.x.x.x.x (e.g. V10.0.22.0.PDLMIXM). For MIUI: Global builds (Global) or EEA (Europe) are fine.
  2. Fastboot: Use the method in Section 4, but before firmware, do: fastboot erase userdata fastboot erase cache This will clear the traces of custom firmware.
  3. Restore the bootloader: If you installed a custom bootloader (for example, for LineageOS), it must be returned to the drain loader. boot.img Firmware package: fastboot flash boot boot.img

Block the bootloader (optional)

  • If you want to return the warranty, you can block the bootloader again via Fastboot: fastboot oem lock. ⚠️ Warning: After that, installing custom firmware will become impossible without re-unblocking!

After returning to the official firmware, it is recommended to reset to factory settings (Settings β†’ System β†’ Reset) to avoid conflicts with the remaining custom software files.

FAQ: Frequent questions about Xiaomi Mi firmware A2 Lite

Can I flash the Mi A2 Lite without unlocking the bootloader?
No, most firmware methods (except OTA) require an unlocked bootloader, except for an update via Recovery, but it only works for official firmware and does not allow custom software installation.
How do I know if the bootloader is unlocked on my phone?
Turn off your phone and press Volume Down + Power to log in to Fastboot. If there's UNLOCKED at the bottom of the screen, the bootloader is unlocked. If LOCKED is locked.
Which firmware is best for the Mi A2 Lite in 2026?
Depends on the goals: πŸ”Ή Stability: Official Android One (last available version). πŸ”Ή New features: LineageOS 20 (Android 13) or Pixel Experience. πŸ”Ή Performance: ArrowOS or Havoc-OS (optimized for weak iron). XDA β€” Some firmware may have camera or network bugs.
What to do if the phone does not turn on after the firmware?
If the screen is black and there is no response to buttons: Connect your phone to charge for 30 minutes, maybe the battery has gone down. Try logging in to Fastboot (Loudness down + Power) or Recovery (Loud up + Power). If it doesn't work, run the device through EDL (you'll need a special cable and Mi Flash Pro program). At the last resort, contact the service center - sometimes flashing through UFi Box helps.
Can I flash Mi A2 Lite on Android 12/13?
Xiaomi has not officially released updates above Android 10 for this model, but through custom firmware (LineageOS, Pixel Experience) you can install Android 12 or 13: πŸ“Έ Some camera modes (e.g. Portrait). πŸ“Ά Separate ranges 4G (firmware-dependent). πŸ”‹ Optimize power consumption (the battery can go down faster). Before installing, check the list of bugs on the firmware page.