FORUMS
Remove All Ads from XDA

[KERNEL]New Kernel 1.08/1.29-O/2.10-O [OOS-4.7.x/OOS-5.0.x/OOS-5.1.x][4.4.129]

9,772 posts
Thanks Meter: 19,140
 
By jgcaap, Recognized Contributor on 26th November 2017, 12:58 AM
Post Reply Email Thread
Hello everyone. After some time for building Roms and kernels for the OnePlus One, now I am here for the OnePlus 5T.
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.127
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
1.xx - Nouget









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 5T

Contributors
jgcaap
Source Code: https://github.com/NewRom/android_ke...neplus_msm8998

Kernel Special Features:

Version Information
Status: Stable

Created 2018-04-01
Last Updated 2018-04-01
The Following 70 Users Say Thank You to jgcaap For This Useful Post: [ View ] Gift jgcaap Ad-Free
 
 
26th November 2017, 12:58 AM |#2  
jgcaap's Avatar
OP Recognized Contributor
Flag Porto
Thanks Meter: 19,140
 
Donate to Me
More
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:
v.2.08-O
Merged linux patches 4.4.128

v.2.07-O
Merged linux patches 4.4.127

v.2.06-O
Merged linux patches 4.4.126

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

v1.09
Reverted Honor sync

v1.08
Reverted control over cpu to the older method.
Default frequency is for now 2.3ghz
WireGuard latest source
Ext4 fixes

v1.07
Using google oreo toolchain

v1.06
Synced with ROM OOS 4.7.6

v1.05
Compiled with a new custom toolchain with updated libs for 8.0
Changed swappinesss to 10%
Hard-coded Io schedulers
Fix to entropy depletion
Control of max and min frequency.
WireGuard support
Adreno idler fixes
Disabled some options to improve battery and smoothness.

v1.04
Synced with ROM OOS 4.7.4.

v1.03
Rebase and cleaned the mess in the source
Fixes from google.
F2FS upstream code
New libraries optimization
Disabled SEEMP support (more performance)
Added Boeffla wakelocker ( this is necessary since our modules produce alot of Wakelocks unnecessarily and eats battery).
Gpu is at 257mhz minimum on this version
Added adreno idler (this helps on battery)
Added adreno boost


v1.02
Gestures fixed
Performance increase

v1.01
Add a collections of schedulers and TCP Advanced Algorithms
Disable CC for size
Disable gentle fair sleepers
Sound control
block: add FIOPS scheduler
block: Add SIO scheduler
block: add fifo scheduler
block: add sioplus scheduler
block: add tripndroid scheduler
block: add vr scheduler
block: add zen v2 scheduler
block: add BFQ Scheduler
set initial TCP window size to 64K (speed improvement)
clock-osm.c: Expose PVS level via sysfs
vfs: move permission checking into notify_change() for utimes(NULL)
kernel: Only expose su when the daemon is running
fs: default to noatime
Correctly unregister usb_psy
Merged commits for upstream Linux kernel until v4.4.52

Notes: The wifi proprietary drivers are closed source and connected to the kernel 4.4.21. When I change the kernel version number to something else wifi gets broken. So the number of the kernel is 4.4.21 but the kernel is updated with upstream Linux patches until 4.4.52.
This version has also security patches to the SU which will protect from its vulnerabilities.
Added some performance configurations which will speed up the phone for the same battery life.
Introduced the sound control feature.
Change from relatime to noatime to increase the durability of the SSD without compromising performance.

v1.00
Updated Toolchain from Google.
Added SafetyNet workaround.
The Following 23 Users Say Thank You to jgcaap For This Useful Post: [ View ] Gift jgcaap Ad-Free
26th November 2017, 12:59 AM |#3  
jgcaap's Avatar
OP Recognized Contributor
Flag Porto
Thanks Meter: 19,140
 
Donate to Me
More
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.
The Following 13 Users Say Thank You to jgcaap For This Useful Post: [ View ] Gift jgcaap Ad-Free
26th November 2017, 01:04 AM |#4  
Bradl79's Avatar
Senior Member
Flag J'Ville
Thanks Meter: 1,206
 
Donate to Me
More
dude welcome back, this guy made the best Rom for OPO, nice to see u back, are u going to be make some Roms too?
26th November 2017, 01:05 AM |#5  
jgcaap's Avatar
OP Recognized Contributor
Flag Porto
Thanks Meter: 19,140
 
Donate to Me
More
Quote:
Originally Posted by Bradl79

dude welcome back, this guy made the best Rom for OPO, nice to see u back, are u going to be make some Roms too?

You can count on that
The Following 18 Users Say Thank You to jgcaap For This Useful Post: [ View ] Gift jgcaap Ad-Free
26th November 2017, 01:58 AM |#6  
gianton's Avatar
Recognized Contributor
Flag Thessaloniki
Thanks Meter: 9,417
 
Donate to Me
More
Quote:
Originally Posted by Bradl79

dude welcome back, this guy made the best Rom for OPO, nice to see u back, are u going to be make some Roms too?

+1 Welcome to the OP5T forum mate, hope to see your awesome ROM too.
26th November 2017, 04:48 AM |#7  
laulau42400's Avatar
Senior Member
Flag saint etienne
Thanks Meter: 104
 
More
+1 Welcome to the OP5T forum mate, hope to see your awesome ROM too.

Envoyé de mon ONEPLUS A5000 en utilisant Tapatalk
26th November 2017, 06:01 AM |#8  
Account currently disabled
Flag Vienna
Thanks Meter: 621
 
Donate to Me
More
Nice to see you here now.
26th November 2017, 10:55 AM |#9  
Senior Member
Thanks Meter: 589
 
More
Quote:
Originally Posted by Bradl79

dude welcome back, this guy made the best Rom for OPO, nice to see u back, are u going to be make some Roms too?

He's probably designing his Oreo Rom as we speak
The Following 2 Users Say Thank You to SlyUK For This Useful Post: [ View ] Gift SlyUK Ad-Free
26th November 2017, 11:16 AM |#10  
Account currently disabled
Thanks Meter: 461
 
More
Nice to see you here.. Hope to see some optimized lineage stuff from you.. Your roms on the one were awesome..
The Following 2 Users Say Thank You to arjunarora For This Useful Post: [ View ] Gift arjunarora Ad-Free
26th November 2017, 12:30 PM |#11  
jgcaap's Avatar
OP Recognized Contributor
Flag Porto
Thanks Meter: 19,140
 
Donate to Me
More
Quote:
Originally Posted by SlyUK

He's probably designing his Oreo Rom as we speak

Not yet. Preparing the kernel first. Alot of new things to learn..

Oreo Rom will come eventually just need some time to conclude it.

The kernel I thought as the easiest and the priority for now.
The Following 4 Users Say Thank You to jgcaap For This Useful Post: [ View ] Gift jgcaap Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes