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

Search This thread

jgcaap

Senior Member
Sep 22, 2009
9,910
19,228
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




oneplus-5t-header-1_1.jpg




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

Senior Member
Sep 22, 2009
9,910
19,228
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:

Bradl79

Senior Member
May 25, 2008
3,355
4,586
J'Ville
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?
 

jgcaap

Senior Member
Sep 22, 2009
9,910
19,228
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

Senior Member
May 13, 2015
2,497
725
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 :)
 

CroW_D

Senior Member
Jul 25, 2013
1,018
166
@jgcaap when did you received your device ? Didn't took long to bring up the awesomeness ;). Thanks for the great work.
 

jgcaap

Senior Member
Sep 22, 2009
9,910
19,228
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.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 80
    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




    oneplus-5t-header-1_1.jpg




    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
    24
    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
    20
    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 ;)
    14
    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.
    14
    Changelog v. 1.14:
    Merged Linux. Patches 4.4.113
    Updated WiFi from caf drivers
    Merge caf LA.UM.6.4.r1-06100-8x98.0