FORUMS
Remove All Ads from XDA

[KERNEL] CleanSlate v1.5.5 [stable/features] BLN|LED|ColorCntrl|squeeze2Sleep [21Aug]

5,538 posts
Thanks Meter: 8,923
 
Post Reply Email Thread
tbalden's
CleanSlate kernel
for HTC U11


The User Experience Kernel leaning towards Stock Stability plus UX features


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

Version 1.5.5 - 21 of August, 2017
Version 1.2.0 - 15 of July, 2017
Version 1.0.0 - 17 of June, 2017

Should work on ROM bases 1.03/1.11/1.13/1.16. Tested on 1.13 European Dual Sim U11.

Features:

- Fingerprint doubletap sleep (see video below)
- Squeeze to wake/sleep in-kernel without root (see video and set up screens here post)
- Button Light Notification / BLN on Charger and Dim blinking (see video below)
- Pulsating notification led (see video below)
- Notification led patterns (6 patterns)
- Chromatic charging led (see image below)
- Button light / notification led brightness control
- KCAL Color Control (credit to @savoca)
- Button Light Notif doubleblink when detecting short vibrating notifications, BLN number/speed/intensity
- NTFS/ReadWrite
- Hacked texfat loading for all ROM bases to work with sdcard
- doesn't modify system partition. Androidpay should work on phones with stock system image



Facts:
- no root required except if you need it for tweak apps, otherwise only twrp
- should pass safetynet with unlocked bootloader by itself (if not phone's not rooted or custom rom, then you still need Magisk Hide)
- built on top of kernel sources released on htcdev for Europe/Dual Sim
- 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


KCal Color Control on HTC U11
Color Control free app here: https://play.google.com/store/apps/d...eltweaks&hl=en - Thanks @~clumsy~

Doubletap Fingerprint scanner to sleep:


Squeeze to wake / sleep:


Pulsating notification LED video:


Button Light Notification


Chromatic gradient colors for battery percentages while charging..
Will gently pulse green when reaching 100%


Requirements
- Unlocked HTC U11 with TWRP
-- Tested only on European HTC U11 (dual sim) model. Please report back about your device/model experience!
--- Reported to work on Sprint device/ base 1.03.
--- Reported to work with (US Unlocked) base 1.11.617.3
- BACKUP: make sure you backed up your original Boot partition in TWRP, before installing this! Installer only modifies BOOT (kernel zImage)
- INSTALL: Side load, or install the zip from your sdcard through TWRP


Known bugs:
- None, please tell

Download

1.5.5 -- For Bases 1.03/1.11/1.13/1.16 installer for TWRP:
https://www.androidfilehost.com/?fid=673368273298980226

1.5.0 -- For Bases 1.03/1.11/1.13 installer for TWRP:
https://www.androidfilehost.com/?fid=889764386195921642
1.4.0 -- For Bases 1.03/1.11/1.13 installer for TWRP:
https://www.androidfilehost.com/?fid=745425885120753033
1.3.0 -- For Bases 1.03/1.11/1.13 installer for TWRP:
https://www.androidfilehost.com/?fid=961840155545582665
1.2.0 -- For Bases 1.03/1.11/1.13 installer for TWRP:
https://www.androidfilehost.com/?fid=817550096634786041
1.1.0 -- For Bases 1.03/1.11 installer for TWRP:
https://www.androidfilehost.com/?fid=889764386195910707
1.0.0 -- For Bases 1.03/? installer for TWRP:
https://www.androidfilehost.com/?fid=817550096634779910


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!


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

Special thanks to AnyKernel installer developer: osm0sis
To @savoca (original) @flar2 (m9 version) @faux123 (additional patches) related to KCal
To @Captain_Throwback

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 U11, Kernel for the HTC U11

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

Kernel Special Features: Fingerprint double tap sleep, Color Control, LED tweaks

Version Information
Status: Beta
Current Stable Version: 1.5.5
Stable Release Date: 2017-08-21
Current Beta Version: 1.5.4
Beta Release Date: 2017-08-21

Created 2017-06-17
Last Updated 2017-08-21
The Following 25 Users Say Thank You to tbalden For This Useful Post: [ View ]
 
 
17th June 2017, 09:01 PM |#2  
tbalden's Avatar
OP Recognized Developer
Thanks Meter: 8,923
 
Donate to Me
More
Changelogs, how-tos

Release 1.5.4 - 19 aug 2017
Bugfix: squeeze to wake/sleep reliability fix,

Release 1.5.2 - 11 aug 2017
Bugfix: fixing squeeze power threshold setting bug, now it should work for all cases, if you set on Edge Sense settings to 1, Squeeze2Sleep/Wake should work now (Thanks @guidogsbn for reporting and providing so many log files, it helped a great deal!)


Release 1.5.1 - 10 aug 2017
- squeeze to sleep/ wake bound to activate when minimum squeeze power is set in stock Settings of EdgeSense
- fix some minor false positive with squeez functionality

Release 1.5.0 - 8 aug 2017
- squeeze to sleep/ wake
- fixes

Release 1.4.0
- Bln dim blink mode
- fixes

Release 1.3.0 - July 20
- BLN doubleblink notifications
- BLN parameters: number of blinks, speed, intensity

Release 1.2.0 - July 15
- Chromatic charging LED feature (ported my m10 code to u11 led driver)

Release 1.1.0 - June 21
- Button Light Notification
- Button Light Notification on charger triggered by notification vibration pattern

Release 1.0.0 - June 17
- Initial release
- Pulsating green notification LED


Sysfs paths for settings
BLN
sysfs: /sys/class/leds/indicator/
---- bln - 1/0 - BLN on/off
---- bln_no_charger - 1/0 - BLN on when not on charger
or only on charger based on vib pattern
---- bln_rgb_pulse - 1/0 - pulsating Green led
---- bln_rgb_batt_colored - 1/0 - Chromatic charging LED on/off
---- bln_pulse_rgb_pattern - 0-4 (normal/1plus5/triple/triple down/triple up)
---- bln_dim_blink - 0/1 - pulse Buttons after normal BLN number blinking was done
------- bln_dim_number - 0 infinite / 1-50 - number of dim blinks if bln_dim_blink = 1
---- bln_rgb_light_level - 0-20 (the lower value the brighter) notification led light dimmer
---- bln_light_level - 0-20 (the lower value the brighter) key buttons light dimmer



Squeeze to wake sleep, to disable
/sys/fpf/squeeze_wake 0 and
/sys/fpf/squeeze_sleep 0

Fpf
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)
The Following 3 Users Say Thank You to tbalden For This Useful Post: [ View ]
17th June 2017, 10:19 PM |#3  
DroidIt!'s Avatar
Senior Member
Flag Wisconsin
Thanks Meter: 7,586
 
More
Yaaaay! First time ever first. Congrats. Good to see one half of the A-Team here
The Following User Says Thank You to DroidIt! For This Useful Post: [ View ] Gift DroidIt! Ad-Free
18th June 2017, 01:39 AM |#4  
just a bird xo's Avatar
Senior Member
Flag Joliet
Thanks Meter: 12
 
Donate to Me
More
Confirmed working on Sprint, running Magisk/Venom.

Thank you!

---------- Post added at 06:39 PM ---------- Previous post was at 06:39 PM ----------

Confirmed working on Sprint, running Magisk/Venom.

Thank you!
The Following 2 Users Say Thank You to just a bird xo For This Useful Post: [ View ] Gift just a bird xo Ad-Free
18th June 2017, 07:36 AM |#5  
Senior Member
Thanks Meter: 1,169
 
More
Good times, missed pulsating LED and KCAL control from HTC 10)
18th June 2017, 08:57 AM |#6  
=dave='s Avatar
Senior Member
Thanks Meter: 102
 
More
nice tbalden, happy you're developing too

any idea if you're going to implement EAS?
18th June 2017, 09:47 AM |#7  
Senior Member
Thanks Meter: 1,169
 
More
Quote:
Originally Posted by =dave=

nice tbalden, happy you're developing too

any idea if you're going to implement EAS?

Unless the OP's philosophy has changed, I'm assuming this will be a mostly stock kernel with added features.
18th June 2017, 10:29 AM |#8  
tbalden's Avatar
OP Recognized Developer
Thanks Meter: 8,923
 
Donate to Me
More
Quote:
Originally Posted by just a bird xo

Confirmed working on Sprint, running Magisk/Venom.
Thank you!

Thanks for the feedback. Going to add to details

Quote:
Originally Posted by Kisakuku

Good times, missed pulsating LED and KCAL control from HTC 10)

Great to have this new device, easy decision to upgrade and do some kernel stuff again.
Led driver was replaced with something much more cryptic to program, so it's going to be a challenge to deliver all led stuff on the u11

Quote:
Originally Posted by =dave=

nice tbalden, happy you're developing too

any idea if you're going to implement EAS?

The idea of this kernel is to leave the core intact unless there's some really good reason to change it, like it was with the HTC m10 where the gpu is too much throttled by default. So far I see no need for changes like that to the core.


To tell the truth, HTC did a very good job again this year, so it takes some time to figure out what user experience feature is worth adding at all...
And that's a good thing IMHO
The Following 2 Users Say Thank You to tbalden For This Useful Post: [ View ]
18th June 2017, 01:52 PM |#9  
LeeDroid's Avatar
Recognized Developer
Flag Newton Aycliffe
Thanks Meter: 35,160
 
Donate to Me
More
Whoop whoop!
The Following 4 Users Say Thank You to LeeDroid For This Useful Post: [ View ]
18th June 2017, 04:50 PM |#10  
tbalden's Avatar
OP Recognized Developer
Thanks Meter: 8,923
 
Donate to Me
More
Quote:
Originally Posted by LeeDroid

Whoop whoop!

The Following 3 Users Say Thank You to tbalden For This Useful Post: [ View ]
18th June 2017, 05:30 PM |#11  
Whiskey103's Avatar
Developer Committee / Senior Moderator / Recognized Themer / Inactive Recognized Developer
Flag Tell me, I’m lost . . .
Thanks Meter: 17,587
 
Donate to Me
More
Quote:
Originally Posted by LeeDroid

Whoop whoop!

Quote:
Originally Posted by tbalden

Good to see some familiar faces once again.
Received mine friday and still impressed about the snappiness etc.
Coming from the M9 it's a giant leap.
The Following 3 Users Say Thank You to Whiskey103 For This Useful Post: [ View ] Gift Whiskey103 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes