[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tabp0le:
****Disclaimer: I'm not responsible if you destroy your device. Use at your own risk.

Introduction:

I saw a lot of demand/requests for a LOS compatible, F2FS kernel and wanted to make one. This kernel installer includes the kernel with F2FS drivers built-in and the required ramdisk changes to make F2FS mount. This kernel is built for stability, battery life and features without compromising performance. Overclocking is not going to happen. Please do not flash this on any ROM not based off LineageOS.

Please Note: EAS kernel has moved to it's own thread. Please visit here for EAS version.

Bug Reporting:

Please only report bugs and do so in the following format:

Device Firmware base:

Kernel Version:

Device ROM, version and date of release/nightly:

Governor:

Scheduler:

Any changes made within a kernel manager:

Any bootup scripts:

Brief description of bug:

Intended behavior:

Actual behavior:

Steps to reproduce bug:

Do this

Do that

See the bug

****Attach a logcat or you will be ignored****

Screenshots:

[IMG="F2FS HTC 10"]https://cloud.spryservers.net/index.php/apps/files_sharing/ajax/publicpreview.php?x=1920&y=578&a=true&file=Screenshot_20170121-210810.png&t=Mgw5s5Eed6EbyPF&scalingup=0[/IMG]

Features:

F2FS /data support

F2FS /cache support

Disabled verifiedbootstate check (will allow CTS/SafetyNet to pass on unlocked bootloader)

Forced fast charge on USB 2.0 (cherry-picked from CleanSlate Kernel by [MENTION=3088420]tbalden[/MENTION]

Double tap fingerprint sensor to sleep

Battery/sleep improvements

Option to disable/enable wakelocks: Bluedroid, wlan_rx, wlan_ctrl, wlan, IPA_WS

Option to disable/enable touch boost

Option to disable/enable magnetic cover sensor

Sweep2Sleep option

Disable fsync option (will break reboot to recovery if disabled)

Separate options for I/O schedulers on internal/external storage

I/O enhancements

I/O Schedulers: noop, deadline, cfq, fiops, sio, fifo, sioplus, tripndroid, vr, zen

Governors: conservative, ondemand, userspace, powersave, performance, interactive, ElementalX

Requires:

CM/LOS 14.1 based ROM

Changelog:

3.07.17 - v1.1.5
-------------------------
*Upstream LOS changes

2.27.17 - v1.1.4
-------------------------
*Upstream LOS changes

2.17.17- v1.1.3
-------------------------
*Upstream LOS changes

2.9.17- v1.1.2
-------------------------
*Upstream LOS changes

Install:

Flash in TWRP.

Install your favorite kernel tweaking app for full functionality. EX kernel manager is my recommendation.

To get F2FS working, you need to research yourself. There are plenty of threads that tell you how.

Download:

Download Repo

Additional Credits:

Thanks to [MENTION=3857343]crpalmer[/MENTION] for all his hard work on the HTC 10 LOS kernel

Thanks to [MENTION=1162986]Captain_Throwback[/MENTION] for helping me get F2FS working

Thanks to [MENTION=3088420]tbalden[/MENTION] for force fast charge code & other code I borrowed too

Thanks to [MENTION=4684315]flar2[/MENTION] for a bunch of code I borrowed from ElementalX

Thanks to [MENTION=3292224]franciscofranco[/MENTION] for a bunch of code

Thanks to [MENTION=4527059]CrazyGamerGR[/MENTION] for a bunch of code

tabp0le Sources:

tabp0le AnyKernel2

Original Sources:

LineageOS Kernel

AnyKernel2 by [MENTION=4544860]osm0sis[/MENTION]

XDA:DevDB Information

tabp0le HTC 10 LOS Kernel, Kernel for the HTC 10

Contributors

tabp0le

Source Code: https://github.com/tabp0le/android_kernel_htc_msm8996/tree/cm-14.1-tabp0le

Kernel Special Features: F2FS support w/ ramdisk edits for /data and /cache. Wakelock controls, powersaving and more.

Version Information

Status: Stable

Current Stable Version: 1.1.5

Stable Release Date: 2017-03-07

Created 2017-01-19

Last Updated 2017-03-07