Changelog HyperOS2.0.8.0.ULJCNXM
@RafitaDevChangelog: HyperOS 2.0.8.0 Port for Redmi Note 8 (Ginkgo/Willow)
Base: Redmi K50 Gaming (Ingres) OS2.0.8.0.ULJCNXM
System & Core Architecture
- Fully rebased framework to Redmi K50 Gaming 2.0.8.0 base
- Fixed status bar rendering bug where active notifications and ongoing system states failed to display correctly
- Reconstructed dynamic partitions to fit the new system size
- Updated system, vendor, and product partition configurations
- Removed K50 Gaming specific hardware trigger drivers to prevent kernel panics
- Removed K50 Gaming vapor chamber and advanced cooling daemons
- Patched services.jar to disable system signature verification natively
- Patched boot.img to fully disable Android Verified Boot (AVB)
- Disabled dm-verity and Forced Encryption (FBE) on userdata
- Updated DRM libraries for Widevine compatibility on the new base
- Implemented Core Patch for seamless third-party app installation
- Recompiled framework-res to translate Ingres DPI to Ginkgo native resolution
- Stripped all Xiaomi telemetry, MSA, and tracking services deep within the system
- Removed Joyose to prevent artificial gaming performance throttling
- Fixed hardware keystore mismatches causing bootloops on initial flash
- Cleaned up leftover APEX modules from the CN base to save system space
- Integrated missing global localization strings into framework
- Spoofed device fingerprint to pass Play Integrity API and SafetyNet natively
- Refactored init.rc to optimize early boot execution time
- Disabled strict SELinux enforcements that broke custom user scripts
UI, Graphics & Blur Implementation
- Successfully enabled system-wide Gaussian Blur across all UI elements
- Stabilized Blur rendering in Control Center, Volume Panel, and Notifications
- Switched Window Manager to Non-Flagship animation scaling
- Removed heavy flagship physics engine to drastically reduce CPU overhead
- Disabled K50 heavy 3D lock screen live wallpapers to free up RAM
- Fixed Control Center graphical artifacts during rapid expansion
- Re-aligned status bar icons and clock padding for the waterdrop notch
- Adjusted system-wide blur radius parameters to optimize GPU rendering cost
- Forced hardware composer (HWC) to handle blur instead of software rendering
- Disabled unnecessary UI shadow rendering to improve list scrolling speed
- Set animation durations to linear curves for a snappier feeling
- Fixed screen corner rounding overlays matching Ginkgo physical screen
- Adjusted display density (DPI) to 392 for optimal screen real estate
- Removed Always-On Display (AOD) code to prevent battery drain on IPS LCD
- Fixed dark mode color inversion bugs in third-party applications
- Disabled transition delays in accessibility services for instant UI response
Raw Performance & CPU/GPU Tuning
- Removed stock thermal-engine completely for absolute maximum raw performance
- Disabled mi_thermald to prevent any temperature-based frequency capping
- Implemented aggressive schedutil governor parameters for instant clock ramping
- Forced CPU to boost to maximum frequency immediately upon screen touch
- Increased input_boost_freq and input_boost_duration for zero UI lag
- Overclocked GPU parameters to handle the HyperOS 2.0 rendering pipeline
- Disabled core-control to ensure all Snapdragon 665 cores remain active under load
- Tweaked build.prop to force maximum hardware acceleration (debug.sf.hw=1)
- Disabled surfaceflinger composition bypass for consistent UI frame rates
- Forced SkiaGL rendering pipeline for smoother 2D application drawing
- Increased background process limits to allow better multi-tasking
- Adjusted LMKD (Low Memory Killer) parameters specifically for 4GB/6GB RAM
- Assigned maximum priority (renice) to foreground applications and launcher
- Disabled background cpuset throttling to prevent audio stutters under heavy load
- Lowered vfs_cache_pressure to 50 to keep filesystem structures in memory longer
- Increased I/O readahead values to 2048kb for faster app loading from storage
- Switched I/O scheduler to deadline for better eMMC flash memory performance
- Disabled software CRC checks in the MMC driver to boost read/write speeds
- Implemented fast garbage collection parameters in the Dalvik VM
Memory Management (RAM & Dalvik)
- Switched to LZ4 compressed ZRAM for high-speed memory swapping
- Set Swappiness to 60 for an optimal balance between RAM and ZRAM usage
- Increased dirty_ratio and dirty_background_ratio to reduce I/O bottlenecks
- Tweaked min_free_kbytes to prevent the system from aggressively killing apps
- Adjusted Dalvik VM heap sizes (heapstartsize, heapgrowthlimit, heapsize) for Ginkgo
- Rewrote dalvik-cache generation to pre-optimize system apps on first boot
- Cleaned up unnecessary background services to free up approximately 400MB of RAM
Battery Life & Deep Sleep Optimization
- Optimized deep sleep state transitions for minimal idle battery drain
- Fixed suspend_backoff wakelocks that kept the device awake during screen-off
- Aggressively tuned Doze mode to kick in much faster after screen timeout
- Reconfigured AlarmManager to batch background syncs and reduce CPU wakeups
- Disabled logd and removed all system debugging traces to stop background CPU usage
- Reduced the frequency of dumpstate generation and tombstone logging
- Removed K50 120W fast charging IC polling daemons that caused kernel wakeups
- Fixed PMIC (Power Management IC) battery percentage reading drops
- Lowered baseband idle voltage for better battery life on mobile networks
- Disabled RIL fast dormancy to prevent constant network state toggling
- Reduced sensor polling rates when the device is laying flat and idle
- Implemented strict application freezing for apps minimized in the background
- Blocked rogue Xiaomi cloud sync wakelocks
- Tuned idle CPU states to reach the lowest possible voltage during deep sleep
Network, Connectivity & Sensors
- Fixed RIL initialization for stable 4G/LTE data connections
- Updated default APN configurations for Global and LATAM carriers
- Fixed Wi-Fi 2.4GHz and 5GHz band bonding and connection drops
- Disabled Wi-Fi scanning throttling to lower ping during online gaming
- Switched TCP congestion control to BBR for maximized network throughput
- Fixed Bluetooth A2DP audio routing and stuttering issues
- Updated GPS NTP server configurations for faster satellite locks
- Fixed auto-brightness sensor scaling matching Ginkgo hardware
- Corrected proximity sensor behavior to prevent screen wake during calls
- Fixed compass orientation and accelerometer calibration
- Removed NFC drivers to prevent system log spam on unsupported variants
Camera & Audio
- Ported compatible MIUI Camera APK with Ginkgo quad-lens support
- Fixed 48MP mode processing and output resolution
- Fixed GCAM buffer lag and viewfinder stuttering
- Corrected depth sensor mapping for portrait mode
- Replaced audio mixer_paths.xml to significantly boost speaker volume
- Fixed low microphone volume during VOIP calls and voice notes
- Disabled audio resampler for native high-res audio playback
- Fixed headphone jack routing and impedance detection
- Disabled volume warning popups for maximum headphone output