Development [KERNEL] CleanSlate 🚀 S 2.3.0 / R1.2.11 |AdBlock|SafetyNet|FlashLight|S2S|Vib [Mar 31]

Search This thread

Uncle Buzz

Member
Nov 30, 2021
5
0
Hi,

How will work the OTA process after unlocking the bootloader, then after installing this kernel? I imagine that automatic update is off, but what is the process to manually update when a new version is available (new phone firmware and new kernel)?
Where can we find the stock ROM from Asus?
I would like to try this kernel, but I want to be sure I know how to revert (and have the files to do it) before jumping.

Thks.
 

tbalden

Recognized Developer
Hi,

How will work the OTA process after unlocking the bootloader, then after installing this kernel? I imagine that automatic update is off, but what is the process to manually update when a new version is available (new phone firmware and new kernel)?
Where can we find the stock ROM from Asus?
I would like to try this kernel, but I want to be sure I know how to revert (and have the files to do it) before jumping.

Thks.
Yes, you will need to wait for Asus to publish the full ota zip and copy it to the root folder of internal storage then reboot and phone will show the update found dialogue.

You'll find the full ota zip on Asus site after an update rolls out in a few days usually.
 

Uncle Buzz

Member
Nov 30, 2021
5
0
Yes, you will need to wait for Asus to publish the full ota zip and copy it to the root folder of internal storage then reboot and phone will show the update found dialogue.
The update can be done while your kernel is already installed? Since your kernel update is coupled with the firmware version, does the update overwrite your kernel or should we "remove" it before updating? If the ASUS update overwrites your kernel, is there something to do to retrieve the old kernel configuration after updating with your new kernel?
 

tbalden

Recognized Developer
The update can be done while your kernel is already installed? Since your kernel update is coupled with the firmware version, does the update overwrite your kernel or should we "remove" it before updating? If the ASUS update overwrites your kernel, is there something to do to retrieve the old kernel configuration after updating with your new kernel?
You can install the zip, it will just overwrite the custom one, no issue then wait for the new build of the custom kernel and then reinstall the kernel.
 
  • Like
Reactions: Uncle Buzz

Uncle Buzz

Member
Nov 30, 2021
5
0
Another question, you provide 2 files, one for non-rooted phone, one for rooted phone... Should we root the phone first, then use the rooted version of the kernel because it's the only one compatible with a rooted phone, or does the rooted version include the root and a non-rooted phone patched with this kernel become a rooted phone?
 

tbalden

Recognized Developer
Another question, you provide 2 files, one for non-rooted phone, one for rooted phone... Should we root the phone first, then use the rooted version of the kernel because it's the only one compatible with a rooted phone, or does the rooted version include the root and a non-rooted phone patched with this kernel become a rooted phone?
Rooted means using a superuser framework like magisk and with that a kernel manager app that can update kernel with custom ones.

If you don't plan to use magisk, you should just go with the boot image installation for non rooted phones.

When you unlock the phone it's not rooted by default, it's just possible then to flash stuff on it like a custom kernel.
 

Uncle Buzz

Member
Nov 30, 2021
5
0
Rooted means using a superuser framework like magisk and with that a kernel manager app that can update kernel with custom ones.
Ok, so the rooted version of your file is not a rooted kernel, but a zip file a rooted phone can use directly to update its kernel without using the ADB method, the phone has to be already rooted to use this file, it's not a rooted image of the kernel who give root rights after patching.

I'm right?

What if we use the ADB method on a rooted phone, the root is not overwritten? Shall we use the zip version to keep root? Shall we patch your Kernel with magisk before using ADB?

For the first time we root the phone, can we patch your kernel image with magisk or should we patch the Asus image?

Does a rooted phone keep root rights after manually updating with Asus update or shall we always patch the Asus file before updating the rooted phone?

Last question, since the adblocker is included in your kernel without the need of root rights, I only need root temporarily to use titanium backup to transfer all the apps data from my old phone, if I don't want to keep root on my phone, what's the best way to remove root?

Thanks for your patience!
 

tbalden

Recognized Developer
Update for Asus .72 firmware
Checked sources, and this time .72 only contained in kernel sources that are not for the boot image.
So here's an updated insaller zip with the dtbo image updated from the stock firmware, that contains the changes for it, in case you need to flash the installer again when updating to the new Firmware.

Installer zip 1.2.11 v2:
 
Last edited:
  • Like
Reactions: thump and dron39

tbalden

Recognized Developer

Important notice

There's a major change in CleanSlate Config and CleanSlate Companion app starting from now on Asus Zenfone 8 Android 12
To retain the compatibility with older kernel versions / devices, the App will be released as a Beta program on Play Store and as new Free version on the XDA threads where the kernel supports the new CleanSlate app versions.

For further releases a new version will be a must have to configure / use the kernel features.
Because of the stricter Play Store minimum android SDK level, the Apps configuration file handling needed an update, and the path to those files cannot remain the Internal Storage root folder.

In order to use any further newer version of this kernel released from now on, you should either update the Free version from the download links provided later, or if using the Premium app, you'll need to Join the Beta program on Google Play Store like seen below.

URLs for Premium app beta program for later joining from browser or phone​

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

Migration of configs​

Also if you want to migrate configuration files, you can do so with a File manager like CX File Manager. Copy files from Internal Storage root folder /sdcard/uci_user.cfg and /sdcard/cleanslate folder to:

/sdcard/Android/data/org.cleanslate.csconfig/cache/

Joinging the Beta program process screenshots​

Here is how it looks joining the Beta program. Can take a few minutes.
But only update when the new kernel version is released here which supports the Beta version:
config-1.jpgconfig-2.jpgconfig-3.png
companion-1.jpgcompanion-2.jpgcompanion-3.jpg
 
  • Like
Reactions: Freak07

tbalden

Recognized Developer
- Update Android 12 Stable - 2.2.0 -
Update-
- Update to Android 12/S official sources
- update built-in hosts file adblocking from Steven Black's repo
- All Features work, except SafetyNet CTS pass, that's not possible anymore.



CleanSlate S 2.2.0 Downloads:
Rooted installer zip:
CleanSlate S 2.2.0: https://www.androidfilehost.com/?fid=17825722713688258974

Non rooted, Android S image (firmware wwe 31.1004.0404.73)
boot image CS 2.2.0: https://www.androidfilehost.com/?fid=17825722713688258973

Companion App 3.3.3 -- Normal free download:

https://www.androidfilehost.com/?fid=7161016148664854061
Configuration App 3.2.2 -- Normal free download:
https://www.androidfilehost.com/?fid=7161016148664843486


Read first post in thread for installation details.
Install ONLY on Android 12!
 
Last edited:

thump

Senior Member
Sep 28, 2010
94
25
Moto G6 Plus
Moto G7 Plus
- Update Android 12 Stable - 2.2.0 -
Update-
- Update to Android 12/S official sources
- update built-in hosts file adblocking from Steven Black's repo
- All Features work, except SafetyNet CTS pass, that's not possible anymore.



CleanSlate S 2.2.0 Downloads:
Rooted installer zip:
CleanSlate S 2.2.0: https://www.androidfilehost.com/?fid=17825722713688258974

Non rooted, Android S image (firmware wwe 31.1004.0404.73)
boot image CS 2.2.0: https://www.androidfilehost.com/?fid=17825722713688258973

Companion App 3.3.3 -- Normal free download:

https://www.androidfilehost.com/?fid=7161016148664854061
Configuration App 3.2.2 -- Normal free download:
https://www.androidfilehost.com/?fid=7161016148664843486


Read first post in thread for installation details.
Install ONLY on Android 12!

Thank you again for all the work. So just to clarify, now even non-rooted image will no longer pass CTS SafetyNet?
 

thump

Senior Member
Sep 28, 2010
94
25
Moto G6 Plus
Moto G7 Plus
Update for Asus .72 firmware
Checked sources, and this time .72 only contained in kernel sources that are not for the boot image.
So here's an updated insaller zip with the dtbo image updated from the stock firmware, that contains the changes for it, in case you need to flash the installer again when updating to the new Firmware.

Installer zip 1.2.11 v2:
FYI. This androidhost.com file says "no mirrors found"

Yes, unfortunately with Android 12 there's no possibility to do the trick from kernel anymore.

Super bummer.. guess I'll be on A11 forever : /

Again, thank you for all the work on this. It was the perfect solution to no longer having to deal with root/magisk issues but still have Adblock
 
  • Like
Reactions: tbalden

tbalden

Recognized Developer
- Update Android 12 Stable - 2.2.1 -
Update-
- Update to Asus .81 update's firmware boot image and sources
- update built-in hosts file adblocking from Steven Black's repo
- All Features work, except SafetyNet CTS pass, that's not possible from kernel anymore.



CleanSlate S 2.2.1 Downloads:
Rooted installer zip:
CleanSlate S 2.2.1: https://www.androidfilehost.com/?fid=17825722713688264119

Non rooted, Android S image (firmware wwe 31.1004.0404.73)
boot image CS 2.2.1: https://www.androidfilehost.com/?fid=17825722713688264120

Companion App 3.3.3 -- Normal free download:

https://www.androidfilehost.com/?fid=7161016148664854061
Configuration App 3.2.2 -- Normal free download:
https://www.androidfilehost.com/?fid=7161016148664843486


Read first post in thread for installation details.
Install ONLY on Android 12!
 
  • Like
Reactions: Scalpos

thump

Senior Member
Sep 28, 2010
94
25
Moto G6 Plus
Moto G7 Plus
Update for Asus .72 firmware
Checked sources, and this time .72 only contained in kernel sources that are not for the boot image.
So here's an updated insaller zip with the dtbo image updated from the stock firmware, that contains the changes for it, in case you need to flash the installer again when updating to the new Firmware.

Installer zip 1.2.11 v2:

Could I ask you to please update this link? I'm going to stay on 11 for a while, but would like the latest version. This androidfilehost link has no mirrors/downloads available.
 
  • Like
Reactions: Scalpos

tbalden

Recognized Developer
Could I ask you to please update this link? I'm going to stay on 11 for a while, but would like the latest version. This androidfilehost link has no mirrors/downloads available.
OK. Here's a link, checked, this has mirrors:
Sometimes afh acts up like this time. Thanks for the heads-up
 
  • Like
Reactions: thump

thump

Senior Member
Sep 28, 2010
94
25
Moto G6 Plus
Moto G7 Plus

Top Liked Posts