[KERNEL] CleanSlate v3.7.16| Sense&AOSP OREO|GPU|LED|KAD|BLN|Flash|AdBlck|KCal[14Jun]

Search This thread

tbalden

Recognized Developer
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"

14ztvm.jpg

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 @flar2 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 @baadnewz and @LeeDroid

- 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
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

KCal Color Control on HTC 10
Color Control settings in CleanSlate configuration app. Old demo:[/url]

Doubletap Fingerprint scanner to sleep:

Gradient charging LED and pulsating notification LED video:

Chromatic gradient colors for battery percentages, check attached img
QVlKZX7.png


Adrenoboost v2.2 framerate level boosts (sampled in Suicide Squad):
http%3A%2F%2Fi.imgur.com%2FZXeSSIi.jpg


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...
@velimirchek
@guidogsbn
@The Great Dane
@Whiskey103
@purple patch
@panosmdma
@sttw1fa
@jelive
@beartiger
@st_voss
@bigruss
@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 @baadnewz and @LeeDroid for the kernel tweak app in their respected roms
To @savoca (original) @flar2 (m9 version) @faux123 (additional patches) related to KCal
To @Captain_Throwback
To @Viper4713 for his thorough testing and feedback
To @flar2 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
 
Last edited:

tbalden

Recognized Developer
sysfs path for tweak apps
BLN
-- /sys/class/leds/button-backlight/bln -- 0 off 1 on
-- /sys/class/leds/button-backlight/bln_speed -- Values from 0 to 9 possible, 0 slowest; 9 quickest
-- /sys/class/leds/button-backlight/bln_number Values: 0 = not limited, blinks till screen switched on, 1-50 -> exactly that number of button light blinks
Fingerprint doubletap sleep / configurable Home button functionality
-- /sys/fpf/fpf -- Value 1 -> work simple HOME input button (configurable), Value 2 (default) - work as doubletap sleep without 3rd party apps, Value 0 - off, stock behavior
-- /sys/fpf/vib_strength -- set it to 0 to have no vibration, set about 20 for normal
-- /sys/fpf/fpf_dt_wait_period -- Values: min 0 max 9 , (default value without tweak app setting is 2 -> 90msec, 0 = 72msec... 9 = 146msec wait before press is interpreted as single press)
@flar2 Backlight Dimmer functionality
-- sysfs path: /sys/module/mdss_fb/parameters/backlight_dimmer - valuess: Y or N (on or off)
-- sysfs path: /sys/backlight_dimmer/backlight_min -- minium brightness value, by default 10
LED mods:
/sys/class/leds/button-backlight/bln_rgb_batt_colored --- 0/1 on off for Charge led coloring
/sys/class/leds/button-backlight/bln_rgb_blink_light_level --- 0-20 divider for brightness level, lower = brighter. 20 - fully off!
/sys/class/leds/button-backlight/bln_rgb_pulse --- pulse green led on off 1/0
Fastcharge
/sys/kernel/fast_charge/force_fast_charge --- 1 on/0 off
Adrenoboost v2
/sys/class/kgsl/kgsl-3d0/devfreq/adrenoboost --- 0 off, 1 smooth/battery friendly, 2 stronger, 3 aggressive
Soundcontrol Headphone gain
sysfs path: /sys/kernel/sound_control/headphone_gain
setting: # echo "20 20" > /sys/kernel/sound_control/headphone_gain
Values ranging from -10 to 20
notification booster:
--- /sys/fpf/notification_booster : 0 off, 1-100 value by which voltage will be multiplied (default 2) (maximum voltage ~3300mV)

-- /sys/class/leds/button-backlight/bln_flash_blink - 0/1
-- /sys/class/leds/button-backlight/bln_flash_blink_number - 0 (infinite) 1-50
-- /sys/class/leds/button-backlight/bln_flash_blink_wait_sec - 1-10 delay in seconds between blinks
---- /sys/class/leds/button-backlight/bln_flash_wait_inc - 1/0 increase/not increase delay with time
------ /sys/class/leds/button-backlight/bln_flash_wait_inc_max - maximum plus in seconds of the delay, increased with time 1-8
----- /sys/class/leds/button-backlight/bln_flash_haptic_mode 1/0 - 1 = flash only when DND is off (vibration notifications will trigger the blinking) ( default value: 1 )
----- /sys/class/leds/button-backlight/bln_flash_dim_mode 2/1/0 - 2 = in dim mode do NOT flash at all, 1 = in dim mode flash half the brightness of the full flashing, 0 = no dimming ( default value: 1 )
----- /sys/class/leds/button-backlight/bln_flash_dim_use_period 1/0 - 1 = switch to dim flash mode in a given period, 0 = no restriction for dimming, if you set it, it will be flashing dim regardless of current time ( default value: 1 )
--------- /sys/class/leds/button-backlight/bln_flash_dim_period_start_hour 0-23 - start hour for dimmed flashing (default 22 (10PM))
--------- /sys/class/leds/button-backlight/bln_flash_dim_period_end_hour 0-23 - end hour for dimmed flashing (default 6 (6AM))
vib. notification reminder:
/sys/class/leds/button-backlight/bln_vib_notification 1/0 (default 0 OFF)
/sys/class/leds/button-backlight/bln_vib_notification_slowness 5-30 (default 15, periodicity bound with flashlight notif)
/sys/class/leds/button-backlight/bln_vib_notification_length 1-500 (how many milliseconds to vibrate on each reminder, default 250)


CHANGES
3.7.14 - 15 July 2018
- Cross update from fresh official U Ultra sources: kernel security fixes
- Updating WireGuard to July snapshot

2.7.1 - 2 Jan 2017
smaller changes, single vib notif detection

2.7.0 - 23 Dec 2017
k.adaway adblocker added

2.6.0 - Nov 2017
no-root configuration UCI interface added from U11
wireguard vpn added

2.4.1 - 28 Oct 2017
Notification booster fixes (aosp alarm, and max boosting power set)

2.4.0 - 20 Oct 2017
ROM side Ambient display support

2.3.4 - 14 Oct 2017
Fix up Flashlight deepsleep problem - now it should work with the correct period even while phone is in suspend mode

2.3.3 - 12 Oct 2017
Fix up Flashlight notification visibility (dim and normal)

2.3.2 - 11 Oct 2017
AOSP fix Wifi tethering

2.3.1 - 10 Oct 2017
AOSP fixes for LED/BLN

2.3.0 - 8 Oct 2017
- Sense/AOSP hybrid support
- notification reminder setting
- Full light-vib/Low light-vib switch (VolUp/Dn combos)
- flashlight notification

2.2.2 - 3 Oct 2017
- updating with sources for base 2.51 official
- adding new notification booster feature ported from u11 cleanslate
- adding Fingerprint unlocking vibration connection to Home button vib strength tweak setting
- blueborne kernel side patch

2.2.1 - 2 Aug 2017
-Fixing fastcharge accidental removal issue

2.2.0 - Jul 30 2017
- F2FS support for Nougat version

2.0.1 - Jan 14 2017
- F2FS support for Nougat version

2.0.0 - Dec 8 2016
- Nougat version

1.7.3 - sep 13 2016
- Fixing QCOM security issues:
--- CVE-2016-5342 Buffer overflow vulnerability in wcnss_wlan_write
--- CVE-2016-5343 Multiple memory corruption issues in write operation in QDSP6v2 Voice Service driver
- Removing Analogue Headphone Gain feature - working like stock again, removing so that low impedance headphone static noise issue is resolved

1.7.2 - aug 28 2016
- Fixing QCOM security issues:
-- CVE-2016-3866 Buffer Overflow Vulnerability in msm_compr_ioctl_shared
-- CVE-2016-5344 Integer Overflow in MDSS Driver
-- CVE-2016-3859 Arbitrary write vulnerability in msm_isp_send_hw_cmd() when processing VIDIOC_MSM_VFE_REG_CFG ioctl command
- BLN fix:
--- accidental switch off button backlight with Always on option in normal Sense button backlight Settings

1.7.0 - aug 26 2016

- Update to official HTCDev 1.91.617.1 kernel sources retaining security patches and features. Main changes by HTC:
---binder - android locking optimizations
---camera optimizations, actuator patches, sensor driver patches
---general security patches here and there, overflow fixing patches
---htc charger: optimizations, screen off handling
---ext4 patches
---kernel core: timer patches
- Default Button Light Notification brightness level pumped up - as noticed by a few users, the blink light was much less intense than possible maximum. Now it's brighter, and also with sysfs settings possibility - sysfs: /sys/class/leds/button-backlight/bln_light_level 0-20
- WLAN wakelock timeout reduction - credits to @buckmarble - set to a default reduction of division by 6, you don't need to tweak it, but possible through sysfs - sysfs: /sys/module/bcmdhd/parameters/wlrx_divide and /sys/module/bcmdhd/parameters/wlctrl_divide
- Sound Control: Headphone Analog Gain - credits to @flar2 - set to off, setting possible through sysfs - sysfs: /sys/kernel/sound_control/headphone_pa_gain

1.6.0 - aug 22 2016
- DriveDroid support, a.k.a ReadWrite/RO-CDROM/USB mounting of ISO images
-- DriveDroid. A few possibilities: You can create your own empty ISO images on your phone with DD just to mount them ReadWrite as USB Mass Storage units on your PC (beware: you cannot mount these images onto your phone from this app tho', only to your PC! As usual you still need to use MTP file transfer to access the internal storage if you want to copy files accessible by the phone too). Also You can download a big heap of Operating system ISO images to boot them from the phone on your PC. Read more here: https://play.google.com/store/apps/details?id=com.softwarebakery.drivedroid&hl=en Thanks to @GRIDSpawn for bringing this topic up to my attention
1.5.6 - aug 19 2016
- Button Light Notification fix: fixing use case where On-Screen Navbar buttons are used in Custom roms like ICE 10 or LeeDroid, BLN was accidentally left on blinking when screen was switched on. This version fixes this issue
- Other minor fixes related to how Fingerprint Home button remapping mode works in some rare use cases should work better, work as in stock kernel


1.5.5 - aug 17 2016
- LED mods fix: fixing Intensity set to 20 with stock notification and charge LED mode will result in LED off - Thanks @ibrokemypie for reporting it

1.5.4 - aug 16 2016
- Sound Control for Headphone jack: all credits and thanks to @flar2
- LED mods fix: fixing LED intensity when Gradient charging LED color is off, and stock charging LED intensity is set appropriately. Before the fix, the LED intensity setting was not applied on stock charging LED mode.

1.5.3 - aug 13 2016
- Security fix: CVE-2016-2059

1.5.2 - aug 10 2016
- Adrenoboost version 2.2 - smooth gaming, battery friendly, - further enhancements:
-- Corrected leveling mechanism to achieve a bit more agile freq switching on higher levels, fixing first boot level value calculation, and alto the idle (out of governor control) freq drop problem
-- finally settling with 133MHz init/idle freq, does not affect real-life performance, slightly better battery life[/B]
- Security fixes: CVE-2016-2504, CVE-2016-2503
- LED mod: LED fully off - -- if intensity set to 20 on the 0 to 20 scale will turn of RGB LED fully. Use Tweak apps to achieve that, set to 20, LED will stop lighting

1.5.1 - aug 6 2016
- Adrenoboost version 2.1 - smooth gaming, battery friendly, - further enhancements:
-- Low demand situation like 2D will stay on battery friendly frequencies on each Adrenoboost level: battery friendly video playback and browsing even meanwhile you leave the adrenoboost high levels on 2 or 3. (Level 1 remains the same battery friendly as before, so don't need to worry about this feature on default level: good gaming, and nice battery life)
-- More aggressive ramp up on Level 3 GPU boost level at high demand

1.5.0 - aug 4 2016
- Adrenoboost version 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 @flar2 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)
- SoC chip parameter updates (DTSI) for optimal working of msm8996 chip of HTC 10 - picking the ones that keeps stock stability intact

1.4.0 - jul 28 2016
- Chromatic battery charging led (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)
--- upper grill led while charging show level of battery charge (the more it's amber the less it's charged, the greener it gets the more juice, growing between the battery percentage 0-100%), can be switched to stock amber and 100% green in ICE configurator (it's on by default)
- Fading notification led (blinking is now of fading/pulsating type by default, can be switched to stock short blinks in ICE configurator)
- Upper grill RGB LED light brightness level you can lower the brightness level of the upper grill RGB led now (use ICE configurator's latest version!)
--- some people asked for this, so upper RGB LED won't be that bright as it is on stock. You now have this option.

1.3.1 - Jul 20 2016
- BLN: fix bln switch on/off - now if you switch it OFF, it will remain really OFF (introduced bug recently: notif vibration detection based Blinking was not working with the bln switch param...now it works) - thanks for those who reported this
- Added Sony HID fix by @flar2 and enabled Sony HID driver in kernel

1.3.0 - Jul 17 2016
- Adding full KCal Color Control interface - ported to HTC 10 mdss/mdp driver by tbalden (original patches by @savoca / @faux123 , ported from @flar2 's m9 sources)
--- description of sysfs endpoints and the Color Control app download URL: http://xdaforums.com/andr...ntrol-t3032080


1.2.5 - Jul 13 2016
Button Light Notification bugfixes
- re-trigger BLN blinking for each time a notification starts, even when BLN number is set to unlimited (0), because now BLN has two different light patterns
- fixing notification turning-off accidentally for calendar events when multiple events/notifications trigger BLN


1.2.4 - Jul 12 2016
Button Light Notification:
-- "Endless blinking while Charging" functionality added (if phone's on charge notification vibration triggered blinking won't stop)
----- effectively helping out with the functionality of the green/amber notification led, while those are not blinking in charging mode. You won't miss notifications while charging: it won't stop after a while like it was stopping in previous version if it's in charging.
-- "Vibrating notification length based Button light notification patterns" functionality added:
----- short notifications (e.g. facebook, calendar, where one vibration is below or equal to 0.2 sec) will blink the buttons with a quicker, double blink pattern
----- normal/long notifications will remain with the button blinking pattern as it was in the previous versions

1.2.3 (v2) for Sprint - Jul 7 2016
- fix merge error: added fully lost BLN feature back to the sprint version.
other versions don't need update

1.2.3 - Jul 6 2016
- Button Light Notification:
--- adding vibration based triggering of BLN. If you have vibration set for notifications on your phone, BLN can work even if your phone is on Charger (constant orange light). Also BLN based on notification vibration pattern detection now can retrigger the blinking even while Green/Amber led is not retriggered to blink by HTC stock ROM.
- Added Verzion version for 1.19 stock ROM
- Added Spring version for 1.80 stock/custom ROMs

1.2.2 - Jul 4 2016
Button Light Notification:
-- Doubled the time between blinks. Still with highest bln_speed you can achieve fast blinking, but default behavior is longer time between blinks now.
-- slightly slower fade-in/out speed, and shorter hi brightness pause time for a more pleasing fade effect.

1.2.1 - Jul 2 2016
- added Button Light Notification default maximum number of blinks 15, after 15 it will stop blinking for energy efficiency, and added possible configuration for tweak apps:
-- sysfs path: /sys/class/leds/button-backlight/bln_number Values: 0 = not limited, blinks till screen switched on, 1-50 -> exactly that number of button light blinks
-- sysfs path /sys/class/leds/button-backlight/bln_number_max value: maximum possible bln_number value (currently 50)
Thanks to flar2 for advice on alarmtimer
- added @flar2 Backlight Dimmer functionality (you can use EX utility to set this up as you want, or your own su.d scripts based on sysfs path below)
-- sysfs path: /sys/module/mdss_fb/parameters/backlight_dimmer - valuess: Y or N (on or off)
-- sysfs path: /sys/backlight_dimmer/backlight_min -- minium brightness value, by default 10

1.2.0 - June 22 - 2016
- Added Sprint compatibility files (please report back! Thanks go to @~clumsy~
- Updated to super stable official kernel source base 1.80.401.1 -- with CleanSlate features
-- Camera ISP / focus fixes
-- WiFI driver updates
-- charger updates
-- SPI driver optimizations
-- usb port fixes
-- core kernel scheduler optimizations
-- USB alsa minor fix

17-june-2016
- Adding flashable downgrade patch to let older kernel base work with 1.80 ROM bases (to be usable with the base version used by most of the current custom roms and official WWE HTC rom base version )

1.1.0 - 6-june-2016
- Updated 1.53 to 1.55 htcdev kernel sources, a few changes:
-- minor fair scheduler update
-- htc charger additions
-- htc's own zygote (android's root) process protection implementation

1.0.2 - 5-june-2016
- Fingerprint Doubletap Sleep : shorter minimum wait time settable for doubletaps, 0 value now means even less so single Home button pressing can be handled faster, less lag
(use ROM's tweak app to select lower values, lowest minimum is now sysfs speed set to 0 == 72msec latency, this is barely noticeable on single home button press, the default value is 2 == 90 msec, not much more but a bit more comfortable)
- building non-proprietary modules into kernel so it can be used even on bases where they cannot load from system partition.

1.0.1 - 5-june-2016
- Fingerprint Doubletap Sleep : shorter default wait time for doubletaps, so single Home button pressing can be handled faster, less lag
- Fingerprint Doubletap Sleep : addition of sysfs configration points for tweak apps
-- /sys/fpf/fpf_dt_wait_period Values: min 0 max 5 , (default value without tweak app setting is 1 -> 90msec)
----- 0 meaning smallest time to wait for doubletap: 81msec,
----- 1 meaning 90msec, .....
----- 5 meaning 126msec
Each +1 means 9 more milisecs of waiting period for doubletap event. If that time passed, it will be interpreted as Single press on Home button.

1.0 - 4-june-2016
- Update to 1.53 kernel sources from HTCDev
- Button Light Notification new sysfs provided for Tweak apps: /sys/class/leds/button-backlight/bln_speed -- Values from 0 to 9 possible,
--- 0 slowest speed blinking, 9 quickest (ranging from 5 sec to ~1 sec speed)
--- The slower it is, the more dark period it has.
- Button Light Notification bug fixes
- added vidc patch (for video playback power consumption optimization), thanks go to @flar2
- Support for rom base below 1.30 not possible (if you need it, use cleanslate v0.6)

0.6 - 2-june-2016
- fix forced pin screen when wrong fingerprint read too many times
--- (still present the issue, that when you do this with a quick tap on screen, screen is on, and going with fingerprint, and PIN should appear, it won't appear. It's present on the other kernel as well as my tests show, because of the shared codes and approach)
- fix "no screen unlock sound" issue
- added configuration filesystem sysfs endpoints for tweaking apps later use:
-- /sys/fpf/fpf Value 1 -> work simple HOME input button, Value 2 (default) - work with doubletap sleep
-- /sys/fpf/vib_strength -> set it to 0 to have no vibration, set about 20 for normal
-- /sys/class/leds/button-backlight/bln Value 1 -> on, Value 0 -> off

0.5.1 - 30-may-2016
- fixing a null pointer reference in a newly introduced logging, doh' (resolving a very rare kernel reboot issue, please update if you're on 0.5!)

0.5 - 30-may-2016
- Fingerprint Double Tap Sleep finalized, working without issues, fully reliable

0.4alpha2 - 30-may-2016
- FingerPrint DoublTap Sleep original feature and impl by tbalden , incented by my own kernel for m9+ ;)
- adding haptic feedback on first press of the Fingerprint scanner so firmer feedback for intuitivity
- added the 'hack' that allows loading of Texfat (sdcard) and encryption modules which are on different ROM bases (so SDCard issues should be unified gone)

0.3 - 24-may-2016
- fine tuned Button Light Notification flash pace, more unlighted period, and smoother lights fade transition
- two types of installers (one without modules for 1.21/1.30, one with modules for 1.19 verizon stock rom)

0.2 - 23-may-2016
- added all proprietary and non-proprietary modules to installer to make sure it works on 1.19 VZW base as well (NOW MODIFIES SYSTEM image as well to push modules, mounting it as RW once!)
- NTFS/RW support
- TCP Congestion - advanced settings enabled

0.1 - Initial release 22-may-2016
- 1.21 VZW base
- button light notification
 
Last edited:

peteri8706

Senior Member
Apr 3, 2012
343
82
Awesome, first custom kernel, big thankyou :)

Edit: D/L Link broken/not working??
 
Last edited:
  • Like
Reactions: tbalden

buckmarble

Senior Member
Sep 18, 2010
3,095
5,318
Michigan
@tbalden How did you get the radio to work? All my builds have the radio not working

Edit. Nm. Lol. I figured it out. However, if you remember the load stock modules hack from the m8, you need to grab it to fix exfat support for the external SD cards
 
Last edited:

tbalden

Recognized Developer
@tbalden How did you get the radio to work? All my builds have the radio not working

Edit. Nm. Lol. I figured it out. However, if you remember the load stock modules hack from the m8, you need to grab it to fix exfat support for the external SD cards

Hey, thanks for the exfat tip.
I'm not perfectly sure if you mean magic number issues with texfat? It's interestingly not a problem, loads all original modules from rom and my SD card seems to work.
Maybe I miss something tho, so please advise
 

Attachments

  • Screenshot_20160522-082315.jpg
    Screenshot_20160522-082315.jpg
    286.4 KB · Views: 10,770
  • Screenshot_20160522-082301.png
    Screenshot_20160522-082301.png
    208.9 KB · Views: 10,605

peteri8706

Senior Member
Apr 3, 2012
343
82
@tbalden - have flashed without any probs (didn't wipe cache or anything). Kernel working as it should, just no flashing capacitive notification blinking.

Running LeeDroid latest with LED to flash even when charging; FW 1.30 base. I tested a txt msg using GoSMS as my default app. Got the msg and LED blinking, but not the capacitive lights.

Other than that, all appears stable - no bugs to report.

Cheers.
 
  • Like
Reactions: tbalden

tbalden

Recognized Developer
@tbalden - have flashed without any probs (didn't wipe cache or anything). Kernel working as it should, just no flashing capacitive notification blinking.

Running LeeDroid latest with LED to flash even when charging; FW 1.30 base. I tested a txt msg using GoSMS as my default app. Got the msg and LED blinking, but not the capacitive lights.

Other than that, all appears stable - no bugs to report.

Cheers.
Have you your screen off when receiving the notification? Or do you have ambient display on? It will prevent it flash. Or maybe something else. I'm on stock base ATM and it works when screen is really off
 

peteri8706

Senior Member
Apr 3, 2012
343
82
Have you your screen off when receiving the notification? Or do you have ambient display on? It will prevent it flash. Or maybe something else. I'm on stock base ATM and it works when screen is really off

Yes, screen off when notification received.

But I have selected ambient display to be activated in LeeDroid tweaks, but I haven't configured it as yet. This could well be it.

I'll take out ambient display and try again.

Possibly if it is it, then maybe a suggestion to put in your OP so others will know it will conflict if this is the case :good:

Cheers :)

EDIT: GoSMS turned my screen on when receiving the txt. Turned this off as well as ambient display and all is working with capacitive notification flashing :)
 
Last edited:
  • Like
Reactions: tbalden

tbalden

Recognized Developer
Yes, screen off when notification received.

But I have selected ambient display to be activated in LeeDroid tweaks, but I haven't configured it as yet. This could well be it.

I'll take out ambient display and try again.

Possibly if it is it, then maybe a suggestion to put in your OP so others will know it will conflict if this is the case :good:

Cheers :)
Yes, I'll do so. Thanks for reporting quickly back
In any case, if your screen turns on even for a bit, it will switch the button light notif off. Let me know if without that it works

Also please check if flash was really successful in settings/about/software info. Should be something like my shot
 

Attachments

  • Screenshot_20160522-090535.png
    Screenshot_20160522-090535.png
    94.3 KB · Views: 405
  • Like
Reactions: peteri8706

tbalden

Recognized Developer
Yes, screen off when notification received.

But I have selected ambient display to be activated in LeeDroid tweaks, but I haven't configured it as yet. This could well be it.

I'll take out ambient display and try again.

Possibly if it is it, then maybe a suggestion to put in your OP so others will know it will conflict if this is the case :good:

Cheers :)

EDIT: GoSMS turned my screen on when receiving the txt. Turned this off as well as ambient display and all is working with capacitive notification flashing :)
I see, great news. So now two people can have a nice flashing buttons :D

Please you or others, have some feedback on the led flash speed. Do you find it fast or slow, etc
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
6,439
23,036
What hardware do you have? So which region carrier was it originally for? What radio firmware was your phone upgraded to, was it 1.53 by some chance?

European standard modell. (German) I was on the 1.30 firmware.
No I just have a sdcard as external storage.

Baseband Version says unknown.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 85
    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"

    14ztvm.jpg

    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 @flar2 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 @baadnewz and @LeeDroid

    - 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
    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

    KCal Color Control on HTC 10
    Color Control settings in CleanSlate configuration app. Old demo:[/url]

    Doubletap Fingerprint scanner to sleep:

    Gradient charging LED and pulsating notification LED video:

    Chromatic gradient colors for battery percentages, check attached img
    QVlKZX7.png


    Adrenoboost v2.2 framerate level boosts (sampled in Suicide Squad):
    http%3A%2F%2Fi.imgur.com%2FZXeSSIi.jpg


    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...
    @velimirchek
    @guidogsbn
    @The Great Dane
    @Whiskey103
    @purple patch
    @panosmdma
    @sttw1fa
    @jelive
    @beartiger
    @st_voss
    @bigruss
    @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 @baadnewz and @LeeDroid for the kernel tweak app in their respected roms
    To @savoca (original) @flar2 (m9 version) @faux123 (additional patches) related to KCal
    To @Captain_Throwback
    To @Viper4713 for his thorough testing and feedback
    To @flar2 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
    32
    - OREO update 3.7.5 stable -
    ...thus the Unrooted Kernel Era ruled on...

    android-oreo.jpg


    First Oreo Sense(-AOSP hybrid?) custom kernel for the legendary HTC 10
    - All features working. Report if not.
    Tested only on Sense. Please report if AOSP works.


    OREO 3.7.5 Download:
    https://www.androidfilehost.com/?fid=890129502657588959
    Donations appreciated! :)
    30
    - OREO update 3.7.14 stable -
    ...thus the Unrooted Kernel Era ruled on...

    Update
    - Cross update from fresh official U Ultra sources: kernel security fixes
    - Updating WireGuard to July snapshot


    OREO 3.7.14 Download:
    https://www.androidfilehost.com/?fid=5862345805528049177

    Config app 2.0.0 Free version Download:
    https://www.androidfilehost.com/?fid=746163614322265726
    Premium version rolled out to play store
    Companion app 2.0.0 Free version Download:
    https://www.androidfilehost.com/?fid=818222786056031673
    Premium version rolled out to play store
    25
    Update 1.3.0 -

    Changes:

    - Adding full KCal Color Control interface - ported to HTC 10 mdss/mdp driver (original patches by @savoca / @faux123 , ported from @flar2 's m9 sources)
    --- description of sysfs endpoints and the Color Control app download URL: http://xdaforums.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080
    Video how it works: http://xdaforums.com/showpost.php?p=67775656&postcount=307

    DOWNLOAD
    Normal/WWE editions (for base 1.80, non-sprint / non-verizon-locked-to-rom-1.19 installer):
    https://www.androidfilehost.com/?fid=24591020540824409

    SPRINT version (for base 1.80)
    https://www.androidfilehost.com/?fid=24591000424947814

    VERIZON version (for ROM base VZW 1.19)
    https://www.androidfilehost.com/?fid=24591000424947815
    24
    - Update 2.3.0 stable/beta -

    AOSP and Sense hybrid support:
    - AOSP: Making compatible with AOSP based roms stemming from @crpalmer 's LineageOS kernel + @tabp0le 's additions
    - AOSP: for letting MTP work perfectly on AOSP roms, follow this guide: https://xdaforums.com/showpost.php?p=74241318&postcount=1221
    - AOSP: you must replug charger/USB at (re)booting to get charging led. All other cases working
    - AOSP: You need switch off Ambient Display to make Button Light Notification / Flashlight notification work.
    - AOSP: Quick charging works but is not shown on LineageOS (haven't tested PureFusion/ RR, pls report, patch is added to work)
    - AOSP: fastcharge works, BLN works, Pulsating notification light works etc...
    Report your issues please

    Flashlight Notification Blink
    Not as dim as I expected, but this is the best possible on the htc 10.
    Let the phone show its beautiful back - and don't miss the chance to see that you missed a notification
    New parameters:
    -- haptic mode : 0/1 use this in conjunction with phone's DND mode (thanks @Captain_Throwback for the idea) -> if this is set ON (1) then Flashlight will only blink when Vibration based notification happened. So while in DND mode, you won't have the Flashing. This is DEFAULT ON
    -- Dim use period 0/1 -> if 0, dim mode will be continuously used, if 1 dim mode will be activated in a period set by you (or default: 22-6 (10PM-6AM)) default ON
    -- Dim mode: 0/1/2 -> if 0 no dim mode, 1 it will dim HALF the flashlight when in dim period or if "dim use period" is set OFF. 2 means if dimming in the dim period it will switch off the flash blinking fully. (default is 1)
    -- dim period start hour/end hour : 0-23, you can set the dim period if you are using it with Dim use period set to 1 (default 22-6)

    Sysfs:
    -- bln_flash_blink - 0/1
    -- bln_flash_blink_number - 0 (infinite) 1-50
    -- bln_flash_blink_wait_sec - 1-10 delay in seconds between blinks
    ---- bln_flash_wait_inc - 1/0 increase/not increase delay with time
    ------ bln_flash_wait_inc_max - maximum plus in seconds of the delay, increased with time 1-8
    ----- bln_flash_haptic_mode 1/0 - 1 = flash only when DND is off (vibration notifications will trigger the blinking) ( default value: 1 )
    ----- bln_flash_dim_mode 2/1/0 - 2 = in dim mode do NOT flash at all, 1 = in dim mode flash half the brightness of the full flashing, 0 = no dimming ( default value: 1 )
    ----- bln_flash_dim_use_period 1/0 - 1 = switch to dim flash mode in a given period, 0 = no restriction for dimming, if you set it, it will be flashing dim regardless of current time ( default value: 1 )
    --------- bln_flash_dim_period_start_hour 0-23 - start hour for dimmed flashing (default 22 (10PM))
    --------- bln_flash_dim_period_end_hour 0-23 - end hour for dimmed flashing (default 6 (6AM))

    Vibrating Notification Reminder
    Feature:
    - after each notification you haven't checked while screen is off, it will do a Vibrating notification reminder after X number (default 15) of flashlight notification blink. (DEFAULT OFF, if you switch on, it will vib on each 15th flashlight).
    - if you switch screen on, or if flashlight notification stops, it will stop vibrating.
    - (Low light mode, or Flashlight notification off will disable this feature)
    - vibration power (length) adjustable from 1 to 500
    - use Full light/vib switch to activate it (double press VolUp/Down while screen is off)

    /indicator/bln_vib_notification 1/0 (default 0 OFF)
    /indicator/bln_vib_notification_slowness 5-30 (default 15, periodicity bound with flashlight notif)
    /indicator/bln_vib_notification_length 1-500 (how many milliseconds to vibrate on each reminder, default 250)

    Low-Light-Vib/Full-Light-Vib switch (with some problems yet, deepsleep blocks this, beta phase)
    For now to use this feature I recommend: switch screen ON then OFF, then quickly use the VolumeUp/Down buttons as described below. Otherwise deepsleep will block it from working.
    - you can only use gesture it when screen is off (no confusion with notification volume settings)
    - four modes now:
    --- Normal mode (all lights on, notification vibration booster on) - switch by pressing VolumeUp/Down quickly at the same time, ( short buzz will signal the switch)
    --- Low light mode (led/key light lowered, no button light notification if not on charge, no flashlight notification) - switch by pressing VolUp/Down quickly at the same time ( long buzz will signal the switch)
    --- Low light/low vibration mode (Notification booster off, led/key light lowered, no button light notification if not on charge, no flashlight notification) - - switch by long pressing VolUp/Down at the same time
    --- Full light/vib mode: switch to it by double press VolUp/Down - enables vibrating notification reminder plus all led notification full brightness


    Lowering haptic vibration power default voltage to ~1320mV (on AOSP this is overridden by your setting in Settings!)


    Download:
    https://www.androidfilehost.com/?fid=745849072291679600


    185qzx.jpg