[KERNEL] CleanSlate 🚀 v3.7.9 |FlashLight|KCal|WireGuard|Battery [25Jul]

Search This thread

tbalden

Recognized Developer
tbalden's
CleanSlate kernel
for OnePlus 6T


The User Experience Kernel leaning towards Stock Stability plus UX features.
Stable stock approach, performance smooth and issue free - with battery improvements
All should be very easy to set up, even performance and battery related settings.


"No-Root is a State of Mind"
WHY U NO ROOT? Unlocking != Root permission
https://xdaforums.com/showpost.php?p=76675095&postcount=16


6ZpxvLq.png

As always tbalden is here to bring you authentic new features first in line, this year OnePlus 6t
No root elevation (magisk) needed for all functions and preference switches through CS Config App

GsRFfBr.jpg


Version 3.7.9 - 25 July, 2021
Version 3.7.8 - 29 Apr, 2021

Version 3.7.7 - 14 June, 2020
Version 3.7.6 - 9 June, 2020
Version 3.7.3 - 15 Feb, 2020
Version 2.7.12 - 20 Feb, 2019
Version 2.7.11 - 8 Jan, 2019
Version 2.7.8 - 9 Dec, 2018
Version 2.7.6 alpha1 - 30 Oct, 2018


for Stock OxygeneOS ROM base


Video 1
Video 2
Video 3
Video 4

Features:

- All Stock features should work as on stock (including Doubletap2wake (Settings/Gestures), plus:
- KCal RGB control tweak the Red-Green-Blue ratio of OP6 panel to achieve your optimal colors
- Flashlight notifications let the phone's back shine! check video above, and release notes: here
- Vibrating notification Reminder release notes: here
- Sweep2Sleep OP6T enhanced version with extended settings in config app.
- Notification Booster feature: max voltage for longer vibrations
- Vibration Intensity Tweak feature: through CS config app
- Sound Control - no-root control speaker/earpiece/mic gains
- Dynamic EAS Boosting Dyn. Schedtunes Boosting, unrooted config.
- Default QCOM Wakelock blocking unrooted.
- High Brightness Mode feature (optional, and no superuser elevation needed) - In Direct sunlight will use the extra power the S. AMOLED panel for brightness has (not available with stock brightness settings)
- Block Fingerprint Unlock in pocket - optional
- Backlight Minimum level
- normal USB2.0 fastcharge mode 900mA
- Facedown auto screen off gesture (use Companion app running, put phone face down -> screen off auto)
- WireGuard VPN Thread here But go to the wireguard IRC for help!
- K.AdAway - kernel adblocking feature for browsing chrome (not for youtube stream, in app etc)
- AdrenoBoost v2.2 refined adrenoboost version with Off (0) and 3 levels of performance of the GPU
- Vibrate Two Longs in Silent Mode for Calls / Block Power button in pocket - needs Companion app!
- Supported with CleanSlate companion app and CleanSlate Configuration app - requires no root permission! check downloads+
- NTFS/ReadWrite
- optimal TCP Congestion used (WestWood) a few percent faster network speed
- doesn't modify system partition. Androidpay / Pokemongo should work on phones with stock system image - SafetyNet test passes
- read credits / thanks below



Facts:

- built on top of kernel sources released on github by OP
- 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


Requirements
- Unlocked OP6T with TWRP preinstalled and kernel ZIP copied to phone. OR use Franco's AnyKernel installer for rooted devices
- BACKUP: make sure you backed up your original Boot partition in TWRP, before installing this! Installer only modifies BOOT (kernel zImage)

- INSTALL: install the zip from your sdcard through TWRP

- Reboot.

-- If not using PlayStore Donation apps, then install CleanSlateCompanion-x.y.z.apk / CleanSlateConfig-x.y.z.apk (download in this thread). 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.

If rebooting, please wait until the CleanSlate apps pop up a toast with "CleanSlate companion activated" and "CleanSlate configuration applied". FOR THIS TO WORK, YOU NEED TO LOCK THE APPS in app switcher. Details here: post with info OxygeneOS would otherwise clean the app from Autostart upon Boot completion.
Then all should be fine!



Known bugs:
- You need to reload Chrome switching KAdAway on/off, and also KAdaway only blocks ads in Chrome and maybe other browsers.
- None else (so far), you tell

Download


Q (Android 10)

For OxygenOS - 3.7.9 -- installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=14943124697586373354



PIE (Android 9)

Stock Pie OOS ROM - 2.7.14 -- TWRP/rooted kernel AK installers:
Installer flashable: https://www.androidfilehost.com/?fid=1899786940962588169

For OxygenOS - 3.7.8 -- installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=2188818919693790474
For OxygenOS - 3.7.7v2 -- installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=8889791610682870055
Stock Q OOS /HOS/Stock Q based Custom ROM - 3.7.5 -- installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=4349826312261770425
Stock Q OOS /HOS/Stock Q based Custom ROM - 3.7.4 -- installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=4349826312261735362
Stock Q OOS /HOS/Stock Q based Custom ROM - 3.7.3 -- installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=4349826312261724138
Stock Q OOS /HOS/Stock Q based Custom ROM - 3.7.2 -- installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=4349826312261718255
Stock Q OOS /HOS/Stock Q based Custom ROM - 3.7.1 -- installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=4349826312261714389
Stock Q OOS /HOS/Stock Q based Custom ROM - 3.7.1 -- installer for TWRP:
Installer flashable: https://www.androidfilehost.com/?fid=4349826312261713386
Stock Pie OOS ROM - 2.7.12 -- TWRP/rooted kernel AK installers:
Installer flashable: https://www.androidfilehost.com/?fid=1395089523397897560
Stock Pie OOS ROM - 2.7.11 -- TWRP/rooted kernel AK installers:
Installer flashable: https://www.androidfilehost.com/?fid=11410963190603894270
Stock Pie OOS ROM - 2.7.10 -- TWRP/rooted kernel AK installers:
Installer flashable: https://www.androidfilehost.com/?fid=11410963190603885864
Stock Pie OOS ROM - 2.7.9 beta -- TWRP/rooted kernel AK installers:
Installer flashable: https://www.androidfilehost.com/?fid=11410963190603875616
Stock Pie OOS ROM - 2.7.8 -- TWRP/rooted kernel AK installers:
Installer flashable: https://www.androidfilehost.com/?fid=11410963190603870720
Stock Pie OOS ROM - 2.7.6 alpha1 -- TWRP/rooted kernel AK installers:
Installer flashable: https://www.androidfilehost.com/?fid=11410932744536991699


Configuration App 2.12.18 -- 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 2.6.5 -- Donation premium on playstore:
https://play.google.com/store/apps/details?id=org.cleanslate.csservice

Configuration App 2.12.18 -- Normal free download: https://www.androidfilehost.com/?fid=12420606652095398240
Companion App 2.6.5 -- Normal free download: https://www.androidfilehost.com/?fid=4349826312261715485

Hosts file: (unzip and copy to /sdcard/ for k.adaway)
2020-01-08: https://www.androidfilehost.com/?fid=4349826312261696552
2019-12-31: https://www.androidfilehost.com/?fid=4349826312261688655



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

Src: https://github.com/tbalden/android_kernel_oneplus_sdm845

Special thanks to
AnyKernel installer developer: osm0sis
Thanks to @Freak07 and @rav101 for the discussions and help
@flar2 - s2s / soundcontrol, min brightness and many great patches
@joshuous @RenderBroken - dynamic schedtune boosting
@eng.stk @arter97 - fast charge patch
@boeffla - wakelock blocker
To @Captain_Throwback
To @DespairFactor and @nathanchance for their OnePlus work and help

OnePlus - for prompt kernel sources on github

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
CleanSlate Kernel for OnePlus6T, Kernel for the OnePlus 6T

Contributors
tbalden
Source Code: https://github.com/tbalden/android_kernel_oneplus_sdm845

Kernel Special Features:

Version Information
Status: Testing
Current Stable Version: 3.7.7
Stable Release Date: 2020-06-14

Created 2018-10-30
Last Updated 2020-06-14
 
Last edited:

tbalden

Recognized Developer
Yeah, haven't tested it myself, but hopefully it could work. OnePlus unified the op6 and op6t sources into one project with one common default configuration, so I'm positive.
I have some doubts about the cleanslate high brightness mode because the fingerprint reader on 6t uses hbm too.
We will see how it works...
please don't quote on the original post, also it says right at the top "UNTESTED BY ME...", aka not tested by him, because as he said, he doesn't have the device.

Sent from my ONEPLUS A6003 using Tapatalk
 

Babloo289

Senior Member
Aug 16, 2014
454
338
hyderabad
www.facebook.com
Flashed it . Boots on 6T . Congrats @tbalden

---------- Post added at 05:55 PM ---------- Previous post was at 05:53 PM ----------

Anyone brave enough to test it? :) My first concern would be cs HMB and fingerprint reader.
Also is hmb by default enabled fully on 6t led panel ?

Sent from my ONEPLUS A6003 using Tapatalk

FP Works Fine . Cant test HMB as i am not sure how to test it on OOS . Contact me on Telegram @Babloo289 for better checking.

---------- Post added at 05:55 PM ---------- Previous post was at 05:55 PM ----------

Anyone brave enough to test it? :) My first concern would be cs HMB and fingerprint reader.
Also is hmb by default enabled fully on 6t led panel ?

Sent from my ONEPLUS A6003 using Tapatalk

FP Works Fine . Cant test HMB as i am not sure how to test it on OOS . Contact me on Telegram @Babloo289 for better checking.
 

tbalden

Recognized Developer
Thanks a lot, glad to hear all works so far.
Great new phone, I wish I had one to test stuff, but looks like we have a nice unified source for op6 and 6t so changes on the 6 should generally work.
:good: :)
Flashed it . Boots on 6T . Congrats @tbalden

---------- Post added at 05:55 PM ---------- Previous post was at 05:53 PM ----------



FP Works Fine . Cant test HMB as i am not sure how to test it on OOS . Contact me on Telegram @Babloo289 for better checking.

---------- Post added at 05:55 PM ---------- Previous post was at 05:55 PM ----------



FP Works Fine . Cant test HMB as i am not sure how to test it on OOS . Contact me on Telegram @Babloo289 for better checking.

Sent from my ONEPLUS A6003 using Tapatalk
 

aj8600

Senior Member
Aug 8, 2010
653
84
Eugene, OR
Has this helped anyone with app switching lag. It's noticibly worse on my 6t compared to my 6

Sent from my ONEPLUS A6013 using Tapatalk
 

tbalden

Recognized Developer
Curious on the battery life using flash as a notification led.

It is using marginally increased battery, I couldn't really see it eating the battery away. You can play around with how often it flashes. Also it can be set to only do flash when the phone is face down on a surface, not in your pocket, or in hand.
It's also done in a CPU sleep time friendly manner, to not interrupt the Deepsleep more than the bare minimum needed.
 

Top Liked Posts