Try “Xiaomi 14”, “marble”, “Redmi Note 13” or “OS2.0”

Xiaomi 18 Pro Max
HyperOS 4.0StableTaiwan

Xiaomi 18 Pro Max HyperOS 4.0 OS4.0.2.0.XEOTWXM

Stable firmware for the Taiwan Xiaomi 18 Pro Max (madrid_tw_global), released November 19, 2026.

Download OS4.0.2.0.XEOTWXM

Fastboot ROM (.tgz) · 12.5 GB Full image for Mi Flash Tool — clean install, unbrick or downgrade.
Download

Files are served from Xiaomi’s official servers. Compare the MD5 checksum after downloading to make sure the file is complete and untouched.

Firmware details

Device
Xiaomi 18 Pro Max
Codename
madrid_tw_global
Region
Taiwan
Version
OS4.0.2.0.XEOTWXM
OS
HyperOS 4.0
Android
17.0
Branch
Stable
Released
Nov 19, 2026
Package
Fastboot 12.5 GB

How to install OS4.0.2.0.XEOTWXM

Fastboot ROM (clean install, needs unlocked bootloader)

  1. Make sure the bootloader is unlocked and install Mi Flash Tool plus the Xiaomi USB drivers on a Windows PC.
  2. Download and extract the Fastboot ROM (.tgz) to a short path such as C:\rom.
  3. Power off the phone, hold Volume Down + Power to enter Fastboot mode and connect it via USB.
  4. In Mi Flash Tool select the extracted folder, choose clean all (wipes data) and avoid “clean all and lock” unless you want to relock.
  5. Click Flash and wait until the tool shows success; the phone reboots automatically.

Other Xiaomi 18 Pro Max (Taiwan) builds

Device page →
DeviceVersionAndroidBranchReleased
Xiaomi 18 Pro MaxTaiwan · madrid_tw_globalOS4.0.1.0.XEOTWXM
HyperOS 4.0Stable
17.0Stable

Xiaomi 18 Pro Max firmware for other regions

Frequently asked questions

Is OS4.0.2.0.XEOTWXM an official Xiaomi 18 Pro Max update?
Yes. OS4.0.2.0.XEOTWXM is an official Stable HyperOS 4.0 build for the Xiaomi 18 Pro Max (Taiwan), released by Xiaomi on November 19, 2026. The download links point directly to Xiaomi’s update servers.
Which Android version does OS4.0.2.0.XEOTWXM use?
This firmware is based on Android 17.0.
Will installing OS4.0.2.0.XEOTWXM erase my data?
Fastboot ROMs flashed with the “clean all” option wipe the device. Back up your data before flashing.
Can I install this on another region’s device?
Only install firmware that matches your device’s region (Taiwan) and codename (madrid_tw_global). Cross-region flashing requires an unlocked bootloader and can cause problems.