[Asus Zenfone 9] tbalden:
tbalden's

CleanSlate kernel

for Asus ZenFone 9

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, this year Asus ZF9.

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

​

Release Calendar

Version 2.4.0 - 13 of Dec 2022

Version 1.4.2 - 28 of Oct 2022

Version 1.0.0 - 29 of Aug 2022

Should work on official ROM bases 32.2050.2050.x+.

Features:

- Flashlight Notification/Call blinking (see video below)

- Vibrating Notification Reminder (DETAILS)

- Notification In-Pocket Booster boost notifications vibrations while phone is in pocket

- Haptic Type Tweak change haptic feedback waveform types

- 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

- 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

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

- 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 ASUS, 5.10.x

- 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

Requirements

- Unlocked ZF 9, stock or with magisk root

- BACKUP: make sure you have a stock image (boot img) from asus before installing this!

Installation Guide

Firstly install CleanSlate configuration and CleanSlate companion apps on your phone (both found down below in Download section). (On play store version: with Android 12 you need to join the Beta program for the correct app versions.) Set them up initially.

- Non-rooted method: 0. download the non-rooted boot img.zip, UNZIP it first!

Reboot to bootloader, and flash the images with these commands:

adb reboot-bootloader
fastboot flash boot full_img/boot.img

fastboot flash vendor_boot full_img/vendor_boot.img

fastboot flash dtbo full_img/dtbo.img

fastboot reboot fastboot
fastboot flash vendor_dlkm full_img/vendor_dlkm.img

fastboot reboot

.. reboot, enjoy

- Rooted method: 0. download the rooted installer zip

1. install magisk

2. use a Kernel Flasher to flash the installer zip

- For SafetyNet, Adblocking, after flashing you might need to restart the phone after the first boot, otherwise it might not work.

- For adblocking KAdaway switching on and off, you will need to Force Close browser app like Chrome to let it work in the given browser.

- For Play Integrity (with SafetyNet passing) you might need to Clean App Data in Google Play Store app to make it reevaluate Integrity

--- If you have magisk installed Play Integrity might be tripped. I only tested without Magisk, flashing CleanSlate 1.0.0 bootimage.

- 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

Download

Android 13

Non rooted, Android 13 images

ZF9 non rooted installer images zipped - 33.2060.2060.65 WW - CS 1.4.2: https://xdaforums.com/attachments/fastboot_cleanslate_s_zf9_240_imgs-zip.5784177/

Rooted installer zip, Android 13 images

ZF9 to flash from rooted phone with Kernel Flasher: CS 2.4.0: https://xdaforums.com/attachments/cleanslate_s_zf9_240-zip.5784179/

Android 12

Non rooted, Android 12 images

ZF9 non rooted installer images zipped - 32.2050.2050.29 WW - CS 1.4.2: https://www.androidfilehost.com/?fid=14871746926876840958

Rooted installer zip, Android 12 images

ZF9 to flash from rooted phone with Kernel Flasher: CS 1.4.2: https://www.androidfilehost.com/?fid=14871746926876840957

Non rooted, Android 12 image

ZF9 boot image zipped - 32.2030.2030.26 WW - CS 1.0.0: https://www.androidfilehost.com/?fid=14871746926876840958

Config Applications

Companion App 3.3.x-- Donation premium on PlayStore:

You need to join the BETA program to get the working version for the kernel!

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

Configuration App 3.2.x -- Donation premium on playstore:

You need to join the Beta program to get the working version for the kernel!

- additional features in premium app: App Themes, Profiles, Profile Switch QuickTiles

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

How to join beta program: https://xdaforums.com/t/kernel-clea...ashlight-s2s-vib-dec-22.4281807/post-86171493

Android 12:

Companion App 3.3.9 -- Normal free download:

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

Configuration App 3.2.11 -- Normal free download:

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

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

Special thanks to AnyKernel installer developer: osm0sis

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.

Source Code: https://github.com/tbalden/android_kernel_asus_zf9_common-kernel