• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[KERNEL] CleanSlate R2.7.13/S3.7.13 |S2S|Gamma|KCal|AdBlock|VIB|WrGrd [Nov 6]

Search This thread

bradical711

Senior Member
Aug 26, 2017
431
267
Google Pixel 4 XL
Can one double check if those values work also well on their device? I did some testing and so far my ideal settings to mitigate the green tint are:

Red High - 19
Red Mid - 14
Red Low - 10

Green High - 18
Green Mid - 14
Green Low - 5

Blue High - 19
Blue Mid - 16
Blue Low - 14

To reduce flickering:
Correction 90Hz High - 10

Enabling force 90Hz in the Developer Settings removes flickering entirely and I highly recommend to do so.
A little late to your post but I use different settings OP shared a long time ago. I set mine to their settings and never had to adjust or go back to the app since. My settings are as follows:

Red High - 20
Red Mid - 10
Red Low - 9

Green high - 20
Green Mid - 10
Green Low - 9

Blue High - 20
Blue Low - 10
Blue Low - 12

Correction 90 Hz High - 10
 
  • Like
Reactions: tbalden

tbalden

Recognized Developer
- Update Android S Stable - 3.7.12 -
A12 stable sources
- Same as beta 5 sources
- Boot image version: October sec level


CleanSlate Spb5 3.7.12 Downloads:
Rooted installer zip (unchanged from beta 5):
CleanSlate S 3.7.12: https://www.androidfilehost.com/?fid=7161016148664804230

Non rooted, Android SP1A image (2021-08-12)
Pixel4xl coral Stable A12 boot image CS 3.7.12: https://www.androidfilehost.com/?fid=7161016148664827227



Read first post in thread for installation details.
Please report if issues found. Only install over Android S
 
Last edited:

Đỗ Chiến

New member
May 28, 2018
1
0
I use three options only
> replace_gamma_table=1
> replace_gamma_table_average=1
> replace_gamma_table_fully=0
> replace_gamma_table_fully_on_high_brightness=1
> replace_gamma_table_dynamic=0

And my results look like this (drive; https://drive.google.com/file/d/10GaMdjyWJ0LqCMRRK0R9vplvkqCg4SVy/view?usp=drivesdk) , its really good low and high brightness, but mid brightness still tint. Can you separate three different brightness levels for rgb, turn them on or off independently (low: on/off, mid: on/off, high: on/off) or something like that in next update ?
 
Last edited:
Aug 14, 2013
21
3
Installed the newest build on my device, which isn't rooted, but Google Wallet has stopped working. Is this new behavior in Android 12 or did I mess up the install?
 

tbalden

Recognized Developer
Installed the newest build on my device, which isn't rooted, but Google Wallet has stopped working. Is this new behavior in Android 12 or did I mess up the install?
There's no way to get safetynet CTS passing on the pixel4/xl and Android 12 unfortunately.

I'm not aware that this is solved on rooted / magisk phones and p4xl.

If someone can point me to a solution that exists I'll check that
 

tbalden

Recognized Developer
There's no way to get safetynet CTS passing on the pixel4/xl and Android 12 unfortunately.

I'm not aware that this is solved on rooted / magisk phones and p4xl.

If someone can point me to a solution that exists I'll check that
So just checked, the kdrag0n module is now refractored and it's now using a runtime change that cannot be replicated in the kernel anymore unfortunately... It's sad, the rootless/magiskless solution isn't possible on a12.
 
  • Like
Reactions: Lughnasadh

tbalden

Recognized Developer
- Update Android S November - 3.7.13 -
A12 November update
- SafetyNet CTS still not passing, basic safetynet pass only
- Updated adblock built-in hosts file


CleanSlate SP1A 3.7.13 Downloads:
Rooted installer zip (unchanged from beta 5):
CleanSlate S 3.7.13: https://www.androidfilehost.com/?fid=7161016148664835014

Non rooted, Android SP1A image (2021-11-05)
Pixel4xl coral Stable A12 boot image CS 3.7.13: https://www.androidfilehost.com/?fid=7161016148664835015



Read first post in thread for installation details.
 

Flyview

Senior Member
May 17, 2010
2,485
1,642
Toronto/San Diego
Thank you so much for your work! The increased gamma values are the only way to make my phone usable in the sunlight. I have a couple of questions.

1) I noticed the battery saver frequency reductions don't apply when the camera is in use. Is it possible to configure this to only be the case for the main camera app? When I'm on a video call for example I still want the battery saver so that phone doesn't overheat.

2) Is there a way to tweak low memory killer values? I don't see the page for it in EX Kernel Manager on my Pixel 4XL with Android 12 anymore. I am trying to disable ZRAM but the lmk is killing apps due to low ZRAM as a result: "reason: low watermark is breached and swap is low (0kB < 209712KB)"
 
  • Like
Reactions: tbalden

tbalden

Recognized Developer

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:
config-1.jpgconfig-2.jpgconfig-3.png
companion-1.jpgcompanion-2.jpgcompanion-3.jpg
 

tbalden

Recognized Developer
- Update Android SP1A A12 - 3.8.0 -
Android S stable
- Major Config App update, read Notices
- 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://forum.xda-developers.com/t/...adblock-vib-wrgrd-nov-6.4027435/post-85973909

CleanSlate S 3.8.0 Downloads:
Rooted installer zip (unchanged from beta5):
CleanSlate S 3.8.0: https://www.androidfilehost.com/?fid=7161016148664842639

Non rooted, Android S image (sp1a 2021-11-05)
Pixel4/xl floral SP1A boot image CS 3.8.0: https://www.androidfilehost.com/?fid=7161016148664842638

Config App 3.2.0 free version:
Premium (needs beta join):
https://play.google.com/store/apps/details?id=org.cleanslate.csconfig

Companion App 3.3.0 free version:
Premium (needs beta join):
https://play.google.com/store/apps/details?id=org.cleanslate.csservice


Read first post in thread for installation details.
 

tbalden

Recognized Developer
Thank you so much for your work! The increased gamma values are the only way to make my phone usable in the sunlight. I have a couple of questions.

1) I noticed the battery saver frequency reductions don't apply when the camera is in use. Is it possible to configure this to only be the case for the main camera app? When I'm on a video call for example I still want the battery saver so that phone doesn't overheat.

2) Is there a way to tweak low memory killer values? I don't see the page for it in EX Kernel Manager on my Pixel 4XL with Android 12 anymore. I am trying to disable ZRAM but the lmk is killing apps due to low ZRAM as a result: "reason: low watermark is breached and swap is low (0kB < 209712KB)"

About the camera, on kernel level it's not possible or at least not trivial to differentiate between applications.
I'll think about whether incorporating the Companion app's foreground app check for the Kill foreground app feature of Touch gestures, is possible for this case.
Either this, or adding a setting to config app to keep battery saver working when camera is on, so one can set it when preparing for a video call.
 
  • Like
Reactions: Flyview

ahm_usa

Senior Member
Oct 12, 2016
62
8
Google Pixel 2
Google Pixel 4
My Pixel 4 (non-XL) has green tint issue on 90Hz as well. I bought your apps and flashed the kernal in recovery but I was unable to find the gamma toggle but then I read it's only for XL. So my question is Can you port the gamma fix for the non-XL version? or Is there any other workaround?
 

Flyview

Senior Member
May 17, 2010
2,485
1,642
Toronto/San Diego
About the camera, on kernel level it's not possible or at least not trivial to differentiate between applications.
I'll think about whether incorporating the Companion app's foreground app check for the Kill foreground app feature of Touch gestures, is possible for this case.
Either this, or adding a setting to config app to keep battery saver working when camera is on, so one can set it when preparing for a video call.

Sounds great! Would it be possible to force 90Hz refresh rate all the time, even in apps where it currently drops to 60Hz, like Google Maps? Where is this configured by Google?
 

ahm_usa

Senior Member
Oct 12, 2016
62
8
Google Pixel 2
Google Pixel 4
A little late to your post but I use different settings OP shared a long time ago. I set mine to their settings and never had to adjust or go back to the app since. My settings are as follows:

Red High - 20
Red Mid - 10
Red Low - 9

Green high - 20
Green Mid - 10
Green Low - 9

Blue High - 20
Blue Low - 10
Blue Low - 12

Correction 90 Hz High - 10
Do these settings apply to Pixel 4(non-XL) as well?
 

tbalden

Recognized Developer

Top Liked Posts