[Google Pixel 6] tbalden:
tbalden's

CleanSlate kernel

for Google Pixel 6

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"

No root elevation (magisk) needed for all functions and preference switches through CS Config App

​

Release Calendar

Version 1.3.1 - 15 of Jan 2021

Version 1.1.0 - 20 of Nov 2021

Should work on official ROM bases Nov 2021 sec level.

Features:

- 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

- Battery Saver cut back max CPU freqs, 3 levels + touch boost limiter options

- 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 - BASIC passes Basic, without Magisk/Rooting. CTS won't pass.

- ThinLTO + CFI security hardened Read: https://source.android.com/devices/tech/debug/cfi

- 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/Android/data/org.cleanslate.csconfig/cache/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

Sweep2Sleep, DoubleTap notif pull down

--

Foreground App Kill gesture

Requirements

- Unlocked Pixel 6, stock or with magisk root

- From Android S, vbmeta verification must be disabled. ONLY if you use Magisk Manager canary latest (to patch boot image with Magisk) you can skip vbmeta verification disabling! If using the boot image provided in the zip without Magisk, you MUST disable verification! Download the stock full firmware for you phone, extract Vbmeta.img and do:

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, dtbo, vendor dlkm img) from Google (https://developers.google.com/android/images) before installing this!

Installation Guide

Firstly install CleanSlate configuration and CleanSlate companion BETA program apps on your phone (both found down below in Download section). Set them up initially.

- When installing Premium version from Play Store, you should join the Beta program for both apps, and install the beta version! Otherwise features won't work.

- Non-rooted method: 0. download the installation zip, Unzip it to your PC.

1. reboot to bootloader:
$ adb reboot-bootloader
2. Flash boot image and stock dtbo img:
$ fastboot flash boot cleanslate-raven-boot-xxxxxx.yyy--ZZZ.img
$ fastboot flash dtbo stock-dtbo-boot-xxxxxx.yyy.img
3. if everything went fine, reboot to FastbootD and flash vendor_dlkm modules image:
$ fastboot reboot fastboot
$ fastboot flash vendor_dlkm cleanslate-raven-vendor_dlkm-xxxxxx.yyy--ZZZ.img
4. reboot (fastboot reboot), enjoy

- Rooted method: do the same as above, but before flashing boot, root it on the phone from Magisk Manager

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

Latest updates here in one common thread: https://xdaforums.com/t/kernel-cleanslate-s1-4-0-s2s-adblock-vib-batterysvr-mar-26.4364671/

Non rooted, Android S images (redfin)

Pixel6/6pro Images zip (DO NOT FLASH AS ZIP) for Android12 (2022.01.05)

CS 1.3.1: https://www.androidfilehost.com/?fid=17825722713688269355

Pixel6/6pro Images zip (DO NOT FLASH AS ZIP) for Android12 (2021.08.17)

CS 1.1.0: https://www.androidfilehost.com/?fid=7161016148664842834

Config Applications

Companion App 3.3.x-- Donation premium on PlayStore

--- MUST Use BETA program for this phone:

https://play.google.com/store/apps/details?id=org.cleanslate.csservice

Configuration App 3.2.x -- Donation premium on playstore

--- MUST Use BETA program for this phone:

- 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.3.4 -- Normal free download:

https://www.androidfilehost.com/?fid=17825722713688265361

Configuration App 3.2.3 -- Normal free download:

https://www.androidfilehost.com/?fid=17825722713688265360

Donation:

If you appreciate this, don't forget to hit the Like button, or consider to Donate. Donations here

Thank you!

Donators Hall of Fame

Much appreciation and many thanks go to...

@velimirchek

@MarcoG:

@guidogsbn

@The Great Dane

@Whiskey103

@purple patch

@panosmdma

@sttw1fa

@jelive

@beartiger

@st_voss

@bigruss

@deagleone

@DroidIt!

@8bitbang

@Will972

@smallKING81

@mick_soul

@p50kombi

@K4Y3

@ dieter

@michaelbsheldon

@dioooi

@ali nz

@bstiti

@Oddvin94

@norgan

@lol8888

@twinnfamous

@cameljockey1

@Cryptycat7

@Pasqui1978

@4ntagonist

@turbo jjjang

@munkyvirus

@knopie

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

GitHub - tbalden/google-modules-sec_touch

Contribute to tbalden/google-modules-sec_touch development by creating an account on GitHub.

github.com

GitHub - tbalden/google-modules-amplifiers

Contribute to tbalden/google-modules-amplifiers development by creating an account on GitHub.

github.com

GitHub - tbalden/google-modules-lwis

Contribute to tbalden/google-modules-lwis development by creating an account on GitHub.

github.com

Special thanks

To @Freak07 for all his work on XDA and help

To @flar2 for his original works

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.