yashsingh1/xdaforums huggingface dataset:
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] swangjang:
Agreed. I tried all other kernels posted here and I always ended up coming back to this one.

Also, dear tbalden

Would it be possible for you to provide a boot img with AVB/dm-verity disabled?

I'm testing out a magisk module I made and it replaces files in /system/vendor.

The replaced files appear to be there in root explorer but the device still uses the original files.

After researching, I think the cause is the AVB/dm-verity is overwriting the magisk-replaced-files back to the original files from its auto-correction process.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Working on one last thing I had plans for on the pixel 5, check on gamma tweaks, if it's possible to port it from the pixel 4xl. I'm optimistic so far, so that's the thing in the making.

It will allow some boost of the gamma levels, can be useful in the summer sunlight, like it is on the pixel 4xl already.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
direct sunlight demo on pixel 5 👍👍 just be careful to not use it inside, to lessen the burn in possibility. On my pixel 4xl it didn't cause burn in, but for caution I only use it when outdoors in sunlight
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Testing the best gamma bump preset values, this is quite brilliant, even if eating a bit more battery at maximum brightness. Still testing whether it heats up things or just a tad bit more battery.

Hopefully a great feature for spring and summer time walks in the nature and such. :)
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] dirtyreturn:
Hey, tbalden. The most recent app you pushed to the play store - is the new kernel just February's? 175?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
The kernel is not yet out. Going to release with March sources
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] mistermojorizin:
is it safe to flash the current version on a system that's been updated to march?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
- Update Android R Stable - 1.8.0 -​

March Google update + Gamma Tweaks

- New: Gamma Tweak through RGB settings

--- Tweak the gamma table with Red Green Blue bias in 3 different bands: low/mid/high

--- Added presets into Config App new version

--- Gamma High Brightness Boost and EXTRA boost, plus as an example "degreenified" presets (tho degreenify not really needed on P5)

--- I recommend to try not overuse gamma Boosting, and use it in outdoors, bright sunlight situations to avoid higher battery drain and also burn-ins

--- Been using this on Pixel4XL for about a year now with such cautions and I have no burn-ins, but be cautious

- Updated to March security update by Google, 4.19.135

CleanSlate R 1.8.0 Downloads:

Rooted installer zip:

CleanSlate R 1.8.0: https://www.androidfilehost.com/?fid=17248734326145746720

Non rooted, Android R image (2021-03-05)

Pixel5 redfin boot image CS 1.8.0: https://www.androidfilehost.com/?fid=17248734326145746719

CleanSlate Config App free version 3.1.12: https://www.androidfilehost.com/?fid=17248734326145746726

Premium version still rolling out to playstore yet, today

Read first post in thread for installation details.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] MarcoG::
after a long Time i am Back to this Kernel, good work
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] ridobe:
Is there a way to use the wireguard module without root? I'm using wireguard but without root it's using userspace and quite a bit slower.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Unfortunately there's no way
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Working on an additional setting for gamma tweaks, that will let the gamma boost happen only when in bright light environment. Still experimenting with the sensor light levels but getting there slowly.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
- Update Android R Stable - 1.8.1 -​

Gamma Tweaks update

- Add: Gamma Tweak in bright light only

--- New presets and setting that will switch on gamma boost in direct light/very bright light

--- Needs new Config/Companion app

- Updated built-in Adblock hosts files to latest

CleanSlate R 1.8.1 Downloads:

Rooted installer zip:

CleanSlate R 1.8.1: https://www.androidfilehost.com/?fid=2188818919693748701

Non rooted, Android R image (2021-03-05)

Pixel5 redfin boot image CS 1.8.1: https://www.androidfilehost.com/?fid=2188818919693748700

CleanSlate Config App free version 3.1.13: https://www.androidfilehost.com/?fid=2188818919693748699

CleanSlate Config App free version 3.2.8: https://www.androidfilehost.com/?fid=2188818919693748698

Premium version still rolling out to playstore yet, today

Read first post in thread for installation details.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Been working on bringing up the kernel for Android S preview 1. Was a bit of a headache, but finally managed to boot it up. Stabilizing and testing stuff, but good start
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] mistermojorizin:
Flashed 1.81 and safety net stopped passing. Flashed back to 1.80 and it's passing again. Just me?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
After flash, you might need to reboot after the first boot, to let it pass. Hopefully that will help
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
With a lot of trial and error, finally safetynet passes without root, on Android S preview1. Testing and going to release it in a couple of hours or so. 👍👍
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] ridobe:
FYI, I have been booting (not flashing as it won't stick) both the 1.8.0 and 1.8.1 on S with no problems. I've been testing wireguard as a kernel backend. I've been having issues with it. Maybe the updated kernel source will help.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] elong7681:
@tbalden is that a screenshot of an app that anyone can install or something you have created?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
It's this one I use https://play.google.com/store/apps/details?id=com.scottyab.safetynet.sample&hl=en_IN&gl=US
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] elong7681:
Tks
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
So, I have found some issues with the fast charging on Android S preview 1 and took some more time to fix.

Now I'm testing more on the new version and Android S to avoid any surprises.

The bad news is, that updating to Android S preview 1 will block flashing custom kernels until vbmeta / avb validation is switched off with Fastboot. It refuses to boot custom kernels as there's no signature in it.

fastboot flash --disable-verity --disable-verification vbmeta_b vbmeta.img or
fastboot flash --disable-verity --disable-verification vbmeta_a vbmeta.img

Sharing this information, might be interesting related to preparing for what's coming with android S and flashing.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Correcting myself, no need to do the factory reset when switching off the verity check with fastboot as I described above for Android S preview1. Only need to flash the correct vbmeta image with the arguments for disabling and then it can work with custom stuff
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] MarcoG::
How is the DP1?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Well, I had to do a factory reset in the end, apps were crashing on me. Interestingly on pixel 4 xl the same update was fine without factory reset.

After the reset it is quite stable. Not many new things tho for my usage. I like the notifications small design and layout changes, but nothing groundbreaking.

This is a glimpse at the notification revamp:
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
- Update Android S PP1 - 2.8.0 -​

Android S Preview 1 update

- All features work, except Blur System UI

CleanSlate S 2.8.0 Downloads:

Rooted installer zip:

CleanSlate S 2.8.0: https://www.androidfilehost.com/?fid=2188818919693752993

Non rooted, Android S image (spp1 2021-03-05)

Pixel5 redfin SPP1 boot image CS 2.8.0: https://www.androidfilehost.com/?fid=2188818919693753047

Stock SPP1 image if you need to restore

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

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

www.androidfilehost.com

vbmeta of SPP1 to deactivate verity checks on the custom boot image, DO IT BEFORE FLASHING THE KERNEL, or it won't boot

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

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

www.androidfilehost.com

Deactivate:

fastboot flash --disable-verity --disable-verification vbmeta vbmeta-redfin-spp1.210122.022.img

Re-activate if you need:

fastboot flash vbmeta vbmeta-redfin-spp1.210122.022.img

Read first post in thread for installation details.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] dirtyreturn:
Hey @tbalden , I'm wondering if you have any kind of idea.

I'm on 1.8.1 CleanSlate and I'm certified yet Gpay detects whatever modification. KAdaway? Bootloader?

Hope to be able to hear back.

Also, what had helped you decide on CleanSlate? It's a great kernel name by the way!
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] dirtyreturn:
Sorry , @XDA appz double post on newest XDA update. Quite a delay when posting.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Hmm, so safetynet passes? I had one issue with gpay when I tried, it was that I started it one time while safetynet didn't pass and I needed to wipe the app data to be able to register. But otherwise it was fine afterwards. Do you have your account already registered, or is it the first steps that fall?

Name comes from the idea that cleanslate tries to achieve the most usually needed features solely on kernel side without magisk/ super user rooting, giving a clean experience.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Also just tried and it runs here fine, gpay old app tho. Also I don't use magisk while trying this
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] dirtyreturn:
I don't know about safety net, but, I had to mess with the data and cache of the play store a time or two to be recognized as certified.

Im not sure of the reason , for the new GPay app to finally tell me about my device being modified.

Like, when, initially flashing the CleanSlate boot.img / no root.

The Google pat app functioned fine. (As much as I actually used it, anyway) Just recently opened the app again and tried to readd a card and FAIL.

I'll just try clearing app data and report back by this post edit.

Hey, thanks for sharing the CleanSlate kernel origin!

P.S. good news! I cleared app cache and data for 'Gpay' (the new one) , went through the setup and it's fine.

Thanks for the idea! (data cache clear)
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] mzeigler1:
@tbalden Hello...is the battery saver supposed to limit charging like Advanced Charging Controller? I noticed my phone charged to full capacity at 100%...ACC on default only charges to 75% to preserve life. I've enable battery saver, and it's on the default level of 1, with touching limit on.

Thanks
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Hey there,

No, there's no battery charging control. It's only about sparing battery with frequency maximizing and boost level changes.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] mzeigler1:
Can I run that along with a charging controller?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Yes, it's perfectly fine. Charge controller is doing its job on the charger and battery driver, the cleanslate battery saver is doing its on the cpu freqs. 👍👍
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Welcome to the future of Android, brave user 😁👍👍
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] dirtyreturn:
I don't think that it's meant to act as ACC does.

I think it's like the battery saver option
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] MarcoG::
280 is very smooth on the DP😄
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
- Update Android S PP1 - 2.8.1 -​

ThinLTO and CFI

- Enable ThinkLTO and CFI security hardening (https://source.android.com/devices/tech/debug/cfi)

CleanSlate S 2.8.1 Downloads:

Rooted installer zip:

CleanSlate S PP1 2.8.1: https://www.androidfilehost.com/?fid=2188818919693754863

Non rooted, Android S image (spp1 2021-03-05)

Pixel5 redfin SPP1 boot image CS 2.8.1: https://www.androidfilehost.com/?fid=2188818919693754862

Stock SPP1 image if you need to restore

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

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

www.androidfilehost.com

vbmeta of SPP1 to deactivate verity checks on the custom boot image, DO IT BEFORE FLASHING THE KERNEL, or it won't boot

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

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

www.androidfilehost.com

Deactivate, needs to be done only once when first flashing a custom kernel:

fastboot flash --disable-verity --disable-verification vbmeta vbmeta-redfin-spp1.210122.022.img

Re-activate if you need:

fastboot flash vbmeta vbmeta-redfin-spp1.210122.022.img

Read first post in thread for installation details.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] MarcoG::
Do i Need to flash the vbmeta Image again before i flash the Update?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
No, there's no need to re-run this. I think after an OTA we will need to do it again, but I haven't had the opportunity to test it.

For just flashing new custom kernel versions it's not needed after you did it once.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] ridobe:
I can't do it without a wipe and that's fine. Problem is that I do a full image flash each month wich means I'll have to wipe each month.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Which part do you mean you need a wipe for? Switching off the vbmeta verification? I'm not perfectly sure but I tried flashing vbmeta back with verification then again without and I didn't have to do a wipe.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] ridobe:
Interesting. Mine launched into a loop that wouldn't even boot after flashing vbmeta back. I had to dirty flash the full image. I will try again.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Meh, maybe I was sloppy with my testing. It sucks if a full wipe will be needed but well it could be :s
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] swangjang:
Uninstall the ACC magisk module and only have this ACC app installed. This will bring the version down to v20201015. When you open the app, you'll get an error but just tap "retry" and it will start working. Go to Settings -> Charging Switch and choose "/sys/kernel/debug/google_charger/input_suspend 0 1".

Make sure your charger is plugged in while changing the settings or the app will crash.

The Stop Charge will work but Resume Charge will not.

The reason I told you to uninstall the magisk module is because the latest version doesn't work.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] swangjang:
Hey @tbalden,

Do you think you could implement "Bypass Charging" (or Battery Idle Mode) into the kernel?

This means the phone will draw power directly from the power cable instead of the battery.

I think it's a very good feature to have for extra longevity of the battery.

Asus ROG 3 does this and you can have a read why it's so useful and I personally think this should be standard android feature:

The ROG Phone 3's new Bypass Charging feature prolongs battery life while gaming

The ROG Phone 3 gets a new feature for prolonging battery life while you're gaming: Bypass Charging. It's available in Game Genie.

www.xda-developers.com
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] mzeigler1:
I was logging on right now to post about the module not working since I updated it two days ago. If you reboot the phone and then go into terminux and run a test it'll say input suspend will work, but later on you run it and it won't. I deleted the module yesterday, downloaded the app, but the phone still charged to 100% last night. So I don't think either is working...or. I doing something wrong?

EDOT: there was a magical update for the app and magisk. I just downloaded it and rebooted. Must've been a bug or something because once rebooted, it showed acc still installed....I deleted it and the app, and installed the app you sent the link on. Hopefully that works. Thanks again.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] swangjang:
For me, it only works if I have the app installed without the magisk module. Once I install the ACC module from magisk manager, it stops working. So you must uninstall the ACC magisk module and only have the app installed.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] mzeigler1:
Yeah I tried that, still doesn't work. Woke up and still at 100%.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Well, so spp2 Android s landed.

And indeed, the vbmeta ,I needed to disable it again and finally I also needed to do the factory reset too, otherwise it didn't boot.

Next time, I'll try to work this around and right after flashing the full ota with adb sideload, I'll not reboot but instead boot to boot loader and do the vbmeta thing before actually booting up fully, maybe that will save me from a full factory reset upon each update when using custom kernel...

Related to spp2, I have major trouble booting up the new Google sources. Been trying to get it to boot for two days now, but it just won't work.

Good news is that the previous spp1 version of cleanslate kernel still works seemingly without bigger issues on Android S spp2.

I'm trying to find out why it doesn't work, but currently I'm out of ideas
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Finally found the issue with the latest spp2 sources and managed to build a booting kernel for spp2. Testing and going to release it after. 👍👍
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] elong7681:
I woke up this morning with a notification from Google saying my phone will not work with Google pay anymore so I checked my safety net and I'm not passing it anymore is anybody else experiencing this problem or does anybody have a solution.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] dirtyreturn:
Clear data, cache for Gpay?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Do you use magisk also? Have you tried to reboot and see if safety net passes?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] elong7681:
Yes still no good
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] elong7681:
Yes, it still fails.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] dirtyreturn:
https://github.com/stylemessiah/GPay-SQLite-Fix.

There is an XDA thread too somewhere. https://xdaforums.com/t/module-magiskhide-props-config-safetynet-prop-edits-and-more-v5-4-0.3789228/
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Hmm, so are you using magisk or not, I'm not sure based on this answer
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
His issue is with safety net firstly. Gpay needs sn pass to work
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] elong7681:
My apologies I'm at work that's why I was so short but yes I'm using Magisk app, safteynet module 1.1.1, Magisk Hide and I've done all prior suggestions
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] dirtyreturn:
https://xdaforums.com/t/working-mag...s-of-gms-17-1-22-on-pie.3929950/post-84654929
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] jcrompton:
Has anyone tried this kernel with the latest Scorpion ROM?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
- Update Android S PP2 - 2.8.2 -​

Android S Preview 2 update

- All features work

- Kernel 4.19.160

CleanSlate S 2.8.2 Downloads:

Rooted installer zip:

CleanSlate S 2.8.2: https://www.androidfilehost.com/?fid=2188818919693772029

Non rooted, Android S image (spp2 2021-03-05)

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

Stock SPP2 image if you need to restore

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

vbmeta of SPP2 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=2188818919693772034

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

Deactivate and factory reset:

fastboot flash --disable-verity --disable-verification vbmeta vbmeta_redfin-spp2.210219.008.img
fastboot -w

Re-activate if you need:

fastboot flash vbmeta vbmeta_redfin-spp2.210219.008.img

Read first post in thread for installation details.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] elong7681:
@dirtyreturn Thanks this worked for me.
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] dirtyreturn:
You're welcome! Here's github also as a just for reference or something.

GitHub - stylemessiah/GPay-SQLite-Fix: A magisk module that ONCE allowed Google Pay to work on rooted phones

A magisk module that ONCE allowed Google Pay to work on rooted phones - GitHub - stylemessiah/GPay-SQLite-Fix: A magisk module that ONCE allowed Google Pay to work on rooted phones

github.com
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] elong7681:
Ok cool!
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
So, Android S PP2 A1 update is rolling out today by Google.

Perfect time to test the theory, if flashing with 'adb sideload ota.zip' then BEFORE booting up, going into bootloader instead and reflash the vbmeta partition with the new vbmeta + --disable-verity --disable-verification would boot or not.

Luckily, for me this worked, and I didn't have to do the factory reset this time and running the custom kernel without issue.

Here's the brand new stock vbmeta image for SPP2 A1, if someone needs it:

vbmeta-redfin-ota-spp2.210219.008.a1.img | by tbalden for Pixel 5

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

www.androidfilehost.com
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] jcrompton:
I'm currently running the Scorpion rom - just got my P5 last week. It's actually a great device with the dual sim working! Any brief thoughts about the Android S ? Any big upsides ?
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] tbalden:
Well, I don't see huge changes, so nothing with big upside for me, you can check a few articles https://www.androidauthority.com/android-12-review-1201890/
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] MarcoG::
Yep, works 😁

No factory reset
[Google Pixel 5 ROMs, Kernels, Recoveries, & Other ] jcrompton:
I'm assuming there are some pretty good reasons to not be rooted all the time -- seems like it is out of favor as you read through some discussions. (I remember the day when we always tried to root all our phones)

That said I would love to use Titanium Backup to intermittently backup my data and setup ... and maybe a few other things.

Would there be any advantage to (or has anyone else done this) rooting your device "temporarily" and then unroot it or not run it with root? Any advantages to or disadvantages to this idea? Just mainly thinking out loud

I was going to try Android S but didn't want to since I don't have functioning TB without root