Xiaomi

Xiaomi Mi A2 (jasmine_sprout): Mi Flash & Fastboot Guide

Complete firmware flashing guide for the Xiaomi Mi A2 (Android One) using Mi Flash Tool. Covers dual critical Fastboot unlocking, USB 2.0 port stability, V11.0.28.0.QDIMIXM Android 10 restore, TWRP 3.7.0, and OrangeFox R11.1_3.1 A/B setup.

Xiaomi Mi A2 (Android One) July 2018
Models
M1804D2SG (Global Band 20), M1804D2SI (India)
CPU
Octa-core (4x 2.2 GHz Kryo 260 Gold & 4x 1.8 GHz Kryo 260 Silver)
GPU
Qualcomm Adreno 512 (650 MHz)
RAM
4 GB / 6 GB LPDDR4X
Storage
32 GB / 64 GB / 128 GB eMMC 5.1 (no microSD slot)
Display
5.99" LTPS IPS LCD, 1080x2160 pixels (~403 ppi, Gorilla Glass 5)
Battery
3000 mAh Li-Po, 18W QC 3.0 (Global) / QC 4+ (India) via USB Type-C
OS
Android 10.0 (V11.0.28.0.QDIMIXM), Launched on Android 8.1 Oreo
Connectivity
4G LTE Dual Nano-SIM (Band 20 on M1804D2SG), Wi-Fi ac, BT 5.0, IR Blaster, USB-C audio
Colors: Black Gold Blue Red Rose Gold

About the Xiaomi Mi A2 (Android One)

The Xiaomi Mi A2 (Android One) (codename: jasmine_sprout) launched in July 2018 as Xiaomi's second Google Android One smartphone on Qualcomm's Qualcomm Snapdragon 660 SDM660 (14nm) processor with A/B Seamless Update partitions.

Whether you are restoring Android 10 with jasmine_global_images_V11.0.28.0.QDIMIXM_20210702.0000.00_10.0_d88fa668a6.tgz or installing OrangeFox-jasmine_sprout-stable@R11.1_3.1.zip across both boot slots, follow the checks below.

Which Flash Mode Should You Use?

Stock Recovery ADB Sideload (OTA ZIP)

Installs the signed Android 10 package miui_JASMINEGlobal_V11.0.28.0.QDIMIXM_70b96d01bf_10.0.zip on locked or unlocked devices.

How to enter
Hold Volume Up + Power until the "No command" android icon appears, then hold Power and tap Volume Up once to pick Apply update from ADB
Requires
Signed Recovery OTA ZIP, Google Platform-Tools, USB Type-C cable

TWRP / OrangeFox Dual-Slot A/B Installation

Temporarily boot twrp-3.7.0_9-0-jasmine_sprout.img via "fastboot boot", then flash OrangeFox-jasmine_sprout-stable@R11.1_3.1.zip across boot_a and boot_b.

How to enter
Hold Volume Down + Power for Fastboot, then run fastboot boot twrp-3.7.0_9-0-jasmine_sprout.img
Requires
Unlocked bootloader, Google Platform-Tools, OrangeFox A/B installer ZIP

Essential Checks Before Flashing Xiaomi Mi A2 (jasmine_sprout)

1
Standard & Critical Bootloader Unlock

Turn on OEM Unlocking in Developer Options, then run both "fastboot flashing unlock" and "fastboot flashing unlock_critical" (no Xiaomi account wait required).

2
Native USB 2.0 Port & Signed Drivers

Plug into a rear PC USB 2.0 port (or passive USB 2.0 hub) with Google Bootloader and Qualcomm drivers installed to prevent SDM660 Fastboot dropouts.

3
Shielded USB Type-C Data Cable

Use a reliable Type-C data cable rated for stable Fastboot and ADB Sideload transfers without loose connector movement.

4
Battery Charged Above 40%

Ensure healthy charge on the 3,000 mAh non-removable Li-Po cell before rewriting dual A/B partitions.

5
Back Up Photos & Internal Data

Both critical unlocking and flash_all.bat wipe the eMMC 5.1 userdata partition clean. Copy important files off the phone first.

Mi Flash, Critical Unlock & A/B Walkthrough for jasmine_sprout

A quick 5-step overview built specifically for the Xiaomi Mi A2 (Android One). The full Mi Flash Tool guide adds screenshots, progress tracking, and fixes for common errors.

  1. Install Mi Flash Tool, Google Platform-Tools, and Qualcomm USB drivers on a native USB 2.0 PC port
  2. Extract jasmine_global_images_V11.0.28.0.QDIMIXM_20210702.0000.00_10.0_d88fa668a6.tgz twice to C:\jasmine_fw\
  3. Boot Fastboot (Volume Down + Power) and run both "fastboot flashing unlock" and "fastboot flashing unlock_critical"
  4. Select C:\jasmine_fw\ in Mi Flash Tool with "clean all", or boot twrp-3.7.0_9-0-jasmine_sprout.img to flash OrangeFox-jasmine_sprout-stable@R11.1_3.1.zip
  5. Alternatively sideload miui_JASMINEGlobal_V11.0.28.0.QDIMIXM_70b96d01bf_10.0.zip via Stock Recovery on locked units

Finding flash_all.bat & SDM660 Images in SDM660 Packages

Official Xiaomi Mi A2 Fastboot packages arrive as double-compressed .tgz archives. Extracting twice with 7-Zip exposes flash_all.bat at the top level alongside the images directory containing boot.img, system.img, vendor.img, and prog_emmc_firehose_Sdm660_ddr.mbn:

flash_all.bat

Extracting jasmine_global_images_V11.0.28.0.QDIMIXM_20210702.0000.00_10.0_d88fa668a6.tgz twice with 7-Zip exposes flash_all.bat at the outer level beside the images folder holding rawprogram0.xml and prog_emmc_firehose_Sdm660_ddr.mbn. Point Mi Flash Tool to the outer folder.

Codename jasmine_sprout (M1804D2SG / M1804D2SI) is strictly for the Android One Mi A2 with A/B slots. Never flash China MIUI software meant for the Xiaomi Mi 6X (wayne).

Point Mi Flash Tool at the outer folder containing flash_all.bat (e.g. C:\jasmine_fw\), never inside the images directory.

Keep "clean all" active, unlock both standard and critical partitions for Fastboot flashes, and use a native USB 2.0 port.

Xiaomi Mi A2 (Android One) Firmware Versions

Tested Android 10.0 Fastboot & Recovery builds alongside Official TWRP v3.7.0_9-0 and OrangeFox R11.1_3.1 for the Xiaomi Mi A2 (Android One) (jasmine_sprout). Check the full archive for PitchBlack Recovery (PBRP v3.0.0) and complete board specs.

Version Region Android Version Size MD5 Download
V11.0.28.0.QDIMIXM Global Android One (MI) β€” Final Fastboot Android 10.0, July 2021 1.57 GB d88fa668a618ee50c055f26cf7f99a28 ⬇️ Download
V11.0.28.0.QDIMIXM (OTA) Global Recovery ZIP Android 10.0, July 2021 1.25 GB 70b96d01bf7303bde9eca89491b74269 ⬇️ Download
TWRP v3.7.0_9-0 (Boot IMG) Official TeamWin Bootable Image fastboot boot RAM IMG 31.41 MB fc77f99da64204933ef37b2ddbe8a529 ⬇️ Download
OrangeFox R11.1_3.1 Stable Official OrangeFox A/B ZIP Dual-Slot boot_a/boot_b ZIP 50.75 MB e42ed72c8c23ebb8cc9ff52b993c4665 ⬇️ Download

Browse all 5 Android 10, TWRP, OrangeFox & PBRP v3.0.0 packages for Mi A2 on AndroidFirmwareFile.com β†’ View full archive on AndroidFirmwareFile.com β†’

Fastboot, ADB Sideload & TWRP / OrangeFox A/B Modes

The Xiaomi Mi A2 (codename jasmine_sprout, models M1804D2SG / M1804D2SI) runs pure Google Android One on Qualcomm's Snapdragon 660 (SDM660) with dual A/B partitions. With jasmine_global_images_V11.0.28.0.QDIMIXM_20210702.0000.00_10.0_d88fa668a6.tgz, unlocked devices restore cleanly via Mi Flash Tool once both standard and critical unlock commands are run.

If your bootloader is locked and stock Recovery still loads, install miui_JASMINEGlobal_V11.0.28.0.QDIMIXM_70b96d01bf_10.0.zip via ADB Sideload β€” or boot twrp-3.7.0_9-0-jasmine_sprout.img into RAM to flash OrangeFox-jasmine_sprout-stable@R11.1_3.1.zip across both A/B slots.

Fixing Mi A2 (jasmine_sprout) Critical Unlock, USB 3.0 & A/B Errors

Fastboot Output: "FAILED (remote: Flashing is not allowed for Critical Partitions)"

Community guides highlight that jasmine_sprout requires two separate unlock commands. If you only ran "fastboot flashing unlock", low-level bootloader images remain locked β€” enable OEM Unlocking and also execute "fastboot flashing unlock_critical" before flashing stock Fastboot packages.

USB 3.0 Fastboot Dropout: "Press any key to shutdown" or Data Transfer Failure

Experienced owners recommend avoiding USB 3.0/3.1 ports on Windows PCs, as the Snapdragon 660 bootloader frequently hangs or drops packets mid-transfer on xHCI controllers. Plug into a native rear motherboard USB 2.0 socket or insert an inexpensive USB 2.0 hub.

Terminal Rejection: "FAILED (remote: partition table doesn't exist)" on fastboot flash recovery

The Mi A2 stores its recovery ramdisk inside boot_a and boot_b and has no standalone /recovery partition. Instead of flashing directly to recovery, load twrp-3.7.0_9-0-jasmine_sprout.img into RAM with "fastboot boot twrp-3.7.0_9-0-jasmine_sprout.img", then flash OrangeFox-jasmine_sprout-stable@R11.1_3.1.zip.

Qualcomm 9008 Sahara Alert: "Authentication required" or Firehose Hello Timeout

Unlike the first-generation Mi A1, patched Snapdragon 660 bootloaders on jasmine_sprout check signed EDL authorization for prog_emmc_firehose_Sdm660_ddr.mbn. If a locked unit is stuck in EDL 9008, repair forum members note you will need an authorized Xiaomi service channel or a community-patched SDM660 firehose file.

Need help with another Fastboot or Qualcomm error code? Mi Flash & Fastboot A/B Error Directory β†’

A/B Slot Recovery, /persist Safety, Decryption & eMMC Health Q&A

Ready to Flash?

Follow the full step-by-step Mi Flash Tool guide with interactive progress tracking, prerequisite checklist, and complete troubleshooting.

Open Full Guide