yashsingh1/xdaforums huggingface dataset:
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
I'll have a look at using the board, maybe it's possible without bigger issues.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] ExtentedByte:
Does the Beta 5 Kernel work on the final release of Android 12?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] Flashfobia:
Anyone using this kernel 2.8.9 with the latest Android 12 stable release? What are your findings?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Haven't tried yet , but It should be fine, no changes in the sources:
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] Flashfobia:
Thanks for reply, I will be updating soon and will report back. I love the add blocker function in this kernel!

Edit:

Installed latest stable android 12 Proton AOSP, flashed disable vbmeta, and then flashed latest Cleanslate 2.8.9 boot img.

Works like a charm :)

Cheers!

Edit 2:

Unfortunately the AdBlock function does not seem to work anaymore, K.Adaway.

Any ideas on how to get this working again?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] badapple420:
It's working good no problems so far i have been using for two days
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] Flashfobia:
You have kernel based ad blocker running?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
kernel Adblocker works here, just updated to stable and using the previous kernel version.

edit: have you tried force closing the browser?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
- Update Android SP1A Stable A12 - 2.8.9 -​

Android S stable images update

- All features work, except SafetyNet CTS passing, only Basic Integrity

- Kernel 4.19.191, Oct sec level image

CleanSlate S 2.8.9 Downloads:

Rooted installer zip (unchanged from beta5):

CleanSlate S 2.8.9: https://www.androidfilehost.com/?fid=7161016148664805374

Non rooted, Android S image (sp1a 2021-08-12)

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

vbmeta of SP1A.015 to deactivate verity checks on the custom boot image and most probably to do factory reset, DO IT BEFORE FLASHING THE KERNEL, or it won't boot

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

You can try to deactivate the vbmeta check before the first booting up right after sideloading the OTA beta 1, maybe that will let you boot without factory reset after vbmeta verify disabling.

Deactivate, you might need to factory reset if you don't follow the OTA-update/disable-before-first-boot procedure (fastboot -w for factory reset)

fastboot flash --disable-verity --disable-verification vbmeta vbmeta_redfin-sp1a.210812.015.img

How to re-activate if you need later?

fastboot flash vbmeta vbmeta_redfin-sp1a.210812.015.img

Read first post in thread for installation details.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] Flashfobia:
Flashed the new VBmeta and the latest october 23rd kernel release and all working flawless.

Adblocker seems te be working again, cheers!
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] elong7681:
Has anyone tried 2.8.9 on the A12 Nov. update?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Not yet updated here, but I'm building with the new sources Google pushed.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
- Update Android SP1A A12 November - 2.8.10 -​

Android S stable November

- All features work, except SafetyNet CTS passing, only Basic Integrity

- Kernel 4.19.191, November sec level image

- adblock hosts file updated

CleanSlate S 2.8.10 Downloads:

Rooted installer zip (unchanged from beta5):

CleanSlate S 2.8.10: https://www.androidfilehost.com/?fid=7161016148664834675

Non rooted, Android S image (sp1a 2021-11-05)

Pixel5 redfin SP1A boot image CS 2.8.10: https://www.androidfilehost.com/?fid=7161016148664834674

vbmeta of SP1A.003 to deactivate verity checks on the custom boot image and most probably to do factory reset, DO IT BEFORE FLASHING THE KERNEL, or it won't boot

vbmeta_redfin-sp1a.211105.003.img | by tbalden for Pixel 5

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com

You can try to deactivate the vbmeta check before the first booting up right after sideloading the OTA beta 1, maybe that will let you boot without factory reset after vbmeta verify disabling.

Deactivate, you might need to factory reset if you don't follow the OTA-update/disable-before-first-boot procedure (fastboot -w for factory reset)

fastboot flash --disable-verity --disable-verification vbmeta vbmeta_redfin-sp1a.211105.003.img

How to re-activate if you need later?

fastboot flash vbmeta vbmeta_redfin-sp1a.211105.003.img

Read first post in thread for installation details.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] elong7681:
I have flashed vbmeta with flags disabled and I am rooted so do I need to flash vbmeta with disabled flags again before I use FKM to flash the cleanslate zip?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Only need to do the disabling when you're after taking an update from adb sideload, before the first boot. So no need to do it again.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] elong7681:
Ok thanks for the reply and of course for the best Pixel 5 kernel.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] jamesfitzes:
Would I be able to flash this kernel over Elemental X ? I am currently rooted with Zygisk on Android 11 so I'm not sure if I will lose root if I flash the kernel... Also can somebody please provide me with the steps on how to flash the kernel ? I'm afraid I might mess something up
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] badaas:
Thanks can you do version without safetynet for us using kdrag0n mod?

Also way to update our own host files for adaway?

😎👍🏻
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
You can use kdrag0n mod right away, it's supposedly going to work with this kernel

Own host file is not possible without security compromises, so I avoid that in the kernel. For that you can switch off kernel based ad block and use some magisk based solution.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] badaas:
I use kdrag0n 2.2.0 (latest paid version) with zygisk and CTS profile failed. With patched stock kernel it passed.

Thanks
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] seefu:
How do we get this to pass CTS? Just wiped and flashed 2.8.10 with Android 12 Stock image and vbmeta verification disabled.

Can't use Google Pay or even download Netflix off play store..

Cheers, Sandy
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
I'm looking into this, to make it work with kdragons module so that with magisk it could work together and pass it. The kernel in itself on a12 won't work like it worked on a11 standalone passing the CTS.

On a12 I see no way yet to make that kernel only, so unfortunately magisk and kdragons module will be needed. I'll release a test build to see if it works together that way in a few days.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] seefu:
Thanks mate! Looking forward to it.

Just purchased both your apps off playstore about 40 minutes ago too to thank you for your work!
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Important notice​

There's a major change in CleanSlate Config and CleanSlate Companion app starting from now on Pixel4XL / 5 and later Pixel 6 Pro devices.

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:
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
- Update Android SP1A A12 - 2.9.0 -​

Android S stable

- Possible fix for kdrag0n's Magisk module SafetyNet compatibility

- adblock hosts file updated

Important notice! Changes in Configuration and Companion app, this version needs new updated version of the Apps, either from free version linked in this post, or through beta program on Play Store.

More info:

https://xdaforums.com/t/kernel-clea...hlight-s2s-fingpr-23oct.4192641/post-85973881

CleanSlate S 2.9.0 Downloads:

Rooted installer zip (unchanged from beta5):

CleanSlate S 2.9.0: https://www.androidfilehost.com/?fid=7161016148664842613

Non rooted, Android S image (sp1a 2021-11-05)

Pixel5 redfin SP1A boot image CS 2.9.0: https://www.androidfilehost.com/?fid=7161016148664842612

Config App 3.2.0 free version:

cleanslate-config-320.apk | by tbalden for Pixel 5

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com

Premium (needs beta join):

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

Companion App 3.3.0 free version:

cleanslate-service-330.apk | by tbalden for Pixel 5

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com

Premium (needs beta join):

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

vbmeta of SP1A.003 to deactivate verity checks on the custom boot image and most probably to do factory reset, DO IT BEFORE FLASHING THE KERNEL, or it won't boot

vbmeta_redfin-sp1a.211105.003.img | by tbalden for Pixel 5

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com

You can try to deactivate the vbmeta check before the first booting up right after sideloading the OTA beta 1, maybe that will let you boot without factory reset after vbmeta verify disabling.

Deactivate, you might need to factory reset if you don't follow the OTA-update/disable-before-first-boot procedure (fastboot -w for factory reset)

fastboot flash --disable-verity --disable-verification vbmeta vbmeta_redfin-sp1a.211105.003.img

How to re-activate if you need later?

fastboot flash vbmeta vbmeta_redfin-sp1a.211105.003.img

Read first post in thread for installation details.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] badaas:
@tbalden so there is compatability if I have magisk sand module installed now?

Is safetynet fix still included in your kernel as default?

Thanks!
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Safetynet Basic pass is included. I've removed parts where the build Fingerprint was replaced by kernel to pass CTS, as it doesn't work anymore. Hopefully that fixes this kernel + kdrag0n's module work together.

But CTS does not work with Android 12 with the kernel only. It needs Magisk and kdrag0n's module to work.

Hopefully it works for you. Let me know if there's an issue still.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] badaas:
Seems to be working with kdrag0n, excellent work 🦾🦾🦾
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] badaas:
How do you get flash light call blink to work on Android 12?

Doesn't work for me?

On A12 proton.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Hmm, should just work.

Have you updated the Configuration / Companion apps according to this guide?

https://xdaforums.com/t/kernel-clea...hlight-s2s-fingpr-23oct.4192641/post-85973881

From kernel 2.9.0+ version on, only the new apps can configure and work correctly together with the kernel.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] badaas:
Hi yes using new apps, tried various settings, no dice..
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Hmm can't confirm, it works here. Tried with the preset "bright, endless, bright night".

Is it for calls only that it doesn't work or any notifications?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] badaas:
Working! Companion app has to be open in background.

Facedown options don't work though. Thanks!
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
For that I think the issue might be that you need to switch proximity sensor on while screen is on option in the companion app. That's usually off to avoid the white little dot of the sensor when screen is on.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] thatsupnow:
Hey guys quick question, if I'm already rooted in A12 can I flash this rooted version without disabling vbmeta.img again??
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] elong7681:
Yes just use FKM Kernel Manager App from the play store
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] thatsupnow:
Sweet thanks man got it up and running no problem
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] elong7681:
No problem
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] elong7681:
Do we know if cleanslate 2.9.0 will work with December update
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
- Update Android SP1A A12 - 2.9.1 -​

Android S stable

- December sec update - google sources

- adblock hosts file updated

CleanSlate S 2.9.1 Downloads:

Rooted installer zip (unchanged from beta5):

CleanSlate S 2.9.1: https://www.androidfilehost.com/?fid=17825722713688245854

Non rooted, Android S image (sp1a 2021-12-05)

Pixel5 redfin SP1A boot image CS 2.9.1: https://www.androidfilehost.com/?fid=17825722713688245853

vbmeta of SP1A.008 to deactivate verity checks on the custom boot image and most probably to do factory reset, DO IT BEFORE FLASHING THE KERNEL, or it won't boot

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

You can try to deactivate the vbmeta check before the first booting up right after sideloading the OTA , maybe that will let you boot without factory reset after vbmeta verify disabling.

Deactivate, you might need to factory reset if you don't follow the OTA-update/disable-before-first-boot procedure (fastboot -w for factory reset)

fastboot flash --disable-verity --disable-verification vbmeta vbmeta_redfin-sp1a.211205.008.img

How to re-activate if you need later?

fastboot flash vbmeta vbmeta_redfin-sp1a.211205.008.img

Read first post in thread for installation details.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] redsmith:
"...right after sideloading the OTA beta 1". You mean the December OTA, right?

So, if I understand correctly, the correct procedure is: (currently on November, non-rooted, stock ROM, CleanSlate 2.9.0, assuming I really don't want to wipe data):

1. adb sideload December OTA (without booting up)

2. Reboot to bootloader and disable verity with latest vbmeta

3. Boot kernel with fastboot boot cleanslate 2.9.1

4. Flash kernel with fastboot flash boot cleanslate 2.9.1

Is this correct?

Thanks, tbalden! Love your kernel!
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Well, yes, with adding between step 2 and 3 it's best to boot the system just to see that the update went fine. Then go back to bootloader and do 3 and then 4
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] redsmith:
Thank you. Everything booted fine, however, RGB settings are not working anymore. It seems like the configuration app can't apply changes. Uci_user.cfg looks fine. Can you please help?

EDIT: forgot to join the beta program. Hope this solves the problem.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Yes, that should fix it. Hope you'll get there quick
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] redsmith:
Yes, that was it. Everything's okay now, thanks!
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] cnat:
Just flashed the kernel coming from ProtonAOSP 12. Good news for those on the fence: I didn't have to wipe my device when flashing vbmeta.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] Nizzay!:
How's the battery life? Better than stock ProtonAOSP kernel? Any difference in performance? How is your experience so far.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] f8lxninja:
Is anyone having issues with the beta app where the quick setting to change profiles doesn't apply until you open the app? It used to work just fine before the update without having to open it, but now it isn't consistent.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] redsmith:
I am.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
It could be that the app is being stopped in the background by the operating system. By chance do you have battery optimizations off for the apps?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] f8lxninja:
Indeed I do have it off, but it still gets killed.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Hmm, what about this one set on the info page of the app for notification that could keep it alive? Do you have it set on?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] f8lxninja:
Here's what I've got.

Could it be that I turned the notification off within the system settings?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Good question. I have it minimized as a silent notification here. But I'm not perfectly sure how it behaves if fully turned off in settings.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] f8lxninja:
I did have it minimized for a while but I was wanting to clean out the 7 or so that were there. I'll try having it minimized again and see what happens.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] elong7681:
Do you have the remove permissions setting turned off in the phone settings
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] f8lxninja:
No, that's turned off.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] f8lxninja:
Unfortunately having the minimized notification turned back on did not fix the issue.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] elong7681:
Can anyone comfirm if 2.9.1 works with Jan. update?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
- Update Android SP1A A12 - 2.9.2 -​

Android S stable

- January sec update - google sources

- adblock hosts file updated

CleanSlate S 2.9.2 Downloads:

Rooted installer zip (unchanged from beta5):

CleanSlate S 2.9.2: https://www.androidfilehost.com/?fid=17825722713688264229

Non rooted, Android S image (sp1a 2022-01-05)

Pixel5 redfin SP1A boot image CS 2.9.2: https://www.androidfilehost.com/?fid=17825722713688264230

vbmeta of SP1A.002 to deactivate verity checks on the custom boot image and most probably to do factory reset, DO IT BEFORE FLASHING THE KERNEL, or it won't boot

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

You can try to deactivate the vbmeta check before the first booting up right after sideloading the OTA , maybe that will let you boot without factory reset after vbmeta verify disabling.

Deactivate, you might need to factory reset if you don't follow the OTA-update/disable-before-first-boot procedure (fastboot -w for factory reset)

fastboot flash --disable-verity --disable-verification vbmeta redfin-vbmeta-sp1a.211205.008.img

How to re-activate if you need later?

fastboot flash vbmeta redfin-vbmeta-sp1a.211205.008.img

Read first post in thread for installation details.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] V0latyle:
Hello @tbalden

I don't know if this is something you're already working on, but once your kernel is updated to use Boot Image Header Version 4 disabling verity/verification should no longer be necessary.

We had to do this with Magisk before the fix was implemented in Canary 23016. I wonder if their commit notes could be of any use. It isn't the modified boot image itself that trips verity; it's when the boot image header doesn't pass integrity. Magisk 23001-23015 did not properly preserve the boot image header, so the image wouldn't boot unless verity was disabled.

This is a relatively minor issue that, once fixed, should allow all your users to easily flash your kernel just like any other boot image.

Also, some clarification on the vbmeta data wipe requirement:

If it's the first time disabling verity/verification and /data is populated, a wipe will be required.

If verity/verification were disabled on the previous flash, disabling again won't require a wipe as long as the device is not permitted to boot without verity disabled.

If verity/verification were disabled previously, and the user forgets to disable verity again and the device is allowed to boot, a wipe will be required to disable it again.

This is why for those using custom kernels or Magisk Stable, I do not recommend updating via OTA. There are a couple of reasons for this:

After OTA update, the system expects to see a match between the boot image and system; if there is a mismatch, system decides it was a bad flash and bootloops back to the original (non-updated) slot

Therefore, after OTA update, the device must be allowed to boot the stock boot image at least once

The OTA process does not permit disabling verity/verification while updating; this must be done by rebooting to bootloader and reflashing vbmeta manually; if this step is skipped, a custom kernel cannot be used

The factory update on the other hand simply overwrites system and doesn't care about the boot image version when the device boots

Verity/verification can be disabled as part of the factory update process; there is no need to reflash vbmeta manually

Thus, for those of you using this kernel, until the header is fixed, this is how you should update:

Download and extract the factory image.

Update bootloader and radio if necessary (just compare last 4 of version numbers, if different, update and reboot to bootloader). Update will fail if the package includes updated bootloader/radio.

Dirty flash the factory image:

fastboot update device-image-buildnumber.zip --disable-verity --disable-verification --skip-reboot

Allow the update to complete; when it does, you'll be in fastbootd. Select "Reboot to bootloader"

Flash CleanSlate kernel and reboot to system.

Again, once the header is fixed, users should be able to update however they want, and flash the kernel without worrying about vbmeta.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
The fix is now rolling out to play store for this quick tile issue. I had this happening on a few occasions, and found that the quick tile loading in this case needed a special fix under a12.

Finally found the issue was something else, I didn't expect happening. Thanks again for reporting
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] f8lxninja:
Thank you for taking the time to investigate further and find the solution!
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] dirtyreturn:
Thanks! Just for my own sake, for sure - when coming from another custom kernel should I first revert to stock kernel then flash cleanslate?

And, do you know if the pixel 5 kernels do anything with the dtbo.img stuff? Will that need to be reflashed prior to switching kernels(dtbo)?

Thanks for your support!