[OnePlus 6T  ROMs, Kernels, Recoveries, & Other Dev] arter97:
​

arter97 kernel for OnePlus 6/6T running OxygenOS​

/* Details */

Fully rebased kernel with OnePlus' debugging code out

Latest CAF msm-4.9 kernel fully merged

This kernel contains more cutting-edge changes from Qualcomm than the regular sdm845 tag

Latest Linux 4.9 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

DM-verity fully disabled (you can remount /vendor to R/W properly)

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

TWRP integrated with proper f2fs support (see below)

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

/* Notice */

Both OnePlus 6 and 6T is supported.

Only OxygenOS is supported, but it is likely that the kernel will work with other ROMs. Though you may encounter minor issues.

Feel free to tip me which commits are needed to fix other ROMs.

Unlike my OnePlus 5/5T kernels before, you are free to flash Magisk after installing the kernel. Kernel does not include Magisk by default.

/* 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.

TWRP is not integrated to the kernel.

Please use a TWRP installer to install TWRP on top of my kernel.

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

/* Instructions */

You can use the zip file to flash the kernel from your existing TWRP recovery.

If you don't have TWRP installed already, you can use the img file to flash the kernel directly from your PC via fastboot.

Both methods will install both kernel and modified TWRP recovery.

You can check if the modified TWRP is installed by looking at TWRP's version name.

It should say "arter97-f2fs".

If you use fastboot method(directly flashing img), you will not pass SafetyNet.

/* Swap variant */

This kernel has a swap variant for memory-hungry users.

- Users with 6GB of memory or heavy multi-taskers are recommended to use the new swap variant

- Ditched conventional zram swap approach and taken zswap+vnswap for more efficient memory operations

- Backported zsmalloc memory allocator from mainline

- Backported zswap compressed page cache from mainline

- Samsung's Galaxy S9 memory modifications merged for better swapping efficiency tuned for Android

/* Downloads and links */

arter97.com

Kernel source

XDA:DevDB Information

arter97 kernel for OnePlus 6T, Kernel for the OnePlus 6T

Contributors

arter97

Kernel Special Features:

Version Information

Status: Stable

Created 2019-01-25

Last Updated 2019-10-28