[KERNEL] [LOS-14.1] tabp0le v1.1.5 w/F2FS, FastCharge USB 2/3 [Mar 07]

Search This thread

tabp0le

Inactive Recognized Developer
Code:
****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:
  1. Do this
  2. Do that
  3. See the bug
****Attach a logcat or you will be ignored****

Screenshots:
publicpreview.php

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 @tbalden
  • 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:
Code:
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:



Additional Credits:
  • Thanks to @crpalmer for all his hard work on the HTC 10 LOS kernel
  • Thanks to @Captain_Throwback for helping me get F2FS working
  • Thanks to @tbalden for force fast charge code & other code I borrowed too
  • Thanks to @flar2 for a bunch of code I borrowed from ElementalX
  • Thanks to @franciscofranco for a bunch of code
  • Thanks to @CrazyGamerGR for a bunch of code


tabp0le Sources:
tabp0le AnyKernel2

Original Sources:
LineageOS Kernel
AnyKernel2 by @osm0sis

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
 

Attachments

  • Screenshot_20170123-135224.png
    Screenshot_20170123-135224.png
    145.1 KB · Views: 2,788
  • f2fs-working.png
    f2fs-working.png
    26.4 KB · Views: 2,762
  • Screenshot_20170128-114904.png
    Screenshot_20170128-114904.png
    141.7 KB · Views: 2,210
  • Screenshot_20170128-114913.png
    Screenshot_20170128-114913.png
    73.3 KB · Views: 2,084
  • Screenshot_20170129-144828.png
    Screenshot_20170129-144828.png
    210.1 KB · Views: 2,027
  • Screenshot_20170203-121934.png
    Screenshot_20170203-121934.png
    146.9 KB · Views: 1,971
  • Screenshot_20170203-121947.png
    Screenshot_20170203-121947.png
    110.9 KB · Views: 1,926
  • Screenshot_20170203-121957.png
    Screenshot_20170203-121957.png
    141.9 KB · Views: 1,866
Last edited:

crpalmer

Inactive Recognized Developer
Mar 25, 2011
2,999
8,280
FYI, we (HTC and Lineage) enable sdcardfs which is a filesystem that is implemented on top of the real filesystem. Recently another device I maintain had sdcardfs removed because it caused weird random problems. Cyanogen said that sdcardfs has different problems depending on the underlying filesystem.

The problems aren't earth shattering like sdcard corruption, rather things like Google Photos failing to upload.

I compared the diff's between the device with problems and our kernel, and there didn't seem to be much different other than differences due to the fact that it was a 3.4 kernel.

I'm interested to know how it goes.
 

tabp0le

Inactive Recognized Developer
FYI, we (HTC and Lineage) enable sdcardfs which is a filesystem that is implemented on top of the real filesystem. Recently another device I maintain had sdcardfs removed because it caused weird random problems. Cyanogen said that sdcardfs has different problems depending on the underlying filesystem.

The problems aren't earth shattering like sdcard corruption, rather things like Google Photos failing to upload.

I compared the diff's between the device with problems and our kernel, and there didn't seem to be much different other than differences due to the fact that it was a 3.4 kernel.

I'm interested to know how it goes.

Thanks for that info! Does it use sdcardfs to mount the external or internal storage?
 

tabp0le

Inactive Recognized Developer

Attachments

  • Screenshot_20170119-005514.png
    Screenshot_20170119-005514.png
    108.3 KB · Views: 515
  • Screenshot_20170119-005519.png
    Screenshot_20170119-005519.png
    86.6 KB · Views: 638
  • Screenshot_20170119-005550.png
    Screenshot_20170119-005550.png
    166.8 KB · Views: 519
  • Screenshot_20170119-005553.png
    Screenshot_20170119-005553.png
    210 KB · Views: 504

Heisenberg420

Senior Member
Apr 28, 2011
2,289
1,017
Philadelphia
Google Pixel 6
FWIW I get that as well when trying to mount my sdcard in FX, and Lineage explorer. I'm on stock Lineage kernel. I can successfully mount and write to it with (speed software) explorer and the nougat browser in storage settings.

I assumed it was a nougat compatibility issue with those apps
 
  • Like
Reactions: tabp0le

tabp0le

Inactive Recognized Developer
FWIW I get that as well when trying to mount my sdcard in FX, and Lineage explorer. I'm on stock Lineage kernel. I can successfully mount and write to it with (speed software) explorer and the nougat browser in storage settings.

I assumed it was a nougat compatibility issue with those apps
Hmm, it didn't start for me until today. Must be a contexts issue. Maybe I'll just clear my data. Good to know it probably has nothing to do with f2fs. Update: Wiping SD card fixes this problem.
 
Last edited:

tabp0le

Inactive Recognized Developer
I'm excited about this bud!

What do I need to have "just in case" something goes wrong?

A log cat?

Yeah log cat will do. Though issues with f2fs are not going to be supported, as this device really isn't optimized for it. This kernel will let you use it, but it still doesn't work that great on this device. I've had trouble using my SD card with certain apps after enabling f2fs on data and cache.
 

kend0g

Senior Member
Sep 11, 2013
1,134
333
Hey version .03 doesn't pass safetynet

Sent from my HTC6545LVW using Tapatalk
 

kend0g

Senior Member
Sep 11, 2013
1,134
333
After a reboot the first two pass but the CTS profile match fails.

Sent from my HTC6545LVW using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    Code:
    ****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:
    1. Do this
    2. Do that
    3. See the bug
    ****Attach a logcat or you will be ignored****

    Screenshots:
    publicpreview.php

    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 @tbalden
    • 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:
    Code:
    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:



    Additional Credits:
    • Thanks to @crpalmer for all his hard work on the HTC 10 LOS kernel
    • Thanks to @Captain_Throwback for helping me get F2FS working
    • Thanks to @tbalden for force fast charge code & other code I borrowed too
    • Thanks to @flar2 for a bunch of code I borrowed from ElementalX
    • Thanks to @franciscofranco for a bunch of code
    • Thanks to @CrazyGamerGR for a bunch of code


    tabp0le Sources:
    tabp0le AnyKernel2

    Original Sources:
    LineageOS Kernel
    AnyKernel2 by @osm0sis

    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
    3
    FYI, we (HTC and Lineage) enable sdcardfs which is a filesystem that is implemented on top of the real filesystem. Recently another device I maintain had sdcardfs removed because it caused weird random problems. Cyanogen said that sdcardfs has different problems depending on the underlying filesystem.

    The problems aren't earth shattering like sdcard corruption, rather things like Google Photos failing to upload.

    I compared the diff's between the device with problems and our kernel, and there didn't seem to be much different other than differences due to the fact that it was a 3.4 kernel.

    I'm interested to know how it goes.
    3
    Updated release to version 1.1. Also updated changelog.
    3
    @tabp0le, Hey man.. glad you joined the EAS faze......

    anyhow, Just wanted to let you know, if you want to merge the correct fully working updated EAS into your code, let me know I will show you what to do..
    the new updated comes with schedutil and much more tweaked out.............

    But good work man............
    3
    eb22a1877e.png


    Battery life on EAS. Much higher than I got on the stock LOS kernel