[KERNEL] CleanSlate 🚀 R 2.6.4 |KCal|Dimmer|AdBlock|SafetyNet|FlashLight|Dtap [7Mar]

Search This thread


Recognized Developer
Oct 22, 2010
A heads-up on the recent selinux permissive topic, today wanted to make sure that the kernel permissive approach found in cleanslate kernels, do we have an exploit possibility with the recently published Magica selinux hack that can gain root access of the phone.
Fortunately the restricted nature of the cleanslate kernel permissive approach is strict enough to not let that attack thru.
  • Like
Reactions: MattJaO3D


Recognized Developer
Oct 22, 2010
  • Like
Reactions: efx7n


Senior Member
CleanSlate kernel
for OnePlus 8T

The User Experience Kernel leaning towards Stock Stability plus UX features.
Rock stable stock approach, performance smooth and issue free
"No-Root is a State of Mind"


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


Release Calendar
Version 2.6.4 - 7 of Mar 2021
Version 2.6.3 - 31 of Jan 2021

Version 2.6.2 - 2 of Jan 2021
Version 2.6.1 - 6 of Dec 2020
Version 2.6.0 - 22 of Nov 2020
Version 2.5.1 - 2 of Nov 2020
Version 2.5.0 - 25 of Oct 2020
Version 2.4.2 - 24 of Oct 2020
Version 2.4.1 - 23 of Oct 2020

Should work on official ROM base 11.0.x


- Flashlight Notification/Call blinking (see video below)
- AdrenoBoost v2.2 - boost GPU for gaming
- Dynamic Schedtune Boost (EAS boosting) - credits to @joshuous
- Battery Saver cut back max CPU freqs, 3 levels + touch boost limiter options
- Optimizations, compiled with Clang 10.0.1
- K.AdAway adblocking All browsers, Apps, except YouTube / streaming
- Unlock Hider - SafetyNetPass kernel side hiding, no magisk needed (use boot image flash)

- Vibrating Notification Reminder (DETAILS)
- Vibration power control / Notification booster In-Pocket
- Sweep to Sleep gestures - highly customizable

- DoubleTap & LongTap on corner area gestures - new way to pull down android Notification Area or screen off
- Sweep/Tap gesture to force close foreground app - DETAILS HERE
- Backlight Dimmer - possibility to use lower panel brightness (switch DC dimming off in Lab settings!)
- KCAL Color Control (credit to @savoca)
- WireGuard VPN kernel support
- Face down screen off - put phone face down to turn screen off

- Kernel Log / Crash dump to internal storage/sdcard - no root/magisk needed, from Companion App use Kernel Log button
- CleanSlate Companion / Config - rootless app to configure


- no root required, use /sdcard/uci_user.cfg file to configure 99% of the features without rooting. If you need tweak apps (e.g. EXKM / FK) you'll need rooting!
- built on top of kernel sources released by Google
- 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

Feature demo

DoubleTap notif pull down

Flashlight notification

Foreground App Kill gesture

- Unlocked OnePlus 8T, magisk root
- BACKUP: make sure you have a stock image downloaded (boot img) from OnePlus before installing this!

Installation Guide
Firstly install CleanSlate configuration and CleanSlate companion apps on your phone (both found down below in Download section). Set them up initially.
Copy unzipped hosts_k file to your sdcard (/sdcard/hosts_k) for k.adaway functionality in Chrome browser
- Non-rooted method: 0. download the non-rooted boot img
1. reboot to bootloader (adb reboot-bootloader)
2. temporary boot cleanslate_x.y.z_stock_20xx-xx-xx.img (fastboot boot cleanslate.......img)
3. if everything went fine, you can reboot to bootloader and flash the image: fastboot flash boot cleanslate.......img
4. reboot, enjoy
- Rooted method: 0. download the installer zip
1. install magisk and a capable kernel manager like EXKM/FrancoKernel
2. flash the cleanslate installer zip from the kernel manager
3. reboot, enjoy

Known bugs
- None, please tell


Android 11

Installer zip
For Kernel Managers (EXKM,Franco etc)
Installer flashable 2.6.4 https://www.androidfilehost.com/?fid=2188818919693748794

Boot img Eur 11.0.x Cleanslate 2.6.4 https://www.androidfilehost.com/?fid=2188818919693748798

Config Applications
Companion App 3.1.1
-- Donation premium on PlayStore:

Configuration App 3.2.3 -- Donation premium on playstore:
- additional features in premium app: App Themes, Profiles, Profile Switch QuickTiles


Companion App 3.1.1 -- Normal free download:
Configuration App 3.2.3 -- Normal free download:

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_sm8250/commits/cleanslate

Special thanks to AnyKernel installer developer: osm0sis
To @flar2 for his original works
To @Freak07 for all his work on XDA and help
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
CleanSlate Kernel for OnePlus 8T, Kernel for the OnePlus 8T

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

Kernel Special Features:

Version Information
Current Stable Version: 2.6.0
Stable Release Date: 2020-11-22

Created 2020-10-23
Last Updated 2020-11-22
link is dead


Senior Member
Sep 5, 2018
LG G Pad 10.1
OnePlus 8T
Is SOT better on this kernel by default?
Im new to this device, if the answer is "No" is there a kernel that could increase screen on time?

With the settings companion app you can adjust battery saving settings and cpu and gpu boosts. So far for me I've seen better battery life on mine and I've had clean slate for a few months now.

Top Liked Posts

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