[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
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"

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

​

Release Calendar

Version 2.10.3 - 8 of June 2022

Version 3.10.4 - 9 of Nov 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 Nov 2022 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:

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). 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 T

Non rooted, Android S image (redfin)

Pixel5 (redfin) boot image SP1A (2022.11.05) CS 3.10.4: https://xdaforums.com/attachments/cleanslate-redfin-tp1a-221105-002-3104-img-zip.5756973/

Stock vbmeta image if you need to disable verity checks on Android T (redfin-tp1a.221205.011 global): https://xdaforums.com/attachments/redfin-vbmeta-tp1a-221205-011-img.5779507/

Flashable zip CS 3.10.4 for EXKM/FKM: https://xdaforums.com/attachments/cleanslate-p5_t_3-10-4-zip.5756963/

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

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

Flashable zip CS 2.9.1 for EXKM/FKM: https://www.androidfilehost.com/?fid=17825722713688245854[/B]

Pixel5 (redfin) boot image SP1A (2021.08.12) CS 2.8.9: https://www.androidfilehost.com/?fid=7161016148664827249

Flashable zip CS 2.8.9 for EXKM/FKM: https://www.androidfilehost.com/?fid=7161016148664805374[/B]

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

Flashable zip CS 2.8.5 for EXKM/FKM: https://www.androidfilehost.com/?fid=14943124697586335898[/B]

Pixel5 (redfin) boot image SPP2 (2021.03.05) CS 2.8.2: https://www.androidfilehost.com/?fid=2188818919693772028

Flashable zip CS 2.8.2 for EXKM/FKM: https://www.androidfilehost.com/?fid=2188818919693772029[/B]

Pixel5 (redfin) global boot image (2021.04.05) CS 1.8.3: https://www.androidfilehost.com/?fid=2188818919693777068

Flashable zip CS 1.8.3 for EXKM/FKM: https://www.androidfilehost.com/?fid=2188818919693777069[/B]

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:

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

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

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_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