Touch & Battery
• touch_boost: Big (4–6) and Prime (7) touch boosts disabled. Little cores boost to 1.32GHz for 25ms to reduce power spikes while targeting smooth 120Hz gestures.
CPU Governor
• cpufreq_bouncing: Watchdog polling relaxed to 20–30ms to reduce idle wakeups. Ramp thresholds set to 25ms (Big) and 40ms (Prime) to limit unnecessary 2.91GHz spikes.
Background Tasks
• task_overload: Removed unconditional RT-task bypass to govern runaway background tasks and alarm loops. Foreground games remain exempt.
Standby & Charging
• oplus_chg_shim: Replaced polling with event-driven detection. Stops background timer work when unplugged; cable changes use PMIC interrupts.
Kernel Synchronization
• synchronize/mutex: Added an early exit in mutex_list_add() for non-UX tasks to avoid unnecessary list traversal.
Notes:
• Based on melt latest sources from pqzt
• KernelSU-Next Manager or select no so could flash use any manager.
• TWINITY PORTS ONLY. DO NOT FLASH ON OTHER ROMS.
• SKKKKK TWRP WON'T BOOT.
Twinity+ Kernel Optimization Changelog
Touch & Battery
• touch_boost: Big (4–6) and Prime (7) touch boosts disabled. Little cores boost to 1.32GHz for 25ms to reduce power spikes while targeting smooth 120Hz gestures.
CPU Governor
• cpufreq_bouncing: Watchdog polling relaxed to 20–30ms to reduce idle wakeups. Ramp thresholds set to 25ms (Big) and 40ms (Prime) to limit unnecessary 2.91GHz spikes.
Background Tasks
• task_overload: Removed unconditional RT-task bypass to govern runaway background tasks and alarm loops. Foreground games remain exempt.
Standby & Charging
• oplus_chg_shim: Replaced polling with event-driven detection. Stops background timer work when unplugged; cable changes use PMIC interrupts.
Kernel Synchronization
• synchronize/mutex: Added an early exit in mutex_list_add() for non-UX tasks to avoid unnecessary list traversal.
Changelog
OPlus Driver Overhaul
-Realigned performance, thermal, and -governor profiles for SM7475 using the Realme GT Neo 5 SE as reference.
-Reduced touch boost from 50ms to 25ms for improved efficiency.
-Optimized dual-cluster touch boost for smoother interactions.
-Improved scheduler handling for 120Hz gaming and SurfaceFlinger.
-Reduced scheduler overhead and wake-up latency.
Notes:
• Beta for now. (test and report if there's any bugs on kernel)
• KernelSU-Next Manager or select no so could flash use any manager.
• TWINITY PORTS ONLY. DO NOT FLASH ON OTHER ROMS.
• SKKKKK TWRP WON'T BOOT.