Variant: user · Type: release · Release: bp4a
Clean Flash is MANDATORY (Fenrir Included)
What's New:
MIUI Camera v6.6.000510.0 – Fully integrated with all SELinux policies and dependencies resolved for stable operation.
Dolby Atmos – Updated to the latest pong’s repository, delivering improved spatial audio and compatibility.
Fenrir Bootloader – Added a new patched lk.img built from OS3.0.301.0.WOJMIXM, enabling enhanced security and strong integrity.
Kernel Modules – Panel and battery drivers updated and patched from the OS3.0.301.0.WOJMIXM stock firmware.
Pre-requisites
• Firmware: If coming from Modded Stock or HOS2, it is highly recommended to flash the latest HOS3 first before installing this ROM.
• Clean Flash is MANDATORY (Fenrir Included).
Step 1: Flash Boot Images
Connect your device in Fastboot mode and run:
fastboot flash vendor_boot vendor_boot.img
fastboot flash boot boot.img
Step 2: Enter Recovery
Press Volume Up + Power.
Step 3: Factory Reset
Go to Factory Reset -> Format Data/Factory Reset.
Step 4: Prepare Sideload
Go to Apply Update -> Apply from ADB.
Step 5: Sideload ROM
From your computer using:
adb sideload filename.zip
Step 6: Reboot to Recovery
You will be asked: 'Reboot to recovery?' -> Select YES.
Step 7: Finish
Once back in recovery, select Reboot System Now.
Pro-Tips
• If your fod sensors or speaker feel uncalibrated after the first boot, go to Settings > Xiaomi Parts to calibrate them.
• The first Day You May Feel Heating, Battery Drain and Laggy. Please be patient!
# Rodin Full Changelog – Lunaris-AOSP | v3.12 | OS3.0.301.0.WOJMIXM (Fenrir)
**Build Info**
`Variant: user` · `Type: release` · `Release: bp4a` · `Custom ID: rodin`
*Based on stock OS3.0.301.0.WOJMIXM with all 47 upstream patches + additional camera/sepolicy refinements.*
---
## 🎯 Major Highlights
### 📸 MIUI Camera v6.6.000510.0
- Fully integrated and stable – all SELinux denials resolved.
- Added missing dependencies and fixed split‑APK extraction.
- Imported `misys`, `mtkblackbox`, and `hypsys` blobs; correctly labeled `miuicamera` context.
- Enabled **Live Photo** support and beauty mode (via `ro.miui.build.region`).
- Refactored camera tree for easier maintenance (spit into dedicated repository).
- Applied stock camera patches from OS3.0.300.0 and updated permissions from OS3.0.301.0.
- Fixed aidlbgservice copy rule and Graphi cBuffer size for filter plugin.
### 🔊 Dolby Atmos
- Updated to **pong’s latest repository** – improved spatial audio, DAX3 stack, and compatibility.
### 🔐 Fenrir Bootloader
- Added **patched `lk.img`** built from OS3.0.301.0.WOJMIXM – enables strong integrity and RKP TEE/StrongBox provisioning.
### ⚙️ Kernel Modules
- **Panel and battery** drivers updated from stock OS3.0.301.0 – better power management and display stability.
---
## 🔧 Performance & Thermal
- Relaxed thermal throttling limits (CPU/GPU) for sustained high clocks.
- Reduced kernel migration cost from 400µs to 250µs for responsiveness.
- Increased CMA memory allocation to **512 MB** – eliminates camera/video allocation failures.
- Enabled **F2FS ATGC** optimization on metadata partition (improved GC efficiency).
---
## 🎵 Audio Enhancements
- Added **Pro Audio** and **Unprocessed audio source** support.
- Synced audio/media configs with stock HyperOS.
- Integrated **Lunaris Dolby DAX3** (DAX3_3.12.0.8_r1).
- Wired headset now supports 32‑bit audio.
---
## 🖥️ Display & Graphics
- Switched to **MEOW GL** renderer with proper EGL configuration.
- Enabled **Vulkan backend** for HWUI rendering.
- Aligned SurfaceFlinger phase offsets with stock VSYNC timing.
- Explicit refresh rate controls (min/peak) in Settings.
- Added **Ambient Adaptive Light (AAL)** support.
---
## ⚡ Power Management
- Powerhint and cgroups tuned to match stock MIUI/HyperOS behaviour:
- **App Launch**: aggressive CPU boosts (Little 1.8 GHz, Mid 3.0 GHz, Big 3.25 GHz) with uclamp 100%.
- **UI Interaction**: precise 40% uclamp and 1.1 GHz floor for smooth 120 Hz.
- **Gaming**: thermal‑aware capping (Little 1.9 GHz, Mid 3.0 GHz, Big 3.2 GHz) with 55% uclamp.
---
## 🔒 SELinux & Security
- Added **vendorcodec** domain for Dolby Vision media codec.
- Comprehensive property contexts and access rules for camera HAL (skynet, dynamiccamera, P3, XDR).
- Labelled **40+ wakeup nodes**, DMA‑BUF/DMA‑Heap, and hundreds of missing device/socket nodes.
- Updated `hal_aidlbgservice` policies from stock.
- Added `vendor_camera_data_file`, `camera_mind_data_file`, `trace_data_file`, `mtkdump`, `minidump`, and more.
- Granted necessary permissions to `miuicamera_app`, `platform_app`, `system_server`, and `vendor_init`.
- Removed temporary permissive settings – all camera HALs now enforcing.
- Fixed neverallow violations and cleaned up redundant rules.
---
## 🧩 System & Boot
- Updated proprietary blobs to OS3.0.301.0 (fingerprints, build properties).
- Added Thermal Symlinks and proper init directories (e.g., `/data/vendor/multimedia` for Dolby).
- Corrected AVB flags to enable Fenrir’s strong integrity.
- Added Fenrir patch pin (`rodin-fenrir.bin:lk.img`).
- Fixed split‑APK extraction for camera and other modules.
---
## 🛠️ Additional Fixes & Improvements
- Disabled MTE (Memory Tagging Extension) for better compatibility.
- Capped AV1 decoder resolution to 1080p for stability.
- Added missing `libtinyxml2-v36` shim for Android 16 ABI compatibility.
- Labeled `vendor_displayfeature_prop` as public (allows camera access).
- Introduced `vendor_sysfs_xm_power`, `pstorefs`, `vfat` fs attributes.
- Added `rescue_block_device` and `oops_block_device` for recovery/panic logs.