Skip to main content
Xiaomi

Xiaomi 12S (mayfly) HyperOS Stock Firmware File Archive

The Xiaomi 12S (hardware codename 'mayfly', model number 2206123SC) is built on Qualcomm's 4nm TSMC Snapdragon 8+ Gen 1 platform paired with an Adreno 730 GPU, up to 12 GB of LPDDR5 RAM, and 512 GB of UFS 3.1 storage. Designed as a compact premium flagship, the phone features a 6.28-inch FHD+ 120Hz AMOLED display with Dolby Vision, an optical in-display fingerprint scanner, Leica professional optical imaging with a 50 MP Sony IMX707 main sensor, a 13 MP ultrawide lens, and a 5 MP telemacro camera, backed by a 4,500 mAh battery supporting 67W wired and 50W wireless charging.

Developed and released exclusively for the mainland Chinese market, the 2206123SC hardware never received official Global or European carrier branches. It stands separate from sibling models like the base Xiaomi 12 (cupid, built on the Samsung-fabricated Snapdragon 8 Gen 1), the larger Xiaomi 12S Pro (unicorn), and the 1-inch sensor Xiaomi 12S Ultra (thor). Firmware packages are strictly hardware-specific and cannot be interchanged across these platforms without causing severe display driver mismatches or device bricks.

Whether you need to unbrick a device stuck on the boot logo, fix system bugs after an update, or return to a clean factory state before installing custom software, this archive provides official stock Fastboot TGZ packages like mayfly_images_OS3.0.3.0.VLTCNXM_20260312.0000.00_15.0_cn_ab4953c424.tgz, stock Recovery OTA archives, official Xiaomi.eu multilingual hybrid ROMs, and verified TWRP custom recovery builds.

Xiaomi 12S
Brand
Xiaomi
Codename
mayfly
Model Family
2206123SC (China / Global Import)
Chipset
Qualcomm SM8475 Snapdragon 8+ Gen 1 (4nm TSMC, 64-bit Octa-Core: 1x 3.19 GHz Cortex-X2 + 3x 2.75 GHz Cortex-A710 + 4x 1.80 GHz Cortex-A510)
GPU
Qualcomm Adreno 730
Display
6.28" FHD+ AMOLED (2400x1080 pixels, 120Hz refresh rate, 1100 nits peak, 419 ppi, HDR10+, Dolby Vision, Gorilla Glass Victus)
Battery
4500 mAh Li-Po (67W wired fast charging, 50W wireless, 10W reverse wireless, USB Power Delivery 3.0, Quick Charge 4+, USB Type-C 2.0)
Launch OS
Android 12 (MIUI 13)
Latest OS
Android 15.0 (HyperOS 3.0)
Firmware Type
Fastboot ROM (.tgz) / Recovery ROM (.zip) / Custom Recovery (.img)
Flash Method
Mi Flash Tool (flash_all.bat) / Fastboot CLI / Recovery Sideload / TWRP

Download Xiaomi 12S Stock ROM & Custom Packages

Official China Factory Fastboot & Recovery Packages 4 packages

mayfly_images_OS3.0.3.0.VLTCNXM_20260312.0000.00_15.0_cn_ab4953c424.tgz
Model
Xiaomi 12S (2206123SC)
Region
China (CN)
Build
OS3.0.3.0.VLTCNXM (20260312.0000.00)
Build Date
2026-03-12
Android/OS
Android 15.0 (HyperOS 3.0)
Method
Mi Flash Tool (Fastboot / clean all)
Size
7.12 GB

Latest official factory Fastboot archive on Android 15.0 HyperOS 3.0. Used for unbricking bootloops, restoring factory partitions, or returning to stock software via Mi Flash Tool.

MD5: ab4953c4247f747e9168ea13d065d0e7

⬇️ Download via MIUI OTA
mayfly-ota_full-OS3.0.3.0.VLTCNXM-user-15.0-16f6dcd338.zip
Model
Xiaomi 12S (2206123SC)
Region
China (CN)
Build
OS3.0.3.0.VLTCNXM
Build Date
2026-04-02
Android/OS
Android 15.0 (HyperOS 3.0)
Method
Recovery Sideload / Local Update
Size
5.91 GB

Official China Recovery OTA package for stock recovery sideload or on-device local updater installation without wiping internal storage.

MD5: 16f6dcd3383d20ccae404262cdd14340

⬇️ Download via MIUI OTA
mayfly_images_OS2.0.209.0.VLTCNXM_20251225.0000.00_15.0_cn_e1c2e07a6e.tgz
Model
Xiaomi 12S (2206123SC)
Region
China (CN)
Build
OS2.0.209.0.VLTCNXM (20251225.0000.00)
Build Date
2025-12-25
Android/OS
Android 15.0 (HyperOS 2.0)
Method
Mi Flash Tool (Fastboot / clean all)
Size
6.91 GB

Stable production HyperOS 2.0 Fastboot archive on Android 15.0. Clean restoration image for troubleshooting or flashing via Mi Flash Tool.

MD5: e1c2e07a6e69e8d42207cf560d2fa677

⬇️ Download via MIUI OTA
mayfly_images_OS1.0.14.0.ULTCNXM_20241224.0000.00_14.0_cn_cb0cd99033.tgz
Model
Xiaomi 12S (2206123SC)
Region
China (CN)
Build
OS1.0.14.0.ULTCNXM (20241224.0000.00)
Build Date
2024-12-24
Android/OS
Android 14.0 (HyperOS 1.0)
Method
Mi Flash Tool (Fastboot / clean all)
Size
6.70 GB

Baseline HyperOS 1.0 Fastboot archive on Android 14.0. Useful for rolling back updates or restoring initial HyperOS release stability.

MD5: cb0cd99033395bf701bfda1a83cc96b6

⬇️ Download via MIUI OTA

Xiaomi.eu Multilingual Custom ROMs 4 packages

xiaomi.eu_MAYFLY_OS3.0.3.0.VLTCNXM_15.zip
Model
Xiaomi 12S (mayfly)
Region
Multi-Language (EU / Custom)
Build
OS3.0.3.0.VLTCNXM
Build Date
2026-04-02
Android/OS
Android 15.0 (HyperOS 3.0)
Method
TWRP Recovery / Fastboot Hybrid Script
Size
5.53 GB

Premier multilingual community ROM based on China HyperOS 3.0. Integrates Google Play Services, removes Chinese services, and retains full Leica camera tuning profiles.

⬇️ Download via MIUI OTA
xiaomi.eu_MAYFLY_OS2.0.209.0.VLTCNXM_15.zip
Model
Xiaomi 12S (mayfly)
Region
Multi-Language (EU / Custom)
Build
OS2.0.209.0.VLTCNXM
Build Date
2025-12-31
Android/OS
Android 15.0 (HyperOS 2.0)
Method
TWRP Recovery / Fastboot Hybrid Script
Size
5.38 GB

Stable HyperOS 2.0 multilingual community ROM on Android 15.0. Hybrid format supporting both PC Fastboot batch flashing and TWRP recovery zip flashing.

⬇️ Download via MIUI OTA
xiaomi.eu_MAYFLY_OS1.0.14.0.ULTCNXM_14.zip
Model
Xiaomi 12S (mayfly)
Region
Multi-Language (EU / Custom)
Build
OS1.0.14.0.ULTCNXM
Build Date
2025-01-19
Android/OS
Android 14.0 (HyperOS 1.0)
Method
TWRP Recovery / Fastboot Hybrid Script
Size
5.17 GB

HyperOS 1.0 multilingual community release based on Android 14.0. Clean European localization with embedded Google Mobile Services.

⬇️ Download via MIUI OTA
xiaomi.eu_multi_MAYFLY_V14.0.11.0.TLTCNXM_v14-13.zip
Model
Xiaomi 12S (mayfly)
Region
Multi-Language (EU / Custom)
Build
V14.0.11.0.TLTCNXM
Build Date
2023-12-18
Android/OS
Android 13.0 (MIUI 14)
Method
TWRP Recovery / Fastboot Hybrid Script
Size
4.82 GB

Final MIUI 14 stable release on Android 13.0. Hybrid package for users preferring classic MIUI system architecture before the HyperOS redesign.

⬇️ Download via MIUI OTA

Verified Custom Recovery Images 4 packages

twrp-3.7.1_12-v9.0_A15-mayfly-skkk.img
Model
Xiaomi 12S (mayfly)
Region
Community Custom Recovery
Build
TWRP 3.7.1_12 v9.0_A15 (skkk)
Build Date
2026-03-20
Android/OS
Android 15.0 (HyperOS 2.0 / 3.0)
Method
Fastboot flash recovery
Size
100.00 MB

Unofficial TWRP build by skkk updated for Android 15 HyperOS 2.0/3.0. Features FBE v2 user data decryption and dynamic super partition mounting.

⬇️ Download via Direct Link
twrp-3.7.1_12-v8.6_A14-mayfly-skkk.img
Model
Xiaomi 12S (mayfly)
Region
Community Custom Recovery
Build
TWRP 3.7.1_12 v8.6_A14 (skkk)
Build Date
2025-01-25
Android/OS
Android 14.0 (HyperOS 1.0)
Method
Fastboot flash recovery
Size
100.00 MB

Unofficial TWRP recovery compiled by skkk for Android 14 HyperOS 1.0 baselines with full user data decryption.

⬇️ Download via Direct Link
twrp-3.7.0_12-v7.9_A13-mayfly-skkk.img
Model
Xiaomi 12S (mayfly)
Region
Community Custom Recovery
Build
TWRP 3.7.0_12 v7.9_A13 (skkk)
Build Date
2023-12-20
Android/OS
Android 13.0 (MIUI 14)
Method
Fastboot flash recovery
Size
100.00 MB

Unofficial TWRP recovery build by skkk for Android 13 MIUI 14 releases and early AOSP custom ROMs.

⬇️ Download via Direct Link
twrp-3.7.1_16-mayfly-lingqiqi5211.img
Model
Xiaomi 12S (mayfly)
Region
Community Custom Recovery
Build
TWRP 3.7.1_16 (lingqiqi5211)
Build Date
2025-11-20
Android/OS
Android 15.0 / Android 14.0 / Android 13.0
Method
Fastboot flash recovery
Size
100.00 MB

Universal custom recovery image by lingqiqi5211 supporting multi-generation Android 13 through 15 partition mounting and zip flashing.

⬇️ Download via Direct Link

Xiaomi 12S Fastboot Flashing Steps & Overview

  1. Unlock bootloader via Xiaomi Mi Unlock
  2. Decompress Fastboot TGZ archive twice
  3. Reboot into Fastboot mode
  4. Load directory in Mi Flash Tool with "clean all"
  5. Flash partitions and wait for reboot
Pre-Flash Hardware Checks & Driver Setup for mayfly
  • Verify your phone codename is 'mayfly' by booting into Fastboot mode and running 'fastboot getvar product' in a terminal.
  • Check anti-rollback protection before flashing by checking 'fastboot getvar anti' to prevent downgrading below your current baseline.
  • The Xiaomi 12S features dedicated physical recovery partitions (recovery_a and recovery_b), allowing direct custom recovery installation via 'fastboot flash recovery .img' once unlocked.
  • Install official Qualcomm USB drivers and Google Android SDK Platform Tools (v35+) on a 64-bit Windows computer.
  • Charge the 4,500 mAh battery to at least 50% capacity before starting to prevent unexpected shutdown while transferring 7GB+ super partition chunks.
  • Extract the .tgz archive twice using 7-Zip until flash_all.bat and the images directory are visible in the root folder.
  • Connect the phone directly to a rear motherboard USB port with an authentic USB Type-C data sync cable.

Xiaomi 12S Motherboard & Sibling Platform Verification

Official Fastboot flashing requires an officially unlocked bootloader via the Xiaomi Mi Unlock utility. Qualcomm Snapdragon 8+ Gen 1 Emergency Download (EDL 9008) mode enforces cryptographic signature checks; low-level unbricking requires an authorized Xiaomi service account token.

Ready to Flash This Firmware?

Full step-by-step instructions for Xiaomi 12S, including prerequisites, error fixes, and screenshots, are on FlashGuideHub's Mi Flash Tool guide.

Open Mi Flash Tool Guide

Can also be flashed via Fastboot: Open Fastboot Guide →

Xiaomi 12S Firmware & Fastboot Flashing FAQ