yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
- Update 1.7.6v2 stable -

...thus the Unrooted Kernel Era ruled on...

​

Update

- Adding Sound Control feature (optional, no root permission needed):

==== Headphone Left/Right gain control, Mic gain, Earpiece gain, bottom Speaker de-gain control

==== Set it in the new CleanSlate configuration app version. (2.5.1)

==== Credits / kudos to [MENTION=4684315]flar2[/MENTION] for the original tweak of the sound driver

- Sweep2Sleep: from-Corner mode: Decreasing the horizontal area of the gesture start

==== to avoid even more inadvertent screen switch offs while tapping the middle area of the lower part

- Smaller fix for High Brightness Mode (set it to the highest (level 5) instead of level 4)

More to come...

CleanSlate 1.7.6v2 Download:

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

Config app 2.5.1 Free version Download:

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

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csconfig

Companion app 2.2.1 Free version Download:

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

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csservice
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] loike:
Thanks for the link. I'm still worried so I'm going to wait for some brave soul to try it out :). And I'd really like to use this kernel without rooting and without having twrp installed (until the official release is available).
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] adiher:
The bootable TWRP from the Link above works fine for me.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] saagar_mistry:
Flashed over no limits rom. Kernel works fine. I have a request. Is it possible to get fingerprint swipe gesture to pull notification down?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Hi.

Thanks for reporting back!

Looking for a solution on this from OP5T roms yet. Interestingly the goodix fingerprint drivers main nav gestures part is not in the kernel but in the goodix application.

So it's not straightforward. I'd very much like to get this working, but can't really see ahead, if it will work out. It's on my list to check, as I love this op5t feature.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] saagar_mistry:
That's perfect. Thanks a lot.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] saagar_mistry:
Hey. Something weird happened. My playstore disappeared also chrome. There are 2 apps though with weird names and don't open. Any clue? Attaching screen shots
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] iElvis:
Loving it so far, but then just about anything nowadays would be a big step up hardware-wise from the M9. Really smooth and fast even stock. I really like OOS other than, yeah, some odd quirks like the missing battery %.

I'm still trying to get used to this A/B stuff, but the dev-friendliness of OP is awesome. Also I see that the general xda user impatience hasn't changed. :eek::rolleyes:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] pankspoo:
Is it bug? when I enable Fingerprint gesture long press to take photo option of stock gesture not working.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Thanks for reporting. I've tested this earlier, and had the same result. It's for now expected because of how the fp gesture mod is overriding the input events to get to the home functionality. Long press fp is triggering Google Assistant with the mod.

I'll think about this, maybe there's a solution.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Wow that's quite something. Looks like it might be related to ROM tho, maybe got to do with the debloat, but it's just a guess.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
I might try it when I get more time. If I finish a few more features probably. :)

BTW just added you to the donators appreciation list in the first post.

All, who supported through the premium app purchase and signals it, I'll extend the list.

Thanks for all the kindness folks.

Cheers
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vrda08:
Hy, I tried k.adaway (and adaway app), but can't get it working.. I still see ads on pages, apps.. any suggestion? Thx
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Hi there matey

Yes, I've the same except that it works in chrome and so far only chrome.

It must be the fact that hosts file are now heavily cached. On 8.0 and kernel 4.4 it was re cached after a change. and worked all the time with kadaway.

To at least get it working in chrome I make sure the config app with set option is run after a reboot.

Then I get the following good behavior.

View attachment 4519367

Are you using a different browser? Is normal adaway doing the same?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vrda08:
Yes chrome, same with adaway app, I will try with reboot..
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Thanks again go to [MENTION=5326976]pankspoo[/MENTION] for the guide / review video. Added it to the Guides section of the thread.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Lownita:
Hi,

I am about to try this kernel since I am having a slight problem with the stock rom that's driving me nuts, because I can't find the culprit. Here's what's happening.

The phone occasionally drops framerate so that the scrolling or animation noticeably stutters for a short burst of time. The best way to replicate this is to open an app, wait a few seconds without touching the screen and then press the back button/gesture. Most of the time, the animation is smooth, but sometimes it feels like it's running with very low FPS for a short burst of time (just that one animation). From my experience, this can be solved by rebooting the phone, but it will eventually come back after a while.

This has been happening to me with everything on stock, except bootloader unlocked, since unlocking was the first thing I did before setting up the phone.

I hope this kernel might fix the issue, but as it seems you haven't tweaked any of the relating values, I doubt it. I have already tried elementalx kernel, but with no success.

It might not even be a kernel performance problem at this point, because rebooting seems to fix the issue for a while.

I also think that this problem doesn't get noticed easily, but as I was used to a very clean and smooth experience on my OP3 running omnirom, I noticed it immediately. It has, however, been reported by a few more users here on XDA as well as on the oneplus forums.

If anyone has an idea on how to fix this, I would really appreciate it! So far I have tried several different CPU/GPU governors and i/o schedulers, but with no succes.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Hi,

Yes, this something that eludes solution yet.

I experienced this as well as few times.

I wonder if it's related to what [MENTION=5582262]rav101[/MENTION] found related to schedutil high speed frequency being set wrongly to sd845 v1 value instead of v2 which we have

Have you seen that?

So far I suspect it to be some ROM thing but not sure.

Also might be related to gpu which is again different from the old soc...

Thanks for the details BTW
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Lownita:
Good to know you saw it too! Interesting find by [MENTION=5582262]rav101[/MENTION]. I just set the hispeed_freq for both clusters to the values he mentioned, but sadly, the problem still persists.

As you said, I am also more leaning to some weird stuff going on in OOS itself. I got a message by an oneplus employee to file in a bug report with logs, will do this now.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rav101:
Hi both,

I had noticed similar lag on long scroll type situations where at the end of the scroll it would lag hard.

I'm currently using Franken Kernel which has Josh's Dynamic stune boost V3. I've set that a little higher and also set my hispeed_freq's as per previous posts and I'm noticing it less. When I sent dynamic stune boost way up then it was buttery smooth.

I think this is indicating to me that the 845 is racing down to an idle frequency before the workload has fully completed. I might be wrong though...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] pankspoo:
Phone getting somewhat warmer with simple tasks as compared to stock kernel, is it Normal?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Haven't had such issue yet. Also it's important that this kernel has no such tweaks that affect the stock scheduling, temperature handling.

Cleanslate is always to be kept with most of such stock features intact, only in case of an identified, heavy stock issue it would be extended with a possible fix.

The aim is to focus on features that impact and improve the ergonomy and usability of the device, but that to the highest possible degree.

So far no such patch is applied, so you should have near stock results in this regard.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xXx:
xXx NoLimits currently comes without kernel or Magisk to stay as generic as possible.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Ok, sorry for the confusion then. I read that on this or another thread, but didn't check it myself, so mea culpa.

Thanks for clearing this up. :good::highfive:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Ok, let me know how it goes. Thanks
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Basic extension points needed for Chromatic charging led identified.

Next feature to be added will be that.

For those who might not be familiar with it, it's a convenient feature to add battery in-progress-charging level to notification LED mapping.

On the HTC 10 it looked like this:

Will see what the not so bright LED of the OP6 can do, but i'm sure some will find it useful. :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rav101:
Absolutely love this feature!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] EmRav:
Loving the active development on this so far! Any chance you could add an option to turn off the charging LED as well?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Yes, possible. Basically you would want to still get notification blinks on the LED if set in the stock settings, but do not light up when charging?

This for a night stand charging to not bother while getting some sleep, I'd guess. Sounds good to me
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Cryptycat7:
Or one blink for each message that comes in bumped up after 10% percent charge. Dead battery no LED, 10 percent one blink. Blink twice at 20. That awesome triple blinking (my favourite on U11+) at 30. Not thought out to the end, but wanted to chime in to share the idea the moment it popped up in my head.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] EmRav:
Exactly! It's the one thing I'm still holding out for. You rock!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
- Update 1.7.7 stable -

...thus the Unrooted Kernel Era ruled on...

​

Update

- Adding Wakelock blocker with default safe QCOM wakelock blacklist

==== Should give some improvement in battery life

==== Includes well proved and safe to disable Wakelocks (kernel side locks that keep CPU up, in certain cases this can be superfluous, and this feature helps this situation)

==== Credits / kudos to [MENTION=4684315]@boeffla[/MENTION] for the blocker driver

More to come... (chromatic charge led / flashlight notification next)

CleanSlate 1.7.7 Download:

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

Config app 2.5.2 Free version Download:

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

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csconfig

Companion app 2.2.1 Free version Download:

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

Premium version rolled out to play store https://play.google.com/store/apps/details?id=org.cleanslate.csservice
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vrda08:
Very nice work :)

Its seems like last verison is smoother..maybe is placebo or related to wakelocks..

I'am considering premium version from pstore..:)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Thanks :good:

You can test the placebo by switching it off under Gestures and Extras config app page.

BTW it must be placebo :) apart from the wakelocks there's no change currently and those don't impact speed.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] EmRav:
For the minimum brightness setting can you allow us setting lower than 1? IE screen fully dimmed
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Aarju:
This works on turbo custom or not if yes how to flash it please tell ??? I always getting booted to bootloader mode after flashing the kernel.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Hi there,

So you have a TWRP.

I think the missing step might be to flash magisk after.

Have you tried that?

Besides that I have no more ideas right now but I haven't tried any custom ROM myself.

Seems flashing over NoLimit worked for people so I gather it should work for turbo.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Aarju:
Yes I tried flashing magisk after kernel flashing is done.But same consequences.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Hmm, well, what exactly happens when booting?

Blue light and blank screen?

Have you tried switching between a and b slots with fastboot? What does magisk tell you on flashing, which is the active slot? It logs it out on flashing the magisk zip
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rav101:
When you reboot do you get to the splash screen or does it go into bootloop?

Could you try and connect to your PC and get a log?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Not possible, 0 means fully black screen on AMOLED driver
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Not possible. 0 means full black on AMOLED
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Aarju:
It boots to fastboot mode from recovery after flashing.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rav101:
Can you switch slots. I know recovery currently has an issue that if you switch to "the other slot" then it will not boot up. I'm not sure if this is the case for you but you could try switching slots, flashing kernel and Magisk and then rebooting.

If you can get to fastboot you can use the flastboot flashable stock 5.1.5 to get yourself up and running so you are not in a position of having an expensive paperweight just yet.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] oneplus6:
Hi all. Newbie here.

May I know what's the difference of having WireGuard in kernel compared to not having it in kernel?

And also I've flashed CleanSlate and installed the WireGuard app from Google Play, but there no icon showing WireGuard connected anywhere. Did I do something wrong somewhere?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Hi there, welcome on board

Differences:

Kernel mode : faster

What might be a problem: for kernel level usage you need root permission for the app. [MENTION=8802903]Cryptycat7[/MENTION] can give you extensive info I think, he's using it since day 0 since possible
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] oneplus6:
By giving root permission for the app, you are referring to my WireGuard icon issue right?

I've checked inside Magisk app and WireGuard have already been given root permission. [MENTION=8802903]Cryptycat7[/MENTION], can advise?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Hey there,

Have you had the opportunity to check this?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rav101:
This is what it looks like to have an active VPN link with kernel level WireGuard.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] EmRav:
My mistake! Thanks!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] oneplus6:
OMG... That's so stupid of me....

I've previously did swipe down looking for it and even went into the EDIT mode of the icons before posting....

It's at the next page of the removed icons... OMG....

Thank you rav101!!! Your screenshot opened up my eyes. Hahaha.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Yeah, imagine when i tried it and it got me a fully blank screen with no chance to see the buttons to revert :D

But I managed to revert without reboot in the end..
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Nice, fixed up usb2 Fast charge. Seems the floating patch needed some testing and fix.

Thanks [MENTION=4587002]Noxxxious[/MENTION] for linking me

View attachment 4520726

View attachment 4520737
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
So to go into details, what's this USB fast charge at all in 2018?

It's only really useful with an old PC/Laptop with USB2 ports where generally the PC/laptop/old charger negotiates that it's 500mA current only.

Generally it's almost safe to use your PC port up to 900mA charging power, and unknown USB chargers, like car chargers can sometimes end up on a lower current than they are really capable.

USB (2) Laptop/PC Fastcharge feature is about this. In these rare occasions, you can draw 900mA for a bit faster charge. It will still take long time, but not so long.

Sometimes it can even help to use a USB OTG Y-cable for charging, as with this enabled you might end up with actually being charged, not just kept on the same level of battery or less.

So that's it.

CleanSlate 1.7.8 will contain this patch up, currently floating around patch is not working in most cases for the op6.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] iElvis:
Right, it's NOT the stock "key" icon. It's a new icon the app adds to the list and you won't see it unless you look for it. This drove me crazy for about half an hour trying to set Wireguard up.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xino22:
Can you completely disable the double tap vibration to turn on the screen?

Enviado desde mi ONEPLUS A6003 mediante Tapatalk

---------- Post added at 11:23 PM ---------- Previous post was at 10:48 PM ----------

I installed it and with your app I see that you can set the vibration to 0 but still you notice a bit that vibrates when doing double tap ... can it be deactivated completely?

Enviado desde mi ONEPLUS A6003 mediante Tapatalk
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Good catch. Gonna fix this up, thanks for reporting
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xino22:
Thank you very much!!

Enviado desde mi ONEPLUS A6003 mediante Tapatalk
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
The "not to vibrate in case of vibration Power set to 0" is now done. Issue fixed

I've also added the possibility to map Fingerprint tap to Notification pull down action. It means new kernel and companion app will be published for this to work

Also USB 2.0 (laptop/desktop) fastcharge fix is ready and well-tested.

Started to work on Chromatic charging LED feature, but I'm going to release the above tomorrow, when Notif Pull down mapping is tested enough...then continue developing the Chroma charge led...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Yeah, that's tricky there. The app should have a nice popup to warn you about either this quick tile, or possibility of nervous breakdowns
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vk_singh:
any chance of cleanSlate for oneplus 5T?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
I don't own a oneplus 5t, so it has very slim chances. I only do blind development on very similar architectures, where the same kernel source can be tested reliably. I'm quite much spent for this year, and gathering some bucks for the HTC U12+ for now as I'm planning on supporting op6 and u12+ this year
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xino22:
Waiting for the new version with the vibration fixed .thx!

Enviado desde mi ONEPLUS A6003 mediante Tapatalk
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Hi, :highfive:

Had a little bit of rough hack away yesternight up till 2AM..but tonight I'm gonna release ---> Found a few quirks yet with the Fingerprint -> Notification pull down thingy. Will fix it in a bit, then up to release :good:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] champ_goblem:
Tbalden is there anyway to make the brightness change with autobrightness more gradual, with flickering sunlight the screen tends to flicker lighter and darker and its actually quite annoying. If its not a problem concerning other people or not something you really want to do could you add it as an advanced toggle in config app?

Thanks
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
I haven't dug really deep into it, but I'd think it's more in the framework part how the brightness is being adjusted, like...what thresholds and what timings and lag is allowed. I see it as a good thing that the light is following the changes quicker than phones I have earlier used, but I see your point here.

I'm not sure but maybe some tweaks could be done in the framework.
[MENTION=1186202]baadnewz[/MENTION] [MENTION=3699616]mwilky[/MENTION] what's your take on this? :cool:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
This is best to do in kernel. I normally make an algorithm for translating brightness from hardware to software by plotting points in a spreadsheet and fitting an equation. Takes a bit of time, so I haven't gotten around to it yet.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Hmm, sounds fair enough, but I'm wondering about how that helps if the framawork timing threshold and lag is seemingly too low for some people.

You might get another curve but that will be too flat at parts to prevent flicker, and go up at a steep?

I'm just lamenting here on it, because what I see day to day brightness mapping is quite fine by OP, still I see the brightness timing is much more responseive than previous devices... I'm curious what that translation might bring. :good:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] champ_goblem:
Are the frameworks open source, I havent really dived into kernel source and probably wont till after exams are done.

If you need any help with what flar2 spoke about id be happy to lend a hand, otherwise i shal take a look at the frameworks when i get a chance.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
first of all i'm curious what exactly is bothering your experience? Is the backligt light level transitions happening to often too fast?

Or do you see that the difference between light levels being crossed are uneven, too big steps, like not smooth?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] champ_goblem:
Well its a bit of both for example i was sitting in the sun earlier reading something but when the shade from a tree passed over the backlight level would dip almost instantly and by 5-10%, i couldn't say for sure how much exactly but as soon as the shade passed it would jump back up to the value before, every time this bit of shade passed over it would do it again.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Ok this makes it closer to the problem.

Do you have high brightness enabled?

I need to tune that a bit, as now it's changing abruptly between fully on and normal Max brightness
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] champ_goblem:
I do thinking of it, it may possibly be that. Ill try turning it off and try it out later.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] brunsman6229:
Hello, what about battery life with this kernel..? better than stock..?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Cool. Should try this later, but let me know if someone gives it a whirl

Official

https://twrp.me/oneplus/oneplus6.html
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vrda08:
I did, its working. Just like unofficial, vibration not working.