[KERNEL] CleanSlate R2.7.3 |S2S|Gamma|KCal|AdBlock|VIB|WireGuard [Jan6]

tbalden

Recognized Developer
Oct 22, 2010
9,741
16,641
263
Budapest
www.virtuousrom.com
tbalden's
CleanSlate kernel
for Google Pixel 4/4 XL


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"



As always tbalden is here to bring you authentic new features first in line, to his heart's chosen phone, this year Pixel 4/4 XL.
No root elevation (magisk) needed for all functions and preference switches through CS Config App




Release Calendar
Version 2.7.3 - 6 of Jan 2020
Version 2.7.2 - 8 of Dec 2020

Version 2.7.1 - 29 of Nov 2020
Version 2.7.0 - 18 of Nov 2020
Version 2.6.4 - 3 of Nov 2020
Version 2.6.3 - 23 of Oct 2020
Version 2.6.2 - 10 of Oct 2020
Version 2.6.1 - 6 of Oct 2020
Version 2.5.6 - 6 of Sept 2020
Version 2.5.5/1.5.5 - 7 of Aug 2020
Version 2.5.4/1.5.4 - 20 of July 2020
Version 2.5.3 - 19 of July 2020
Version 1.5.1 - 9 of July 2020
Version 2.5.1 - 11 of June 2020
Version 1.5.0/2.5.0 - 6 of June 2020
Version 1.4.14 - 2 of June 2020
Version 1.4.13 - 29 of May 2020
Version 1.4.8 - 18 of May 2020

Version 2.4.6 - 16 of May 2020
Version 1.4.7 - 14 of May 2020
Version 1.4.6 - 7 of May 2020
Version 1.4.5 - 9 of April, 2020
Version 2.4.3 - 22 of March, 2020
Version 2.4.2 - 1 of March, 2020

Version 1.4.4 - 3 of March, 2020
Version 1.4.3 - 16 of February, 2020
Version 1.3.1 - 30 of January, 2020
Version 1.2.0 - 13 of January, 2020
Version 1.1.0 - 2 of January, 2020
Version 1.0.0 - 31 of December, 2019


Should work on official ROM bases May/June 2020 sec level.




Features:

- Flashlight Notification/Call blinking (see video below)
- Gamma Tweak / Degreenify Pixel4 *XL* ONLY - non stock gamma to remove green tint on 90hz low brightness
- Touch Debooster and Powerhal tuning built in - battery friendly SchedTune boost settings in kernel/app, no Powerhal magisk module needed (Gestures&Extras / Stock Touchboost OFF/advanced settings Deboost level)
- Vibrating Notification Reminder (DETAILS)
- CleanSlate Battery Saver - rootless CPU freq limiter for summer GPS navigation etc.
- Notification booster In-Pocket
- High Brightness Mode - boost light in highest brightness level

- 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
- Always On Display dimmer - Lower the brightness for AOD screen in doze mode, when normal screen brightness is also low
- Squeeze to Sleep squeeze gesture when Google Assistant squeeze enabled - needs calibration process LINK
- Backlight Dimmer - possibility to use lower panel brightness

- KCAL Color Control (credit to @savoca)
- Blurred SystemUI tweak - restart system ui in Blurred mode from Companion app
- K.AdAway adblocking All browsers, Apps, except YouTube / streaming
- WireGuard VPN kernel support
- Face down screen off - put phone face down to turn screen off

- AdrenoBoost v2.2 - boost GPU for gaming
- 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
- f2fs fix for systemless hosts freezes


Facts:

- 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


--
Sweep2Sleep, DoubleTap notif pull down
--
Flashlight notification
--
Degreenify for Pixel4XL
--
Foreground App Kill gesture




Requirements
- Unlocked Pixel 4/4 XL, stock or with magisk root
- BACKUP: make sure you have a stock image downloaded (boot img) from Google (https://developers.google.com/android/images) 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.
- 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
- please disable magisk modules before reporting issues, and please provide logs if possible

Download

Android 11
Non rooted, Android R image
(coral-rp1)
Pixel4Xl (coral) boot image (2020.12.05) CS 2.7.3: https://www.androidfilehost.com/?fid=17248734326145709552

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 2.7.3: https://www.androidfilehost.com/?fid=17248734326145709553



Pixel4Xl (coral) boot image (2020.12.05) CS 2.7.2: https://www.androidfilehost.com/?fid=10763459528675599868

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 2.7.2: https://www.androidfilehost.com/?fid=10763459528675599869
[/B]
Pixel4Xl (coral) boot image (2020.11.05) CS 2.7.1: https://www.androidfilehost.com/?fid=10763459528675593746

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 2.7.1: https://www.androidfilehost.com/?fid=10763459528675593748
Pixel4Xl (coral) boot image (2020.11.05) CS 2.7.0: https://www.androidfilehost.com/?fid=10763459528675585779

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 2.7.0: https://www.androidfilehost.com/?fid=10763459528675585780
Pixel4Xl (coral) boot image (2020.10.05) CS 2.6.4: https://www.androidfilehost.com/?fid=10763459528675576747

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 2.6.4: https://www.androidfilehost.com/?fid=10763459528675576749
Pixel4Xl (coral) boot image (2020.10.05) CS 2.6.3: https://www.androidfilehost.com/?fid=10763459528675570413

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 2.6.3: https://www.androidfilehost.com/?fid=10763459528675570412
Pixel4Xl (coral) boot image (2020.10.05) CS 2.6.2: https://www.androidfilehost.com/?fid=10763459528675559863

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 2.6.2: https://www.androidfilehost.com/?fid=10763459528675559864
Pixel4Xl (coral) boot image (2020.10.05) CS 2.6.1: https://www.androidfilehost.com/?fid=8889791610682953824

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 2.6.1: https://www.androidfilehost.com/?fid=8889791610682953825
Android 10
Non rooted, Android Q 2020-08-05 image
(coral-qq3a.200805.001-factory)
Pixel4Xl (coral) boot image CS 1.5.5: https://www.androidfilehost.com/?fid=8889791610682907756[/B]
boot image for flame Pixel4 CS 1.5.5 https://www.androidfilehost.com/?fid=8889791610682907757 NOT for Pixel4XL

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 1.5.5: https://www.androidfilehost.com/?fid=8889791610682907758
Pixel4Xl (coral) boot image CS 2.5.6: https://www.androidfilehost.com/?fid=8889791610682933767

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 2.5.6: https://www.androidfilehost.com/?fid=8889791610682933766
Pixel4Xl (coral) boot image CS 2.5.5: https://www.androidfilehost.com/?fid=8889791610682908188

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 2.5.5: https://www.androidfilehost.com/?fid=8889791610682908190
Non rooted, Android R Beta 2 image
(coral-rpb2)
Pixel4Xl (coral) boot image CS 2.5.4: https://www.androidfilehost.com/?fid=8889791610682896243

boot image for flame Pixel4 CS 2.5.4 https://www.androidfilehost.com/?fid=8889791610682896245 NOT for Pixel4XL

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 2.5.4: https://www.androidfilehost.com/?fid=8889791610682896241
Pixel4Xl (coral) boot image CS 1.5.1: https://www.androidfilehost.com/?fid=8889791610682887939

boot image for flame Pixel4 CS 1.5.1 https://www.androidfilehost.com/?fid=8889791610682887940 NOT for Pixel4XL

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 1.5.1: https://www.androidfilehost.com/?fid=8889791610682887941
Pixel4Xl (coral) boot image CS 2.5.3: https://www.androidfilehost.com/?fid=8889791610682894837

boot image for flame Pixel4 CS 2.5.3 https://www.androidfilehost.com/?fid=8889791610682894836 NOT for Pixel4XL

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 2.5.3: https://www.androidfilehost.com/?fid=8889791610682894835
Pixel4Xl (coral) boot image CS 2.5.1: https://www.androidfilehost.com/?fid=12420606652095401437

boot image for flame Pixel4 CS 2.5.1 https://www.androidfilehost.com/?fid=12420606652095401438 NOT for Pixel4XL

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 2.5.1v2: https://www.androidfilehost.com/?fid=8889791610682869790
Non rooted, Android Q 2020-06-05 image
(coral-qq3a.200605.001-factory)
Pixel4Xl (coral) boot image CS 1.5.0: https://www.androidfilehost.com/?fid=4349826312261827146

boot image for flame Pixel4 CS 1.5.0 https://www.androidfilehost.com/?fid=4349826312261827147 NOT for Pixel4XL

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 1.5.0: https://www.androidfilehost.com/?fid=4349826312261827150
Pixel4Xl (coral) boot image CS 2.5.0: https://www.androidfilehost.com/?fid=4349826312261827148

boot image for flame Pixel4 CS 2.5.0 https://www.androidfilehost.com/?fid=4349826312261827149 NOT for Pixel4XL

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 2.5.0: https://www.androidfilehost.com/?fid=4349826312261827151
Pixel4Xl (coral) boot image CS 1.4.14: https://www.androidfilehost.com/?fid=4349826312261823841

boot image for flame Pixel4 CS 1.4.14 https://www.androidfilehost.com/?fid=4349826312261823844 NOT for Pixel4XL

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 1.4.14: https://www.androidfilehost.com/?fid=4349826312261823845
Pixel4Xl (coral) boot image CS 2.4.12: https://www.androidfilehost.com/?fid=4349826312261823843

boot image for flame Pixel4 CS 2.4.12 https://www.androidfilehost.com/?fid=4349826312261823842 NOT for Pixel4XL

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 2.4.12: https://www.androidfilehost.com/?fid=4349826312261823846
Pixel4Xl (coral) boot image CS 1.4.13: https://www.androidfilehost.com/?fid=4349826312261821677

boot image for flame Pixel4 CS 1.4.13 https://www.androidfilehost.com/?fid=4349826312261821675 NOT for Pixel4XL

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 1.4.13: https://www.androidfilehost.com/?fid=4349826312261821678
Pixel4Xl (coral) boot image CS 2.4.11: https://www.androidfilehost.com/?fid=4349826312261821674

boot image for flame Pixel4 CS 2.4.11 https://www.androidfilehost.com/?fid=4349826312261821676 NOT for Pixel4XL

Installer zip for Kernel Manager installation (EXKM, Franco...)
Installer flashable 2.4.11: https://www.androidfilehost.com/?fid=4349826312261821679
Pixel4Xl (coral) boot image CS 1.4.11: https://www.androidfilehost.com/?fid=4349826312261818109

boot image for flame Pixel4 CS 1.4.11 https://www.androidfilehost.com/?fid=4349826312261818126 NOT for Pixel4XL

Pixel4Xl (coral) boot image CS 1.3.1: https://www.androidfilehost.com/?fid=4349826312261712539
boot image for flame Pixel4 CS 1.3.1 https://www.androidfilehost.com/?fid=4349826312261712538 NOT for Pixel4XL
Rooted method, installer zip
Installer flashable 1.3.1: https://www.androidfilehost.com/?fid=4349826312261712543


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

https://play.google.com/store/apps/details?id=org.cleanslate.csservice
Configuration App 3.1.8 -- 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 3.2.7 -- Normal free download:
https://www.androidfilehost.com/?fid=10763459528675593720
Configuration App 3.1.8 -- Normal free download:
https://www.androidfilehost.com/?fid=10763459528675593721

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_msm_floral/releases

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
tbalden's CleanSlate kernel for Pixel 4 XL, Kernel for the Google Pixel 4 XL

Contributors
tbalden, freak07, flar2
Source Code: https://github.com/tbalden/android_kernel_msm_floral/releases

Kernel Special Features:

Version Information
Status:
Stable
Current Stable Version: 2.7.1
Stable Release Date: 2020-11-29

Created 2019-12-30
Last Updated 2020-11-29
 
Last edited:

tbalden

Recognized Developer
Oct 22, 2010
9,741
16,641
263
Budapest
www.virtuousrom.com
Changelogs, readme's

2020-07-20 -- 1.5.4/2.5.4 Changes
CleanSlate Battery Saver modes
- Feature with 3 modes under Gestures/Extras "Battery Saver"
--- no root app needed
--- premium app new version with new "CS Battery Saver" QuickSettings tile
--- Freqs for little/big/primary clusters:
--- 1 - 1.5GHz / 1.7GHz / 1.8GHz + touchboost ON (2GHz+)
--- 2 - 1.1GHz / 1.1GHz / 1.1GHz + touchboost ON (2GHz+)
--- 3 - 1.1GHz / 1.1GHz / 1.1GHz - without touchboost, strict maximization


2020-02-08 -- 1.4.1 Changes
- new: AOD Dimmer
- fix: s2s/filtered gestures getting stuck after a reboot

2020-02-06 -- 1.4.0 Changes
- February security update
- hbm rootless
- backlight dimmer rootless

2020-01-26 -- 1.3.0 Changes
- Long Tap gesture feature added to Filtered modes

2020-01-13 -- 1.2.0 Changes
- Squeeze to sleep feature added

2020-01-10 -- 1.1.4 Changes
- Vibration booster for in-pock notifications

2020-01-08 -- 1.1.3 Changes
- s2s: two sided filtered mode, doubletap first vib only w/o finger mvmnt
Add: two sided filtered mode to enable taps on both corners.
Fix: if X moved too much leaving screen, don't vibrate, finish DT tracking
Fix: sweep first vibration only do when X movement is done by finger
- s2s: filtered mode: extend filtering for the whole gesture

Even when leaving the area, filtered mode now supports
the gesture to leave the lower area of the screen.
Until finger leaving the touch zone, all events will be
filtered, so you can execute the gesure in a diagonal
fashion also. Resolves also some touch events leaving
the filter wall in a succesful gesture, causing unintended

- merge: qcacld-3.0 tag android-10.0.0_r0.35
- merge: qca-wifi-host-cmn tag android-10.0.0_r0.35
- Merge tag 'android-10.0.0_r0.35' of https://android.googlesource.com/kernel/msm
- s2s: from corner gesture start option first touch fix
- s2s: add more haptic feedback for doubletap

2020-01-05 -- 1.1.2 Changes
- Fix: S2S for Pixel4 (flame)
- Fix: Filtered Mode's DoubleTap sleep feature instantly re-waked when done on the lock screen
- Fix: flashlight notification shouldn't flash when Camera or Flashlight app is using the LED
- Fix: facedown screen off/flashlight notif when NOT using always on display mode didn't work at all - fixed

2020-01-04 -- 1.1.1 Changes
- Add: Filtered mode DoubleTap area height can be separately set in Config app now.
--- This helps to prevent accidental keyboard touches for some users.
- Fix: make sweep2sleep vibration feedback punchier and always clicking
- Add: ramoops log files to be kept when restarting phone from menu
- Add: more logs for S2S

2020-01-02 -- 1.1.0 Changes
- fix: Pixel4 (flame) Sweep2Sleep bug
- Add: Swep2Sleep Filtered mode feature (ability to hide s2s touches from Appswitch gesture area)
- Add: Double Tap to Pulldown Notification area with Filtered mode
- finetuning s2s internal parameters
 
Last edited:

tbalden

Recognized Developer
Oct 22, 2010
9,741
16,641
263
Budapest
www.virtuousrom.com
tips and tricks, additional info
Question: Why are there two apps, Config and Companion?
Answer:
Well, technically, the config app is reading/writing configuration files, and also after the fs being decrypted and also being read/touched - after that happens, only then these files are accessible from kernel. On android 7/8 it was enough to have the files, but unfortunately it's not anymore. So config app is needed to configure features and also the finish the boot-up process and enable the kernel to read the configs.

The companion app is bringing a different functionality: it's needed to have all the events like notifications, ambient light change, gyroscope sensor state to be sent to the kernel. Since android 7+ most of the sensors are not handled on any level by kernel drivers, so it needed an application to channel those. Instead a nanohub/sensor-hub is being in place with closed source firmware usually. Sooo that's why companion app needs to run. Also it does the trick with notifcations pull down.

Back at the time I decided to have them separated, to have a very small memory footprint with the companion app that needed/needs to be always in memory/running in the background.
 
Last edited:

sykomaniac

Senior Member
Jun 16, 2010
1,637
2,431
153
Leeds
Sweep left to right to sleep is working fine for me. You have to find the sweet spot close to the bottom of your screen with default settings
Thanks for replying. I've tried that with nav bar enabled and disabled but it doesn't seem to want to work :( is there anything special that I need to do other than flash kernel and then configure via the app?
 
Last edited:

12Fully

Senior Member
Mar 15, 2012
310
81
48
Kansas City
Thanks for replying. I've tried that with nav bar enabled and disabled but it doesn't seem to want to work :( is there anything special that I need to do other than flash kernel and then configure via the app?
If you use gesture navigation try enabling the setting "gesture from corner". I thought it was helpful to enable the "continuously vibrate" so you know if you're swiping on the right spot too.
 
  • Like
Reactions: sykomaniac

sykomaniac

Senior Member
Jun 16, 2010
1,637
2,431
153
Leeds
If you use gesture navigation try enabling the setting "gesture from corner". I thought it was helpful to enable the "continuously vibrate" so you know if you're swiping on the right spot too.
Gave it a try and still not working. As I said I'm sure I'm doing something wrong but can't figure out what
 
  • Like
Reactions: tbalden

tbalden

Recognized Developer
Oct 22, 2010
9,741
16,641
263
Budapest
www.virtuousrom.com
In the meantime, I'm working on a few new features that occurred to me while using sweep to sleep intensive during the last couple of days.

First, I work on adding a special " filtering" mode, where the sweep gesture touch area is protected by a kernel level filter, so that Android upper level framework does not register those touches that could happen over the "app switch" gestures area.
A forty percent of the bottom lane is to be dedicated for the sweep gesture, so that a cut off area is not needed in this new filtered mode. The two gestures thus can share the lowest area of the touch screen and coexist with full functionality in Google's gestures mode.

Secondly this filtered mode allows for the addition of a special double tap registration in that sweep touch area. I'll add a notification pull down mapping for that double tap on the sweep area, very lowest part of the screen.

So far so good, it's super convenient. Still testing phase.

Here's a video:

https://youtu.be/4xZ-tvEgEl4



Sent from my HTC 2Q55100 using Tapatalk
 
Last edited:

tbalden

Recognized Developer
Oct 22, 2010
9,741
16,641
263
Budapest
www.virtuousrom.com
The sweep area height is a bit tricky, it's an absolute value, from the bottom of the screen, so it must be a higher value than the bottom cut off areas height.

So experiment with that set to around 200 first, as the horizontal cut off area is 100 on your screen shot.

Does this make sense? I hope this helps

Sent from my Pixel 4 XL using Tapatalk
 

sykomaniac

Senior Member
Jun 16, 2010
1,637
2,431
153
Leeds
The sweep area height is a bit tricky, it's an absolute value, from the bottom of the screen, so it must be a higher value than the bottom cut off areas height.

So experiment with that set to around 200 first, as the horizontal cut off area is 100 on your screen shot.

Does this make sense? I hope this helps
Thanks. Still no luck. Is anyone else using on a pixel 4 and not a 4 xl?
 
  • Like
Reactions: tbalden
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