Xiaomi

POCO M5s (rosemary_p): Stock Firmware Flashing Guide

Complete firmware flashing guide for the Xiaomi POCO M5s using Mi Flash Tool. Covers Xiaomi POCO M5s (rosemary_p), MediaTek Helio G95 drivers, and Mi Flash Tool procedures.

Xiaomi POCO M5s September 2022
Models
2207117BPG (Global / UK / Europe)
CPU
Octa-core (2x2.05 GHz Cortex-A76 & 6x2.00 GHz Cortex-A55)
GPU
Mali-G76 MC4
RAM
4 GB / 6 GB / 8 GB LPDDR4X
Storage
64 GB / 128 GB / 256 GB UFS 2.2 (expandable up to 1 TB via dedicated microSD)
Display
6.43" FHD+ AMOLED DotDisplay, 2400x1080 pixels, 60Hz, Gorilla Glass 3
Battery
5000 mAh Li-Po, 33W wired (in-box 33W charger)
OS
Android 13.0 (MIUI 14.0 for POCO), Launched on Android 12.0 (MIUI 13 for POCO)
Connectivity
4G Dual-SIM (Triple Slot), Wi-Fi 5, Bluetooth 5.0, NFC, IR Blaster, 3.5mm jack, Side Fingerprint
Colors: Grey White Blue

About the Xiaomi POCO M5s

This workshop guide provides step-by-step bench instructions to flash official stock Fastboot firmware to the Xiaomi POCO M5s (September 2022) using Mi Flash Tool. Writing multi-gigabyte system and dynamic super partitions to MediaTek's MediaTek Helio G95 (MT6785) platform over UFS 2.2 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 14.0 (Android 13.0), follow the verified prerequisites, battery precautions, and step-by-step flashing procedures detailed below.

Which Flash Mode Should You Use?

MediaTek SP Flash Tool / BROM Mode

Low-level flashing mode used for direct scatter flashing when standard Fastboot mode is inaccessible.

How to enter
Power off phone completely, connect USB cable while holding Volume Down or bridging BROM test points
Requires
PC with MediaTek USB VCOM drivers, official scatter firmware, authorized service token or MTK Auth Bypass

Recovery Sideload & Local Update

Official recovery interface used for installing signed recovery update packages directly over USB or on-device storage.

How to enter
Power off phone, hold Volume Up + Power together until the recovery menu displays
Requires
Official signed MIUI recovery package, 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 MediaTek USB VCOM 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 6GB+ sparse 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 POCO M5s β€” Quick Overview

A fast reference for flashing the Xiaomi POCO M5s (Helio G95) using Mi Flash Tool. For the complete walkthrough with images and error troubleshooting, see the full 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 Helio G95 (flash_all.bat)

Official Fastboot firmware packages for the Xiaomi POCO M5s are distributed as multi-gigabyte .tgz archives containing raw partition binaries (boot.img, dtbo.img, vbmeta.img, and sparse super.img dynamic partitions) written via flash_all.bat across the MediaTek Helio G95 UFS 2.2 storage controller.

flash_all.bat

Official Xiaomi POCO M5s firmware is distributed as multi-gigabyte .tgz archives. 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 triggering the "The system has been destroyed" lock brick.

Xiaomi POCO M5s Firmware Versions

Official stock firmware downloads for the Xiaomi POCO M5s. Verify your hardware model variant before downloading.

Version Region Android Version Size MD5 Download
V14.0.15.0.TFFEUXM (MIUI 14.0) EEA (Europe / UK) Android 13.0 6.4 GB a0d60bee801b781a210e5cfcbcdaf564 ⬇️ Download

This phone has 11 additional regional and recovery builds in the full archive. Browse the complete archive on AndroidFirmwareFile.com β†’

Xiaomi POCO M5s β€” Important Notes

The Xiaomi POCO M5s houses a 5,000 mAh internal lithium-polymer battery. Writing full MIUI 14.0 dynamic super partition images takes approximately 3 to 5 minutes over UFS 2.2. Confirm that your battery has at least 50% charge before beginning the flashing process to prevent unexpected shutdowns during partition writes.

Troubleshooting Xiaomi POCO M5s Flashing & MIUI 14 Errors

Fastbootd Chunk Streaming Stall: "FAILED (remote: 'fastbootd transport stalled' or write timeout during super.img)"

When flashing dynamic super partitions on the MediaTek Helio G95 platform, the phone automatically transitions from bootloader Fastboot into userspace fastbootd. If USB 3.0 controller chipsets encounter buffer delays or power-saving timeouts, streaming can stall. Workshop technicians suggest connecting directly to a rear motherboard USB 2.0 port, launching Mi Flash Tool as Administrator, and keeping Windows updated.

MediaTek Preloader Disconnect Loop: "STATUS_ERR / BROM connection dropped during MT6785 handshake"

Attempting low-level SP Flash Tool recovery without an active auth bypass causes the MT6785 bootrom to terminate the USB connection after 2 seconds. Because Xiaomi enforces secure boot challenge-response verification on Helio G95 hardware, flashing scatter files requires passing an authorized service account challenge or using Fastboot mode with an officially unlocked bootloader.

Product Variable Sibling Rejection: "error: Missmatching image and device / fastboot getvar product mismatch"

Attempting to flash standard Redmi Note 10S (rosemary) firmware onto a POCO M5s causes flash_all.bat to abort on the product string verification. The POCO M5s strictly reports rosemary_p. Technicians strongly warn against editing the batch script to remove this safety check, as forcing mismatched dtbo partition images can result in display touch inversion or startup bootloops.

For solving common Mi Flash Tool timeout codes, fastbootd transition delays, and MIUI 14 recovery issues: Xiaomi Flashing Error Directory β†’

Frequently Asked Questions β€” Xiaomi POCO M5s

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