yashsingh1/xdaforums huggingface dataset:
[Google Pixel ROMs, Kernels, Recoveries, & Other De] -DarkKnight-:
How elementalX implements it is that if swype2wake or dt2w are turned off in the kernel manager app, while the stock android implementation is turned on in the settings, then the stock android dt2w is activated.

If the kernel manager dt2w or the swype2wake are on, then the stock android implementation is overridden.

Would it be complicated to implement it that way? (serious question)
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
it is fixed in the next release.

I just tried but like I said the kernel dt2w works way better and reliable for me. with the stock dt2w it´s a bit of a hit and miss.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
Update on progress

on a side note.

I found time to fix the dt2w issue. If you want to use the stock implementation you have to deactivate dt2w and s2w kernel side in exkm, via sysfs or however you like. If you have the stock google dt2w to check notifications, enabled in settings/gestures, you will have stock behaviour.

There is now also a fix for the simple_ondemand GPU governor. before this patch it would just crash upon choosing it.

I also implemented GPU Boost.

if you use the default GPU governor which is msm-adreno-tz you will have the option of GPU boost. if you choose simple_ondemand not.

I think GPU Boost is not really needed on this phone as it raises GPU freqs aggressively enough for most tasks. So I leave it disabled at default.

It was originally introduced on the HTC 10, to counter an issue whereby the GPU failed to scale up aggressively enough, to run some not demanding games properly in 60fps locked. But there are some performance junkies (like me) who want to try such things.

So you can enable this setting and it has 3 profiles. Low, medium and high. It defines how aggressively the GPU gets scaled up. take a look at my github.

I have no ideas how this will affect battery, but I will test over the next few days :)
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
BIG UPDATE to 0.9

hey guys and girls,

it seems like everything is stable so here it goes. Quite a big update and lots of goodies in there.

I´m a little bit proud now :D

Changelog

0.9

- when deactivating kernel side dt2w and s2w, one is still able to use the stock google dt2w implementation

- code updates for both alucardsched and darknesssched <--- if anyone has time please test and report back how they work with 0.9

- added option for GPU boost <--- disabled by default

- update to cpuidle <--- deep sleep is improved for me

- the simple_ondemand GPU governor is now usable and does not crash upon choosing

- fix an issue were tasks were not given properly to cpusets, thanks [MENTION=5438598]RenderBroken[/MENTION] for the help

- a few other changes, please take a look at my github

Download link is here and in the OP like always:

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

have fun with it ;)
[Google Pixel ROMs, Kernels, Recoveries, & Other De] rohitece06:
Things working pretty good here. I dont see any scheduler for internal storage though.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
Flash supersu before using the kernel and afterwards. I think this was the problem one user had earlier. He was using los superuser
[Google Pixel ROMs, Kernels, Recoveries, & Other De] rohitece06:
I am resurrection remix 5.8.2, no need to flash supersu to get root privilege. It is already there. Do I still need to install it to get the scheduler for internal storage working? Or do I need the supersu to be able to change the scheduler. Is there no internal scheduler right now? There must be because I can access the internal storage.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Chronzy:
What's the easiest way to set selinux to permissive? Across devices/roms... something universal..

I see "ro.build.selinux=1" in build prop; will setting that to 0 do it?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] rohitece06:
darknesssched makes scrolling and app opening stutters (no change in default freq). alucardsched, schedutil, sched are great even with lower freqs
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Chronzy:
Also, should alucardsched be set to just little or both?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
if you want to use it, use it for both clusters.

but you may also experiment :)
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
update to 0.9_

derp
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
update to 0.9_5

hey guys and girls,

I did a little typo on 0.9. here is the promised fix.

Changelog:

0.9_5

- fixed a typo which would the user not choose msm-adreno-tz GPU governor after choosing simple_ondemand <--- also have no worries I implemented a patch that will let you choose only GPU governors that will not crash

- a few more commits for schedutil and sdcardfs

Download link is here and in the OP:

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

have fun with it :)
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
Can you guys do me a favour and run the command

cat /dev/stune/top-app/schedtune.boost

In terminal

And post the output? :) and state your rom and setup please.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Chronzy:
Output: 50

PN 02/15

Kernel 0.9_5
[Google Pixel ROMs, Kernels, Recoveries, & Other De] trizzv:
Is cpuidle enabled by default m
[Google Pixel ROMs, Kernels, Recoveries, & Other De] johnandbodhi:
output 50

stock nof26w

kernel schedutil, gpu boost max, enabled dimmer, s2w up, sws left or right, the remainder stock settings
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
Yes
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
Hey guys and girls :)

Please log in with your Google account and +1 the issue. Maybe we get attention from Google.

https://productforums.google.com/fo...8BUuFFo8M;context-place=forum/phone-by-google

Thank you very much!
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
Please star this here also:

https://code.google.com/p/android/issues/detail?id=235033&thanks=235033&ts=1488118827
[Google Pixel ROMs, Kernels, Recoveries, & Other De] KevnRobles:
Anyone know what sdcardfs does?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
https://www.xda-developers.com/divi...gles-fuse-replacement-will-reduce-io-overhead
[Google Pixel ROMs, Kernels, Recoveries, & Other De] KevnRobles:
So is it pointless on our phones since the pixels don't have SD cards ?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] siddhesh.raikar:
Please, go and read the entire article that was linked in response to your question..

The name has no relation to it being applicable only to sdcards .. it's meant to reduce storage I/O overhead..

Please,read the article..
[Google Pixel ROMs, Kernels, Recoveries, & Other De] KevnRobles:
Your explanation is enough for me. Thanks.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] trizzv:
ELI5 not everyone here is familiar with understanding programming language.

Does it help performance? Battery life?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Efficiency.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] rohitece06:
[MENTION=3428502]Freak07[/MENTION] I was using this kernel but after 0.9_5, my phone started running hot. even standby was taking 5% per hour. I tried different governers: sched, schedutil, and alucard but no help. I changed to ElementalX and everything is back to normal.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
There must be an app in the backgrounds causing the drain.

Try better battery stats to see what is causing the drain.

my standby is as good as ever on this phone.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] rohitece06:
Mine mostly is in Awake (Screen off) 60% (I am listening to music through bluetooth),

1) On alarms android.gms takes 84%

2) On kernel wakelocks powerManagerService take 78% and bluetooth time takes 67% ( I suppose bluetooth timer included in PowerManager)

For same type of usage ElementalX gives better Awake(ScreenOff)

While streaming music through bluetooth, phone constantly runs ~43 degree celsius while on ElementalX it goes to 38-39 degrees
[Google Pixel ROMs, Kernels, Recoveries, & Other De] iamdata:
are you able to do the security updates for march within the next kernel release? wasnt sure if vendor image alone would do this?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
Yes next update will have the updates no worries.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] danielt021:
I don't know why but the latest version keeps CPUs at high clock speeds. All the eas governors have this issue
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
disable perfd and set top app schedtune boost to something between 5 and 10 or flash the script from despair factor provided earlier

Here is link to his post:

https://xdaforums.com/showpost.php?p=71387615&postcount=488
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
Update to 0.11

Hey guys and girls,

update time again.

So as some of you might have noticed we have sort of an input boost defined in the power hal. I think it is not needed with my kernel, so I advice you to flash one of the zips despairfactor made in order to control this behaviour.

You have the choice between different zips:

schedtunefix.zip : This will fix the incorrect top-app value defined in power hal

schedtunfixyyy.zip : this will fix the incorrect top-app value defined in the power hal and set the input boost frequency to yyy

schedtunefixnohint.zip: this will fix the incorrect top-app value defined in the power hal and completely disable any power_hints (input/interaction boosts)

personally I recommend the last one aka schedtunefixnohint.zip. I get great battery life and have a smooth experience. In my opinion EAS is good enough to run without any input boosts. Just set the schedtune.boost for top-app to something between 6 and 10, and run this value on boot.

You can find the zips provided here. If you are on sailfish ( regular pixel ) choose the the sailfish named one and do a backup before flashing.

https://xdaforums.com/showpost.php?p=71387615&postcount=488

Here is the changelog for 0.11 :

- I added a few additional commits to adrenoboost, it is now more conservative and suited for daily use. I run it on moderate boost and don´t notice any battery drain

- performance of the fingerprint reader may be improved <-- I need feedback from you, don´t use it myself

- update to slimbus OC

- a few patches that may help with stability and performance in general

- many patches to schedutil , it is the recommended governor now in conjunction with nohint.zip

- introduced a new governor, called helix_schedutil based on schedutil; thanks to [MENTION=4388232]ZeroInfinity[/MENTION]

I had a little play with it, if anyone finds better values I can include them.

- for more details check my github

Download link is here and in the OP:

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

have fun with it and a nice day all!
[Google Pixel ROMs, Kernels, Recoveries, & Other De] blaze9090:
How do I set schedtune boost for top App to a certain value?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
In ex kernel manager app, go to tools, user settings and create a new command with the + sign.

Enter

/dev/stune/top-app/schedtune.boost

As path and set the value to whatever you like :)
[Google Pixel ROMs, Kernels, Recoveries, & Other De] 水攸月羽:
Thanks for your great kernel! Tried 0.11 and schedfixnohint on PN, battery life is great (about 6~7h SOT), overall scrolling behavior is smooth, but sometimes stuttering occurr at the beginning of scrolling(at the moment I touch the screen and scroll).

Helix_schedutil seems to be more responsive than schedutil (I've raised the target value of both big and small cluster to achieve higher scrolling smoothness).

Well, actually the stuttering issue also happens in XDA lab, so I wondering it's a kernel related problem or not.

Oops forgot to mention, the fingerprint speed also speed up a little, I can notice the interval between vibration and screen on is shorten than before.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
Thanks for feedback. Next version should be a bit smoother.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] TheBurgh:
Should we:

Flash kernel

Flash schedtunfix

Flash TWRP

Reboot recovery

Flash su

Reboot system

Thanks​ in advance
[Google Pixel ROMs, Kernels, Recoveries, & Other De] iamdata:
Ok RR , will magisk and also android pay still work if i flash this. I think there's a safety net patch on the kernel. Is that also on this kernel ? Thanks
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
I have no idea regarding magisk. I do not use it but the safetynet patch is included.

Please feel free to try and report back.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
I think this will work yes.

To be 100% sure maybe do

Flash kernel

Flash TWRP

Reboot recovery

Flash su

Reboot system

reboot to to twrp

Flash schedtunefix

Reboot system

And have a backup ready of the 2 files you will replace like it is described in despairs post
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
hey :)

here is a beta release. It includes mainly the blu active governor from [MENTION=3873953]eng.stk[/MENTION].

remember you will loose the EAS if you choose the governor.

I got good results with it so far. I will post my settings for big and little cluster in the next post. If anyone is down to some tuning or finds good values I may change them in the next release :) for now we we use default values.

Changelog 0.11_1

- added blu active governor

- updates to helix_schedutil, alucardsched and darknesssched

- updates to sdcardfs

- other things look at my github

Download:

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

it is also in the testing folder if you follow the link in the OP
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
Hey guys and girls,

update time again. Just in case anyone missed it last time, this is the information about the schedtunefix zips provided by despair.

So as some of you might have noticed we have sort of an input boost defined in the power hal. I think it is not needed with my kernel, so I advice you to flash one of the zips despairfactor made in order to control this behaviour.

You have the choice between different zips:

schedtunefix.zip : This will fix the incorrect top-app value defined in power hal

schedtunfixyyy.zip : this will fix the incorrect top-app value defined in the power hal and set the input boost frequency to yyy

schedtunefixnohint.zip: this will fix the incorrect top-app value defined in the power hal and completely disable any power_hints (input/interaction boosts)

personally I recommend the last one aka schedtunefixnohint.zip. I get great battery life and have a smooth experience. In my opinion EAS is good enough to run without any input boosts. Just set the schedtune.boost for top-app to something between 6 and 10, and run this value on boot. additionally

You can find the zips provided here. If you are on sailfish ( regular pixel ) choose the the sailfish named one and do a backup before flashing.

https://xdaforums.com/sho...&postcount=488

Changelog for 0.12:

- added blu active governor

- updates to helix_schedutil, alucardsched and darknesssched

- updates to sdcardfs

- maybe some performance improvements <-- please give feedback

- other things look at my github

- made a non oc version (no cpu OC)

Downloads are here:

OC: https://www.androidfilehost.com/?fid=673368273298940168

NONOC: https://www.androidfilehost.com/?fid=457095661767146271

Hint: I set schedtune boost of both top-app and foreground to 6. Runs very good for me using schedutil.

Have fun with it!
[Google Pixel ROMs, Kernels, Recoveries, & Other De] 水攸月羽:
Just flashed 0.12 nonoc with schedutil and nohint on latest PN, I can't feel too much different between 0.11 and 0.12 (a little bit smoother but don't know if it is placebo effect or not). Tried blu active, huge lag on home screen(nova launcher with KLWP).

Scrolling smoothness is always my main concern, so sometimes my feedback may underestimate the actual performance since high performance does not necessarily equal to high smoothness(As I know the smoothness depends on the frequency scaling(governor profile) more than on the max cpu power(benchmark)). Just want to declare this to prevent misleading of my post.

Actually I never do benchmark and always evaluate the smoothness base on gpu profile and my feel(I'm so sensitive to fps drop). Changing top app boost value from 12 to 20 seems to have minimal effect on smoothness, maybe the stuttering of some app is due to bad optimization(eg. XDA lab, inbox, fb, playstore) instead of kernel?

Attachment: schedutil(boost 15) vs. blu active
[Google Pixel ROMs, Kernels, Recoveries, & Other De] trizzv:
How'd you get that background
[Google Pixel ROMs, Kernels, Recoveries, & Other De] 水攸月羽:
It's a KWLP made by myself.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] rohitece06:
So I tried using this kernel with magisk experimental thinking since it is based on elementalX. That was a bad idea. my phone boot looped.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
My kernel is not based on elementalx
[Google Pixel ROMs, Kernels, Recoveries, & Other De] rohitece06:
Sorry my bad. Are you planning to include magisk compatibility at some point?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
is ex kernel or any other custom kernel for pixel working with magisk?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
Information about the Update that is going to drop

So this one will be pretty big update.

The recommendation is still to flash the schedtunenohint zip which disables qualcomm´s/google min freq boosting when interaction with the phone completely.

However to counter any stutters I added sultanxda´s CPU_Input_Boost which will be disabled by default. This input boost is much more subtle. You can simple activate it via EXKM in case you need more smoothness.

I added in another EAS governor made by [MENTION=4388232]ZeroInfinity[/MENTION] that focuses on maximal efficiency and battery life. Information about all governors based on sched and schedutil can be found in the second post.

I tried to tune the WALT settings again. Please report back when the kernel is released.

Oh and bfq will be updated as brought to my attention by [MENTION=5315603]Ofthecats[/MENTION], thanks to [MENTION=5169465]DespairFactor[/MENTION]

about the reboots. once I will get the reboot and myself a proper log I will definitely look at it. Until now the reboot did not happen for me. Maybe I´m just lucky or I don´t know.

Stay tuned all

P.S.: I added a whole lot of information about our EAS governors on the second post. Please read it and if you have time try to tweak the **** out of those governors and share your settings with us all here. Thanks for the support to all that leave some nice words. I really appreciate this.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Mostafa Wael:
Great work [MENTION=3428502]Freak07[/MENTION]

I see I already made it to the wall haha :D

there is a small thing i wanted to ensure it's clear enough. My analysis was done without any kind of boosting since boosting changes things a bit when talking about smoothness and battery drain, which is why i am writing yet another analysis with Touchboost/Interaction boost in mind :good:

Thanks again for your appreciation, and best of luck with your work :highfive:

-TDK
[Google Pixel ROMs, Kernels, Recoveries, & Other De] rohitece06:
Yes, elementalX is working with Magisk on latest Resurrection Remix. I am using it right now.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
Update to 0.13

Hey guys and girls,

here is the promised update to 0.13. As already mentioned I implemented CPU_Input_Boost by sultanxda.

So recommended is:

To flash the schedtunenohint.zip from despair to get rid of qualcomm´s/google´s boost

To enable Input boost in the CPU Tab in EXKM

I also implemented a new governor. You can find information about it in the second post. The governor is made with efficiency in mind. the scaling is really great however schedutil is a tiny bit smoother but not as efficient, so it is up to you. Governor is called energy-dcfc (Dynamic Capacity and Frequency Capping)

Changelog for 0.13

- Implemented CPU_Input_Boost by sultanxda <--- disabled by default, if you experience scrolling lag activate it in EXKM, CPU Tab

- Implemented a new sched governor called energy-dcfc (Dynamic Capacity and Frequency Capping), more information in second and third post

- Some adjustements for schedutil

- Updated helix_schedutil

- some improvements to alucardsched and darknesssched

- adjusted WALT to final parameters

- bumped up and improved BFQ, thanks [MENTION=5169465]DespairFactor[/MENTION] <-- new default

- introduced Maple I/O scheduler

- updated sdcardfs

- please check this post prior to flashing: https://xdaforums.com/showpost.php?p=71502126&postcount=241

Please test, try everything and report back :) Thank you guys and girls.

As always there will be an oc and a nonoc version.

Downloads:

OC: https://www.androidfilehost.com/?fid=817550096634757912

NONOC: https://www.androidfilehost.com/?fid=745425885120719943
[Google Pixel ROMs, Kernels, Recoveries, & Other De] ansontyl96:
Thank you for your effort, however, whatever i did (include clean install), I always end up in bootloop, the only way i can get out from it is to flash element X. I had followed the guildline in op but it just doesn't work for me, the version I have is 0.13.

P.S. I am on PN
[Google Pixel ROMs, Kernels, Recoveries, & Other De] 水攸月羽:
I'm on PN withot problem, maybe you can try dirty flash PN then flash kernel.

Boot into recovery

Flash PN

Flash TWRP

Reboot into system

Reboot into recovery

Flash kernel

Flash recovery

Reboot into recovery

Flash supersu

Reboot into system

Then everything should be fine at this moment.

Note: flash schedtunefix after you finish all the steps above.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] ansontyl96:
Weird, I did exactly that but it just enter black screen after passing the Google screen, maybe i shall try it sometimes again, must be something I did wrong.

Btw how's the battery compare to stock PN or element X?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] danielt021:
Has anyone been able to make this kernel boot with magisk without SuperSU root. Meaning using magisk built-in root. I can never make it boot without SuperSU
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
Update April Patches

here are the tests for the kernel with the april patches and 7.1.2 changes.

OC: https://www.androidfilehost.com/?fid=529152257862717251

NONOC: https://www.androidfilehost.com/?fid=529152257862717252

is it possible one reports back if the zip works on sailfish as well? :) thank you!
[Google Pixel ROMs, Kernels, Recoveries, & Other De] JS.zip:
Flashes fine on sailfish. Excited to experiment with this. Just got this device and had try this kernel. Seems very smooth so far. Trying that sdcardfs as well ?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Freak07:
Enjoy :) you can experiment quite a bit with the governors. There are many options on this kernel but most are disabled by default. Just be sure to read the first three posts there is a lot of information.