👻 Digital ghosts in the machine are just misaligned packets 👻
Important
Compatibility for Hyper OS 3 is not tested, use at your own risk
If you have issues with v7.0, use v7.0 Safe (which remove the part of Perf Tuning in PROPS)
Code side
- Move post.fs file writing to service.sh, post.fs now serves only props
- Uses a better way to disable debugs instead of blind shotting for service.sh
- Use a better
wakelock_list
logic
Added or Changes
- Removed panic & watchdogs changes(we don't want an unstable device)
- Adjust Service killing list
- When
service.sh
executes, adjust CPU core allocation for foreground,background etc. tasks
Printk
- console_no_auto_verbose to Y (means disable)
- printk_ratelimit to 5 (this value means seconds, but with higher value, some device might crash)
Qualcomm Tuning
- KGSL
bcl
to 0 - Disable KGSL
preemption
(might reduce very little overhead) - Force GPU max and min clock (where Xiaomi actually limit some devices GPU max clock at a lower level)
- Enable LPM for all CPUs
- Force bus DDR,L3,DDRQOS max clock, lock min and min freq to min value
WALT Scheduler
- Further disable some input boosts where not needed
sched_window_stats_policy
to 0walt_rtg_cfs_boost_prio
to 99 (where 99 means disabled)- Reduce
WALT idle timer
to 10
Kernel
- PELT Multiplier to 4
VM Tunables
stats Interval
to 60swappiness
to 60- Page Clustering to 3
- Lower vfs_cache_pressure to 80
- Lower Dirty Ratio to 5
Network Tuning
- (Except for these listed below, all network tuning part is removed)
- TCP slow start after idle to 0
- TCP TW Reuse to 1
- TCP no metrics save to 1
- IP Forward to 0 (Just in case somebody do stupid things)
PROPS
- Vulkan enabled for some devices (for Device with SDK > 33 & Vulkan 1.3 support)
- Enable
MPBE I/O Boosting
for mediatek devices - Eanble Qualcomm WCD Driver Power Optimization
- Disable logtags
- Disable Events CPU
- Disable TraceOPT
- Disable Wifi Tracing
- Enable LMKD
- Disable some Sched stuff
- Further Disable certain logging
- Disable Surface Flinger timer
- Enable GNSS Optimizations (better GPS)
- Adjust Several SmartPower Related stuff
- Added back old HyperOptimize props
Rendering
- Change Blur Algorithm to
Kawase2
- Enable Cache Buffer
- Disable BGAnimate
- Enable Pre-Rendering
- Adjust several Surface Flinger stuff to make things stable
There is too much things going on, of course there might be more changes, but I can't list those all
Fixes
- Some devices stuck when memory allocation is over 80%
- Micro stutters
- Maybe more(?