[KERNEL]New Kernel 1.29-O/2.12-O [OOS-5.0.x/OOS-5.1.x][4.4.131]

jgcaap

Senior Member
Sep 22, 2009
9,910
19,227
0
Porto
Hello everyone. After some time for building Roms and kernels for the OnePlus One, now I am here for the OnePlus 5.
Some of you already know me for what I focus on my builds.

Functionality
Speed
Smoothness
Battery


Features:
Compiled by a custom toolchain from Google to ensure the best experience.

Schedulers available:
SIO
BFQ
ZEN
CFQ - Default
Deadline
NOOP
MAPLE

Extra TCP advanced algorithm:
Westwood - set as default
Reno
Cubic
Highspeed
HTCP
Vegas
Veno
lp
illinois
yeah

Sound Control - Sound and Microphone control
KCAL - Control colours on your display

Adreno Idler - (Battery saver without compromising performance)

Notification LED control
Sweep2sleep

To control features use kernel adiutor.

Patches from Google Kernel for 4.4 devices
Latest CAF patches LA.UM.6.4.r1-07600-8x98.0
Latest Linux patches 4.4.126
Optimized libraries
Crypto patches
Wakelock blocker to reduce battery drain due to the modules (does not affect functionality)
Upstream code for F2FS
Using noatime
Patches to improve battery life
Passes Safetynet
WireGuard
Upstream code android binder
Screen flickering fixes

Version to use:
2.xx-O - Oreo 8.1 - Recommended to use OB6
1.xx-O - Oreo 8.0








There are two branches:
Stable - which has all proven and tested development
Beta - new features introductions. Remember if your chip fries... It was done with good intentions, intended only for brave people.

To build this kernel I give a huge thank you to great dev @savoca has had a lot of patience and shared his knowledge to build a kernel with a step by step guide, as also explaining how each stuff works.
@andi79 for the introduction of the 64bit model kernel compilation.

All credits go to the OnePlus team.

Disclaimer: With the use of this kernel I am not responsible for any damage to the phone. It is at your own risk in case happens something wrong. I use this kernel daily and test it before release.

Source code

XDA:DevDB Information
[KERNEL]New Kernel for the OnePlus 5

Contributors
jgcaap
ROM OS Version: 8.0.0 oreo/8.1.0 oreo

Version Information
Status: Stable

Created 2017-12-10
Last Updated 2018-03-23

XDA:DevDB Information
New Kernel, Kernel for the OnePlus 5

Contributors
jgcaap
Source Code: [url]https://github.com/NewRom/android_kernel_oneplus_msm8998[/URL]

Kernel Special Features:

Version Information
Status: Stable

Created 2018-04-01
Last Updated 2018-04-01
 
Last edited:

jgcaap

Senior Member
Sep 22, 2009
9,910
19,227
0
Porto
Instructions:
1) If you come from another kernel (which is not stock) flash the boot.img of the stock version.
2) Flash the zip file.

Changelog:

v2.05-O
Updated toolchain compilation environment

v2.04-O
SELinux: removed switch option.
updated to Linux 4.4.125
adjusted swap kernel to 10%. It will be very hard to use this.
Added patches from Google related to
Merged new Oneplus patches
Upgraded to wifi LA.UM.6.4.r1-07400-8x98.0
ensure the kernel is compiled for LP64
Added patch to prevent regressions in the compressed kernel image.
Removed some debug options and unnecessary features.

v.2.03-O
Merged LA.UM.6.4.r1-07400-8x98.0

v.2.02-O
Merged linux v4.4.123 patches

v.2.01-O
Reverted some of the code from the last rebase.

v2.00-O
Rebase kernel from oneplus 8.1 sources.
There was added alot of patches for cfq.
Removed some schedulers.
Added wireguard.
Applied changed which use less cpu.
Added display options to provide power savings.
Added display dimmer option.
Added kcal back.
Removed fifo, so, vr schedulers.

v.1.29-O
Rebased current kernel commits as it is with 8.1 sources.

v.1.28-O
More upstream fixes by Google.

v.1.27-O
Screen flickering fixes (was finding this really annoying)
CPU jumping randomly fixed ( more battery)
Upstream code for android binder with loads of fixes from Google

v.1.26-O
Merged CAF patches LA.UM.6.4.r1-06900-8x98.0

v.1.25-O
Merged Linux patches 4.4.120

v.1.24-O
Merged Linux patches 4.4.119

v.1.23-O
Synced with Oneplus changes.

v.1.22-O
Added wireguard back.

v.1.21-O
Merged Linux patches 4.4.118.
Disabled wireguard

v.1.20-O
Merged Linux patches 4.4.117.

v.1.19-O
Updated toolchain

v.1.18-O
Rebased and merged Linux patches 4.4.116.
Ext4 fixes
CPU interactive fixes
Merge tag 'LA.UM.6.4.r1-06500-8x98.0'
Changed some configurations for WiFi.
Lowered min frequency to 300mhz (less heat).

v.1.17-O
Merged Linux patches 4.4.115.

v1.16-O
Merged Linux patches 4.4.114.

v1.15-O
Synced with new oreo beta
Added cpu patch
Added crypto

v1.14-O
Merged Linux. Patches 4.4.113
Updated WiFi from caf drivers
Merge caf LA.UM.6.4.r1-06100-8x98.0

v1.13-O
Compiled with custom toolchain

v1.12-O
Merged Linux patches 4.4.112

v1.11-O
Synced with beta 2 for op5t

v1.10-O
Added Linux patches until 4.4.111
Disabled some debug
Changed binary Wi-Fi to a custom one built by caf
Compiled with google toolchain
 
Last edited:

jgcaap

Senior Member
Sep 22, 2009
9,910
19,227
0
Porto
Troubleshooting :
No wifi or broken hotspot.
Solution: You probably come from another kernel, please reflash rom, then flash kernel.

Battery drain:
This rom has a bug in the wifi. Please go to advanced settings and turn off scanning always available.

On status appears kernel 4.4.21
Since there is a requirement to the kernel say that is version 4.4.21-perf+ for wifi to work then I named the kernel 4.4.21-perf+. This until I check wifi driver source.
 
Last edited:

Aarju

Senior Member
Oct 24, 2015
418
99
0
21
Mohali
I have installed this version newKernel-OOS-2.07-O.zip on open beta 8 on my Oneplus 5 but during flash it shows oneplus 5t .Is it good to go or i should wipe my phone ???