[Kernel][4.19.148][CAF-Rebased] Horizon Kernel [Android Q]

xzr467706992

Senior Member
Jul 16, 2016
141
471
73


Horizon Kernel for Oneplus 8 & 8 Pro

Features:
- Rebase on CAF “LA.UM.8.12.r1-14200-sm8250.0”
- Merge linux stable 4.19.148
- Merge kernel/common
- Build with proton clang 12 + polly + O3 + A55 optimizations
- Always enable touchscreen game mode
- Disable kernel module and build everything inline
- Switch to lz4 for ZRAM
- Remove lots of debug stuff
- Remove unused drivers
- Set BBR as default congestion algorithms
- Westwood congestion algorithms support
- Use fq as default qdisc
- Switch to 128kB readahead ( Optimize for UFS )
- Stop collecting I/O statistics
- Enable bpf jit
- Switch to urandom
- Use schedhorizon as default cpufreq governor
- GPU OC 670mhz ( Same as sd865plus)
- Wireguard support
- CIFS support
- NTFS support
- KCAL support


Download
https://dl.akr-developers.com/?dir=oneplus/horizon_kernel/preview

op8=Oneplus 8
op8p=Oneplus 8 Pro
op8po=oneplus8pro without IRIS_DUAL feature
( For OOS version < 10.5.11IN )

And the number at the end is build date

Notice
- This is a test build, please do some backups
- The kernel is rebased on CAF sources, so please check whether every hardware works well
- The default settings prefers battery

Contributors
xzr467706992

Credits
https://github.com/xzr467706992/android_kernel_oneplus_sm8250/graphs/contributors

Source
https://github.com/xzr467706992/android_kernel_oneplus_sm8250

Group
https://t.me/horizon_op8
 
Last edited:

xzr467706992

Senior Member
Jul 16, 2016
141
471
73
Changelog:

09301504
- Merge CAF "LA.UM.8.12.r1-14200-sm8250.0"
- Final version of android 10?

09282332
- Move back to 250Hz timer frequency
- Block Houston app in system
( eat cpu in background sometimes )

09272120
- Merge Linux 4.19.148

09232118
- Merge Linux 4.19.147
- Merge kernel/common

09160952
- Merge Linux 4.19.146

09160952
- Merge CAF LA.UM.8.12.r1-14100-sm8250.0
( Include kernel, wlan and audio techpack )
- Update wireguard to v1.0.20200908

09140000
- Enable touchscreen glove mode feature
( You can enable it by writing 1 to /proc/touchpanel/glove_mode_enable )
09131332
- Merge Linux 4.19.145

09121416
- Enable touchscreen game mode by default and never allow game center disable it

09110957
- Merge Linux 4.19.144
- Enable multi-page allocation for wlan drivers ( May fix sometimes unable to turn on wlan )


09081101
- Disable touchscreen game switch by default ( Game center enable it automatically )
- Build CAF rmnet perf & shs drivers
- Optimize cpuidle a bit

09041245
- Merge Linux 4.19.143

09031151
- Merge CAF "LA.UM.8.12.r1-13900-sm8250.0"
- Don't force upmigrate foreground apps to big cluster
- Re-enable optimizations for A55 cores

09011055
- Enable Westwood and disable CDG congestion algorithms
- Enable fq_codel qdisc
( Default setting is still BBR+fq )
- Optimize gpu idle timeout
- Relax gpu latency requirement
- Now I start shipping op8po build, which means oneplus8pro without IRIS_DUAL feature
( For OOS version < 10.5.11 )

08291527
- Rebase audio & display techpack on CAF "LA.UM.8.12.r1-13800-sm8250.0"
- Update video techpack to CAF "LA.UM.8.12.r1-13800-sm8250.0"
- Enable IRIS_DUAL for oneplus 8Pro

08271122
- Merge Linux 4.19.142
- Enable suspend skip sync
- Remove UFS pm qos usage
- Enable UFS HPB feature again
( This time it doesnt consume battery much )

08261148
- Update proton clang
- Offline all big & prime cpus on screen off

08241202
- Compile dtbo image
- Restrict some cpusets onto small cluster
- Use Android default nice value for background tasks

08220000
- Linux 4.19.141

08211024
- Hardcode default HZ value for oneplus charging drivers

08201336
- Disable HPB ( ~0.5-1%/h battery drain )
- Move back to pure CAF UFS drivers
- Use HZ=100

08191713
- Merge Linux 4.19.140
- Disable UFS Write Turbo
( This cause ~2%/h extra battery consume )
- Force enable UFS clkscale powersaving

08191138
- Enable UFS Turbo Write and HPB
- Merge CAF LA.UM.8.12.r1-13800-sm8250.0

08181354
- Enable KCAL
- Enable devfreq_boost driver

08172123
- Fix otg on oneplus8

08161547
- Fix kernel panic on 8 Pro when MEMC enabled
- Enable ntfs support
- Enable cpu_input_boost driver
- Tweak schedhorizon default settings
- Optimize kernel for A77 rather than A55
- Let cpu_input_boost driver handle sched_boost
- Default to BBR rather than CDG for TCP congestion algorithms

08131749
- First build
 
Last edited:

ronakbarman

Member
Oct 15, 2014
8
1
23
23
Using this from a day before, device definitely stays cooler and is more responsive, very very happy with this kernel, idk why it isn't getting more attention