Development [KERNEL] CleanSlate 🚀 S 2.4.1 / R1.2.12 |AdBlock|SafetyNet|FlashLight|S2S|Vib [Nov 19]

Search This thread

tbalden

Recognized Developer
tbalden's
CleanSlate kernel
for Asus ZenFone 8


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 Asus ZF8.
No root elevation (magisk) needed for all functions and preference switches through CS Config App


GsRFfBr.jpg


Release Calendar
Version 2.4.1 - 19 of November 2022
Version 1.2.11 - 27 of Nov 2021

Version 2.3.0 - 31 of March 2022
Version 2.2.2 - 8 of March 2022
Version 2.2.1 - 8 of Jan 2022
Version 1.2.10 - 24 of Nov 2021
Version 1.2.9 - 28 of Oct 2021
Version 1.2.8 - 5 of Oct 2021
Version 1.2.6 - 14 of Aug 2021
Version 1.2.5 - 27 of July 2021
Version 1.2.4 - 16 of July 2021
Version 1.2.3 - 24 of June 2021
Version 1.2.1 - 9 of June 2021
Version 1.2.0 - 1 of June 2021
Version 1.0.0 - 24 of May 2021


Should work on official ROM bases 30.12.112.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 on Android 11: passes if using without Magisk/Rooting, flashing the boot img only, Google Pay should work. Android 12: only passes Basic safetynet test. You'll need kdragon's module on A12
- 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
- Backlight Dimmer - possibility to use lower panel brightness
- Blurred SystemUI tweak - restart system ui in Blurred mode from Companion app
- 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
- WireGuard VPN kernel support - works only with superuser
- 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


Sweep2Sleep, DoubleTap notif pull down

--
Flashlight notification
--
Foreground App Kill gesture




Requirements

- Unlocked ZF 8, 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

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

Download


Android 12
Non rooted, Android 12 image
ZF8 boot image (zipped, unzip before flashing) 31.1010.0411.138 WW - CS 2.4.1: https://xdaforums.com/attachments/cleanslate-zf8-31-1010-0411-138-241-img-zip.5763925/

Flashable zip CS 2.4.1 for Kernel Flasher/FKM: https://xdaforums.com/attachments/cleanslate-zf8_2-4-1-zip.5763927/


Android 11
Non rooted, Android 11 image
ZF8 boot image (unzip when before flashing!) 30.12.112.82 WW - CS 1.2.12: https://xdaforums.com/attachments/c...763985/?hash=4467a3daf693b80f5694ab1eda83030a

Flashable zip CS 1.2.12 for Kernel Flasher/FKM: https://xdaforums.com/attachments/c...763983/?hash=4467a3daf693b80f5694ab1eda83030a



ZF8 boot image 31.1010.0410.43 WW - CS 2.3.0: https://www.androidfilehost.com/?fid=14655340768118445019

Flashable zip CS 2.3.0 for FKM: https://www.androidfilehost.com/?fid=14655340768118445020

ZF8 boot image 30.12.112.62 WW - CS 1.2.11: https://www.androidfilehost.com/?fid=7161016148664847392

Flashable zip CS 1.2.11-v2 for FKM: https://www.androidfilehost.com/?fid=17825722713688265135

ZF8 boot image 31.1004.0404.107 WW - CS 2.2.2: https://www.androidfilehost.com/?fid=2981970449027571062

Flashable zip CS 2.2.2 for FKM: https://www.androidfilehost.com/?fid=2981970449027571064[
ZF8 boot image 31.1004.0404.73 WW - CS 2.2.1: https://www.androidfilehost.com/?fid=17825722713688264120

Flashable zip CS 2.2.1 for FKM: https://www.androidfilehost.com/?fid=17825722713688264119
ZF8 boot image 30.12.112.56 WW - CS 1.2.10: https://www.androidfilehost.com/?fid=7161016148664845684

Flashable zip CS 1.2.10 for FKM: https://www.androidfilehost.com/?fid=7161016148664845683
ZF8 boot image 30.12.112.36 WW - CS 1.2.9: https://www.androidfilehost.com/?fid=7161016148664830336

Flashable zip CS 1.2.9 for FKM: https://www.androidfilehost.com/?fid=7161016148664830337
ZF8 boot image 30.12.112.22 WW - CS 1.2.8: https://www.androidfilehost.com/?fid=7161016148664818872

Flashable zip CS 1.2.8 for FKM: https://www.androidfilehost.com/?fid=7161016148664818874
ZF8 boot image 30.11.51.103 WW - CS 1.2.6: https://www.androidfilehost.com/?fid=14943124697586374515

Flashable zip CS 1.2.6 for FKM: https://www.androidfilehost.com/?fid=14943124697586374516
ZF8 boot image 30.11.51.83 WW - CS 1.2.5: https://www.androidfilehost.com/?fid=14943124697586374515

Flashable zip CS 1.2.5 for FKM: https://www.androidfilehost.com/?fid=14943124697586374516
ZF8 boot image 30.11.51.83 WW - CS 1.2.4: https://www.androidfilehost.com/?fid=14943124697586368888

Flashable zip CS 1.2.4 for FKM: https://www.androidfilehost.com/?fid=14943124697586368889

ZF8 boot image 30.11.51.67 WW - CS 1.2.3: https://www.androidfilehost.com/?fid=14943124697586354945

Flashable zip CS 1.2.3 for FKM: https://www.androidfilehost.com/?fid=14943124697586354946

ZF8 boot image 30.11.51.57 WW - CS 1.2.1: https://www.androidfilehost.com/?fid=14943124697586346684

Flashable zip CS 1.2.1 for FKM: https://www.androidfilehost.com/?fid=14943124697586346683
ZF8 boot image 30.11.51.50 WW - CS 1.2.0: https://www.androidfilehost.com/?fid=14943124697586343027

Flashable zip CS 1.2.0 for FKM: https://www.androidfilehost.com/?fid=14943124697586343028
ZF8 boot image 30.11.51.44 WW - CS 1.0.0: https://www.androidfilehost.com/?fid=14943124697586339415
Flashable zip CS 1.0.0 for FKM: https://www.androidfilehost.com/?fid=14943124697586339414


Config Applications
Companion App 3.2.x/3.3.x-- Donation premium on PlayStore:
With Android 12 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.1.x/3.2.x -- Donation premium on playstore:
With Android 12 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.7 -- Normal free download:
https://www.androidfilehost.com/?fid=2981970449027571048
Configuration App 3.2.6 -- Normal free download:
https://www.androidfilehost.com/?fid=17825722713688272306

Android 11:
Companion App 3.2.9 -- Normal free download:
https://www.androidfilehost.com/?fid=14943124697586339443
Configuration App 3.1.18 -- Normal free download:
https://www.androidfilehost.com/?fid=14943124697586343026

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


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.

Contributors
tbalden
Source Code: https://github.com/tbalden/android_kernel_asus_zf8

Kernel Special Features: Sweep2Sleep, Tap gestures, Fingerprint double tap sleep, Adblocking, SafetyNet
 
Last edited:

michelinoO

Senior Member
Dec 19, 2010
123
21
IT
t.me
Hello Sir,
Good news, as I've understood is possible to install magisk at moment? If yes, how you unlocked the phone?

Anyway I'm following interested your topic, noroot experience will be the best option :)🍺
 
  • Like
Reactions: tbalden

tbalden

Recognized Developer
Hello Sir,
Good news, as I've understood is possible to install magisk at moment? If yes, how you unlocked the phone?

Anyway I'm following interested your topic, noroot experience will be the best option :)🍺
Yes, it's possible after unlocking the device.
You find the tools here if you plan:
Latest unlock tool direct link:
 
  • Like
Reactions: michelinoO

michelinoO

Senior Member
Dec 19, 2010
123
21
IT
t.me
Please can you provide the magisk zip file and the twrp img? Thanks you
This will help a lot our community ☺️

Most of compact users, will buy only of possible to put in the future a custom ROM :)
 

tbalden

Recognized Developer
Please can you provide the magisk zip file and the twrp img? Thanks you
This will help a lot our community ☺️

Most of compact users, will buy only of possible to put in the future a custom ROM :)
No, can't. Also there's no TWRP yet. You need to use magisk and a stock boot image that you patch with magisk. After that Franco kernel manager can install cleanslate zip of kernel
 
  • Like
Reactions: michelinoO

Captain_Throwback

Recognized Developer
Please can you provide the magisk zip file and the twrp img? Thanks you
This will help a lot our community ☺️

Most of compact users, will buy only of possible to put in the future a custom ROM :)
Once I have the device, I will start working on TWRP. Don't worry; as soon as it's done, it'll be posted here. Be patient.
 

tbalden

Recognized Developer
Working on the usual cleanslate battery saver mode and some other smaller features.

The battery saver is to cut back on different levels on the three clusters of CPU frequencies, going further than the Asus battery saving advanced mode frequency maximums. This is to give some further possibility to cut back on heat and some battery usage, especially in CPU hogging apps like video chats and navigation software. Especially for summer, in the car situations where heat usually is more of a problem. So that's next to be expected
 
Last edited:

michelinoO

Senior Member
Dec 19, 2010
123
21
IT
t.me
Working on the usual cleanslate battery saver mode and some other smaller features.

The battery saver is to cut back on different levels on the three clusters of CPU frequencies, going further than the Asus battery saving advanced mode frequency maximums. This is to give some further possibility to cut back on heat and some battery usage, especially in CPU hogging apps like video chats and navigation software. Especially for summer, in the car situations where heat usually is more of a problem. So that's next to be expected
Hello
The main, if we want call issue, is the drain in 4g mode. As you can see in the attached screen, the battery starts do go down very fast during usage. During the night, the 4g standby works perfectly.

😁
Screenshot_20210527-085242928 (1).jpg
 

tbalden

Recognized Developer
- Update Android Stable - 1.2.0 -
Features and new Firmware-
- Update to .50 firmware sources / boot image
- New: CleanSlate Battery Saver, 3 levels of frequency cutbacks - needs new config app version
- New: Backlight dimmer: very slightly lower the backlight of the lowest backlight setting - needs new config app


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

Non rooted, Android R image (firmware wwe .50)
boot image CS 1.2.0: https://www.androidfilehost.com/?fid=14943124697586343027

CleanSlate config app: 3.1.18 https://androidfilehost.com/?fid=14943124697586343026
also premium version rolled out to play store: https://play.jooyano.ir/store/apps/details?id=org.cleanslate.csconfig


Read first post in thread for installation details.
 
  • Like
Reactions: Freak07 and jk77

tbalden

Recognized Developer
  • Like
Reactions: NisseGurra

tbalden

Recognized Developer

Top Liked Posts