• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[KERNEL]New Kernel 1.02 [OOS-10.x][4.4.205]

jgcaap

Elite 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 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
Notification LED control
Vibration Control
Sound Control
Using noatime
Patches to improve battery life
Passes Safetynet
WireGuard


Todo:
Added upstream patches from google and linux
Change to clang



Version to use:
1.xx - Android Q OOS








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: 10 Pie

Version Information
Status: Stable

Created 2017-12-10
Last Updated 2020-05-20

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

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 2020-05-20
 
Last edited:

jgcaap

Elite 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:
v.1.02-Q - 20/05/2020
Added Wireguard
Added Max min frequency controller
Activated ULPS and low-phypower off to screen (need testing).
Increased frequency to 2457600 Hz
Added wifi driver used on LOS (please test if works fine on los for now my support goes only to OOS)
Disabled a bunch of debug and logs to have more battery.
Added Vibration control.
Added KCAL (needs testing)
Reduced swapinness (more performance)
CFQ as default scheduler
Change settings to have CFQ optimized for SSD
Added sound control (needs testing)
Disable gentle fair sleepers
Added extra fixes from the community.
Added network schedulers: Westwood ,Reno, Cubic, Highspeed, HTCP, Vegas, Veno, lp,illinois,yeah
Added IO schedulers: noop,deadline,cfq,fiops,sio,fifo,sioplus,tripndroid, vr,zen,maple
 
Last edited:

jgcaap

Elite Member
Sep 22, 2009
9,910
19,227
0
Porto
Update:
Replaced v1.00

Added proprietary wifi-drivers to the zip file.


Apparently, the wifi-driver is proprietary and for that reason, we do not have it on the source. While comparing with other devs, seems that they are using opensource wifi-drivers from 4.5.x. Decided, for now, to stick with proprietary drivers for the OnePlus 5T, unless we are speaking on an AOSP ROM or if we discover that there are more benefits.

This is for the people which reported wifi not working. What happened was you came from another kernel which replaced wifi files (originally from stock), and this broke wifi when using this kernel.
 
Last edited:

SlyUK

Elite Member
May 13, 2015
2,492
724
0
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.
Absolutely plenty of time for your Oreo Rom. Perfect the kernel first :)
 

jgcaap

Elite Member
Sep 22, 2009
9,910
19,227
0
Porto
Hello guys,

Just uploaded a new update to the kernel. The version 1.01 includes the following:
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 daemon is running
fs: default to noatime
Correctly unregister usb_psy
Merged commits for upstream linux kernel untill 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.

Added a folder with the stock kernel (necessary to flash through fastboot). I will create a zip to flash through recovery on the weekend.
In case you have any questions please let me know.