[KERNEL] CleanSlate 🚀 R1.8.5/S2.10.3 |Gamma|AdBlock|SafetyNet|FlashLight|S2S|FingPr [8Jun]

Search This thread

tbalden

Recognized Developer
tbalden's
CleanSlate kernel
for Google Pixel 5


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"


6ZpxvLq.png

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


GsRFfBr.jpg


Release Calendar
Version 2.10.3 - 8 of June 2022
Version 2.10.1 - 7 of Apr 2022

Version 2.9.1 - 9 of Dec 2021
Version 2.8.9 - 23 of Oct 2021
Version 1.8.5/2.8.5 - 19 of May 2021
Version 2.8.6 - 13 of June 2021
Version 1.8.3 - 6 of April 2021
Version 2.8.2 - 29 of March 2021
Version 2.8.1 - 14 of March 2021
Version 1.8.1 - 7 of March 2021
Version 1.8.0 - 2 of March 2021
Version 1.7.5 - 11 of Feb 2021
Version 1.7.2 - 3 of Feb 2021
Version 1.7.1 - 8 of Dec 2020
Version 1.7.0 - 29 of Nov 2020
Version 1.6.0 - 26 of Nov 2020
Version 1.5.1 - 24 of Nov 2020
Version 1.5.0 - 23 of Nov 2020
Version 1.4.2 - 20 of Nov 2020
Version 1.4.0 - 20 of Nov 2020
Version 1.0.0a1 - 18 of Nov 2020


Should work on official ROM bases Feb 2021 sec level.




Features:

- Flashlight Notification/Call blinking (see video below)
- Vibrating Notification Reminder (DETAILS)
- Notification In-Pocket Booster boost notifications vibrations while phone is in pocket
- Vibration Booster boost haptic feedback strength (closer to Pixel4/Pixel3 levels)
- K.AdAway adblocking built-in kernel only, All browsers, Apps web-ads, except YouTube / streaming / Facebook ads
- SafetyNet pass passes if using without Magisk/Rooting, flashing the boot img only, Google Pay should work
- Battery Saver cut back max CPU freqs, 3 levels + touch boost limiter options

- Gamma Tweaks tweak gamma bias for 3 bands through RGB changes, Boost to higher brightness (don't overuse it, best only outdoors for better battery and no burn in!)
- Sweep to Sleep gestures - highly customizable
- DoubleTap & LongTap & SwipeUp 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
- Fingerprint gestures mapping set to Appswitch, Double tap sleep, easier Notif pull down, mappable Home
- KCAL Color Control (credit to @savoca)
- Blurred SystemUI tweak - restart system ui in Blurred mode from Companion app
- High Brightness Mode - slightly increase lumens in highest brightness level (panel's HBM)
- Always On Display dimmer - Lower the brightness for AOD screen in doze mode, when normal screen brightness is also low
- Backlight Dimmer - possibility to use lower panel brightness

- WireGuard VPN kernel support
- ThinLTO + CFI security hardened Read: https://source.android.com/devices/tech/debug/cfi
- 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


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
- built with Control Flow Integrity sec hardening from Android S versions onwards
- kept stable, no tweakings, just features
- stable and reliable, keeping close to stock except addition of Usability features


Feature demo



--
Gamma boost demo
--
Sweep2Sleep, DoubleTap notif pull down
--
Flashlight notification
--
Foreground App Kill gesture




Requirements
- Unlocked Pixel 5, stock or with magisk root
- From Android S, vbmeta verification must be disabled. Download the stock full firmware for you phone, extract Vbmeta.img and do:
Code:
fastboot flash --disable-verity --disable-verification vbmeta vbmeta.img
--- In Android S, you might need to do a factory reset when disabling Verity after the system booted before with vbmeta enabled! If it doesn't boot with corruption problem, you need to do a factory reset with 'fastboot -w'
--- When updating with next OTA on Android S, I recommend to 'adb sideload ota.zip' and then BEFORE booting, go to Bootloader and with latest Vbmeta.img, make sure to switch off verity again with fastboot flashing vbmeta again, and boot only after that. That way factory reset won't be necessary it seems by experience so far.
- 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). If using Play Store version, you need to join the Beta program when using Android 12 kernel. 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 boot.img

1. install magisk
2. patch the provided boot image
3. use fastboot boot/flash boot to test and then fully flash it, then enjoy


- For SafetyNet, Adblocking, after flashing you might need to restart the phone after the first boot, otherwise it might not work.
- If using Companion App for notification / gesture etc features, there's a setting in the app to Switch off Proximity sensor while Screen is on. This will prevent the flickering, but Face down screen off feature won't work

Known bugs

- None, please tell
- please disable magisk modules before reporting issues, and please provide logs if possible
- if it cannot boot at all after flash because of signature verification, read vbmeta requirements (Android S)

Download


Android S
Non rooted, Android S image (redfin)
Pixel5 (redfin) boot image SP1A (2022.06.05) CS 2.10.3: https://www.androidfilehost.com/?fid=15664248565197178995

Stock vbmeta image if you need to disable verity checks on Android S (redfin-sp1a.220605.009 global): https://www.androidfilehost.com/?fid=15664248565197179000

Flashable zip CS 2.10.3 for EXKM/FKM: https://www.androidfilehost.com/?fid=15664248565197178996


Android 11
Non rooted, Android R image (redfin)
Pixel5 (redfin) global boot image (2021.05.05) CS 1.8.5: https://www.androidfilehost.com/?fid=14943124697586335902

Stock boot image if you need to revert (redfin-rd2a.210305.006 global): https://www.androidfilehost.com/?fid=17248734326145746723

Flashable zip CS 1.8.5 for EXKM/FKM: https://www.androidfilehost.com/?fid=14943124697586335903


Pixel5 (redfin) boot image SP1A (2022.04.05) CS 2.10.1: https://www.androidfilehost.com/?fid=14655340768118449932[/B]
Stock vbmeta image if you need to disable verity checks on Android S (redfin-sp1a.220405.003 global): https://www.androidfilehost.com/?fid=14655340768118449936

Flashable zip CS 2.10.1 for EXKM/FKM: https://www.androidfilehost.com/?fid=14655340768118449931
Pixel5 (redfin) boot image SP1A (2021.12.05) CS 2.9.1: https://www.androidfilehost.com/?fid=17825722713688245853[/B]

Flashable zip CS 2.9.1 for EXKM/FKM: https://www.androidfilehost.com/?fid=17825722713688245854
Pixel5 (redfin) boot image SP1A (2021.08.12) CS 2.8.9: https://www.androidfilehost.com/?fid=7161016148664827249[/B]
Flashable zip CS 2.8.9 for EXKM/FKM: https://www.androidfilehost.com/?fid=7161016148664805374
Stock vbmeta image if you need to disable verity checks on Android S (redfin-sp1a.210812.015 global): https://www.androidfilehost.com/?fid=7161016148664827250
Stock boot image if you need to revert (redfin-sp1a.210812.015 global): https://www.androidfilehost.com/?fid=7161016148664827253

Non rooted, Android S image (redfin)
Pixel5 (redfin) boot image SPB2 (2021.05.13) CS 2.8.6: https://www.androidfilehost.com/?fid=14943124697586348945[/B]
Stock vbmeta image if you need to disable verity checks on Android S (redfin-spb2.210513.007 global): https://www.androidfilehost.com/?fid=14943124697586348973
Stock boot image if you need to revert (redfin-spb2.210513.007 global): https://www.androidfilehost.com/?fid=14943124697586348972

Flashable zip CS 2.8.6 for EXKM/FKM: https://www.androidfilehost.com/?fid=14943124697586348964
Pixel5 (redfin) boot image SPB1 (2021.05.05) CS 2.8.5: https://www.androidfilehost.com/?fid=14943124697586335897[/B]
Flashable zip CS 2.8.5 for EXKM/FKM: https://www.androidfilehost.com/?fid=14943124697586335898
Pixel5 (redfin) boot image SPP2 (2021.03.05) CS 2.8.2: https://www.androidfilehost.com/?fid=2188818919693772028[/B]
Flashable zip CS 2.8.2 for EXKM/FKM: https://www.androidfilehost.com/?fid=2188818919693772029
Pixel5 (redfin) global boot image (2021.04.05) CS 1.8.3: https://www.androidfilehost.com/?fid=2188818919693777068[/B]
Flashable zip CS 1.8.3 for EXKM/FKM: https://www.androidfilehost.com/?fid=2188818919693777069

Pixel5 (redfin) europe/verizon boot image (2021.03.05) CS 1.8.1: https://www.androidfilehost.com/?fid=2188818919693748700
Flashable zip CS 1.8.1 for EXKM/FKM: https://www.androidfilehost.com/?fid=2188818919693748701[/B]
Pixel5 (redfin) boot image SPP1 (2021.03.05) CS 2.8.1: https://www.androidfilehost.com/?fid=2188818919693754862[/B]
Stock vbmeta image if you need to disable verity checks on Android S (redfin-spp1.210122.022 global): https://www.androidfilehost.com/?fid=2188818919693752995
Stock boot image if you need to revert (redfin-spp1.210122.022 global): https://www.androidfilehost.com/?fid=2188818919693753058

Flashable zip CS 2.8.1 for EXKM/FKM: https://www.androidfilehost.com/?fid=2188818919693754863
Pixel5 (redfin) europe/verizon boot image (2021.03.05) CS 1.8.0: https://www.androidfilehost.com/?fid=17248734326145746719
Flashable zip CS 1.8.0 for EXKM/FKM: https://www.androidfilehost.com/?fid=17248734326145746720[/B]
Pixel5 (redfin) europe/verizon boot image (2021.01.05) CS 1.7.5: https://www.androidfilehost.com/?fid=17248734326145733993[/B]
Stock image if you need to revert (redfin-rd1a.210205.004 global): https://www.androidfilehost.com/?fid=17248734326145727993
Flashable zip CS 1.7.5 for EXKM/FKM: https://www.androidfilehost.com/?fid=17248734326145734006
Pixel5 (redfin) europe/verizon boot image (2020.12.05) CS 1.7.1: https://www.androidfilehost.com/?fid=10763459528675599753
Flashable zip CS 1.7.1 for EXKM/FKM: https://www.androidfilehost.com/?fid=10763459528675599754
Non rooted, Android R image
(redfin)
Pixel5 (redfin) europe/verizon boot image (2020.11.05) CS 1.7.0: https://www.androidfilehost.com/?fid=10763459528675593722
Flashable zip CS 1.7.0 for EXKM/FKM: https://www.androidfilehost.com/?fid=10763459528675593723
Pixel5 (redfin) europe/verizon boot image (2020.11.05) CS 1.6.0: https://www.androidfilehost.com/?fid=10763459528675591859
Flashable zip CS 1.6.0 for EXKM/FKM: https://www.androidfilehost.com/?fid=10763459528675591860
Pixel5 (redfin) europe/verizon boot image (2020.11.05) CS 1.5.1: https://www.androidfilehost.com/?fid=10763459528675590752
Flashable zip CS 1.5.1 for EXKM/FKM: https://www.androidfilehost.com/?fid=10763459528675590753
Pixel5 (redfin) europe/verizon boot image (2020.11.05) CS 1.5.0: https://www.androidfilehost.com/?fid=10763459528675589612
Flashable zip CS 1.5.0 for EXKM/FKM: https://www.androidfilehost.com/?fid=10763459528675589613
Pixel5 (redfin) europe/verizon boot image (2020.11.05) CS 1.4.2: https://www.androidfilehost.com/?fid=10763459528675588050
Flashable zip CS 1.4.2 for EXKM/FKM: https://www.androidfilehost.com/?fid=10763459528675588049


Pixel5 (redfin) europe/verizon boot image (2020.11.05) CS 1.4.1: https://www.androidfilehost.com/?fid=10763459528675587899
Flashable zip CS 1.4.1 for EXKM/FKM: https://www.androidfilehost.com/?fid=10763459528675587898
[/B]

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

You need to Join the BETA program to get the version that works with the latest kernel!
https://play.google.com/store/apps/details?id=org.cleanslate.csservice

Configuration App 3.2.2 -- Donation premium on playstore:
- additional features in premium app: App Themes, Profiles, Profile Switch QuickTiles
You need to Join the BETA program to get the version that works with the latest kernel!
https://play.google.com/store/apps/details?id=org.cleanslate.csconfig

Companion App 3.3.6 -- Normal free download:
https://www.androidfilehost.com/?fid=17825722713688272307
Configuration App 3.2.6 -- Normal free download:
https://www.androidfilehost.com/?fid=17825722713688272306

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_redfin/commits/cleanslate-wip

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 Pixel 5, Kernel for the Google Pixel 5


Contributors
tbalden
Source Code: https://github.com/tbalden/android_kernel_msm_redfin/commits/cleanslate-wip

Kernel Special Features: Sweep2Sleep, Tap gestures, Fingerprint double tap sleep, Color Control, Adblocking, SafetyNet

Created 2020-11-20
 
Last edited:

tbalden

Recognized Developer
Reserved for later posts.

The boot image I checked, same is for Europe and Verizon, it's byte level the same.
I couldn't get AnyKernel3 to work with Pixel5, so for now only boot image provided. Read installation instructions.

No magisk needed for SafetyNet pass and all features of the kernel (except Wireguard which needs superuser/magisk)
 

tbalden

Recognized Developer
- Update Android R Stable - 1.4.1 -

Bugfixing and rooted installer zip
- Added Installer zip for EXKM/FKM method
--- Preserves root and can be flashed from EXKM/FKM. Credits to @flar2 for the installer scripts
- Bugfix: for premium config app wifi ssid based profile activation, fix it


CleanSlate R 1.4.1 Downloads:
Rooted installer zip:
CleanSlate R 1.4.1: https://www.androidfilehost.com/?fid=10763459528675587898

Non rooted, Android R image (2020-11-05)
Pixel5 redfin boot image CS 1.4.1: https://www.androidfilehost.com/?fid=10763459528675587899


Read first post in thread for installation details.
 
  • Like
Reactions: sachinsmac

tbalden

Recognized Developer
Some minor issues I've discovered while playing around with Always on display and Fingerprint gestures, here's a fix...

- Update Android R Stable - 1.4.2 -
Bugfixes
- Fix: Fingerprint gestures/mapping and Facedown screen off not working without AOD
- Fix: keep console-ramoops after every restart, even manual ones


CleanSlate R 1.4.2 Downloads:
Rooted installer zip:
CleanSlate R 1.4.2: https://www.androidfilehost.com/?fid=10763459528675588049

Non rooted, Android R image (2020-11-05)
Pixel5 redfin boot image CS 1.4.2: https://www.androidfilehost.com/?fid=10763459528675588050


Read first post in thread for installation details.
 
  • Like
Reactions: sachinsmac

tbalden

Recognized Developer
is the flashlight fixed in 1.4.2? on 1.4.0 it didnt work
Worked on 1.4 and works as well on 1.4.2 on my end

Check presets mode on the flashlight config page for easy set-up. Also make sure to run the companion app too fully set up

Sent from my Pixel 5 using Tapatalk
 
Last edited:
  • Like
Reactions: sachinsmac

tbalden

Recognized Developer
Nice work dude,

Can't wait to try this kernel out!!

Sent from my Pixel 5 using XDA Labs
Thank you so much! Glad to see you here!
Thank You for you hard work.

Sent from my Pixel 3a using Tapatalk
This is awesome! Glad you joined the P5.
Thank you for the welcome!

I'm really glad I got this one. Been using the pixel 4xl with great joy, and now this pixel 5 with great battery, excellent camera and it's moderate size is a great hit for me. Been using big phones for so long I forgot how convenient this can be.

Sent from my Pixel 5 using Tapatalk
 
  • Like
Reactions: sachinsmac

tbalden

Recognized Developer
  • Like
Reactions: sachinsmac

tbalden

Recognized Developer
Doesn't work for me either for text notifications, even with presets, only calls.
Can you detail, which text messaging app do you use?

Using the standard app of the pixel 5, it blinks for me nicely.

It will only start to blink when screen is off, and also if you select face down, obviously it must be placed face down. Make sure that Companion app is not in battery optimization and that it got all permissions set.

Sent from my Pixel 5 using Tapatalk
 
  • Like
Reactions: sachinsmac

cubandanger05

Senior Member
Dec 22, 2009
531
168
OnePlus 5T
Google Pixel 5
Can you detail, which text messaging app do you use?

Using the standard app of the pixel 5, it blinks for me nicely.

It will only start to blink when screen is off, and also if you select face down, obviously it must be placed face down. Make sure that Companion app is not in battery optimization and that it got all permissions set.
Textra. Companion app has all permissions set, and not being optimized.

Edit: could you share what you did to make it pass SafetyNet without having to change the magisk prop to pixel 3a?
 
Last edited:

Top Liked Posts