yashsingh1/xdaforums huggingface dataset:
[HTC 10 Themes, Apps, and Mods] alderon666:
SCREENSHOTS WITH EX KERNEL MANAGER SETTINGS - profile ver 1.0​

These screenshots are only for you to see what values are changing in EX Kernel Manager. Values in screenshots are old, it's version 1.0 of the profile.​

​

Regards.​

Alderon666​
[HTC 10 Themes, Apps, and Mods] nitishkrp:
Thanks.

I'm going to try this method
[HTC 10 Themes, Apps, and Mods] rajkatiyar07:
how much SOT you are getting with this set up ?
[HTC 10 Themes, Apps, and Mods] alderon666:
Before was avarage 3.5-4.5 hours. Now it's 5.5-6 hours.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] nitishkrp:
Not able to delete pnp.xml and powerhint.xml

How u delete these files.

I'm using root browser apk
[HTC 10 Themes, Apps, and Mods] alderon666:
I used Total Commander (Grand root access of course). I think you can also delete in TWRP.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] rajkatiyar07:
nice. here I m still struggling to get 2 hours
[HTC 10 Themes, Apps, and Mods] alderon666:
Many people have that problem. Unfortunately they can't find good solution. In my opinion everything matter - hardware (anything starts from CPU, screen till battery), how you use phone, where you use phone, what programs you have installed...

For example. I have 5 hours SOT now quite easy, when I'm at my town. Longer SOT if I'm more on WiFi, a bit shorter SOT if I use LTE mobile data, but not that much difference. But if I'm traveling and phone need to search for transmitters, change from network to network, from edge, to HSDPA to LTE all the time, I had barely 4,5 hours. It was hard to get more than that.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] leodiavata:
I applied all the profiles and settings you have on this post shall I reboot ?
[HTC 10 Themes, Apps, and Mods] alderon666:
After you delete perf folder and xml files you have to reboot.

After apply alderon666 profile in EX Kernel Manager you don't need to reboot. Every profile works right away after you load it.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] mattie_49:
Don't forget to share in Op how you keep everything from running in the background. As if that's pretty important as well. Just profile alone will still result in Google play services going ape **** in the background.
[HTC 10 Themes, Apps, and Mods] alderon666:
I created this topic only to improve governor profile to get more SOT. Handling with google crap I leave to people, what ever it works for them, but thanks for idea, I will share what I did.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] hgoldner:
[MENTION=6492969]alderon666[/MENTION] I have a Verizon HTC 10 running stock (with Magisk) and ElementalX and I just don't see those folders/files you suggest removing before running your profile. Any thoughts?
[HTC 10 Themes, Apps, and Mods] alderon666:
You can apply profile without removing those files, but values will back to default when HTC PnPmgr will kick in.

You can remove it in TWRP (custom recovery) or any file explorer with root access. I use Total Commander.

I have this path: main system catalog/system/vendor

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] hgoldner:
So on the Verizon 10, power manager is in \system\priv-app. I haven't found the *.txt files yet. It is possible, using Magisk, to disable the apk by loading an empty directory, but otherwise, writing directly to system to delete the file will prevent further updates....not that any are anticipated at this point.
[HTC 10 Themes, Apps, and Mods] alderon666:
No txt files and no apk. It's not an app. Read carefully, what to do to remove power manager. It's perf folder and 2 xml files: powerhint.xml and pnp.xml.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] hgoldner:
Gotcha. Not finding these files/directories in those locations. Will keep poking around.
[HTC 10 Themes, Apps, and Mods] cyrusct82:
You will find them in /system/vendor/etc/
[HTC 10 Themes, Apps, and Mods] alderon666:
Did I make mistake in tutorial? I was writing some time after I did it on my phone.

Or it's related to version of HTC? (Verizon has different location?)

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] nitishkrp:
1.10.1 is working for me and it gave almost 5hrs SOT(around 3hrs YouTube playback).

A big Thank you for this tweak
[HTC 10 Themes, Apps, and Mods] alderon666:
Nice!

Thanks for feedback.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] romixer:
no, I'm misspelling ;) . I wanted to say "make for EAS type kernel"
[HTC 10 Themes, Apps, and Mods] alderon666:
Correct me if I'm wrong, but I think EAS kernels are different and profiles will not work. They already have some power management. For profiles like this you need kernels with Interactive governor.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
Extreme Battery Saving Profile

Question.

Anyone would like to have such profile? I mean totally into battery saving (with lag, stuttering etc.)?

My intention was to make profiles which save battery, but still have fast and smooth phone (without noticeable lag or slow downs). But maybe someone don't care and wants to have something extreme?

I could try prepare it and upload here for testing. Like unofficial release (at least in theory it should be much more battery friendly).

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Mr Hofs:
Hi,

I've been trying the last 4 profiles unfortunately without success. I'm now on stock leedroid (as in no mods to the rom), cleanslate kernel and turned down CPU frequencies with ex kernel application. Same results over and over. But thank you for your efforts to even try and extend the battery life on the HTC 10 and of course that you accomplished that on your device.

A total battery saving profile would be obsolete in my opinion, i myself don't see the use of a lagging/stuttering phone when i can use it without the annoyance of those lags. I rather charge it twice a day than have the stutters, but again that is my personal opinion.

My device can hold a charge from 6 in the morning til 2300 in the evening full functional so therefore i am not complaining for a battery from April 2016.

Thanks and maybe i will give it another go after the holidays

Cheers

Mr Hofs
[HTC 10 Themes, Apps, and Mods] Mr Hofs:
BTW this is my last charge cycle
[HTC 10 Themes, Apps, and Mods] zr_hazem:
I'd be interested in how that profile would hold up with my usage, I'd definitely try it if you'd upload it :)
[HTC 10 Themes, Apps, and Mods] alderon666:
With my usage I get better results than with stock settings, so I like governor profile idea. On android 7 and new battery I had 6 hours SOT only once. Now I have average SOT 5.5 hours, so it's definitely works for me. I'm not sure why it doesn't work for you, probably there's few reasons combined. But what's to point to change default if it's working good right?

I think the same about lagging/stuttering phone. I don't want that just to have more SOT, but someone asked about battery profile, so maybe there are people who need some extreme option, even like temporary switch to it, when you need it. It's fun to try it out and all I need is feedback, so I will know if what I did is working as I expected.

My phone holds minimum 20-22 hours, but most of the time is 1 day and 3-8 hours, sometimes more, but rarely, because I kind of play with it all the time :D My phone is more than 2 years old now same as battery, so I guess I can't complain neither.

Have a nice holidays!

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
There you go.

Have fun :)

And let me know results of course.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Samiez:
Thanks for the governor... Tho I didn't delete the perf folder I'm getting about 5hrs of screen on time... Using your latest version...p.s was getting about 3.5hrs before this
[HTC 10 Themes, Apps, and Mods] alderon666:
NEW VERSION UPLOADED - 2.0​

Hello there!

I'm not sure if anyone still using this, but for me governor profile is still best option to get more SOT and still responsive phone. I was planning to test this setting a bit more, but I'm changing it all the time, so I guess I can upload it as it is.

Phone should run more smooth and faster and SOT should be better than stock. I'm not sure, how much I will get, but I hope for 5-6 hours as before, which I guess is kind of max you can get without loosing your phone speed.

If anyone try it, please let me know how it works on your phone compare to previous version.

OP updated.​

Link for google drive:​

https://drive.google.com/open?id=1I0v8JfhUXkXLRJzYhAugxQ98bez7rm3g​

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] nitishkrp:
Almost 5hrs of SOT

Thank You.
[HTC 10 Themes, Apps, and Mods] alderon666:
Thanks for feedback.

Compare to how much on stock?

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] nitishkrp:
3.5-4hrs
[HTC 10 Themes, Apps, and Mods] alderon666:
NEW VERSION UPLOADED - 2.0.1​

Quick upgrade, because I will not be able to upload anything for 1 week.

Should be a bit more battery friendly without loosing speed. At least I don't see much difference.

OP updated.​

Link for google drive:​

https://drive.google.com/open?id=1dhW0-grL7UqlXD8SBqvtucQZgFEpWmkC​

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Ben1483:
Unbelievable! My HTC 10 gets barely 2-2.5 hours! Do you think if I flashing a custom rom like Leedroid my HTC 10 gets any battery improvement?
[HTC 10 Themes, Apps, and Mods] alderon666:
I'm not sure. First thing is good battery. Custom ROM or tweaks should give you some improvement, but there's no miracles.

With this profile and leedroid rom and cleanslate kernel I have easy 1 day on battery and 4.5h SOT (and that's when I'm travelling, when network is low and all the time searching for signal, on britht sun, etc.). It's for sure better than stock. My battery is 2 years old.

Oh and one more thing. Everyone has slightly different phone configuration, different type of using, so different results and different tweak might work (another governor profile, helix engine).

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] romixer:
2.0.1 eat more battery than 2.0 ?
[HTC 10 Themes, Apps, and Mods] alderon666:
Thanks. It was quick release. Sometimes what I think should be battery friendly works completely opposite.

I'm now using 2.0.2, I'll release when I back and we will see your results. I'm very interesting in feedback, because it helps to do profile works for more people, not just for me.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
NEW VERSION UPLOADED - 2.0.2​

Hello,

I'm back! So tired of driving 10 hours yesterday...

This is new profile I was using for 1 week. I didn't get anything extraordinary like 7 hours SOT, but:

phone was all the time on bright sun (full screen brightness)

temperature outside 30-40 degrees

network signal up and down since I was travelling

taking pictures and recording videos

and I had stable 4-4.5 hours SOT. Phone is very smooth and responsive.

I added lowmemorykiller tweaks to this profile.

I also made flashable zip file using [MENTION=7003898]RogerF81[/MENTION] HelixEngineAdd-on_v2.zip as a template. It can be installed same as his Add-on in Magisk. I didn't test it yet, so if anyone would like to test for me, let me know and I will share it.

OP updated.​

Link for google drive:​

https://drive.google.com/open?id=1RE8rtBOi0HZH315pY_v_HQkWCcl9f0xk​

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
Deleted...
[HTC 10 Themes, Apps, and Mods] m.4_ts@yahoo.com:
Why not, sir? It would be awesome if we could test it too.

There was also tweak done by [MENTION=1792279]ivicask[/MENTION] before which will run the screen/UI at 60fps all the time, but i don't know if it is still significant. But I missed that mod.
[HTC 10 Themes, Apps, and Mods] alderon666:
Magisk flashable zip file, add-on to Helix Engine or standalone tweak

Ok. But remember it's not tested by me. I didn't mess up much, so if I didn't make any stupid mistake it should flash in Magisk and work.

This will work as standalone add-on and with Helix Engine, but I add this:

#/proc/sys/kernel/

echo 3 > /proc/sys/kernel/sched_window_stats_policy

echo 110 > /proc/sys/kernel/sched_wakeup_load_threshold

echo 12 > /proc/sys/kernel/sched_upmigrate_min_nice

echo 84 > /proc/sys/kernel/sched_upmigrate

echo 7 > /proc/sys/kernel/sched_spill_nr_run

echo 99 > /proc/sys/kernel/sched_spill_load

echo 950000 > /proc/sys/kernel/sched_rt_runtime_us

echo 1000000 > /proc/sys/kernel/sched_rt_period_us

echo 3 > /proc/sys/kernel/sched_rr_timeslice_ms

echo 1 > /proc/sys/kernel/sched_restrict_cluster_spill

echo 5 > /proc/sys/kernel/sched_ravg_hist_size

echo 10 > /proc/sys/kernel/sched_init_task_load

echo 1 > /proc/sys/kernel/sched_enable_thread_grouping

echo 1 > /proc/sys/kernel/sched_enable_colocation

echo 64 > /proc/sys/kernel/sched_downmigrate

echo 30 > /proc/sys/kernel/sched_big_waker_task_load

So I guess Helix Engine will overwrite those values. Same as EX Kernel Manager, you have to disable APPLY ON BOOT options.

EDIT: I made mistake, BIG cluster was CPU0 and should be CPU2, now it's correct. Seems like it's working, but not 100% values will change. I don't know why.

I tried to load it again and it didn't work again... I think I will stay with EX Kernel Manager :/

Good luck and let me know results.
[HTC 10 Themes, Apps, and Mods] romixer:
Havoc os (test build from kollyan)+clean state. Script 2.0
[HTC 10 Themes, Apps, and Mods] alderon666:
Havoc OS? Interesting :)

Anyway, how are those stats compare to your old setups and profile?

Thanks for feedback.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
I just tried on my phone and EX Kernel Manager shows default values :( Seems like it's not working...

EDIT: I also tried [MENTION=7003898]RogerF81[/MENTION] add-on and in EX Kernel Manager I see only default values. Maybe it's not working neither.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] romixer:
I think it's more fluid (in terms of performance) and battery friendly than older versions. Keep in mind that havoc os for htc is development state :) so this is quite nice results for unstable ROM
[HTC 10 Themes, Apps, and Mods] alderon666:
Nice to hear that. Try 2.0.2, should be at least the same or a bit better in terms of battery.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] RogerF81:
My module works for me.
[HTC 10 Themes, Apps, and Mods] alderon666:
But I should see your values in EX Kernel manager after restart right?

Touchboost is off, but governor tweaks are default, boost - default, etc.

You think it would work if EX Kernel manager is uninstalled? But how to check if values are applied then?

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] RogerF81:
Normally, after 1-2 minutes after reboot, yes.

EXKM should display the values correctly then. You should check espacially the target_loads to verify if it's working or not.
[HTC 10 Themes, Apps, and Mods] alderon666:
1-2 minutes you say... Hmm... I think it passed 1 - 2 minutes and I still had default values in EX Kernel manager :(

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] RogerF81:
Hm, really strange!
[HTC 10 Themes, Apps, and Mods] alderon666:
Actually I made mistake, but not all values are apply anyway. Target loads and others from governor worked after first reboot, then it stopped working o.0 Then I removed add-on and flash it again, reboot and it worked again :/ Boost Frequency instead of my values it's 0:0 1:0 2:0 3:0, but boost_ms will change to my value.

Weird behavior :/ I guess I have to stay with EX Kernel Manager for now.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
Latest ZIPis uploaded.

https://xdaforums.com/showpost.php?p=77303781&postcount=204

If works, most of values are loaded (I don't know, why not all. EX Kernel also will not change 100% values, but still works better for me, than ZIP file in Magisk).

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] RogerF81:
Perhaps some paths are wrong, but I don't know and can't check, but this would be the only thing which comes to my mind.
[HTC 10 Themes, Apps, and Mods] alderon666:
#CPU BOOST

chmod 666 /sys/module/cpu_boost/parameters/*

echo 50 > /sys/module/cpu_boost/parameters/input_boost_ms

echo 0:960000 1:960000 2:1248000 3:1248000 /sys/module/cpu_boost/parameters/input_boost_freq

chmod 444 /sys/module/cpu_boost/parameters/*

boost_ms - OK, input_boost_freq - not loaded

#/sys/module/msm_performance/parameters/

chmod 666 /sys/module/msm_performance/parameters/*

echo 0 > /sys/module/msm_performance/parameters/ touchboost

echo 1 > /sys/module/msm_performance/parameters/wq_power_saving

echo 1 > /sys/module/msm_performance/parameters/msm_thermal

echo 1 > /sys/module/msm_performance/parameters/core_control

echo 0 > /sys/module/msm_performance/parameters/vdd_restriction

chmod 444 /sys/module/msm_performance/parameters/*

Only touchboost works. msm_thermal and wq_power_saving - don't change. But it also don't change after loading profile in EX Kernel Manager.

#/proc/sys/kernel/

chmod 666 /proc/sys/kernel/*

echo 3 > /proc/sys/kernel/sched_window_stats_policy

echo 110 > /proc/sys/kernel/sched_wakeup_load_threshold

echo 12 > /proc/sys/kernel/sched_upmigrate_min_nice

echo 84 > /proc/sys/kernel/sched_upmigrate

echo 7 > /proc/sys/kernel/sched_spill_nr_run

echo 99 > /proc/sys/kernel/sched_spill_load

echo 950000 > /proc/sys/kernel/sched_rt_runtime_us

echo 1000000 > /proc/sys/kernel/sched_rt_period_us

echo 3 > /proc/sys/kernel/sched_rr_timeslice_ms

echo 1 > /proc/sys/kernel/sched_restrict_cluster_spill

echo 5 > /proc/sys/kernel/sched_ravg_hist_size

echo 10 > /proc/sys/kernel/sched_init_task_load

echo 1 > /proc/sys/kernel/sched_enable_thread_grouping

echo 1 > /proc/sys/kernel/sched_enable_colocation

echo 64 > /proc/sys/kernel/sched_downmigrate

echo 30 > /proc/sys/kernel/sched_big_waker_task_load

chmod 444 /proc/sys/kernel/*

sched_upmigrate and sched_downmigrate stays at default 45

#I/0

chmod 666 /sys/block/sda/queue/*

echo "cfq" > /sys/block/sda/queue/scheduler

echo 1024 > /sys/block/sda/queue/read_ahead_kb

echo 128 > /sys/block/sda/queue/nr_requests

echo 0 > /sys/block/sda/queue/add_random

echo 0 > /sys/block/sda/queue/iostats

echo 1 > /sys/block/sda/queue/nomerges

echo 0 > /sys/block/sda/queue/rotational

echo 1 > /sys/block/sda/queue/rq_affinity

chmod 444 /sys/block/sda/queue/*

I don't know about others, but read_ahead_kb didn't change. I don't know about scheduler, because cfq seems default.

That's all I remember.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] RogerF81:
So if you're free, please check in a root file explorer if the paths are correct. If yes, then it would be even more strange.
[HTC 10 Themes, Apps, and Mods] alderon666:
I didn't find I/O, there is sys/block, but no sda. Inside is like this:

dm-0 -> ../devices/virtual/block/dm-0

loop0 -> ../devices/virtual/block/loop0

etc.

Stranger is with /proc/sys/kernel/. I can see all files, but I can't open them and only sched_upmigrate and sched_downmigrate was not apply o.0

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] RogerF81:
Yeah, the sda block doesn't exist on the HTC 10....But I can't provide any help on the HTC 10 unfortunately, as I can't check anything myself.
[HTC 10 Themes, Apps, and Mods] alderon666:
I took a look at Soilwork script for paths and then I looked for them on my phone. Seems like they are the same for Oreo, so I will try to change it in "my" script and release later if you don't mind :)

EDIT: Seems like everything is working now. Just give me green light [MENTION=7003898]RogerF81[/MENTION] and I can share Magisk Add-on based on my and your settings just for HTC 10.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] RogerF81:
Yes, do it!
[HTC 10 Themes, Apps, and Mods] alderon666:
NEW VERSION UPLOADED - 2.0.3​

Hello,

This version has small fixes to 2.0.2. For example low_memory_killer fix (I shouldn't enable adaptive low memory killer).

I also made Magisk flashable ZIP file (thanks for letting me use your script as template [MENTION=7003898]RogerF81[/MENTION]), which include all my profile settings, some settings from Roger's add-on to Helix Engine and Soilwork. Seems like every value is apply, beside GPU initial frequency, which I set to 133MHz, but it's showing 214 MHz in EX Kernel Manager, don't ask me why, because I have no idea...

So I recommend to try ZIP in Magisk.

OP updated.​

Link for google drive:​

https://drive.google.com/open?id=1nbx1otFr3S6FRZh0JZgrFeD0bVeAPnGp​

ZIP FILE FOR MAGISK:

Link for google drive:​

https://drive.google.com/open?id=1yO31RWn2DXZ6tMxoqxRIvcKDN8Fwlu5V​

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Cro Cop:
So the magisk version has more tweaks. Should I unload my Alderon666_v2.0 profile from EX kernel manager and load HTC 10-stock profile or is that unnecessary ?

Also, do you still use CleanSlate kernel on your phone? I'm on latest LeeDroid + latest cleanslate and it seems the kernel is using battery the most judging by GSAM battery app. I did turn off "Extra notification detection" in cleanslate Companion app and BLN+Flashlight notifications in Cleanslate config app...I'm currently on 3.7h SOT from 80% battery to 20% (I always charge my phone like this, it helps the battery lifespan)
[HTC 10 Themes, Apps, and Mods] alderon666:
YES, Magisk version has more tweaks.

It's enough just umark "Apply on boot" options in EX Kernel Manager. When you do that, after restart all values will back to default and then replaced with values from Magisk version, when Magisk kicks in.

YES. I'm using CleanSlate, but today I dirty flashed older version of it - 3.7.13. Seems like many people had problems with latest one, some strange CPU overuse, phone works more hot etc. I think 3.7.13 is the best for now.

Last thing about charging from 20% to 80%. Do what you think it's good for you, but I don't buy this idea. Why the hell if I have for example 4000 mAh battery, I would use only 2400 mAh? o.0 Like seriously, 60% from it's capacity. Every device, every accumulator I had, I always charge from 0% to 100% and discharge from 100% to 0% (if it's possible of course) and I never had any problems, in fact on the contrary - battery holds longer. I see it like this: every battery has it's guarantee amount of charges, if you charge only from 20 to 80, you have to charge it more often, so you will exceed that amount faster, which leads to shorter battery life. But it's just my opinion and experience. I'm not scientist, so I might be wrong and the technology for new batteries is really different, so they will last longer if you charge them bit by a bit instead of 0 to 100.

In addition: My old HTC M7 I bought was used phone, so I have no idea, how it was treated before me. I used it and still use it as GPS in the car, so it's really bad treated - all the time on charger, overheated (50-60 degrees temperature on battery sometimes), etc. When I charge it and leave it, battery holds sometimes 5-6 days. I think it still have around 2h SOT, which is similar to the time I had when I bought it. I think it's over 4 years old phone already.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] romixer:
Yeah, I'm on 3.7.13 now and I can say that version better. After flashing I immediately notice that my phone cooler than before ? sadly I haven't take a screenshot of battery stats but it's around 5 hours. On .14 usually I get 4 4.20 sot
[HTC 10 Themes, Apps, and Mods] alderon666:
Good news. What are you using now? Profile or Magisk version?

I will polish profile and Magisk ZIP a bit and release 2.0.4 version. I'm testing now msm_thermal OFF. Seems like there's no problems, so I will leave it off on 2.0.4 probably.

I think Magisk version is better. Not sure how much those extra tweaks gives to battery,but my phone works really fast now. Almost same speed as on stock settings, apps starting 0.5-1s slower (if it is slower), but over 5 hours SOT instead of maybe 4.

EDIT: Today stats.

Regards.

Alderon666