Xiaomi

Xiaomi Mi 4s (aqua): Stock Fastboot & EDL Flashing Guide

Complete firmware flashing guide for the Xiaomi Mi 4s using Mi Flash Tool. Covers Xiaomi Mi 4s (aqua), Qualcomm Snapdragon 808 drivers, and Mi Flash Tool procedures.

Xiaomi Mi 4s March 2016
Models
2015911 (China / Global Import)
CPU
Hexa-core (2x1.82 GHz Cortex-A57 & 4x1.44 GHz Cortex-A53)
GPU
Adreno 418
RAM
3 GB LPDDR3
Storage
64 GB eMMC 5.0
Display
5.0" IPS LCD, 1920x1080 pixels, Full HD, 441 ppi
Battery
3260 mAh Li-Ion, Qualcomm Quick Charge 2.0 (18W)
OS
Android 7.0 (MIUI 10.1), Launched on Android 5.1.1 (MIUI 7)
Connectivity
4G Dual-SIM (Micro-SIM + Nano-SIM/microSD), Wi-Fi 802.11ac, Bluetooth 4.1, IR Blaster, Rear Fingerprint
Colors: Black White Gold Pink

About the Xiaomi Mi 4s

This workshop guide provides step-by-step bench instructions to flash official stock Fastboot firmware to the Xiaomi Mi 4s (March 2016) using Mi Flash Tool. Writing system and partition binaries to Qualcomm's Qualcomm Snapdragon 808 (MSM8992) platform over eMMC 5.0 storage requires stable USB driver handshakes and correct batch script selection.

Whether your phone is trapped in a startup bootloop, recovering from corrupted partitions, or returning to clean official MIUI 10.1 (Android 7.0 Nougat), follow the verified prerequisites, battery precautions, and step-by-step flashing procedures detailed below.

Which Flash Mode Should You Use?

Qualcomm EDL 9008 Emergency Unbrick

Low-level hardware unbrick mode for flashing raw partition images directly to eMMC storage when Fastboot mode is inaccessible.

How to enter
Power off phone completely, bridge motherboard test points or execute "fastboot oem edl" while connecting USB cable
Requires
PC with Qualcomm HS-USB QDLoader 9008 drivers, official fastboot package, deep flash cable or test points

Custom Recovery (TWRP Installation)

Custom recovery environment used for installing multi-language community packages like xiaomi.eu or managing root access.

How to enter
Power off phone, hold Volume Up + Power together until the TWRP recovery menu displays
Requires
Unlocked bootloader, TWRP image, USB Type-C cable

What You Need Before Flashing

1
Unlocked Bootloader

Fastboot flashing requires an officially unlocked bootloader via the Xiaomi Mi Unlock utility.

2
Windows PC & Drivers

A 64-bit Windows PC with Qualcomm QDLoader 9008 drivers and updated Android SDK Platform Tools installed.

3
Battery Charged to 50%+

Ensure the 3,260 mAh battery has at least 50% charge to prevent shutdown during eMMC partition writes.

4
Quality Type-C Cable

Use a certified USB Type-C data sync cable plugged directly into a rear motherboard USB port.

5
Personal Data Backup

Flashing stock Fastboot firmware with "clean all" completely wipes internal storage and applications.

6
Extracted TGZ Package

Decompress the .tgz archive twice using 7-Zip until flash_all.bat is exposed in a clean root directory.

How to Flash the Xiaomi Mi 4s β€” Quick Overview

These 5 steps are tailored to the Xiaomi Mi 4s (Snapdragon 808). For screenshots, an interactive checklist, and troubleshooting, open the full Mi Flash Tool guide.

  1. Unlock bootloader with Mi Unlock
  2. Decompress Fastboot TGZ archive twice
  3. Enter Fastboot mode
  4. Configure Mi Flash Tool with "clean all"
  5. Flash firmware and await first boot

Firmware Package for Snapdragon 808 (flash_all.bat)

Official Fastboot firmware packages for the Xiaomi Mi 4s are distributed as .tgz archives containing raw partition binaries (boot.img, recovery.img, system.img, cache.img, userdata.img, emmc_appsboot.mbn) written via flash_all.bat or Qualcomm EDL rawprogram0.xml across the Snapdragon 808 eMMC 5.0 storage controller.

flash_all.bat

Official Xiaomi Mi 4s firmware is distributed as a compressed .tgz archive. Extract the archive twice using 7-Zip until the folder containing "flash_all.bat" and the raw partition images is visible.

Fastboot Flashing Rule: Always select "clean all" (flash_all.bat) when using Mi Flash Tool on imported hardware to avoid locking the bootloader against custom or community firmware.

Xiaomi Mi 4s Firmware Versions

Official stock firmware downloads for the Xiaomi Mi 4s. Verify your hardware model variant before downloading.

Version Region Android Version Size MD5 Download
V10.1.1.0.NAJCNFI (MIUI 10.1) China (CN) Android 7.0 1.3 GB 0fda38c3897ca0281366a4e77872c825 ⬇️ Download

This phone has 2 additional multi-language and custom recovery packages in the full archive. Browse the complete archive on AndroidFirmwareFile.com β†’

Xiaomi Mi 4s β€” Important Notes

The Xiaomi Mi 4s houses a 3,260 mAh internal lithium-ion battery supporting Qualcomm Quick Charge 2.0. Writing full MIUI 10.1 partition images takes approximately 2 to 4 minutes over eMMC 5.0. Confirm that your battery has at least 50% charge before beginning the flashing process to prevent unexpected shutdowns during partition writes.

Troubleshooting Xiaomi Mi 4s Flashing & MIUI Errors

Bootloader Locked Fastboot Rejection: "FAILED (remote: 'device is locked. Cannot flash images')"

Attempting to flash partitions via flash_all.bat in Fastboot mode while the bootloader remains in its locked factory state triggers this error. Workshop technicians recommend either running the official Mi Unlock utility to complete authorized unlocking, or putting the phone into Qualcomm EDL 9008 mode where partitions can be written without bootloader status checks.

Qualcomm 9008 Communication Dropout: "Write packet failed / Device not found in EDL mode"

When flashing large system.img files over Qualcomm EDL 9008, loose USB cable seating or front-panel computer USB hub ports can cause serial packet drops. Workshop technicians advise connecting the phone directly to a rear motherboard USB 2.0 port, using a certified USB Type-C sync cable, and running Mi Flash Tool as Administrator.

Stock Recovery Overwrite Trap: "Phone boots into stock Mi-Recovery instead of TWRP"

Allowing the phone to boot into MIUI immediately after executing "fastboot flash recovery twrp.img" triggers MIUI's automated install-recovery.sh service, restoring the stock recovery image. Technicians suggest holding Volume Up + Power immediately after the flash command finishes to boot directly into TWRP before the Android system service can trigger.

For solving common Mi Flash Tool timeout codes, Qualcomm 9008 connection drops, and TWRP recovery issues: Xiaomi Flashing Error Directory β†’

Frequently Asked Questions β€” Xiaomi Mi 4s

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