[KERNEL] CleanSlate Q 🚀 v3.7.9 |FlashLight|LED|KCal|FingerPrnt|Battery [25Jul]

Search This thread


Recognized Developer
CleanSlate kernel
for OnePlus 6

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


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


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.4 - 1 Mar 2020
Version 3.7.0 - 23 Oct 2019
Version 2.7.13 - 15 Sep 2019
Version 2.7.11 - 8 Jan, 2019
Version 2.7.0 - 7 Sep, 2018
Version 1.7.23 - 6 Aug, 2018
Version 1.7.22 - 5 Aug, 2018
Version 1.7.21 - 17 July, 2018
Version 1.7.16 b1 - 26 June, 2018
Version 1.7.14 - 18 June, 2018
Version 1.7.13 - 17 June, 2018
Version 1.7.1 beta - 1 June, 2018
Version 1.7.0 beta - 31 May, 2018

for Stock OxygeneOS ROM base

Video 1
Video 2
Video 3
Video 4


- 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


- 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

- 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


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:[/COLOR][/SIZE][/B]
Installer flashable: https://www.androidfilehost.com/?fid=2188818919693790474
For OxygenOS - 3.7.7v2 -- installer for TWRP:[/COLOR][/SIZE][/B]
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

Companion App 2.6.5 -- Donation premium on playstore:

Configuration App 2.12.18 -- Normal free download:
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

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 OnePlus6, Kernel for the OnePlus 6

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

Kernel Special Features:

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

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


Recognized Developer
Installation of twrp: flash official TWRP, and flash cleanslate. No root app or magisk needed if you are not planning on using them.

2018-jun-26 1.7.16-b1:
- Flashlight Notification
- Vibrating Notification Reminder
- KCal full support
- Soundcontrol full on/off switch
2018 Jun 23 - Companion app update
Companion app: add setting for Notification pull down collapse
2018-jun-18 1.7.14:
- chromatic charging led
- other fixe
2018-jun-17 1.7.13:
- adding Dynamic SchedTune Boosting https://forum.xda-developers.com/showpost.php?p=76828002&postcount=396
- add LED dimming
2018-jun-15 1.7.12
- add KCal RGB control

Upcoming planned features:
- chromatic charging LED
- subtle flashlight notification
- vibrating notification reminder
- more led tweaks (patterns...)
- input swipe tweaks



  • Screenshot_20180605-095314.jpg
    307.9 KB · Views: 18,513
  • Screenshot_20180605-095321.jpg
    366.9 KB · Views: 18,429
  • Screenshot_20180605-095329.jpg
    254.5 KB · Views: 18,260
  • Screenshot_20180605-095336.jpg
    320.4 KB · Views: 17,441
Last edited:


Senior Member
Jul 3, 2009
how anybody can possibly be against root,
it's like your human rights thing !

does this kernel support double tap to wake up ?
does it drain any extra battery ?

Last edited:
  • Like
Reactions: tbalden


Senior Member
Jul 26, 2012
Yes, I know. Again, the original post states this kernel wads built from OnePlus 6 kernel source code. I don't understand what leads you to believe that for some reason DTW would be removed.
Oh sorry. I did not realize that you already flashed it and tested it to make sure that the changes didn't break dt2w

Sent from my OnePlus6 using XDA Labs
  • Like
Reactions: tbalden


Recognized Developer
how anybody can possibly be against root,
it's like your human rights thing !

does this kernel support double tap to wake up ?
does it drain any extra battery ?

Hi there.
I'm not against root.
I just want to give you the freedom of not using superuser permission if not necessary to achieve the goal of the given case. Like if you are happy with this kernel you won't see it asking for superuser permission. (Only wireguard will require it if you plan on using it)

Unlocking your phone and flashing stuff is great, but if for some reason you want to avoid giving away the keys of your "vault" to third parties you know very little about through super permission granting... Then here's a possibility.
In the age where you store so much value on your phone, like banking, crypto currency, private chats it might matter a lot when there's a possibility to customize your phone with only unlocking, no root.

Unlocking does NOT equal root/ superuser.

Does this make sense? :)

Sent from my ONEPLUS A6003 using Tapatalk
Last edited:


Recognized Developer
What's the difference between K.AdAway and the AdAway app? I've searched and I'm not getting any hits.
It's very similar but kernel based and does not require reboot to switch it on / off.
It's convenient when going into the app you simply toggle it and save, restart chrome and the site asking for ads to be on works again... using the premium app its possible

with quick tile :)

Sent from my ONEPLUS A6003 using Tapatalk


Recognized Developer
Have sweep2sleep?

Enviado desde mi ONEPLUS A6003 mediante Tapatalk

Not yet. I'm still struggling with input driver tweaks on kernel 4.9, somewhat stuff changed..
Needs some more time to check what works how, but planning on adding some Fingerprint input tweaks first.

Sweep2sleep would be cool too, if one's phone is not used in Gestures mode... so that's on the list to check.

Top Liked Posts