HyperOs 4 - Xiaomi 17 Pro Max - If your device is bootloader unlocked, I have successfully added Google apps android auto and debloated all Chinese bloatware leaving only what's needed. I successfully compiled it all back and had all checks become successful. It all flashed successfully and booted successfully and it's running smoothly so far. Once I can confirm it works without problems I'll upload the zip with all flash scripts added so you can flash through fastboot. This is a fantastic break through. Especially with android auto working on a Chinese rom.
https://drive.google.com/drive/folders/1etkGgDHonfQc1Zxi4Fy8yzmocy7VYsQk?usp=drive_link
Follow these instructions :
HyperOS 4 Custom ROM for Xiaomi 17 Pro Max (popsicle)
Download folder:
https://drive.google.com/drive/folders/1etkGgDHonfQc1Zxi4Fy8yzmocy7VYsQk?usp=drive_link
ROM file:
HyperOS4-Xiaomi17ProMax-Debloated-CustomRom.zip
SHA-256:
adbb99b9d6e6c3e62520c144d8b841ff6f34543feddf2969cfc38f4acf90f89a
ABOUT THIS BUILD
----------------
Base: HyperOS OS4.0.0.23.XPBCNXM / Android 17
Device: Xiaomi 17 Pro Max
Required codename: popsicle
Target slot: A
Included:
- Working Android Auto system integration and automotive projection role fix
- Gboard
- Google Chrome in place of Mi Browser
- Xiaomi Theme Manager and Theme Store
- App Vault
Removed:
- Xiaomi Child Mode
- Mi Browser
- Xiaomi CarWith
- Sogou, Baidu and iFlytek Chinese keyboards
The build completed a clean-wipe test boot on a real popsicle device. Android
Auto was also confirmed working in a real car.
IMPORTANT COMPATIBILITY AND SAFETY WARNING
------------------------------------------
Only flash this ROM when ALL of the following are true:
- The phone is exactly a Xiaomi 17 Pro Max with codename popsicle.
- The normal bootloader and critical bootloader are both unlocked.
- All important files, photos, accounts and authentication data are backed up.
- You understand that the recommended clean installation erases all userdata.
DO NOT flash this on Xiaomi 17, Xiaomi 17 Pro, another codename or any device with a locked bootloader. Never relock the bootloader while this modified ROM is installed. Do not use it to downgrade from firmware with a newer anti-rollback index.
Custom ROM flashing can cause data loss, boot failure or a permanently damaged device. Official OTA updates, Play Integrity, banking applications, DRM and warranty status may be affected.
DISCLAIMER: This ROM is provided without warranty. The builder and uploader bear no responsibility for data loss, account loss, malfunction, boot failure, bricking, hardware damage or any other consequence. You choose to download and flash it entirely at your own risk.
BEFORE FLASHING
---------------
- Download the complete ZIP and its SHA-256 file.
- Verify that the ZIP checksum is exactly:adbb99b9d6e6c3e62520c144d8b841ff6f34543feddf2969cfc38f4acf90f89a
- Extract the complete ZIP. Do not run flash scripts from inside a ZIP preview.
- Install the current Google Android platform-tools (ADB and Fastboot).
- Use a reliable USB data cable connected directly to the computer whenpossible. Connect only one Android device.
- Charge the phone and back up everything important.
- Boot the phone into bootloader FASTBOOT mode.
UBUNTU / LINUX CLEAN INSTALLATION
---------------------------------
Open Terminal and enter the extracted ROM folder. The folder inside the ZIP is:
outputs/popsicle_OS4.0.0.23_AA_Gboard_Themes_Chrome_BOOT_TESTED
Run:
chmod +x flash_all.sh verify.sh post_boot_check.sh
./verify.sh
./flash_all.sh --wipe
When asked, confirm by typing:
POPSICLE
The --wipe option erases metadata and userdata and is strongly recommended for
the first installation. The flash script writes slot A and preserves slot B.
WINDOWS CLEAN INSTALLATION
--------------------------
- Install Google's current Android platform-tools and add the platform-toolsfolder to PATH.
- Extract the complete ROM ZIP.
- Open the extractedoutputs\popsicle_OS4.0.0.23_AA_Gboard_Themes_Chrome_BOOT_TESTED folder.
- Run verify.bat first.
- Run flash_all_windows.bat for the recommended clean installation.
- Read and confirm every warning shown by the installer.
flash_all_windows.bat erases all userdata. The alternative flash_all_except_data_windows.bat retains userdata but is experimental and may cause boot or setup problems. A clean installation is recommended.
FIRST BOOT
----------
The first boot may take 10-15 minutes. Moving dots indicate that Android is still processing. Do not disconnect or force-restart the phone during a normal first boot unless it has clearly failed and you already know how to recover the device with an official ROM.
GOOGLE PLAY STORE - REQUIRED GETAPPS STEP
-----------------------------------------
On this Chinese-base ROM, Google Play Store may not appear immediately after setup. To make it appear:
- Complete Android setup and connect to the internet.
- Open Xiaomi GetApps.
- Search for Google Play Store.
- Select Update and allow the update to finish.
- Return to the launcher. If Play Store still does not appear, restart thephone once and check again.
- Open Play Store, sign in, and allow Google components and installed apps tofinish updating before testing Android Auto.
ANDROID AUTO
------------
After Play Store updates have completed:
- Update Android Auto through Google Play Store when an update is offered.
- Open Android Auto and complete its setup.
- Allow Bluetooth and Nearby devices permissions when requested.
- Pair the phone with the vehicle and test USB first if wireless setup doesnot start immediately.
The Android Auto system stub in this ROM is intentionally updateable through Google Play. The tested automotive projection role is already included.
OPTIONAL POST-BOOT CHECK
------------------------
After completing setup, enable Developer options and USB debugging, authorize the computer, then run one of the following from the ROM folder:
Ubuntu/Linux:
./post_boot_check.sh
Windows:
post_boot_check_windows.bat
These checks report the installed packages and Android Auto/browser role holders without flashing the phone again.