[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
tbalden's

CleanSlate kernel

for HTC 10

The User Experience Kernel leaning towards Stock Stability plus UX features

"No-Root is a State of Mind"

As always tbalden is here to bring you authentic new features first in line, to his heart's chosen phone, this year HTC 10. ;)

The definitive 10 Kernel used in ICE 10 and LeeDroid's 10 ROMs as alternative stable kernel with advanced UX​

Version 3.7.16 - 14 of Jun, 2020

Version 3.7.15 - 16 of Feb, 2020

Version 3.7.10 - 21 of March, 2018

Version 2.7.4 - 21 of Jan, 2018

Version 2.7.0 - 23 of Dec, 2017

Version 2.6.5 - 14 of Dec, 2017

Version 2.4.0 - 20 of Oct, 2017

Version 2.3.5 - 15 of Oct, 2017

Version 2.2.0 - 30 of July, 2017

Version 2.1.0 - 1 of Feb, 2017

Version 1.7.5 - 17 of Nov, 2016

Version 1.6.0 - 23 of Aug, 2016

Version 1.3.1 - 20 of July, 2016

Version 0.6 - 2 of June, 2016

Version 0.1 - 22 of May, 2016

Should work on ROM bases Oreo base, Nougat version, MM: 1.82,1.90, 1.91, 1.92, 1.95, 1.96. Tested on 1.90+. Separate download for Sprint 1.80 base. Verizon base 1.82 should use the WWE base download.

Features:

- Sense & AOSP AOSP info - Oreo fimware needed --> AOSP only with AOSiP at the moment

- Button Light Notification (see video below, only works if Ambient Display is not active)

- Notification double vibration pattern detection based Button Light Notifications (works now even while charging!)

- "Endless BLN while charging" + "Notification vibration length based two types of blinking pattern for BLN" features

- KCAL Color Control (see video below, credit to @savoca)

- Fingerprint doubletap sleep (see video below)

- Kernel Ambient Display - kernel based ambient display for notifications

- K.AdAway - kernel adblocking feature for browsing and in app (not for youtube stream etc)

- Smart Notification Control - detauls: HERE

- CleanSlate Companion app - included in installer v2.6.0+

- Unprivileged Configuration Interface Config App- /sdcard/uci_user.cfg - no rooting needed for 99% of configs Config app details

- ROM side Ambient Display support for all notification functions

- Flashlight Notification/Call blinking

- Notification LED while on Charger

- Vibrating Notification Reminder (DETAILS) only works if flashlight notification is on!

- Low light mode switch BETA ( with screen off, press both volume keys short to switch.)

- Low light/vibration mode BETA (press both volume keys long. DETAILS)

- Full light/Full vib mode switch BETA (screen-off double press both VolKeys DETAILS to switch to Full light mode with Vib Notification Reminder on)

- Notification Booster on vibrating notifications when screen is off DETAILS. Default vibration voltage is lowered compared to stock

- Gradient battery charging led turning from amber to green based on battery level percentage, then at full charge it starts to smoothly change from full bright green to golden and the back to full green cycling, signalling 100% battery for easy spotting

- Fading notification led fading/pulsating type notification LED blinking

- Upper grill RGB LED light brightness level you can lower the brightness level of the upper grill RGB led now (use ICE configurator/LeeDroid tweaks latest version to config!)

- Adrenoboost version 2.2 - smooth gaming, battery friendly, fixing GPU handling of stock HTC kernel -- battery friendly conservative governor. Three levels (1 is the most battery friendly), and off state. ICE configurator / LeeDroid settings should handle it soon (thanks [MENTION=4684315]flar2[/MENTION] for the original idea)

- Fastcharge for USB 2.0 -- PC's, Laptop's will now be able to charge your phone (bumping 0.5A draw to 1A from USB2.0 port, retaining the data connection all working)

- Backlight dimmer not on by default, check second post for sysfs paths for your scripts, or use ICE configurator/LeeDroid tweaker - Full credits to @flar2

- WireGuard VPN kernel support

- Sweep2sleep Full credits to @flar2

- DriveDroid support - Mounting of ISO (ReadOnly/ReadWrite) images to your PC for storage or booting them on PC

- Sound Control Headphone Gain Full credits to @flar2

- NTFS/ReadWrite

- Sony HID input device support (thanks @flar2)

- Wifi Wakelock reduction patch by @buckmarble

- Hacked texfat/modcrypto loading for all ROM bases to work with sdcard

- doesn't modify system partition. Androidpay should work on phones with stock system image

- Compatible with LeeDroid and ICE 10 ROM kernel tweak settings. Thx [MENTION=1186202]baadnewz[/MENTION] and [MENTION=398245]LeeDroid[/MENTION]

- compatible with ViperROM

Facts:

- no root required except if you need it for tweak apps, otherwise only twrp

- recommended tweak app: cleanslate configuration app for non rooted users too

- built on top of kernel sources released on htcdev for WWE, Sprint and Verizon-locked bases

- built with standard toolchain for stability and efficiency

- kept stable, no tweakings, just features

- stable and reliable, keeping close to stock except addition of Usability features

ButtonLightNotif

[YOUTUBE]8Hd4C9uOnUM[/YOUTUBE]

BLN only will appear if your phone is screen off, and if being charged works if you have vibrating notifications on for your different notifications. Once you switch screen on the BLN will go off, till next new notification arrives while screen is off.

BLN is not working with ambient display mod, as that turns screen on instantly.

Flashlight notification

[YOUTUBE]GmQLBvXPMlY[/YOUTUBE]

KCal Color Control on HTC 10

Color Control settings in CleanSlate configuration app. Old demo:[/url]

[youtube]ccveEGoVQeE[/youtube]

Doubletap Fingerprint scanner to sleep:

[youtube]WzORGYXliy0[/youtube]

Gradient charging LED and pulsating notification LED video:

[youtube]BV794d_LG54[/youtube]

Chromatic gradient colors for battery percentages, check attached img

Adrenoboost v2.2 framerate level boosts (sampled in Suicide Squad):

Requirements

- Unlocked HTC 10 with TWRP

- Sense rom

-- Tested only on European HTC 10 model. Should work on Emea/taiwan and US GSM and Verizon and unlocked dev phones. Please report back!

- BACKUP: make sure you backed up your original Boot partition in TWRP, before installing this! Installer since 0.4 only modifies BOOT (kernel zImage)

- INSTALL: Side load, or install the zip from your sdcard through TWRP

- Install CleanSlate Companion app and CleanSlate Configuration app

- After each reboot, for quicker start-up, it's recommended to start the Companion app manually

- check non-eas cpu tweaks here for aosp roms https://xdaforums.com/showpost.php?p=74109059&postcount=471

Known bugs:

Sense:

- None, please tell

AOSP:

- MTP related issue, to make it work perfectly read this here

DOWNLOAD

OREO

3.7.16 -- For Sense Bases 3.16+ for TWRP containing APKs copied to /sdcard/:

https://www.androidfilehost.com/?fid=8889791610682869987

NOUGAT

2.7.4v2 -- For Sense Bases 2.28 - 2.51 // AOSP Nougat (LOS / RR...) installer for TWRP containing APKs (v1.5.6/v1.7.5) copied to /sdcard/:

https://www.androidfilehost.com/?fid=818070582850498249

CleanSlate Companion APK 2.6.9

PlayStore for premium donation version

https://play.google.com/store/apps/details?id=org.cleanslate.csservice

Free version: https://www.androidfilehost.com/?fid=4349826312261804490

CleanSlate Configuration APK 2.14.2

PlayStore for premium donation version

- additional features in premium app: App Themes, Profiles, Profile Switch QuickTiles

https://play.google.com/store/apps/details?id=org.cleanslate.csconfig

Free version: https://www.androidfilehost.com/?fid=8889791610682868176

3.7.14 -- For Sense Bases 3.16 // AOSP installer for TWRP containing APKs copied to /sdcard/:

https://www.androidfilehost.com/?fid=5862345805528049177

3.7.13 -- For Sense Bases 3.16 // AOSP installer for TWRP containing APKs copied to /sdcard/:

https://www.androidfilehost.com/?fid=746163614322275068

3.7.12 -- For Sense Bases 3.16 // AOSP installer for TWRP containing APKs copied to /sdcard/:

https://www.androidfilehost.com/?fid=818222786056031671

3.7.11 -- For Sense Bases 3.16 // AOSP installer for TWRP containing APKs copied to /sdcard/:

https://www.androidfilehost.com/?fid=674106145207486422

3.7.10 -- For Sense Bases 3.16 // AOSP installer for TWRP containing APKs copied to /sdcard/:

https://www.androidfilehost.com/?fid=962187416754470111

3.7.9 -- For Sense Bases 3.16 // AOSP installer for TWRP containing APKs copied to /sdcard/:

https://www.androidfilehost.com/?fid=962187416754468667

3.7.6 -- For Sense Bases 3.16 // AOSP installer for TWRP containing APKs copied to /sdcard/:

https://www.androidfilehost.com/?fid=890129502657589963

2.7.2 -- For Sense Bases 2.28 - 2.51 // AOSP Nougat (LOS / RR...) installer for TWRP containing APKs (v1.5.6/v1.5.5) copied to /sdcard/:

https://www.androidfilehost.com/?fid=673791459329071149

2.4.2 -- For Sense Bases 2.28 - 2.51 // AOSP Nougat (LOS / RR...) installer for TWRP:

https://www.androidfilehost.com/?fid=962021903579488498

2.3.5 -- For Sense Bases 2.28 - 2.51 // AOSP Nougat (LOS / RR...) installer for TWRP:

https://www.androidfilehost.com/?fid=817906626617938893

2.2.2 -- For Bases 2.28 - 2.51 installer for TWRP:

https://www.androidfilehost.com/?fid=817906626617935989

2.2.1 -- For Bases 2.28/2.38/2.41/2.48/2.50 installer for TWRP:

https://www.androidfilehost.com/?fid=745425885120753013

2.2.0 -- For Bases 2.28/2.38/2.41/2.48/2.50 installer for TWRP:

https://www.androidfilehost.com/?fid=673368273298975177

2.1.0 -- For Bases 2.28/2.38/2.41 installer for TWRP:

https://www.androidfilehost.com/?fid=457095661767134093

Marshmallow:

PLEASE BE VERY CAREFUL TO CHOOSE THE RIGHT VERSION FOR YOUR PHONE!

If you have a non-SPRINT, international/USA/T-Mo/Verizon on stock 1.82/1.90/1.91/1.92 or custom ROMs with base 1.90+ you need the first one (for all devices except Sprint).

If you have a SPRINT device updated to 1.80/.190 base or using a custom 1.80/1.90 based rom with your SPRINT device, use the SPRINT version.

BASE 1.82/1.90/1.91/1.92/1.95/1.96 (for all devices except Sprint):

CleanSlate 1.7.5:

https://www.androidfilehost.com/?fid=457095661767116302

BASE 1.80/1.90/1.91/1.92/1.95 (for Sprint devices!):

CleanSlate SPRINT 1.7.5:

https://www.androidfilehost.com/?fid=457095661767116301

For those who have WWE/international/verizon phone and are still wanting to remain on base stock/custom 1.80 ROM base, I recommend using CleanSlate wwe/international 1.6.1 download, the last one in that line: https://www.androidfilehost.com/?fid=24591000424959536

BASES 1.55 and BELOW (for all devices except Sprint and Verizon-locked-to-1.19)::

CleanSlate 1.1.0:

http://d-h.st/Q3MA

https://mega.nz/#!m5hiGKKD!i3qGBg1q4j8mLOslH0oI2vxPYxaGLS4xR1VoeuWTiEA

md5 9a32d1736f0a73bde50471f7b472070e *CleanSlate-kernel-v1.1.0.zip

Older versions

BASE 1.80 (for all devices except Sprint and Verizon-locked-to-1.19):

CleanSlate 1.2.3:

https://www.androidfilehost.com/?fid=24591020540823938

md5 8eb255307324bbf1653341ed57765df0 *CleanSlate-kernel-v1.2.3.zip

BASE 1.80 (for Sprint devices!):

CleanSlate SPRINT 1.2.3 (v2):

https://www.androidfilehost.com/?fid=24591000424945109

md5 c715f85de18b5d35a761ee0019620e42 *CleanSlate-SPRINT-v1.2.3-v2.zip

BASE 1.19 (for Verizon devices on stock 1.19 ROM):

CleanSlate VERIZON 1.2.3:

https://www.androidfilehost.com/?fid=24591020540823939

md5 7ce7425fb22c373f451c8b416f70bb87 *CleanSlate-VERIZON-v1.2.3.zip

CleanSlate 1.0.2:

[/B]http://d-h.st/qGTZ

https://mega.nz/#!qx4TWKwB!h2Oq2JxtvHKTD81HmlwRty8Um3hoX4l9kchnLjbHy0M

md5 465a5c8ea2d2bc3ec6de668619230bf5 *CleanSlate-kernel-v1.0.2.zip

CleanSlate 1.0.1:

[/B]http://d-h.st/CCNC

https://mega.nz/#!zsQiVLgA!iHpjmLTQpifq9nsmczo1X1Iqbp1itxoRtFZzd4Ys21Q

md5 7287ba37cb24f6f97eabcd298ee82334 *CleanSlate-kernel-v1.0.1.zip

CleanSlate 1.0:

http://d-h.st/AOaY

https://mega.nz/#!XgwC2RCK!LUWmO_8s9OdZ4JElVLEcssF_rR4wbouaJtYg0wdp5lA

c61876ffcc4852b96786fb76f584cebe *tbalden-kernel-htc10-v1.0.0.zip

CleanSlate 0.6:

[/B]http://d-h.st/CrFv

https://mega.nz/#!a9RR3KZK!dCc4-d90HE1H-F4n7J4X59e4_bQzQotX1uJ1Wzmbc74

254312128d1b0507f9c410e8a2f82998 *tbalden-kernel-htc10-v0.6.zip

CleanSlate 0.5.1:

http://d-h.st/vq9

https://mega.nz/#!zlASWCAT!dgLtP3iJle0RUm1sZc2NXHd0rmum5Cl1GgJl-jJQIWU

Md5 f8e4b76292d2bec831917303c870bd1c *tbalden-kernel-htc10-v0.5.1.zip

CleanSlate 0.4-Alpha2:

http://d-h.st/QvCJ

https://mega.nz/#!TpI0WYSL!hWuGKjp_M6MMihABpqXv5yvYTpqN4WNUENVqU4bQeAo

Md5 4bde0a7313ee1ae61491cb351e04d25c *tbalden-kernel-htc10-v0.4-alpha2.zip

CleanSlate 0.4-Alpha1: http://xdaforums.com/showpost.php?p=67071321&postcount=135

for base 1.21 and 1.30

CleanSlate for HTC 10 v0.3 without modules (1.21 / 1.30 base should work fine, Verizon 1.19 use the other! This DOES NOT modify system partition)

http://d-h.st/J4x8

https://mega.nz/#!OpA1zJaR!ONW0XcyMGUjjGYGdamT6CFa-wADZWUFOavPWcrhnD-I

CleanSlate for HTC 10 v0.3 for Verizon 1.19 (with kernel modules, this DOES modify system partition, AndroidPay won't work)

http://d-h.st/muFO

https://mega.nz/#!iwh2XZZI!o0thE3SiIZAAdzwmGv8UUEZ6GTsnHZ_gytdnQqojnDk

md5sums:

f98a74956a39360525770d97082f9b78 *tbalden-kernel-htc10-v0.3.zip

ecb7dbc382ed2b86ddcc773442a4e2d0 *tbalden-kernel-htc10-v0.3-no_modules.zip

v0.2 - for base 1.21 and 1.30, and 1.19 (Verizon base - beware This DOES modify system partition)

http://d-h.st/oR9w

https://mega.nz/#!XhZlmKqR!0NUhz8R4A3XdKPewcaTHvIzLGcP5dG1U8egqfeXHfSQ

md5 sum: 42f09d583063362055d3216cdc8ccab2 *tbalden-kernel-htc10-v0.2.zip

v0.1 - for base 1.21 and 1.30

http://d-h.st/x1B1

https://mega.nz/#!D9YUERKZ!wFX9iy7vmTnh8qLQbplLXSl3OOQUpQ2QBDFuL2pmwVg

Donation:

If you appreciate this, don't forget to hit the Thanks button, Vote 5 stars on Thread, or consider to Donate. Donations here

Thank you!

Donators Hall of Fame

Much appreciation and many thanks go to...

[MENTION=8395457]velimirchek[/MENTION]

[MENTION=2344619]guidogsbn[/MENTION]

[MENTION=2354101]The Great Dane[/MENTION]

[MENTION=2632943]Whiskey103[/MENTION]

[MENTION=792353]purple patch[/MENTION]

[MENTION=2500129]panosmdma[/MENTION]

[MENTION=5834551]sttw1fa[/MENTION]

[MENTION=1330293]jelive[/MENTION]

@beartiger

[MENTION=1065667]st_voss[/MENTION]

[MENTION=425657]bigruss[/MENTION]

@deagleone

@DroidIt!

@8bitbang

@Will972

@smallKING81

@mick_soul

@p50kombi

@K4Y3

@ dieter

@michaelbsheldon

@dioooi

@ali nz

@bstiti

@Oddvin94

@norgan

@lol8888

@twinnfamous

@cameljockey1

@Cryptycat7

@Pasqui1978

@4ntagonist

@turbo jjjang

@munkyvirus

Src: https://github.com/tbalden/htc-kernel-pmewlvzw

Special thanks to AnyKernel installer developer: osm0sis

To [MENTION=1186202]baadnewz[/MENTION] and [MENTION=398245]LeeDroid[/MENTION] for the kernel tweak app in their respected roms

To @savoca (original) @flar2 (m9 version) @faux123 (additional patches) related to KCal

To [MENTION=1162986]Captain_Throwback[/MENTION]

To @Viper4713 for his thorough testing and feedback

To [MENTION=4684315]flar2[/MENTION] for his Backlight Dimmer feature, S2S and his Input_handler example related to his s2s module and Module load tweak

Sharing policy:

As this is all GPL licensed kernel source, you can use it in your code, but don't forget about proper credit.

XDA:DevDB Information

tbalden's CleanSlate kernel for HTC 10, Kernel for the HTC 10

Contributors

tbalden

Source Code: https://github.com/tbalden/htc-kernel-pmewlvzw

Kernel Special Features: Button Light Notification, Fingerprint double tap sleep, Color Control, Adrenoboost v2, fastcharge, Gradient Charging LED, LED tweaks

Version Information

Status: Stable

Current Stable Version: 3.7.16

Stable Release Date: 2020-06-14

Created 2016-05-21

Last Updated 2020-06-14