Crucial Warning: Flashing via flash_all.bat reformats internal UFS 2.2 flash storage, erasing all downloaded apps, saved media, user accounts, and local documents. Always back up important files before proceeding. Firmware packages carrying the TFF identifier belong strictly to the rosemary_p hardware platform and cannot be cross-flashed with standard Redmi Note 10S (rosemary) software. When using Mi Flash Tool, NEVER select "clean all and lock" (flash_all_lock.bat) if you are flashing cross-regional firmware, as bootloader relocking against mismatched regional cryptographic signatures will trigger an unrecoverable bootloader lock brick.
Download Firmware for Xiaomi POCO M5s
European Economic Area (EEA / UK) 2 packages
rosemary_p_eea_global_images_V14.0.15.0.TFFEUXM_20241125.0000.00_13.0_eea_a0d60bee80.tgz
Official European Economic Area (EEA) Fastboot package on Android 13.0 base with MIUI 14.0. Includes full European regulatory compliance, UK carrier profiles, and Google Play Services.
MD5: a0d60bee801b781a210e5cfcbcdaf564
miui_ROSEMARYPEEAGlobal_V14.0.15.0.TFFEUXM_173e94e181_13.0.zip
Official European Recovery OTA package for stock recovery installation or local on-device update.
MD5: 173e94e181df3e0b59e909a7f79aa758
Global Channel (MI) 2 packages
rosemary_p_global_images_V14.0.17.0.TFFMIXM_20241217.0000.00_13.0_global_e6f691d94a.tgz
Official Global channel Fastboot package based on Android 13.0. Multi-language system with Google Play Services and Widevine L1 certified DRM.
MD5: e6f691d94a969019979c80fad69ff3a7
miui_ROSEMARYPGlobal_V14.0.17.0.TFFMIXM_b6ba1e953f_13.0.zip
Official Global Recovery OTA package for stock recovery installation or local storage update.
MD5: b6ba1e953f110fddb062648fa1ea2113
Regional Channels (ID, RU, TR, TW) 8 packages
rosemary_p_id_global_images_V14.0.8.0.TFFIDXM_20241226.0000.00_13.0_id_c55a8c7832.tgz
Official Indonesian region Fastboot package with localized carrier customizations and standard Google suite.
MD5: c55a8c783256b9f8bf27202b9487de8e
miui_ROSEMARYPIDGlobal_V14.0.8.0.TFFIDXM_ef954ed9a2_13.0.zip
Official Indonesian Recovery OTA update package for on-device installation or recovery update.
MD5: ef954ed9a2583e308523a82e17edd458
rosemary_p_ru_global_images_V14.0.13.0.TFFRUXM_20241226.0000.00_13.0_ru_e271c1a286.tgz
Official Russian regional Fastboot package with regional regulatory support and Russian language defaults.
MD5: e271c1a2863aa514fc1a01ca67432de6
miui_ROSEMARYPRUGlobal_V14.0.13.0.TFFRUXM_357d29cc0e_13.0.zip
Official Russian Recovery OTA update package for recovery flashing or local update.
MD5: 357d29cc0e6c5f9159c2fb9b42632553
rosemary_p_tr_global_images_V14.0.5.0.TFFTRXM_20250114.0000.00_13.0_tr_0cf6686351.tgz
Official Turkey regional Fastboot package with Turkish carrier settings and regulatory profiles.
MD5: 0cf6686351dcb23c3d909d27286779ff
miui_ROSEMARYPTRGlobal_V14.0.5.0.TFFTRXM_83ab6e6b8e_13.0.zip
Official Turkey Recovery OTA update package for recovery mode or local updater.
MD5: 83ab6e6b8e56a1f0770f6acc4d8acb4b
rosemary_p_tw_global_images_V14.0.9.0.TFFTWXM_20250114.0000.00_13.0_tw_f46be01aec.tgz
Official Taiwan regional Fastboot package with Traditional Chinese language defaults and regional carrier profiles.
MD5: f46be01aec3c0461b7219930d68c00f8
miui_ROSEMARYPTWGlobal_V14.0.9.0.TFFTWXM_32f05fdce4_13.0.zip
Official Taiwan Recovery OTA update package for stock recovery installation or local on-device update.
MD5: 32f05fdce45ad2a1aac697a8875311b6
Flashing Overview for Xiaomi POCO M5s
- Unlock the phone bootloader using the official Xiaomi Mi Unlock utility.
- Extract the .tgz archive twice using 7-Zip until flash_all.bat and the images folder appear.
- Power off the phone and hold Volume Down + Power together until the FASTBOOT screen displays.
- Open Mi Flash Tool, select the extracted firmware root directory, and choose "clean all".
- Click "Flash" and keep the phone connected while sparse partitions stream into UFS 2.2 storage.
Expand preparation checklist for Xiaomi POCO M5s
- Verify your phone codename is 'rosemary_p' by executing 'fastboot getvar product' from a command line while in Fastboot mode.
- Unlock the bootloader using the official Xiaomi Mi Unlock utility before attempting Fastboot partition flashing.
- Install official MediaTek USB VCOM / Preloader drivers and updated Android SDK Platform Tools (v35+) on a 64-bit Windows PC.
- Ensure the 5,000 mAh battery holds at least 50% charge before beginning the flashing process to prevent shutdown during 6GB+ super partition streaming.
- Extract the .tgz archive twice using 7-Zip until flash_all.bat and the images directory appear in the root path.
- Connect the phone via a certified USB Type-C data cable directly to a rear motherboard USB port to avoid communication drops.
Compatibility & Bootloader Notes
Official Fastboot flashing requires an officially unlocked bootloader via the Xiaomi Mi Unlock utility. MediaTek Helio G95 BootROM (BROM) mode enforces secure hardware authentication; low-level scatter flashing via SP Flash Tool requires an authorized service account or MTK Auth Bypass.
Ready to Flash This Firmware?
Full step-by-step instructions for Xiaomi POCO M5s, including prerequisites, error fixes, and screenshots, are on FlashGuideHub's Mi Flash Tool guide.
Can also be flashed via Fastboot: Open Fastboot Guide →
Frequently Asked Questions
The MediaTek Helio G95 (MT6785) is fabricated on a 12nm FinFET process. It utilizes an octa-core CPU layout: two Cortex-A76 performance cores running at 2.05 GHz and six Cortex-A55 efficiency cores at 2.00 GHz, paired with a four-core Arm Mali-G76 MC4 GPU clocked at 900 MHz. Coupled with dual-channel LPDDR4X memory and a dual-lane UFS 2.2 storage bus capable of sequential read speeds over 900 MB/s, the hardware handles heavy Fastboot data streaming smoothly without buffer underruns during dynamic super partition unpacking.
Although both phones share identical Helio G95 silicon and camera optics, Xiaomi assigns distinct product flags to each model. The POCO M5s reports its hardware product variable as "rosemary_p" while the Redmi Note 10S reports "rosemary". Official Fastboot flash scripts strictly assert this string before writing. Flashing standard rosemary firmware onto rosemary_p hardware will halt at the product check in flash_all.bat. Bypassing this check risks display initialization failures and kernel panics due to subtle panel driver differences in the dtbo image.
The POCO M5s implements Android dynamic partitions where core read-only operating system images (system, system_ext, vendor, and product) are bundled into a single physical super container (super.img) larger than 5 GB. During Fastboot flashing, the flash_all.bat script instructs the bootloader to transition into userspace fastbootd mode to unpack and stream these segmented sparse chunks directly into UFS 2.2 blocks, eliminating static partition boundaries.
Xiaomi planned software support for the POCO M5s to align with its underlying hardware platform generation. Because the Helio G95 platform originally debuted on Android 11 with earlier sibling releases, vendor board support packages and kernel maintenance ended after the Android 13 rollout. As a result, the POCO M5s concluded official software updates on MIUI 14.0 (Android 13.0) with maintenance security patches, bypassing official Xiaomi HyperOS upgrades.