During the setup wizard, you may notice some stuttering. After completing the setup, go to Display Settings → Screen Refresh Rate and set the minimum to 60Hz and maximum to 120Hz to permanently fix the issue.
Added support for MiCharge and Battery Anti-aging features
Complete overhaul on Power Management - fixed the massive lag during screen recording
Added Bluetooth Le audio Support - Compress Offload Now Working
Install Guide
❗ PRE-REQUISITES:
- CLEAN FLASH: Mandatory if coming from MIUI/HyperOS
or any other AOSP ROM.
- DIRTY FLASH: Only supported if you are already on
a previous Lunaris-AOSP build.
STEP 1: FLASH PARTITIONS (FASTBOOT)
(SKIP this step if you are already on an existing
AOSP-based ROM)
> fastboot flash vendor_boot vendor_boot.img
> fastboot flash boot boot.img
STEP 2: FORMAT & SIDELOAD
- Reboot to Recovery (Vol Up + Power).
- FORMAT DATA: Select Factory Reset -> Format Data.
(SKIP this only if Dirty Flashing from previous Lunaris)
- Apply Update -> Apply from ADB.
- Run: > adb sideload lunaris-aosp-v3.9.zip
- Recovery will ask: "Reboot to recovery?" -> Select YES.
- Select: Reboot System Now.
🛠️ CIT CALIBRATION (FOD & SPEAKER)
If sensors feel uncalibrated, follow this EXACTLY:
1. Settings > About Phone > Xiaomi CIT.
2. 3-dot menu (Top Right) > Additional Tools.
3. Select Option 5 (FOD) or Option 8 (Speaker).
4. ❗ IMPORTANT: Once finished, REBOOT. Do not close the app or go back.
Checksum
MD5
70d0b42c951a317a3a3e3514ee964ced
Lunaris-AOSP v3.9 UNOFFICIAL
Device: POCO X7 Pro (RODIN)
Build Date: 26th April 2026
Build Number: 3
🚀 System & UI
- Stabilized display composition and fixed gamma shifts (touch-flash bug).
- Increased AOD refresh rate to 60fps to prevent wake/sleep stutters.
- Re-tuned SurfaceFlinger and forced 120Hz default for games.
- Reduced Notification Shade and Launcher3 blur radius.
- Mapped 170m color space to sRGB with enhanced saturation.
- Dropped MinRefreshRateCtrl (Source side fixed).
- Aligned physical power button location in SystemUI.
⚡ Performance, Power & Charging
- Completely overhauled powerhints with a Pixel-like dynamic scaling philosophy.
- Fixed screen recording lag (boosted MemFreq and CPU floors).
- Synced latest stock HyperOS 3 power configs and cgroups.
- Added MiCharge and Battery Anti-Aging HAL support.
- Included MT6899 GPU Game Driver for enhanced gaming performance.
📶 Network & Connectivity
- Added CarrierConfig overlay to natively enable 5G SA VoNR and VoWiFi.
- Added init configurations and permissions for USB OTG support.
🔊 Audio & Bluetooth
- Fixed Mediatek AIDL audio service crash at startup (added SoundTriggerHw stub).
- Switched to prebuilt Bluetooth audio implementation and BLE configs.
- Enabled L2CAP and A2DP offload coexistence to prevent Bluetooth audio drops.
## Full Changelog
* Stabilized display composition and fixed gamma shifts (touch-flash) by neutralizing MTK MiraVision.
* Bumped Ambient Display (AOD) refresh rate to 60fps to completely resolve wake/sleep stuttering.
* Re-tuned SurfaceFlinger durations for 120Hz and forced game frame rates to 120Hz.
* Mapped 170m color space to sRGB and adjusted saturation to 1.1 for better visual punch.
* Overhauled powerhints (Pixel-like scaling philosophy) to eliminate UI micro-stutters and frequency ping-ponging.
* Fixed the 70% lag issue during screen recording by raising MemFreq to 5.48GHz and bumping core floors.
* Synced proprietary MTK power XMLs, cgroups, and init scripts from the latest HyperOS 3 dump.
* Added support for 90W MiCharge fast charging and Battery Anti-aging HAL with proper SEPolicy rules.
* Included proprietary GPU Game Driver for MT6899 to enhance gaming performance.
* Fixed Mediatek AIDL audio service startup crash by implementing a local stub SoundTriggerHw wrapper.
* Switched to prebuilt Bluetooth audio implementation and updated to BLE configs (dropped MIHC & spatializer).
* Enabled L2CAP and A2DP offload coexistence to prevent Bluetooth starvation.
* Added CarrierConfig overlay to natively enable 5G SA VoNR and VoWiFi.
* Added init configuration and permissions for USB OTG support.
* Reduced UI blur radius for the Notification Shade and Launcher3 for better performance.
* Set the correct physical power button screen location for proper SystemUI alignment.
* Dropped MinRefreshRateCtrl as the flickering issue is now fixed on the source side.