[OnePlus 6 & 6T Cross Device Development] thomas.raines:
What is LightningZap! kernel?

It is a lightweight, yet heavily tweaked and optimized kernel geared towards balancing performance and battery life.

Please read this ENTIRE post before downloading and flashing LightningZap! kernel.

Disclaimer: As with all custom kernels, you flash at your own risk. Always make a backup! I nor the associates of LightningZap! kernel, Teamfahq, or the testers group cannot and will not take responsibility for YOUR actions. I cannot always control what works and doesn't work with ROMs other than my own. If there is a bug, feel free to report it with logs, but note that the problem may be due to a conflict with coding int the ROM. If said condition exists, please discuss the concern with said ROM developer. If a bug condition does exist within the kernel and there is a known fix for said bug, please don't hesistate to link me to that fix. Make sure to give credit, thanks, and maybe even a cup of coffee to your developers. If you have a feature request, please feel free to share it as well.

Features:

Based off ElementalX kernel by flar

blue_schedul governor from blue_spark kernel thanks to eng.st

Ondemand gov Optimized for better performance while maintaining battery life

FIOPS ioscheduler by default (suggest leavving it that way)

My insane readahead tweak **** In HDK-Mod kernel manager, it reports "Not in range." This is normal DO NOT adjust. My tweaks optimizes readahead per demand usage.****

LZ4 compression

O3 Optimizations

zram

lz-sysctl tweaks

Sound control (speaker, earpiece and mic)

Backlight min setting

Adjust or disable vibration

Advanced Color Control and K-Lapse

Block wakelocks

NTFS r/w, CIFS and NFS support

WireGuard support

Option to disable fsync

Pass SafetyNet

LightningZap! kernel will work on oneplus 6 and oneplus 6T on stock OOs and most custom roms. There are 2 versions, PIE and NDP.

Diferences

PIE was built for custom roms

STOCK was modified for stock OOS (Does not include commits to fix fps that custom roms need)

NDP was slightly modified for SkyDragonOs by removing wake gestures. Wake gestures are natviely written into SkyDragonOs (and maybe more roms).

I have not tested all roms to see what works and what doesn't. So, I would suggest trying PIE first. If wake gestures (like dt2w) do not work, try NDP. Feel free to report what rom and LightningZap! kernel version you are using.

Bug reporting is HIGHLY encouraged, but please accompany your reports with logs. I cannot do much to fix things without them. Pruning of the logs is deeply appreciated as well.

I feel that if you are here, you already know how to flash a custom kernel. If not, close this page and do some research about it first. This will not erase recovery or root when flashing. But, I would like to quote @eng.stk

Download links:

LightningZap! kernel PIE- Updated 10-07-2019

LightningZap! kernel NDP

LightningZap!-kernel-STOCK

Changelog

XDA:DevDB Information

LightningZap! kernel for OnePlus 6/6T

Special thanks to:

flar, eng.stk, HolyAngel Kernel Source: OnePlus6T-LZ

Version Information

Status: Stable

Current Stable Version: 2.3

Stable Release Date: 10-05-2019