yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Hopie:
thx, now all fine ?

sent from my HTC 10 powered by Viper10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
No it wasn't, I added the line to test if Zero's issue was solved, but it wasn't xD so ok thanks, if this is the solution, than it's fine :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Olao99:
Is this snake oil? If the tweaks do any good then why hasn't crpalmer or tabp0le included them in their kernels?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] TotallyAnxious:
Because they haven't asked to use it... Lol this is a dumb question. Go ask them.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
Because everyone's preferences are different.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Exactly :) :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MyIdentityDoesntMatter:
Hello, [MENTION=7003898]RogerF81[/MENTION] . I'm wanting to tweak the interactive governor values for stock kernel. I know your tweaks aren't meant for stock/stock based kernels and only Nebula advanced/EAS kernels but may you please suggest values for stock kernel's interactive governor? The frequencies jump all over the place and I don't know where to ask for some expert help. :(
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
Whoops nevermind
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
On stock kernel, I would strongly suggest [MENTION=1792279]ivicask[/MENTION]'s PnP-Tweaks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MyIdentityDoesntMatter:
Oh, so his mod tweaks interactive? Didn't know about that. Thank you!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Not in that way as I do. Actually, he is tweaking PnP which is more complicated as the PnP files are all encrypted, but he knows how to handle that ;) (I don't)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MyIdentityDoesntMatter:
Decided to try out Nebula Advanced after all along with your tweak. I gotta say it's awesome. Chose the Architect battery version. Battery is good without sacrificing much performance. :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Nice :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MyIdentityDoesntMatter:
Trying out zzmoove on Nebula advanced and liking it a lot. Have you ever thought of making a tweak for zzmoove? :) It seems like a cool governor to use.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Not yet to be honest. Perhaps in some future, perhaps not, we'll see. Right now, I'm running EAS kernel only :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] AhmedouviX:
If I want to apply with exkm I need to change the file from sh to txt and just apply it in the app right?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
No, I don't support this anymore. But you could try it though, if I remember correctly, someone reported that this works. But it's not intended to.

PS: I'm still testing a bunch of different values and scripts, so this will last for a couple of days/weeks for sure till a new update will come.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
News

So, an update isn't that far away anymore. The focus has been espacially on I/0 tweaks. I plan to make these scripts compatible with PnP kernels (such as CleanSlate or ElementalX) as well. So the tweaks won't affect PnP at all (if you want to have pnpmgr tweaked, you have to use [MENTION=1792279]ivicask[/MENTION]'s PnP tweaks), but you can run them on all kernels in future and they will tweak at least the I/0 stuff.

Finally, I have a question to you all: Which kernels are you currently using? I will start a poll on this. So the goal of it will be to know if there is still anyone who uses a HMP kernel without pnp.

So, stay tuned!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] hx3:
Latest CleanSlate at the moment.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Update - new name, new version - Soilwork V5.0

So, finally, there it is, the new update! With this new update, I changed the branch name to "Soilwork".

I focussed mainly on I/0 tweaks this time, but also updated the HMP parts, and made them compatible to any available kernel on our beloved HTC 10. So even if you are on a PnP kernel as stock or ElementalX or so on, you can use these tweaks now, even along with [MENTION=1792279]ivicask[/MENTION]'s PnP tweaks, as these scripts don't affect or tweak PnP itself.

As usual, there are 2 versions available, "balanced" and "battery", the names should be self-explaining ;) Also, there are still both shell scripts and Magisk modules available.

Enjoy!

Unified [ EAS | HMP | I/0 ] Tweaks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Ongoing development

So, the next "big thing" is my research concerning entropy, thus playing around with the read and write wakeup_thresholds, mainly based on this quite "old" post, though it seems to be rather outdated, because I can't confirm the described behaviour (for example it isn't possible to set a higher value than 1024 for the read_wakeup_threshold). But all I can say up to now, that changing the values has a noticeable effect on battery life and the entropy_avail, obviously! As far as I know, the stock values on our 10 are 64 for the read and 896 for the write wakeup_thresholds. So now I am testing different values and checking how battery life changes. Stay tuned!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] romixer:
Nebula kernel on RR, latest balanced tweaks(5.0). So I think alucardshed is bad for me...scroll and animations is laggy. I don't know why
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Ok, thanks for the report! Perhaps I will remove alucardsched from my scripts.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] azZA_09:
[MENTION=7003898]RogerF81[/MENTION] The scrpits dont require to be applied after every reboot, no? I mean, once installed, they will me always there. And one more question, It's ok to show "/data 0 bytes trimmed" and same for cache system preload? Thx in advance
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nfsmw_gr:
Can anyone share their SOT before the mod and after?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Actually, yes, they have to applied every time after reboot, or just use the app called Boot Shell or the Magisk module, so you don't have to worry about that ;)

And yes that's ok, it only trims after a reboot as far as I know or after some time of usage, so that's no issue.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Depends on which kernel you are using?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nfsmw_gr:
Yes of course, just want to hear from current users if possible before trying myself.

I'm interested in the battery focused set of tweaks. :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Hopie:
hey.. I'm on helix kernel.. with last script it was pwrutlix, now schedutil!? is this right?

sent from my HTC 10 powered by Viper10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Yes, that's correct. But due to pwrutilx will be deprecated from v017 on, I already changed the script to use schedutil only.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] htctouchelfin:
Hi!:) i'm new in this theard, i m on viper 5.10 helix kernel v 16 and installed this script trought magsik module. I have now problems on trying install Viper audio , i tryed to flash on recovery as i usually do, but seems like recovery always reboots and nothing happenz, so tryed by the magisk module, but no results, is there some incompatibility problem?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Hi!:) Viper audio?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] htctouchelfin:
Lol i was meaning Viper4Android :D :confused:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
No, for sure not :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
News: Research about entropy

Ok, next update will take some time, due to I have some work, but progress is going on of course. As previously mentioned, I do some research about the entropy values. Though I have no final result, a solution is in sight. It seems to be that is the best to

minimize

the entropy_avail, that means to keep the entropy pool nearly full. That means again that the aim should be to keep read_wakeup_threshold and the write_wakeup_threshold in /proc/sys/kernel/random/ rather low, at least lower than the stock values. That seems to result in much better battery life! I will do a second run with the test values and the next update should come at the end of this month. I will release some detailed results about my entropy tests as well then. Furthermore, for HelixKernel users, the script will apply pwrutilx governor again; alucardsched will be abandonded completely due to negative feedback of some users.

So, stay tuned; further news are going to come!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
New update! V6.0

So, against my original plans, I decided to release the new update earlier! I only ran one single test with different entropy settings each, but the results were quite significant. That's why I think it's ok to share the update files already with you, though I'll run a second test, just to be sure (that's why the results of my test will follow later).

Changelog:

re-added pwrutilx for HelixKernel users

updated the Magisk modules to module template v4 for best compatibility with Magisk V13.2+

VM changes:

changed dirty_ratios

lowered entropy_avail by lowering read_wakeup_threshold and write_wakeup_threshold in /proc/sys/kernel/random/

So, if the second test run will confirm the results of the first one, this is going to be the last update of the scripts, cause I don't know what I could tweak further :P Unless any kernel will provide massive changes or HTC will update the kernel in some future.

So, have fun with this!

Advanced UNIFIED Tweaks Soilwork V6.0
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] romixer:
What about magisk 12? 13 seems to be buggy
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
No problems here with v13. And no support for former versions.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nfsmw_gr:
13 works for me as well
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
This moment...

...when you say, there won't be an update, and then actually, there is an update :D

These changes are completely based on the great research of [MENTION=5377398]TotallyAnxious[/MENTION]! Thanks for that! :)

So, here is the changelog (No change of the version number):

some zRam changes

changed some tuneables of maple I/0 sched

fixed a mistake concerning entropy values

So, that's it for now :p
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] TotallyAnxious:
You flatter me too much! haha
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Haha :o :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Ongoing things

Hey guys! So, a new update is already planned. There will be some fixes, clean-ups and some minor changes. But I'll wait till the next stable Magisk update will arrive, as this should provide a new module template. Once I can update my Magisk modules to the upcoming template (v5), I'll release the next Version of my tweaks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Hopie:
Hey little Question..

can i used this script for my old m7 or is it only for 10?:confused:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Hmm, well, these tweaks are initially made for the SD 820. The m7 has the....? SD600? Since this is a quad-core as well, perhaps my tweaks could work. But of course this isn't tested and the values might not work well together with the SD600. So I personally wouldn't recommend to use it on any other phone, which doesn't have the SD820/821. But of course you can try if you want (but don't blame me if something goes wrong :P ), in this case, I would recommend the Magisk module, as you can simply uninstall it, if the tweaks don't work well for you.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Rotten Ross:
Do we install zip in recovery?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ser0:
Can this be used with the latest Nebula kernel?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NoClipPazazio:
Are there any EAS kernels for Sense-based ROMs like LeeDroid?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ser0:
Thanks for the response. :) I get this error after applying the tweaks...is this normal?

Edit: Never mind. I remember reading about this in OP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ser0:
I did some searching for you and the only EAS kernel is Helix Kernel and that works for Sense based ROMS only.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Yes.

Completely right :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
New beta profiles has been created right now, but they still need some testing of course. They have been completely reworked, mainly on the basis of new power consumption calculations (which espacially has considerable effects on the target_loads). I will share some news about this soon. Stay tuned!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
[MENTION=7003898]RogerF81[/MENTION],

Great job man, I am glad to see more options for our 10............

You also just motivated me to keep going with the advanced........................
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Thank you :)

And I'm glad to hear this :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
I am Seriously thinking about adding BFS to the advanced...

BFS = Brain F--k Scheduler..................
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Sounds promising! :) I'm looking forward to it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
First EAS script is available in testing section.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
So, as promised, today I share the power consumption calculations, about which I was talking, which now can be found here. [MENTION=6295391]bedalus[/MENTION] exlained the procedure here. I used this to calculate the power consumption of every frequency and tried to compare the efficiency of every frequency by calculating the slope of the line.

On this basis, I'm trying right now to find out proper values for the scripts, which still are in beta status. Stay tuned!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] goldalex98:
[MENTION=7003898]RogerF81[/MENTION] I just tried applying the EAS profile that you have in testing. I am attaching the log. It looks like almost all of the settings failed to apply due to permission denied errors. Thoughts?

https://docs.google.com/document/d/14es1VdO4aFxXATli91aGmhCVlLvFfB2XPxB2BmiyWTE/edit?usp=sharing
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Have you granted su permission for the terminal?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] goldalex98:
Welp I now have egg on my face. My bad. I'm so used to just launching into a terminal where I already have su. I forgot to ask for SU.

I think this looks better:

htc_pmewl:/sdcard/elementalx/gov_profiles # sh sueas.sh
----------------------------------------------------
Applying Architects EAS Settings for Nebula EAS
----------------------------------------------------
Changing to schedutil at LITTLE cluster
Changing to schedutil at big cluster
652800 883200 /sys/kernel/cpu_input_boost/ib_freqs
Enabling Input Boost
Disabling TouchBoost
Disabling BCL and Removing Perfd
Tweaking HMP Scheduler
sueas.sh[64]: can't create /proc/sys/kernel/sched_autogroup_enabled: No such file or directory
sueas.sh[65]: can't create /proc/sys/kernel/sched_cfs_boost: Permission denied
sueas.sh[68]: can't create /proc/sys/kernel/sched_is_big_little: No such file or directory
Set read_ahead caches, I/0 scheduler and tcp settings
Swappiness reduced
sueas.sh[132]: fstrim: not found
sueas.sh[133]: fstrim: not found
sueas.sh[134]: fstrim: not found
sueas.sh[135]: fstrim: not found
----------------------------------------------------
Settings Successfully Applied. You may now tweak them further in EX Kernel Manager
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
May happen:highfive: But good to know, that nevertheless, not all settings can be applied.....thanks for testing! :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Again, new beta updates uploaded. Should be now obviously more power efficient.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] prstorero:
I'll probably be trying these out soon. Been off the charger since 7am (currently 3:42pm) and my phone is down to 47% with an hour and 9 minutes of screen time. Doesn't seem to be doing so well for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
I was running yesterday's betas as well, but they performed noticable better then for you. Perhaps the new ones perform better for you :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] prstorero:
I guess I'll find out when I get the chance. I'm not currently running any of your scripts, just the stock EAS by elimanter74. Performance is astounding, but I'm hoping to squeeze some more battery life out of it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
I've created an initial script for EAS as well if you are interested.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] prstorero:
That's what I'll be trying out. I'm going to probably give it a few days to see how things go on average. Thanks for your work :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
You are welcome :highfive:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
Has anyone put the SuD10.sh file in /system/etc/init.d ... Does it load when you boot your phone?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Well, I do not recommend to put this into init.d folder, because I had the same issue, that the scrips would not be executed (here is an explanation....ny [MENTION=7836278]LazerL0rd[/MENTION] and [MENTION=631273]Chainfire[/MENTION])...That's why I recommend to run the script as described in OP and then go into EX Kernel Manager und toggle all "start at boot buttons". Then you'll be fine and it's the best way I think :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] boyd95:
I'm interested in trying this out, is it limited for htc10 only or all sd820 devices? What about sd821 (op3t)?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nfsmw_gr:
Dunno about sd821 but I used it sucessfully on my Axon 7 (sd820), you may as well try, worst thing that can happen is having to reflash your rom.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] boyd95:
I've flashed it and it seems to be working fine. I noticed it disabled perfd, is this intentional or a bug? If intentional what exactly is the reason for this? Because without perfd EAS can't function properly, in logcat it gives errors for vox populi powerhal.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Yes, it should work quite well. Only thing is that you should change your max frequencies after flashing.

Oh really? :silly: Didn't know about that tbh, as it was intentional that I disabled this...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] boyd95:
What should I change them to?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
The highest possible as they are higher than of the SD820 obviously.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
Vox populi hal is aosp/cm only or not? There is no such hal for sense ROMs. So it might be only necessary for aosp with eas roms
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] boyd95:
I don't know about stock roms, especially for htc. I have a los based eas rom. Or possibly it's only used on oneplus. There are 2 eas kernels for op3t which both have vox. Even exkm added options to configure it. So I just assumed it was used on other eas kernels as well, but maybe I assumed wrong. I have now enabled perfd manually.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
I'm sorry wrong thread... Gezzz

---------- Post added at 12:41 AM ---------- Previous post was at 12:39 AM ----------

Ex will show vox if it's built into the kernel/rom. If it isn't it wouldn't show up in exkm
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] boyd95:
Yes I know that, but who'd expect exkm to have a feature that only 2 kernels have, even if it is a popular device.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Rotten Ross:
The magisk battery zip, how do we flash/install it?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Deluxestar:
You can flash it over the magisk manager under the tab modules there is a plus at the center bottom click there select the zip it will flash it. You need to reboot the phone than and it will be automatically load at every boot of the phone.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Exactly, or through recovery :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] johnnyman25:
Does this mod drops performance? What about if i want to Uninstall it?

The power of the 10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
If you're using the Magisk version you can either disable it or remove it in Magisk manager... And if you use the script when you reboot you have to apply it everytime..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] johnnyman25:
I want to use the magisk version. I'm on viper rom. What about performance?

Thank you.

The power of the 10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
Well I use the battery version and I don't see performance loss.. You can use the balanced version that's probably what you wanna use.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] johnnyman25:
Thx again my friend. I will try it! :)

Edit:How i see if its working or not?Also i see in gogle drive there is version 7 and in xda version 6.Which one i download?

The power of the 10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
I'm using 7.0 from his Google drive.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
I haven't officially released the V7.0 version yet, because I'm waiting for the next upcoming Magisk update, which will bring the module template v5. But you can use V7.0 of course ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] johnnyman25:
I'm on latest viper rom with stock kernel and installed v6 battery version.

I don't see better battery life. Maybe it's worse..

Why?

The power of the 10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Well, I don't have a second sight :D I don't know, can't tell you without any facts: app usage, wakelocks or whatever. The scripts are well-tested and - tweaked, but of course the battery capacity decreases as well after some time. So there can be so many things... :confused:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fullydeveloped:
I see that this script can be run alongside ivicask's pnp&thermals tweak on a stock (ViperRom) kernel. Is there a practical reason for balanced users to use this script in tandem with ivicask's? I'm just curious if I'll notice a difference, and how that works. Thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Well, mainly, it doesn't do THAT much. It just tweaks the I/0 scheduler and some VM and entropy related things on stock (based) kernel. So these are some changes and tweaks under the hood. The differences may not be that big, but they are well-tested and ensure that the battery life will be a bit better. (The experiences may vary of course. For example, I don't notice that much differences any more, because the battery capacity slowly decreases on the one hand and on the other hand, I use the phone heavily these days. If you play many games throughout the day for example, you won't notice much improvement ;) )