Skip to main content
Xiaomi

Xiaomi Mi 5 / Prime / Pro (gemini) Firmware File Archive

The Xiaomi Mi 5 family — spanning the 32 GB Standard, 64 GB Prime, and 128 GB Ceramic Pro editions (all sharing hardware codename 'gemini' across models 2015105, 2015201, and 2015628) — runs on Qualcomm's 14nm Snapdragon 820 (MSM8996) with UFS 2.0 storage, a 16 MP 4-axis OIS rear camera, NFC, and USB Type-C Quick Charge 3.0.

Here are the final official MIUI 10 Android 8.0 Oreo packages for gemini, led by Global Stable V10.2.2.0.OAAMIXM (gemini_global_images_V10.2.2.0.OAAMIXM_20190115.0000.00_8.0_global_d05f4a2bfd.tgz) and China Stable V10.2.1.0.OAACNXM, alongside Xiaomi.eu's final MIUI 11 port (xiaomi.eu_multi_MI5_V11.0.2.0.OAACNXM_v11-8.0.zip) and Official TWRP 3.7.0_9-0 (twrp-3.7.0_9-0-gemini.img).

Xiaomi Mi 5 / Mi 5 Prime / Mi 5 Pro
Brand
Xiaomi
Codename
gemini
Model Family
2015105 / 2015201 / 2015628 (Mi 5 Standard 32GB, Prime 64GB, Pro Ceramic 128GB)
Chipset
Qualcomm Snapdragon 820 MSM8996 (14nm LPP, Quad-Core Kryo: 1.8/1.36 GHz Standard or 2.15/1.6 GHz Prime/Pro)
GPU
Qualcomm Adreno 530 (510 MHz Standard / 624 MHz Prime & Pro)
Display
5.15" FHD IPS LCD (1080x1920 pixels, 16:9, ~428 ppi, Gorilla Glass 4)
Battery
3000 mAh non-removable Li-Po (18W Quick Charge 3.0, USB Type-C 2.0)
Launch OS
Android 6.0 Marshmallow (MIUI 7)
Latest OS
Android 8.0 Oreo (MIUI 10.2 Global / Xiaomi.eu MIUI 11)
Firmware Type
Fastboot ROM (.tgz) / Recovery ROM (.zip) / Custom Recovery (.img)
Flash Method
Mi Flash Tool (Fastboot / EDL 9008) / TWRP 3.7.0_9-0

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
Model
Xiaomi Mi 5 / Prime / Pro (2015105 / 2015201 / 2015628)
Region
Global (MI / MI5Global)
Build
V10.2.2.0.OAAMIXM (MIUI 10.2)
Build Date
2019-01-15
Android/OS
Android 8.0 (Oreo)
Method
Fastboot / EDL (64-bit Mi Flash)
Size
1.58 GB

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
Model
Xiaomi Mi 5 / Prime / Pro (2015105 / 2015201 / 2015628)
Region
Global (MI / MI5Global)
Build
V10.2.2.0.OAAMIXM (MIUI 10.2)
Build Date
2019-01-15
Android/OS
Android 8.0 (Oreo)
Method
Recovery OTA / Updater App
Size
1.38 GB

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
Model
Xiaomi Mi 5 / Prime / Pro (gemini)
Region
China (CN / MI5)
Build
V10.2.1.0.OAACNXM (MIUI 10.2)
Build Date
2018-12-24
Android/OS
Android 8.0 (Oreo)
Method
Fastboot / EDL (64-bit Mi Flash)
Size
1.80 GB

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
Model
Xiaomi Mi 5 / Prime / Pro (gemini)
Region
China (CN / MI5)
Build
V10.2.1.0.OAACNXM (MIUI 10.2)
Build Date
2018-12-24
Android/OS
Android 8.0 (Oreo)
Method
Recovery OTA / Mi Assistant
Size
1.54 GB

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
Model
Xiaomi Mi 5 / Prime / Pro (gemini)
Region
Europe / Multilingual (Xiaomi.eu)
Build
V11.0.2.0.OAACNXM (MIUI 11 Final)
Build Date
2020-01-05
Android/OS
Android 8.0 (Oreo)
Method
Custom Recovery (TWRP 3.7.0_9-0)
Size
1.4 GB

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

⬇️ Download via AFH

Official Custom Recovery (TWRP) 1 package

twrp-3.7.0_9-0-gemini.img
Model
Xiaomi Mi 5 / Prime / Pro (gemini)
Region
Official Community Build
Build
TWRP 3.7.0_9-0
Build Date
2022-10-16
Android/OS
Standalone Recovery IMG
Method
Fastboot (fastboot flash recovery)
Size
21.52 MB

Official Team Win Recovery Project build (22,568,960 bytes) for gemini UFS 2.0 hardware. SHA-256: 868cbfccd3296240d8656e7329479f3a2eab4f59a57000328bdfc304d5e75c5a.

MD5: a79f6e3aa35997d2259fc5e0eebe07e3

⬇️ Download via Direct Link

Fastboot, UFS EDL 9008 & TWRP Overview for gemini

  1. Confirm handset is Mi 5 (gemini, 2015105/2015201/2015628), not Mi 5s (capricorn)
  2. Extract gemini_global_images_V10.2.2.0.OAAMIXM_20190115.0000.00_8.0_global_d05f4a2bfd.tgz twice to C:\gemini_fw\
  3. Enter Fastboot (Volume Down + Power) if unlocked, or Qualcomm EDL 9008 if locked or bricked
  4. Load C:\gemini_fw\ inside 64-bit Mi Flash Tool and keep "clean all" checked
  5. 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.

Open Mi Flash Tool Guide

Can also be flashed via Fastboot: Open Fastboot Guide →

Mi 5 (gemini) Hardware Variants, Build Codes & Branch Q&A