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

Xiaomi 18 Pro Max
HyperOS 4.0Stable BetaJapan

Xiaomi 18 Pro Max HyperOS 4.0 OS4.0.4.0.XEOJPXM

Stable Beta firmware for the Japan Xiaomi 18 Pro Max (madrid_jp_global), released November 26, 2026.

Download OS4.0.4.0.XEOJPXM

Recovery ROM (OTA .zip) · 11.8 GB Install from the phone’s updater app — keeps your data.
MD5: 8c82042cc17db6a8034cf6e67581c79e
Download

This is a Stable Beta build. It may contain bugs and is meant for testers — wait for the Stable release if you depend on your phone daily.

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_jp_global
Region
Japan
Version
OS4.0.4.0.XEOJPXM
OS
HyperOS 4.0
Android
17.0
Branch
Stable Beta
Released
Nov 26, 2026
Package
Recovery 11.8 GB

How to install OS4.0.4.0.XEOJPXM

Recovery ROM (recommended, keeps data)

  1. Back up your important data and charge the phone to at least 50%.
  2. Download the Recovery ROM above on your Xiaomi 18 Pro Max.
  3. Open Settings → About phone and tap the HyperOS version card.
  4. Tap the ⋮ menu → Choose update package and select the downloaded .zip file.
  5. Wait for verification, then tap Reboot now. The update takes 10–20 minutes.

Other Xiaomi 18 Pro Max (Japan) builds

Device page →
DeviceVersionAndroidBranchReleased
Xiaomi 18 Pro MaxJapan · madrid_jp_globalOS4.0.3.0.XEOJPXM
HyperOS 4.0Stable
17.0Stable

Xiaomi 18 Pro Max firmware for other regions

Frequently asked questions

Is OS4.0.4.0.XEOJPXM an official Xiaomi 18 Pro Max update?
Yes. OS4.0.4.0.XEOJPXM is an official Stable Beta HyperOS 4.0 build for the Xiaomi 18 Pro Max (Japan), released by Xiaomi on November 26, 2026. The download links point directly to Xiaomi’s update servers.
Which Android version does OS4.0.4.0.XEOJPXM use?
This firmware is based on Android 17.0.
Will installing OS4.0.4.0.XEOJPXM erase my data?
Installing the Recovery package through the updater app keeps your apps and data. Flashing the Fastboot package with “clean all” wipes the phone — back up first.
Can I install this on another region’s device?
Only install firmware that matches your device’s region (Japan) and codename (madrid_jp_global). Cross-region flashing requires an unlocked bootloader and can cause problems.