[KERNEL] CleanSlate v1.7.13 | LED|SqueezeCntrl|Flashlight|AdBlock|WireGuard [25 Sept]

tbalden

Recognized Developer
Oct 22, 2010
9,739
16,639
263
Budapest
www.virtuousrom.com
tbalden's
CleanSlate kernel
for HTC U11+


The User Experience Kernel leaning towards Stock Stability plus UX features.
Stable stock approach, performance smooth and issue free

"No-Root is a State of Mind"



Version 1.7.13 - 25 Sep, 2018
Version 1.7.6 - 15 Mar, 2018
Version 1.7.1 - 4 of Jan, 2018
Version 1.7.0 beta1 - 1 of Jan, 2018
Version 1.0.0 - 14 of Dec, 2017

Works on Stock/Custom ROM bases Oreo from 1.05 to 1.24 (TW U11+ base kernel source)



Features:

- WireGuard VPN Thread here But go to the wireguard IRC for help!
- Supported with CleanSlate companion app and CleanSlate Configuration app - requires no root permission! check downloads+
- Squeeze Control (Wake,Peek,Sleep,Swipe)
- Fingerprint doubletap sleep
- Backlight dimmer
- K.AdAway - kernel adblocking feature for browsing and in app (not for youtube stream etc)
- Smart Notification Control
- Flashlight Notification
- Vibrating Notification Reminder
- Notification Booster on vibrating notifications when screen is off
- 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
- 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.
- Wakelock reduction patch by fransiscofranco
- 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:
- built on top of kernel sources released on htcdev
- 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

Squeeze control:

Pulsating notification LED video:

Flashlight notification

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


Requirements
- Unlocked HTC U11+ with TWRP and sideloaded kernel ZIP on external SDCard. No need to decrypt data or system (FOR NOW EVEN AVOID THAT ON U11+ UNOFFICIAL TWRP)
- 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 external sdcard through TWRP
- Reboot.

- CHECK THIS DESCRIPTION FOR SAFE WAY: https://forum.xda-developers.com/showpost.php?p=74875149&postcount=14 --- DO NOT DECRYPT YOUR DATA PARTITION!! IT WILL BE LOST WITH UNOFFICIAL U11+ TWRP.

-- If not using PlayStore Donation apps, then install CleanSlateCompanion-x.y.z.apk / CleanSlateConfig-x.y.z.apk from SDCARD (copied by installer if internal memory was mounted) Please grant Notification Access and the permission to read/write SDCard, read phone call status.
------ !! IF YOU UPDATED THE COMPANION APP, Don't forget to Open it again as well after update !!
--- use CS Configuration App to configure stuff without rooting
Companion application writes /sdcard/uci_sys.cfg to communicate with kernel, you'll find it there after first running the app, don't delete it.


Known bugs:
- None (so far), you tell

Download


1.7.13 -- For Bases 1.05-1.24 installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=1322778262904013428

1.7.12 -- For Bases 1.05-1.24 installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=890278863836291339
1.7.8 -- For Bases 1.05-1.24 installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=962339331458991743
1.7.7 -- For Bases 1.05-1.24 installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=673956719939827567
1.7.6 -- For Bases 1.05-1.24 installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=890129502657585045
1.7.3 -- For Bases 1.05-1.24 installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=746010030569948224
1.7.2 -- For Bases 1.05-1.24 installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=673791459329072009
1.7.1 -- For Bases 1.05-1.23 installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=745849072291698678


Companion App 1.5.6 -- Donation premium version from PlayStore here: https://play.google.com/store/apps/details?id=org.cleanslate.csservice
Configuration App 1.10.9 -- Donation premium on playstore:
- additional features in premium app: App Themes, Profiles, Profile Switch QuickTiles
https://play.google.com/store/apps/details?id=org.cleanslate.csconfig


Companion App 1.5.6 -- Normal free download: https://www.androidfilehost.com/?fid=889964283620775783
Configuration App 1.10.9 -- Normal free download: https://www.androidfilehost.com/?fid=890278863836284924




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

Special thanks to AnyKernel installer developer: osm0sis
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/commits/master_oreo

Kernel Special Features: UX features

Version Information
Status: Testing
Current Stable Version: 1.7.13
Stable Release Date: 2018-09-25

Created 2017-12-14
Last Updated 2018-09-24
 

tbalden

Recognized Developer
Oct 22, 2010
9,739
16,639
263
Budapest
www.virtuousrom.com
Great, good to know there's interest. I'm not yet sure if I'll be able to purchase one for easier development and the excellent phone experience, but I'll try to manage this based on your feedback till then.

Already have a little fix to add based on u11 experience, and adding rootless kcal color control config possibility with cleanslate configuration application.
Today or tomorrow I'll patch it up and share here
 

tbalden

Recognized Developer
Oct 22, 2010
9,739
16,639
263
Budapest
www.virtuousrom.com
That is awesome!! Congrats! I am going to flash today once I get the courage to do so because of recovery issues we have at the moment. I'll have to try flash fire. Or if you know a fastboot way or adb I can do?
Firstly getting a recovery partition for the exact base you have, don't know if it's already listed somewhere. So you can get back to stock recovery for ota.
Then for flashing
Putting in an sdcard, careful to not mounting data, and backup to external sdcard and also flash from there.
@nkk71 I think that already possible and doesn't hurt phone system. Right?:angel:
 
Last edited:

nkk71

Inactive Recognized Developer / Inactive Recognize
May 26, 2010
8,743
7,570
0
49
Beirut
Firstly getting a recovery partition for the exact base you have, don't know if it's already listed somewhere. So you can get back to stock recovery for ota.
Then for flashing
Putting in an sdcard, careful to not mounting system, and backup to external sdcard and also flash from there.
@nkk71 I think that already possible and doesn't hurt phone system. Right?:angel:
If you mean the *no longer decryptable data partition in booted ROM*, then it still eludes me, but seems to get triggered any time twrp tries to decrypt it (doesn't matter whether successful or failed).
Though TWRP is able to decrypt it successfully (even when the ROM no longer *wants*), so the data is recoverable, but will cause a headache since data/media isn't backed up.

TWRP itself isn't triggering verity, I'm assuming when vold_decrypt is running for some reason, a *key upgrade* is triggered leading the ROM to no longer be able to (or rather allow) userdata to be decrypted.

I've never used FlashFire to be able to give any opinion about it.

If using TWRP, using external sdcard as you mentioned is a good idea, but in addition data decryption should not even be attempted, so I think the following would be safe:
1- Set a PIN on boot in the ROM
2- Reboot and confirm all is OK
3- Flash TWRP
4- When entering TWRP you will be prompted for a password, CANCEL THAT PROMPT
If you even attempt any decrypt the ROM will likely no longer decrypt data

5- Once you've cancelled the decrypt prompt, you can go ahead and safely backup and/or flash from external sdcard

PS: and as you mentioned, when prompted whether to allow system modifications choose NO. Keep system mounted read only.
 

tbalden

Recognized Developer
Oct 22, 2010
9,739
16,639
263
Budapest
www.virtuousrom.com
Thanks @nkk71
uhm, must be my general messing up basic terms time to time, I meant to mention the data partition , but my idea was this what you described. Good that in the end system partition came up. Indeed it is essential to keep it intact for ota, or backup intact system image to external card
 
Last edited:
  • Like
Reactions: nkk71

tbalden

Recognized Developer
Oct 22, 2010
9,739
16,639
263
Budapest
www.virtuousrom.com
Good to see you here @tbalden. Would you spoiler what you have in the Pipeline for the beautiful U11+?
All cleanslate features from the u11 which is possible.
Check my signature for what's there on the u11.
I'll need more feedback yet on the first release, but hopefully the recent shipping happening in UK will boost the scene around here
 
  • Like
Reactions: Cryptycat7

Cryptycat7

Senior Member
Dec 21, 2017
185
90
0
All cleanslate features from the u11 which is possible.
Check my signature for what's there on the u11.
I'll need more feedback yet on the first release, but hopefully the recent shipping happening in UK will boost the scene around here
Thanks for the lightning fast reply. I am from Germany and pre-ordered my U11+ directly from HTC, it arrived today.
 
  • Like
Reactions: tbalden

tbalden

Recognized Developer
Oct 22, 2010
9,739
16,639
263
Budapest
www.virtuousrom.com
Thanks for the lightning fast reply. I am from Germany and pre-ordered my U11+ directly from HTC, it arrived today.
Cool ?
I wish I'd meet the device in real life someday. I hate to develop blindly but I hope the similarities will help.
But it's too much for the budget at the moment, with two u11s this year. :laugh:

Anyway it's good that @nkk71 helped describing a way to stay safe with kernel flashing. I hope it's gonna work out without sacrificing safe upgrade ota possibility.

Cheers
 
  • Like
Reactions: Cryptycat7

Cryptycat7

Senior Member
Dec 21, 2017
185
90
0
Cool ?
I wish I'd meet the device in real life someday. I hate to develop blindly but I hope the similarities will help.
But it's too much for the budget at the moment, with two u11s this year. :laugh:

Anyway it's good that @nkk71 helped describing a way to stay safe with kernel flashing. I hope it's gonna work out without sacrificing safe upgrade ota possibility.

Cheers
Wow you are supporting a device, that you don't own, that's very generous. Thank you very much and keep doing what you are doing.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone