[OnePlus 5 & 5T Cross Device Development] eng.stk:
​

Kernel features:

Build with custom toolchain blu_gcc-11.2 (cortex-a73.cortex-a53 targeted, build from gcc-11.1.0 snapshot with latest bleeding edge components)

Full -O2 build with device and target flags enhanced, linaro build improvements, etc

Less is more: stockish OP5 builds based on OnePlusOSS/android_kernel_oneplus_msm8998

Systemless installer (doesn't touch system partition, OTA friendly), AnyKernel3 backend (compatible with autoflash apps)

Removed some debug and logging options

ARM enhanced performance and battery patches

CVE security patches, general upstream and CAF fixes

Several CPU Governors (blu_active modded own governor by default - fastlane mode available!)

No OC, use 250HZ kernel timer frequency

msm_performance input boost toggle on/off (enabled by default), tweaked cpu_boost driver

Enhanced TCP methods (westwood is default), Network and Wifi tweaks and updated drivers

Several I/O control tweaks, added schedulers FIOPS and ZEN v2 is default, tweaked and upstreamed filesystems (F2FS, ExFAT, NTFS, CIFS & NFS)

Removed verify and doesn't force encryption, patched SafetyNet flags to pass CTS

Stock thermal driver by default (custom tunables available for ROMs with no thermal daemon)

Disabled hotplug, also on low battery levels (CTL and BCL)

Optimized crypto routines

ZRAM Swap (LZ4) and adaptive LMK on by default

Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)

KGSL fixes and reworked GPU driver (goes to idle @ 180MHz)

adrenoboost enabled by default at low level

KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)

KLAPSE support (v5.0)

Backlight min brightness option

USB Fast Charge (USB mode up to 900mA with MTP on)

Battery/Notification LED control

FS fsync toggle on/off

Wakelock blockers available

zx2c4's wireguard support

CDROM emulation on mass_storage (compatible with DriveDroid 0.10.36+)

Compatible with Kernel Adiutor, EXKM, FKM and others

DOWNLOAD KERNEL ZIP

FKM download configs: oos | custom

Extras download location

(No mirrors please)​

Setup and troubleshoot: To install just flash the zip on a stock setup with either TWRP or autoflash kernel app.

If you come from other kernel or have any issues, you should restore your stock boot.img or dirty flash your ROM before flashing blu_spark zip to avoid problems. Also uninstall or clean data of any kernel control app you're using.

If you are upgrading between blu_spark versions, just flash the kernel zip.

About bugs and reports: don't bother to post if a log isn't ready or without steps so the behavior can be replicated. I only active support stock OOS ROM with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with added modules, etc.

If you're using custom ROMs (including stock based ones) and OOS Open Betas you're much on your own. I'm mostly interested on debugging stuff in stock and stable OOS.

Also try not to spam the thread with OT. There's threads for all kind of stuff, use them.

Going back to stock: This kernel installer doesn't change your filesystem. You can backup your boot.img with TWRP or kernel app before flashing blu_spark if you want to go back to full stock or just dirty flash your full ROM.

OnePlus 5 development unit donated by OnePlus. Big shouts to them :)

Very proud of being on the OnePlus Developer Program, special thanks to Adam K. for being such a supportive person.

Contributors

eng.stk

Source Code: https://github.com/engstk/op5