Xiaomi

Xiaomi Mi 3 & Mi 4 (cancro): Mi Flash & Fastboot Flashing Guide

Complete firmware flashing guide for the Xiaomi Mi 3 / Mi 4 using Mi Flash Tool. Covers Xiaomi Mi 3 & Mi 4 (cancro), Qualcomm Snapdragon 800/801 drivers, and Mi Flash Tool procedures.

Xiaomi Mi 3 / Mi 4 December 2013 / July 2014
Models
2013061, 2013062, 2014215, 2014719, 2014216, 2014716
CPU
Quad-core 2.3 GHz (Mi 3) / 2.5 GHz (Mi 4) Krait 400
GPU
Adreno 330
RAM
2 GB / 3 GB LPDDR3
Storage
16 GB / 64 GB eMMC 4.5 / 5.0
Display
5.0" IPS LCD, 1080x1920 pixels, Full HD, 441 ppi
Battery
3050 mAh (Mi 3) / 3080 mAh (Mi 4) Li-Ion, QC 2.0 (12W)
OS
Android 6.0.1 (MIUI 9 Global / MIUI 10 China)
Connectivity
3G / 4G LTE Micro-SIM, Wi-Fi 802.11ac, Bluetooth 4.0, microUSB 2.0, Dirac HD Audio
Colors: Silver White Black Yellow Pink Blue

About the Xiaomi Mi 3 / Mi 4

This workshop guide provides step-by-step bench instructions to flash official stock Fastboot firmware to the Xiaomi Mi 3 / Mi 4 (December 2013 / July 2014) using Mi Flash Tool. Writing system and partition binaries to Qualcomm's Qualcomm Snapdragon 800 (Mi 3) / Snapdragon 801 (Mi 4) platform over eMMC 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 9 (Android 6.0.1 Marshmallow), 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 use deep flash cable 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, microUSB cable

What You Need Before Flashing

1
Unlocked Bootloader

Fastboot flashing requires an unlocked bootloader via the Xiaomi Mi Unlock utility on newer MIUI builds.

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 battery has at least 50% charge to prevent shutdown during eMMC partition writes.

4
Quality microUSB Cable

Use a certified microUSB 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 3 / Mi 4 β€” Quick Overview

A fast reference for flashing the Xiaomi Mi 3 / Mi 4 (Snapdragon 800/801) using Mi Flash Tool. For the complete walkthrough with images and error troubleshooting, see the full guide.

  1. Verify phone codename is cancro
  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 800/801 (flash_all.bat)

Official Fastboot firmware packages for the Xiaomi Mi 3 & Mi 4 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 800/801 eMMC storage controller.

flash_all.bat

Official Xiaomi Mi 3 & Mi 4 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 Note: 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 3 / Mi 4 Firmware Versions

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

Version Region Android Version Size MD5 Download
V9.5.7.0.MXDMIFA (MIUI 9 Global) Global (MI / Worldwide) Android 6.0.1 1.12 GB bbfc0f395199b6aaf00bc1a94561e929 ⬇️ Download

This unified platform has 6 additional regional, recovery, and community packages in the full archive. Browse the complete archive on AndroidFirmwareFile.com β†’

Xiaomi Mi 3 / Mi 4 β€” Important Notes

The Xiaomi Mi 3 and Mi 4 house a 3,050 mAh or 3,080 mAh internal battery supporting Qualcomm Quick Charge 2.0. Writing full MIUI 9 partition images takes approximately 2 to 4 minutes over eMMC storage. Confirm that your battery has at least 50% charge before beginning the flashing process to prevent unexpected shutdowns during partition writes.

Troubleshooting Xiaomi Mi 3 & Mi 4 Flashing & MIUI Errors

Fastboot Partition Allocation Rejection: "FAILED (remote: partition table doesn't exist)"

When flashing an updated Marshmallow Fastboot ROM over an older KitKat dual-partition layout, Fastboot may reject writes if the repartition script is interrupted. Technicians recommend executing flash_all.bat directly so the script runs partition.mbn and reallocates unified partition boundaries before streaming system binaries.

Script Execution Interruption: "Press any key to continue . . ." stall

On modern Windows 10 and Windows 11 64-bit systems, third-party USB 3.0 host controllers can drop the Fastboot USB communication pipe during large system.img writes. Workshop technicians advise connecting the phone to a native USB 2.0 port on the motherboard rear panel and ensuring updated Google WinUSB drivers are bound in Device Manager.

Emergency Recovery Drop: "Device communication lost during rawprogram streaming"

When attempting emergency recovery over Qualcomm 9008 mode, loose microUSB cable seating or unverified serial driver handshakes cause transfer terminations. Technicians recommend connecting with a short certified data cable directly to an onboard USB port and confirming the assigned COM port in Device Manager under Ports (COM & LPT).

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 3 / Mi 4

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