Crucial Warning: Never flash packages built for the successor Xiaomi Mi 5s (codename capricorn / Snapdragon 821) or Mi 5s Plus (natrium) onto a Mi 5 (gemini). Only flash releases carrying OAA or gemini / MI5 identifiers, and avoid selecting "clean all and lock" if switching regional branches.
Mi 5 (gemini) Android 8.0 MIUI 10, Xiaomi.eu MIUI 11 & TWRP
Global Stable MIUI 10 Releases (V10.2.2.0.OAAMIXM) 2 packages
gemini_global_images_V10.2.2.0.OAAMIXM_20190115.0000.00_8.0_global_d05f4a2bfd.tgz
Final official Global Stable Fastboot package (1,701,820,557 bytes) with full Google Mobile Services and multi-language packs.
MD5: d05f4a2bfd2d26057998d23c86e97b72
⬇️ Download (2 links)
miui_MI5Global_V10.2.2.0.OAAMIXM_d16c808eba_8.0.zip
Signed Global Stable Recovery ZIP (1,480,438,800 bytes) for direct upgrades on Global MIUI phones.
MD5: d16c808eba4f89e329138b84518799d7
⬇️ Download (2 links)
China Domestic MIUI 10 Releases (V10.2.1.0.OAACNXM) 2 packages
gemini_images_V10.2.1.0.OAACNXM_20181224.0000.00_8.0_cn_1b761a2ea8.tgz
Final official China Stable MIUI 10 Fastboot release (1,933,506,367 bytes). Omits Google Play Services by default.
MD5: 1b761a2ea8bf1c096e8927fab461f2bd
⬇️ Download (2 links)
miui_MI5_V10.2.1.0.OAACNXM_b647d74428_8.0.zip
Signed China Stable Recovery ZIP (1,654,604,122 bytes) for domestic China units.
MD5: b647d7442822adbe810de503456b111c
⬇️ Download (2 links)
Xiaomi.eu MIUI 11 Multilingual Community Port 1 package
xiaomi.eu_multi_MI5_V11.0.2.0.OAACNXM_v11-8.0.zip
Final community MIUI 11 stable release based on China V11.0.2.0.OAACNXM, preloaded with Google Play Services, European languages, and 4-axis OIS camera tuning.
MD5: 9ca4c8e07a358249964b7215824f6a3b
Official Custom Recovery (TWRP) 1 package
twrp-3.7.0_9-0-gemini.img
Official Team Win Recovery Project build (22,568,960 bytes) for gemini UFS 2.0 hardware. SHA-256: 868cbfccd3296240d8656e7329479f3a2eab4f59a57000328bdfc304d5e75c5a.
MD5: a79f6e3aa35997d2259fc5e0eebe07e3
Fastboot, UFS EDL 9008 & TWRP Overview for gemini
- Confirm handset is Mi 5 (gemini, 2015105/2015201/2015628), not Mi 5s (capricorn)
- Extract gemini_global_images_V10.2.2.0.OAAMIXM_20190115.0000.00_8.0_global_d05f4a2bfd.tgz twice to C:\gemini_fw\
- Enter Fastboot (Volume Down + Power) if unlocked, or Qualcomm EDL 9008 if locked or bricked
- Load C:\gemini_fw\ inside 64-bit Mi Flash Tool and keep "clean all" checked
- Run Flash cleanly, or visit FlashGuideHub for UFS Firehose and TWRP 3.7.0_9-0 instructions
Hardware Verification & UFS 2.0 Checks Before Flashing
- Confirm your device is codename 'gemini' (model 2015105/2015201/2015628, 5.15-inch screen, physical front home button with fingerprint scanner) — NOT Mi 5s 'capricorn'.
- Verify MD5 checksums after downloading, including gemini_global_images_V10.2.2.0.OAAMIXM_20190115.0000.00_8.0_global_d05f4a2bfd.tgz (MD5: d05f4a2bfd2d26057998d23c86e97b72) and twrp-3.7.0_9-0-gemini.img (MD5: a79f6e3aa35997d2259fc5e0eebe07e3).
- Use a 64-bit Windows installation of Mi Flash Tool (2016.08.30+ or 2017+) so MSM8996 UFS 2.0 Firehose flashing (prog_ufs_firehose_8996*.elf) writes cleanly without 32-bit RAM exhaustion.
- Extract Fastboot .tgz archives twice using 7-Zip directly to C:gemini_fw so flash_all.bat and the images folder appear at the top directory.
- Ensure the 3,000 mAh battery holds at least 40% charge and plug directly into a rear PC USB port with a certified USB Type-C data cable.
Mi 5 (Standard / Prime / Pro) vs Mi 5s (capricorn) Notes
Fastboot flashing via flash_all.bat requires unlocking the bootloader through Xiaomi Mi Unlock. Because the 2016 Snapdragon 820 (MSM8996) board predates Xiaomi server-side EDL authorization locks, locked or bricked phones can also be restored directly via Qualcomm HS-USB QDLoader 9008 UFS Firehose mode with 64-bit Mi Flash Tool.
Ready to Flash This Firmware?
Full step-by-step instructions for Xiaomi Mi 5 / Mi 5 Prime / Mi 5 Pro, including prerequisites, error fixes, and screenshots, are on FlashGuideHub's Mi Flash Tool guide.
Can also be flashed via Fastboot: Open Fastboot Guide →
Mi 5 (gemini) Hardware Variants, Build Codes & Branch Q&A
All three Mi 5 configurations share the exact same Snapdragon 820 (MSM8996) motherboard codenamed "gemini": the 32 GB Standard uses 3 GB RAM with a 1.8 GHz CPU / 510 MHz GPU, the 64 GB Prime steps up to 2.15 GHz / 624 MHz, and the 128 GB Pro Ceramic adds 4 GB RAM. Every firmware labeled gemini/MI5 works across all three. By contrast, the Mi 5s (capricorn) moved to Snapdragon 821 with a different ultrasonic fingerprint sensor and must never share gemini images.
Under Xiaomi's MIUI 10 identifier rules: "V10.2" indicates the MIUI 10.2 release; "O" denotes Android 8.0 Oreo as the operating system base; "AA" is the two-letter hardware tag for Xiaomi Mi 5 (gemini); "MI" identifies Global retail builds whereas "CN" marks China domestic software; and "XM" indicates standard unlocked distribution.
Xiaomi delivered one final MIUI 11 interface update over Android 8.0 Oreo exclusively on the China Stable recovery channel (V11.0.2.0.OAACNXM), leaving Global Official Fastboot/Recovery builds at MIUI 10 V10.2.2.0.OAAMIXM. Xiaomi.eu built xiaomi.eu_multi_MI5_V11.0.2.0.OAACNXM_v11-8.0.zip on top of that China MIUI 11 base so international unlocked owners could get MIUI 11 with Google Play Services and European languages.
The Mi 5 (gemini) uses high-speed UFS 2.0 flash storage alongside a dedicated standalone /recovery partition (distinct from modern A/B vendor_boot phones). Team Win's official twrp-3.7.0_9-0-gemini.img (21.52 MB, MD5: a79f6e3aa35997d2259fc5e0eebe07e3) is compiled specifically for gemini's UFS 2.0 controller and Android 8.0+ encryption tree.