yashsingh1/xdaforums huggingface dataset:
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
- Update 1.2.5 -​

10.5.12 OnePlus sources

- Update tree

- WireGuard july-29 sources

- should fix the 2D issues in video playback

- use it with latest OxygeneOS update! 10.5.11/12

CleanSlate 1.2.5 Downloads:

Installer zip for Kernel Managers (EXKM,Franco etc)

Installer flashable 1.2.5: https://www.androidfilehost.com/?fid=8889791610682908211

Android OOS 10.5.10 EU boot images

CleanSlate 1.2.5 non-rooted https://www.androidfilehost.com/?fid=8889791610682908210

Read first post in thread for installation details.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] EMJI79:
Can somebody explain how I could profit from Wireguard support to improve smoothness and less battery drain with using Blockada for ad blocking?

I see that this kernel supports Wireguard but I can't find anywhere how to use it without a dedicated server.

I just want faster and lighter ad blocking.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] knpk13:
Haven't heard of wireguard being used for ad blocking. Don't think it applies to the "fake" VPN thing that some non root ad blockers do. Try hosts based adblocking if you want faster and lighter adblocking, or a more general solution like pihole.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] EMJI79:
Ok so I misunderstood usage of Wireguard then. I will look for pihole. I thought it was necessary to have a server on a domestic server for pihole to work but I will investigate into it, thanks.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] knpk13:
Adaway or similar hosts based solutions are easier than setting up a pihole server. I think Oswald Boecke has link to his pihole guide thread in the adaway thread if you want to try it.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] golf60:
Use adaway and you will be happy.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] smartymcfly:
Clean slate kernel + config app has adaway built into.it. enable in the clean slate app.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] smartymcfly:
Is anyone else noticing a green tint when the screen brightness is all the way or nearly all the way down?

Same thing that was happening on P4XL.... Is it possible that your kernel can make the same automatic adjustments when screen brightness is low?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] galaxys:
New to this kernel, so far so good! Kudos
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Thanks for the feedback! [emoji106]
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] str8str:
You may want to try kcal. Try this. Unzip and if you use Google cam you just double tap on the black area around shutter then add to the profile there then select which one you want to use

https://www.dropbox.com/s/zkfatlf4ql9qu0m/KCAL_Profiles.zip?dl=0
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] smartymcfly:
The green tint is only at the lowest brightness. I don't think kcal will fix anything because it only happens at the lowest screen brightness. And not noticable most of the time. The time I seem to notice it most is when screen brightness is low, and the UI is transitioning between windows like when going to or from the previous application or next application or recent apps screen. It can be seen elsewhere if I have the screen brightness down all the way and there is a dark area of the screen but I just keep the brightness skittle bit higher to avoid being always on the screen. I also increased the lowest brightness that clean slate will go down to to try to prevent it. And I am not sure, buy I believe clean slate handles the colors differently than kcal.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Freak07:
OnePlus "fixed" the green tint issue for nearly all users in one of the recent firmware updates by raising the minimum brightness quite a bit. One could argue that this is no real fix, but only circumventing the green tint problem, introducing another problem. Comparatively high brightness in pitch black rooms.

It´s uncomfortable to use the phone on this high brightness level. So at the moment you have the choice to trade between high low brightness or some green tint at lower brightness. :(

As soon as you use the brightness dimmer, you access the brightness levels OnePlus deliberately made unaccessible. thus you will start to see the green tint. CleanSlate does not handle colours differently.

If you raise the levels for the CleanSlate Dimmer (make the screen less dim), the green tint will start to be reduced gradually.

At the moment there´s no possibility to do the same gamma tweak as on the pixel 4xl.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] smartymcfly:
I don't mind, it is barely noticeable except for on some of the transition animations. Thanks for information.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] lemonleo9x:
it uses only for EU rom? :(
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
No. The zip installer is for all the regions.

The boot img version for fastboot installation is based on eu boot image, but that also can work with other regions.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] lemonleo9x:
and it works with 10.5.13?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Should work, yes. Tho right now it's built with the

10.5.13.IN11AA sources. There's no newer sources by OnePlus, so I think it should be just fine.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] CoolPyr0:
when i use this kernel or any custom kenel Fingerprint option is gone

https://ibb.co/R35kn4Z
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] souvick.ch:
I have done everything you said but still my phone brightness doesn't goes down to minimum. What to do? Help and i have purchased all the app
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
You're trying to use backlight dimming, right? And what exactly do you see happening? What is the minimum you're comparing to?

The dimming is that when you manually set the lowest brightness level, it will go below the stock level.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] souvick.ch:
Yeah but it is not happening. It is same as before installing the kernel. Still too bright
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Hmm.. How low have you set the dimming brightness minimum value in the config app? Also is the brightness slider exactly at the lowest notch?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] souvick.ch:
I don't know what is happening brightness is not going below the stock level.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Have you actually saved the setting in cleanslate config app? I see the save button is still pressable. Also if you switch to advanced mode in config app page on top right, you'll be about to modify the dimming level.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] souvick.ch:
Hmmm thanks now its working. :good:
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Excellent! Happy to hear
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Working on the battery saver mode setting, which will maximize core freqs, rootless way. This was already asked about, but till now couldn't find a good way to test it, without the device..

Going to have 3 levels:

Gamer level, cutting back the top freqs only

Medium level, cutting back about three freq steps

Strong, cutting back even more levels

Also a "touch boost allowing and disallowing" secondary setting.

Were discussing the approach with scheduler expert [MENTION=3428502]Freak07[/MENTION] and I could now test it the similar SoC on asus rog3 as well.

Stay tuned...

View attachment 5099721
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Hey, finally I got to the frequency maximizing feature. Hopefully it will work nicely. Just posted above the solution details.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Surfeur-des-Reves:
Ready to test your new app version as soon as it's ready, sir! Will be more than happy to provide my feedback too.

[Edit: now testing new update and set it to maximum battery saver level. Will see and report any improvement!]
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
A new kernel version is needed for it. Uploading...
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
- Update 1.2.6-

- New feature: Battery Saver

--- Use new Config App 2.15.3 to be able to setup, Thanks [MENTION=3428502]Freak07[/MENTION] for the advice on schedulers

--- Set 3 levels + Touch boost limiting (advanced settings)

---- level 1 (Gaming): 1.8GHz, 2.1GHz, 2.5Ghz

---- level 2 (normal): 1.5GHz, 1.6GHz, 1.6GHz

---- level 3 (heavy): 1.07GHz, 1.05GHz, 1.07GHz

--- Set Touch limiting in config app, to make sure even Touch boost and other boosting won't cross these limits.

- WireGuard Sep-08-2020 update

CleanSlate 1.2.6 Download:

Installer zip:https://www.androidfilehost.com/?fid=8889791610682940775

boot image:https://www.androidfilehost.com/?fid=8889791610682940776

Config app 2.15.3 Free version Download:

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

Premium version rolled out to play store

THIS IS UNTESTED BY ME. Please report back! Use a freq monitoring tool to validate the freq cutbacks please.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Surfeur-des-Reves:
Stress-Test in controlled environment (inside a room, device not exposed to sunlight, cooling period of 10 minutes between each test).

This is without (picture 1) and with (2,3,4) the activation of the battery-saver function (respectively on level 1, then 2, and finally 3).

Already big difference in terms of heat intensity. Nearly no throttle and very stable device temperature when using the battery-saver function, compared to when not in use.

Great job tbalden, thanks!
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Thanks for the detailed and long testing. Looks promising! Much appreciated.

Hopefully this will get us thru sunny days without the popping up warning of overheat. :)

I get also some extra battery and really not much of a lag if at all in non gaming usage,

especially on level 2 with touch limit set on.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Surfeur-des-Reves:
So you're now using a Oneplus 8 Pro? Have you met that overheating problem several times already since you use it? Some users on this forum claim they never face this problem, but it's hard to believe that some users would get 'flawed' devices while others would get unaffected ones, especially months after this phone has been released. I guess it's more related to 1) the kind of case we use, 2) the weather and temperatures when we use the phone 3) and of course what apps we use / how we stress our unit.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
I'm using a very similar phone, rog 3 with the same SoC, so not using op8pro, but similar enough to be able to draw conclusions.

But I got the pesky overheat warnings on my pixel 4 xl too which is an older SoC. It even cut my 4g access while the overheat in my car happened while I was in a zoom call, navigating. These new modes now help a lot.

So I can very much relate to your issue. It's lucky that now I could test out this thing on the rog3, I didn't want to pull it off blindly , playing around with the cpufreq driver blindly isn't a good idea. But here we are, it works pretty well :)
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] davie9x:
As my first kernel:

- scrolling lag between pages on home screen

- fingerprint scanner stopped working

Using IN2020 with 10.5.13IN11AA

and xXx No limits

Wish I had these kernel features.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Can you confirm that your phone is from this year june July? There's a rumor like some batches of phones there use a slightly different fp hw that doesn't work together with the released kernel sources.

As for your lag, if you didn't enable any special feature in the settings, like battery saver or dynamic eas boost, then it's basically stock lag you should see. This kernel is very stockish apart from these optional features.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] davie9x:
Mine says Date: 19.8.2020 it's pretty new phone with no display issues.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] MrPhilo:
When does the level frequency actually appear? I went to level 3 but it still goes above 2ghz.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Hey,

my question is, have you also set the battery saver touch limiting? Without that, only schedtune frequency targets will be maximized at lower freqs, touch and other interactive boosts will still be allowed. If you set touch limiting on, it should stay around 1ghz on level 3.

If that doesn't help, can you share how do you measure freqs and what exactly you see there?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] MrPhilo:
I'm using split screen to check. I have both the setting turned on, so not sure what's happening.

EDIT: ah I'm using kiri kernel, I was reading a post and it seems kiri needs to update his kernel to support this. My bad.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Ok, I was starting to scratch my head, good to know it's just a bit of mix up :)

Thanks for the quick feedback.

Hopefully it will work there just as well.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Surfeur-des-Reves:
For now, I am able to avoid the dreadful overheating message when using 'Level 3' in the app, which is great! Level 2 still gave me that message after some use under the sun. I don't care much having to use low freqs, as long as it keeps the phone running normal with good brightness when I use it as a GPS. Again, thanks for the great work tbalden, keep up the kernel & app development until you can transform our unit into the next OP9 ^^
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Seems like beta might have the fp fix for new devices as [MENTION=3428502]Freak07[/MENTION] pointed out. New fp version handling is in the beta. Will try to merge it back and let's see on 10 as well.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] elmarian756:
Nice! So your theory was correct! Will update my thread when this starts working!
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Very suspicious. I was looking at merging it in, but it's not trivial. Will try to come up with a test version. Might break fp tho for all devices versions as it seems using a11 beta sources with lineage based a10 ROM breaks fp...
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] elmarian756:
Yes, looks like it is going to be a mess. I am starting to think that until we are all on a11 stable for a while (whenever it comes out) this will be just shots in the dark.

Isn't it rare to have different hardware on the exact same phones like that? I was expecting many people complain about this but it seems there are no so many cases around. At least i haven't corrupted my persist as many others :silly:
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Here's a test version for android 10 containing the diff from A11 Beta... might break the FP for all, or might fix it for all including those whose fp only worked on stock kernel for 10, who knows :)

ONLY FOR ANDROID 10 OOS!

Installer zip: https://www.androidfilehost.com/?fid=8889791610682949265

Boot image eu_10.5.10 based https://www.androidfilehost.com/?fid=8889791610682949266

MAKE A BACKUP before you try , or an older version of cleanslate that worked for you or a stock zip/boot img :)
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] elmarian756:
Just flashed and i can confirm. FP is alive and working. Amazing! :highfive:
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Woohoo, very good news, thanks for trying!:) Hopefully it won't break the other devices fp. But I'm optimistic.

Excellent!
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] elmarian756:
Yes it is the first custom kernel i can actually use lol. Will test out its features now since i am already here.

Lets hope it works for other users!
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] alex moymoy:
FP broken to me
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
So previous cleanslate versions or other custom kernels are ok but the new build here broke it, right?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] alex moymoy:
I wasn't with cleanslate. But older versions that I used never had problems. Now I flashed Stock kernel and after your last build. So we can say yes, you're right

PS: funny thing I found out now. I downloaded v127 and flashed it but I have installed it's v126?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Thanks for the feedback. I have forgot to bump the version and it shows 1.2.6 instead of 1.2.7.

As it stands now the only thing I can do on Android 10 is to provide two builds. It might not worth the try and fix this as a11 stable is around the corner as well.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] alex moymoy:
Yes, I think you're right. This is running very good, very smooth. Until now I have nothing to say against, only FP. But I can live with it since I use the FP 2 / 3 times per day maybe ? I will stay with it and test it tomorrow all day and see about battery too.? And thanks for all your work in our device ?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
But you can also download the one from the original post, 1.2.6 and it's very much similar and fp should be good.

The new build was to fix issues with fp for a few users, but while it helped them, it broke for the majority it seems. So, I suggest download the 1.2.6 one from original post and try.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
So, according to the test results, I'll keep two versions of installer zips in the original post,

- One with official OnePlus FP sources for majority of the devices (first zip in the first post)

- One with patched FP driver for those with Fingerprint issues on Android 10 custom kernels (second zip in the first post)

I think Android 11 stable will work for all devices, but let's hope in the coming days/weeks OnePlus updates the kernel sources to the correct version for Android 10 as well.

Until then two zips...
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] davie9x:
FP WORKS NOW!

Thank you for your hard work [MENTION=3088420]tbalden[/MENTION]. I was refreshing this thread every day hope to see the light again. Using August device and FP works with no problem.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Happy to hear. Thanks for the feedback.

It's good when at last we see how OnePlus screwed things up (not the first time, kernel source is more and more problematic with each new year), and it isn't you who messed things up, at least a little bit of validation. :)

I can only hope that OnePlus raises quality in this regard too and not just the devices.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] knpk13:
It doesn't even make sense for OnePlus to screw up in this area. Just have to release the right sources. I mean it obviously works since it's working on stock, how do they mess up releasing the code? Like it's at least more believable that there's an actual issue if FP drivers don't work on stock on a new batch of devices than just "forgetting to release the correct sources".
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
It's a different source sub package inside the msm tree by oneplus (/kernel/drivers/oneplus/*), and they get out of sync that's my theory. It's always the OnePlus folder that gets unusable. It's a bad pipeline imo

They obviously have the good firmware when shipping with new parts, and it works, but the publishing pipeline is not good enough.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Someone on Android 11, could you please have a try with this installer zip, based on official sources for A11 by OnePlus?

Hopefully will work both for Op8 and Op8Pro unified

CAREFUL, I cannot test it. It's stock kernel just compiled by me, so hopefully everything will be just fine, but have a stock boot image around.

2.2.0 alpha 2 installer zip (EXKM, FKM):

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

No cleanslate features yet, just the first version to start fresh, and make sure it boots normally, everything is fine (wifi, audio, calls, bluetooth, camera etc.)

If it goes wrong, please flash stock boot image to get back to normal.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
previous alpha1 didn't work. Alpha2 link in the above post updated

Alpha 2 booted fine. Merging in patches for cleanslate and publishing it here for test.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
- Update 2.2.0 - Alpha3-

Update to Official Android 11 sources

- All CleanSlate features merged in

- WireGuard Sep-08-2020

CleanSlate 2.2.0 Alpha3 Download:

Installer zip:https://www.androidfilehost.com/?fid=10763459528675560206

Config app 3.0.2 Free version Download:

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

Companion app 3.1.0 Free version Download:

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

Premium version rolled out to play store

THIS IS UNTESTED BY ME. Please report back!.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] davie9x:
I can confirm the new version works for me on OOS11! Thank you for being so fast. Great job as always! Everything works fine so far.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Thanks for taking the time and risk to test. Happy to hear that it goes well so far. [emoji106][emoji106]
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] tbalden:
Been working on these for a couple of weeks now and they are pretty stable on Pixel4XL and Asus ROG3.

I'm gonna need some testers to check them on the Oneplus 8/Pro.

Features namely:

- K.AdAway - adblocking without Magisk/systemless hosts, with a new approach.

Blocks advertisment hosts in Web browsers and in-app web based ad placements, using in-built hosts file from kernel

- No magisk / root way to dump Kernel logs - crash log and fresh dmesg to your Internal storage (/sdcard/__*) files

The goal for both is very similar, to further the CleanSlate approach of providing a kernel, where some of the most important 'rooted' features can be achieved without magisk.

Now I can't test it still on Op8Pro as I don't have the device.

The test would be

1. to install either from ZIP the usual way --- or you can try temporary boot the boot image (fastboot boot xy.img) and if all is fine with temp booting, you can flash it with fastboot flash boot xy.img

2. install latest cleanslate companion app (download 3.1.1 from link)

3. get latest cleanslate config app too (check Original post)

After flash please at least reboot once after booting the flashed kernel, and test then

4. TEST Kernellog dump: try from Companion app 3.1.1 the Kernel Log button when CleanSlate kernel was booted.

If it tells couldn't copy (file size = 0), wait a few seconds and retry. Should work on 2 or 3 tries.

Files should be under /sdcard/__uci-cs-dmesg.txt and /sdcard/__console-ramoops-0.txt

dmesg should be more than 0 bytes, evidently. Ramoops will be 0 sized if the phone was not rebooted at least once after a power off cycle.

5. TEST KAdAway: if using magisk, disable Systemless hosts file, so it doesn't interfere (best to do this before installing the kernel as disabling magisk systemless hosts might need a reboot)

then enable the feature in CleanSlate config app (Gestures and Extras)

force close chrome or other browser you're testing

start chrome and check the host: adverticum.net

it should be blocked. (connection REFUSED)

Then Disable KAdaway, force close Chrome, reload and check the host, it should now load

DOWNLOADS:

2.3.0_a1 Boot img for temp boot test: https://www.androidfilehost.com/?fid=10763459528675565427

Installer zip: https://www.androidfilehost.com/?fid=10763459528675565426

Companion app 3.1.1 needed for Kernel Log button: https://www.androidfilehost.com/?fid=10763459528675561313