arter97 kernel for OnePlus 5/5T
/* Details */
Hybrid CAF msm-4.4 kernel
This kernel contains more cutting-edge changes from Qualcomm than the regular msm8998 tag
Latest Linux 4.4 subversion merged
Use CONFIG_HZ = 300
- This changes context switching interval from 10ms to 3.33ms
- Pixel used this for years and Google recommends other vendors to do the same for fewer jitters
Memory management improved(from Pixel 2 & 3)
Pixel's lowmemorykiller used
Scheduler commits cherry-picked from Pixel 3
Timer optimizations
Additional power savings applied to the display panel
Heavily optimized touch panel source code resulting in reduced touch latency
RTL8152/8153 USB LAN adapter support
Other various optimizations from Paranoid Android
Permissive SELinux
Passes SafetyNet
Built with -O3 speed optimizations
Built with latest GCC
Westwood as default TCP network congestion control
UFS optimizations
Entropy hook on storage removed
Latest mainline f2fs support with GC fixes
CFQ I/O scheduler backported from mainline
Systemless installation (the kernel doesn't touch /system or /vendor)
Modules support disabled for lighter kernel
WireGuard support
Removed RTB(interrupt) logging entirely
Various changes merged from the Razer Phone 2 and Snapdragon 855
AnyKernel installation
/* Notice */
Both OnePlus 5 and 5T is supported.
Only OxygenOS is tested at the moment, but it is likely that the kernel will work with other ROMs thanks to the use of AnyKernel2 by osm0sis, though you may encounter minor issues.
Feel free to tip me which commits are needed to fix other ROMs.
/* f2fs */
This kernel fully supports f2fs for /data and I encourage everyone to use f2fs with my kernel for better performance.
See here as to why you might want f2fs.
To use f2fs, download zip files from http://arter97.com/browse/f2fs
Flash f2fs_tools_for_twrp.zip from TWRP. This won’t format your /data partition.
This will replace TWRP's f2fs tools with the latest version and pass the correct parameter to mkfs.f2fs, which is necessary.
This needs to be done everytime you enter TWRP, if you want to re-format to f2fs.
After formatting, or flashing a new ROM or an OTA, /vendor’s fstab needs to be changed.
Flash f2fs_fstab.zip to convert fstab to f2fs again. This won’t format your /data partition.
/* Disclaimer */
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this kernel
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
/* Thanks to */
TheCrazyLex
xboxfanj
Tim Murray
RenderZenith
nathanchance - for android-linux-stable
/* Downloads and links */
arter97.com
Kernel source
XDA:DevDB Information
arter97 kernel for OnePlus 5, Kernel for the OnePlus 5
Contributors
arter97
Kernel Special Features:
Version Information
Status: Testing
Created 2019-04-09
Last Updated 2019-08-10