Xiaomi

Xiaomi Mi 5s (capricorn): Guided Flashing Walkthrough

The Xiaomi Mi 5s (model 2015711, codename capricorn) is an upper-tier 2016 handset featuring Qualcomm's Snapdragon 821 processor and an ultrasonic biometric sensor. Official software development concluded with Android 8.0 Oreo, distributed as MIUI 10 for Global editions and MIUI 11 for China editions.

This walkthrough covers the official restore procedure using Xiaomi's Mi Flash Tool, as well as the installation of the community multi-language xiaomi.eu package.

Xiaomi Mi 5s (capricorn)
Brand
Xiaomi
Codename
capricorn
Model Family
2015711
Chipset
Qualcomm Snapdragon 821 (MSM8996 Pro-AB)
GPU
Adreno 530
Display
5.15" IPS LCD, 1080x1920
Battery
3200mAh, non-removable
Launch OS
Android 6.0 Marshmallow
Latest OS
Android 8.0 Oreo (official ceiling: MIUI 10 Global / MIUI 11 China)
Firmware Type
Official Fastboot TGZ packages and TWRP recovery ZIP
Flash Method
Mi Flash Tool (Fastboot) and TWRP Install

Download Firmware for Xiaomi Mi 5s (capricorn)

2015711
Region
China Stable (MIUI 11)
Android
Android 8.0
Size
2.04 GB

Final official Chinese release carrying MIUI 11 interface updates. Does not include Google Play services by default.

↓ Download
2015711
Region
Europe / Multi-Language (xiaomi.eu)
Android
Android 8.0
Size
1.3 GB

Community custom ROM combining the newer MIUI 11 base with European multi-language translations and Google services.

↓ Download

Compatibility & Bootloader Notes

Flashing stock fastboot packages requires an unlocked bootloader via the official Mi Unlock tool. Flashing firmware does not permanently unlock or lock your device on its own unless the locking script (flash_all_lock.bat) is selected.

Preparation checklist for Xiaomi Mi 5s (capricorn)
  • Ensure your bootloader is unlocked via Xiaomi's official Mi Unlock utility before flashing.
  • Double-extract the .tgz archive using 7-Zip until the flash_all.bat file is visible in the root folder.
  • Install official Qualcomm USB drivers and the latest Xiaomi Mi Flash Tool on your PC.
  • Back up all personal files, as the clean fastboot flash wipes all partitions.

How to Flash Xiaomi Mi 5s (capricorn)

Mi Flash Tool Fastboot Restore (Recommended for Official Firmware)

  1. Confirm the bootloader is officially unlocked using Xiaomi's Mi Unlock utility. Locked devices reject fastboot flashing commands.
  2. Download the official Global Stable or China Stable .tgz archive. Using 7-Zip, unpack the archive twice so that the final folder contains flash_all.bat and the images subfolder directly (e.g. C:\capricorn_firmware\).
  3. Power off your Mi 5s, then press and hold Volume Down + Power until the FASTBOOT rabbit appears on screen. Connect the phone to a rear USB 2.0 port on your PC.
  4. Launch Mi Flash Tool as Administrator. Click "Select" and navigate to your extracted folder containing flash_all.bat.
  5. Click "Refresh" and confirm your device serial number appears in the device table.
  6. At the bottom right of the Mi Flash window, actively select "clean all" (which executes flash_all.bat). NEVER select "clean all and lock" when flashing across regions.
  7. Click "Flash" and allow the script to write all partitions (typically 3 to 6 minutes). When finished, the status column will indicate success and the phone will reboot automatically.

TWRP Custom Recovery Installation (for xiaomi.eu ZIP)

  1. Ensure the bootloader is unlocked and an official fastboot build has booted at least once.
  2. Boot into fastboot mode (Volume Down + Power) and flash TWRP recovery using the command: fastboot flash recovery twrp-capricorn.img.
  3. Boot immediately into recovery by running fastboot boot twrp-capricorn.img or holding Volume Up + Power.
  4. In TWRP, navigate to Wipe → Advanced Wipe, select Dalvik / ART Cache, Cache, System, and Data, then swipe to wipe.
  5. Transfer the xiaomi.eu_multi_MI5S_V11.0.2.0.OAGCNXM_v11-8.0.zip file to internal storage via MTP.
  6. Tap Install, select the ZIP file, and swipe to confirm flash. Once complete, tap Reboot System.

Frequently Asked Questions