Data syncs every 5 minutes · checked Data updated How updates work
Xiaomi 18 Pro Max product image

Xiaomi · China Mainland CNXM · HyperOS 4.0

OS4.0.5.0.XEOCNDM firmware downloadXiaomi 18 Pro Max China MainlandNew in last 3 months

HyperOS 4.0 official firmware for Android 17.0, released Sep 23, 2026. Recovery (.zip) and fastboot (.tgz) packages are linked straight from the official Xiaomi CDN.

Quick answer

OS4.0.5.0.XEOCNDM is a China Mainland CNXM build for the Xiaomi 18 Pro Max (China Mainland), on the Xiaomi HyperOS China MiStore Demo branch, released 2026-09-23 for Android 17.0. The recovery package upgrades while keeping data; the fastboot package performs a full flash and rescue. Pick a file type below.

Build number
OS4.0.5.0.XEOCNDM
System
HyperOS 4.0
Android
17.0
Region
China Mainland / CNXM
Release date
2026-09-23
Age
2 months ago
Security patch
2026-09-01
Downloads
8.4K

Download links8.4K downloads

Recovery package · OTA madrid_demo-ota_full-OS4.0.5.0.XEOCNDM-user-17.0-38007cd602.zip For the system updater or a Recovery install; user data is normally kept.
Fastboot package madrid_demo_images_OS4.0.5.0.XEOCNDM_20260922.0000.00_17.0_cn_fcbc5e7d58.tgz Written in full with MiFlash or fastboot, for rescues, cross-version downgrades and clean installs.
Carrier build · China Telecom madrid_demo_images_OS4.0.5.0.XEOCNDM_20260922.0000.00_17.0_cn_chinatelecom_8f7b80598f.tgz China Telecom variant with carrier preloads and network configuration.

Links point to the official Xiaomi CDN (cdnorg / bn.d.miui.com); files never pass through this server. Check that the file name matches the build number: fastboot packages are .tgz, recovery packages are .zip.

Build details

Detailed firmware build information
Build numberOS4.0.5.0.XEOCNDM
DeviceXiaomi 18 Pro Max (codename MADRID)
RegionChina Mainland · CNXM
BranchXiaomi HyperOS China MiStore Demo · includes carrier variants
SystemHyperOS 4.0
AndroidAndroid 17.0
Release date(2 months ago)
Security patch2026-09-01
Recovery packagemadrid_demo-ota_full-OS4.0.5.0.XEOCNDM-user-17.0-38007cd602.zip
Fastboot packagemadrid_demo_images_OS4.0.5.0.XEOCNDM_20260922.0000.00_17.0_cn_fcbc5e7d58.tgz
ROM typeRecovery (Recovery / OTA) · Fastboot · Carrier build
File sizeNot provided (Xiaomi does not publish file sizes)
ChecksumNot provided (Xiaomi does not publish MD5 / SHA-256; verify the file name and build number after downloading)
Download sourceDirect official CDN links (cdnorg.d.miui.com / bn.d.miui.com); this site does not host or modify files
Total downloads8.4K downloads
Data sourceOfficial Xiaomi firmware servers (cdnorg / bn.d.miui.com) · upstream dataset HegeKen/HyperData
Last checked(the sync job checks every 5 minutes)
Data updated(release date recorded for this build)

Other builds in this branch

View all 6 builds →
Other builds in this branch
Build numberSystemAndroidRelease date
OS4.0.11.0.XEOCNDM14.2K downloads HyperOS 4.0 17.0
OS4.0.9.0.XEOCNDM17.9K downloads HyperOS 4.0 17.0
OS4.0.8.0.XEOCNDM4.1K downloads HyperOS 4.0 17.0
OS4.0.6.0.XEOCNDM45.6K downloads HyperOS 4.0 17.0
OS4.0.5.0.XEOCNDM8.4K downloads HyperOS 4.0 17.0
OS4.0.4.0.XEOCNDM26.5K downloads HyperOS 4.0 17.0

Other regional builds for this device

Frequently asked questions

What is OS4.0.5.0.XEOCNDM?

OS4.0.5.0.XEOCNDM is a China Mainland build of the Xiaomi 18 Pro Max, belonging to HyperOS 4.0, based on Android 17.0 and released on 2026-09-23.

Is OS4.0.5.0.XEOCNDM a recovery or fastboot package?

Both: the .zip is the recovery package and the .tgz is the fastboot package. Pick the one that matches how you want to flash.

Will flashing this build erase my data?

A recovery flash usually keeps your data; a fastboot flash wipes all user data. Back up photos, chats and accounts and keep the battery charged before flashing.

Is the download link official?

Yes. Links point to Xiaomi's official CDN (cdnorg.d.miui.com / bn.d.miui.com) and the file name matches the build number. This site does not re-host or modify files.