Xiaomi

Xiaomi POCO M2 (shiva): Mi Flash Tool Flashing Guide

Complete firmware flashing guide for the Xiaomi POCO M2 using Mi Flash Tool. Covers prerequisites, firmware package setup, and step-by-step instructions.

Xiaomi POCO M2 September 2020
Models
M2004J19PI, MZB08UFIN, M2004J19PE
CPU
Octa-core (2x2.0 GHz Cortex-A75 & 6x1.8 GHz Cortex-A55)
GPU
Mali-G52 2EEMC2
RAM
6 GB / 4 GB LPDDR4X
Storage
64 GB / 128 GB eMMC 5.1 (dedicated microSD slot up to 512 GB)
Display
6.53" FHD+ Dot Drop IPS LCD, 1080x2340 pixels, Gorilla Glass 3
Battery
5000 mAh Li-Po, 18W fast charging
OS
Android 11.0 (MIUI 12.5 for POCO), Launched on Android 10.0
Connectivity
4G Dual-SIM, Wi-Fi 5, Bluetooth 5.0, IR Blaster, 3.5mm jack, Rear Fingerprint (No NFC)
Colors: Pitch Black Slate Blue Brick Red

About the Xiaomi POCO M2

The Xiaomi POCO M2, launched in September 2020, is powered by the MediaTek Helio G80 (MT6769V/CU) processor with a 6.53-inch FHD+ display, quad camera system, and a 5000 mAh battery. Whether recovering from an unexpected bootloop or performing a complete system restore, flashing official stock Fastboot firmware returns the device to a clean factory state.

This guide provides step-by-step instructions for flashing stock Fastboot packages using the official Xiaomi Mi Flash Tool. Follow the detailed steps below to install official firmware, verify driver connections, and safely restore your Xiaomi POCO M2.

Which Flash Mode Should You Use?

Recovery Mode (Stock)

Used for factory data resets, cache wipes, and installing official recovery OTA update packages via Mi Assistant.

How to enter
Power off phone, then hold Volume Up + Power together until the Main Menu recovery screen displays.
Requires
Stock recovery partition intact

MediaTek BROM Mode (EDL)

Emergency low-level download mode for unbricking hard-bricked handsets with a corrupted bootloader via SP Flash Tool.

How to enter
Disconnect battery, short motherboard BROM test pad to ground, and connect USB cable to PC.
Requires
Motherboard test points, MTK USB VCOM drivers, Auth Bypass utility

Custom Recovery (TWRP 3.4.2)

Touch-driven custom recovery environment for installing zip packages, custom ROMs, Magisk root, and NAND backups.

How to enter
From Fastboot mode, run "fastboot flash recovery twrp.img" and immediately hold Volume Up + Power during reboot.
Requires
Unlocked bootloader, disabled vbmeta verification

Essential Prerequisites Before Flashing POCO M2

1
Battery Level Above 50%

Ensure your POCO M2 battery is charged to at least 50% to prevent sudden power loss during partition writes to eMMC storage.

2
Unlocked Bootloader

Fastboot flashing requires an officially unlocked bootloader via the Xiaomi Mi Unlock utility linked to your Mi account.

3
Windows PC with USB 2.0 Port

Use a Windows 10 or 11 PC and connect your phone to a native rear USB 2.0 port to prevent communication drops during flashing.

4
7-Zip Extraction Tool

Install 7-Zip to unpack the downloaded .tgz archive twice into a short directory path without spaces (such as C:\pocom2_fw).

5
Complete Off-Device Backup

Flashing via flash_all.bat completely erases internal storage. Back up all essential photos, contacts, and personal files before starting.

5-Step Mi Flash Flashing Walkthrough for POCO M2

A fast reference for flashing the Xiaomi POCO M2 (Helio G80) using Mi Flash Tool. For the complete walkthrough with images and error troubleshooting, see the full guide.

  1. Extract shiva_in_global_images_V12.5.7.0.RJRINXM_20220727.0000.00_11.0_in_ea3f195178.tgz twice with 7-Zip.
  2. Hold Volume Down + Power for 8 seconds to enter Fastboot, or verify BROM test point pads for unbrick.
  3. Verify fastboot connection and check anti-rollback index via fastboot getvar anti.
  4. In Mi Flash Tool, select the extracted folder and strictly choose "clean all" (flash_all.bat).
  5. Click Flash to write partitions to eMMC storage and preserve persist sensor calibration.

MediaTek Helio G80 Fastboot Script & Scatter Architecture

The Xiaomi POCO M2 utilizes a Fastboot batch flashing structure driven by flash_all.bat alongside MediaTek MT6769 scatter partition definitions.

flash_all.bat

Official Fastboot ROM packages for the POCO M2 contain individual partition images (boot.img, recovery.img, super.img, cust.img) and automated batch scripts. The flash_all.bat script writes all factory partitions while formatting internal user data to ensure a completely clean factory state.

Always ensure your POCO M2 bootloader is unlocked before attempting to flash via Fastboot mode. Never choose clean all and lock on imported models.

Xiaomi POCO M2 Firmware Versions

The following official Fastboot package has been tested for the Xiaomi POCO M2 (shiva). Always verify your model code before flashing.

Version Region Android Version Size MD5 Download
V12.5.7.0.RJRINXM India (IN) Android 11.0 (MIUI 12.5 for POCO) 2.7 GB ea3f19517889beebf9a0b312b616d853 ⬇️ Download

Need additional firmware versions, TWRP recovery, or regional archive packages? Browse the full POCO M2 firmware archive on AndroidFirmwareFile.com β†’

MediaTek Helio G80 Partition Details & Storage Handling

When unbricking or updating the Xiaomi POCO M2 (shiva), always use official Fastboot packages such as shiva_in_global_images_V12.5.7.0.RJRINXM_20220727.0000.00_11.0_in_ea3f195178.tgz. Fastboot mode writes partition images directly to the internal eMMC 5.1 storage without requiring third-party custom recoveries.

For low-level unbricking where the bootloader is completely non-responsive, the MediaTek MT6769 SoC supports Boot ROM (BROM) recovery via motherboard test points paired with an authorization bypass utility. Always verify that your USB connection is stable and that you avoid formatting the protected NVRAM partition.

Troubleshooting Xiaomi POCO M2 Flashing & MediaTek Boot Errors

Bootloader Locked Rejection: "FAILED (remote: 'Flashing is not allowed in Lock State')"

The MediaTek Helio G80 bootloader security blocks partition writes via flash_all.bat when locked. Enable "OEM unlocking" and "USB debugging" under Developer Options, pair your Mi Account with the phone, and complete the official Mi Unlock tool procedure on Windows before flashing.

MediaTek BROM SLA/DA Authorization Block: "STATUS_SEC_AUTH_FILE_NEEDED (0xC0030012)"

When using low-level MediaTek utilities on the MT6769 chipset, Xiaomi's secure boot architecture requires service center authentication keys. Use an open-source MediaTek Auth Bypass tool (such as mtk-auth-bypass or mtkclient) to bypass SLA/DA handshake requirements before loading the scatter file.

SP Flash Tool Handshake Drop: "BROM ERROR: S_BROM_CMD_STARTCMD_FAIL (0x7D5)"

The PC dropped communication during the preloader handshake phase. This commonly occurs when connecting through front-panel USB ports, USB 3.0 controller dropouts on AMD systems, or insufficient battery charge. Connect using an authentic USB cable on a rear motherboard USB 2.0 port while holding Volume Down.

Encountering flashing errors or driver issues? Consult our solutions below. Troubleshooting & Error Guide β†’

POCO M2 Workshop Flashing & Troubleshooting FAQ

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