yashsingh1/xdaforums huggingface dataset:
[HTC 10 Themes, Apps, and Mods] alderon666:
You could buy used HTC 10 :D

Maybe you just bought phone, so fresh battery + less demanding apps + experience with battery from HTC10 give you a bit better stats and no one believes it. I don't know.

Good luck

Regards.

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

Hello,

Mainly it's release for new Magisk 17+, but I did some small changes that might work better. As always you can use version you like the most or which work the best for you.

OP updated.​

Link for google drive:​

https://drive.google.com/open?id=1OdUERzuSjGDc_LtyUS8D7-S4QCSjp5kF​

ZIP FILE FOR MAGISK 15+:

Link for google drive:​

https://drive.google.com/open?id=1I3w2pILcFD5_no95S-gN4grrrUKQgOj5​

ZIP FILE FOR MAGISK 17+:

Link for google drive:​

https://drive.google.com/open?id=1M7vS8rtw-gw5QO6Isncp3uth11Eg6NKp​

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] eraycetin:
I installed the magisk module 17 but i think the updated profile is not the same with this screenshots or the magisk module contains other settings. Any information?
[HTC 10 Themes, Apps, and Mods] alderon666:
Of course it's not, because latest profile version for EX Kernel Manager and zip file for Magisk is 2.0.7. Those screenshots are from version 1.0, as it's written.

It's just to have a clue which settings are changing and where to look. I recommend to use version 2.0.7 for Magisk 17+.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Adzkii:
would elementalX kernel be fine? just got my htc, was about to install that kernel with this tweak
[HTC 10 Themes, Apps, and Mods] alderon666:
ElementalX kernel should be ok, but I have better results with CleanSlate.

You can try ElemntalX and report back your stats.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] eraycetin:
What is happening with my phone. It's not even 1 year old. BTW it was like this before the tweak no changes after the tweak. I don't understand whats happening.
[HTC 10 Themes, Apps, and Mods] alderon666:
Hard to say. Maybe just battery dying (bad luck with hardware?). Maybe something is draining it?

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
My stats on latest version 2.0.7 for magisk 17.1.

I think if not 1000 km of driving I would get 2 days on battery :)

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] eraycetin:
After clean install of rom everything is back to normal. something was draining my precious battery but god knows what was it. Thanks.
[HTC 10 Themes, Apps, and Mods] alderon666:
Good to hear that. Sometimes it's good to do fresh install. Also clean Cache and Dalvik Cache helped me to get better battery life.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] dsjiffry:
Say what is your opinion on ZRAM??

Do you think we need it on our device since it has 4GB of ram?? ?
[HTC 10 Themes, Apps, and Mods] hgoldner:
BINGO. Thanks. Solid Explorer's search function wasn't turning them up.
[HTC 10 Themes, Apps, and Mods] cyrusct82:
Yes you've made a mistake.

The files are in /system/vendor/etc/

I have the international unit.

---------- Post added at 08:49 PM ---------- Previous post was at 08:47 PM ----------

Solid file Explorer had the search function broken. I use it too. For search I use ES file explorer.
[HTC 10 Themes, Apps, and Mods] alderon666:
Thanks. Already fixed in OP.

I also add version 1.2 of the profile.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
Soon I will release version 1.3.

I'm still testing it and I need at least few hours on battery to say something, but it looks promising :) Might be much better than 1.0-1.2 with same performance.

Could anyone give some feedback how's this profile works for you?

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] mattie_49:
Using version 1.2 and experiencing good results. Deleted pnp.xml and believe your on the right path there as well. Had other 2 files already deleted. Still using Helix Engine though. Actually like it very much. Back on Lee droid as its much more stable for everyday use compared to the new viper rom. Got much better screen on time on viper though. But that doesn't matter if it's not stable. I've tried about everything and think Its all coming to a head. As far as leaving everything the way it is. I always Ruu and try starting over with something just a bit different. I need to leave well enough alone. My addictive personality just won't let me leave it be. Your definitely creating a kernel profile worthy of using on our 10's. Appreciate the work.
[HTC 10 Themes, Apps, and Mods] mattie_49:
The screenshot is Amplify in the wakelock section. Says job HTC powermanager. Do you think limiting those and keep them from waking so often would also result in better battery life. Because with pnp.xml /perf folder and powerhint.xml all deleted those are still showing up. Not like before but still there.
[HTC 10 Themes, Apps, and Mods] alderon666:
I don't care about any wakelocks as long as they are not causing masive battery drain. I have now less than 0.5% per hour.

If you have good standby battery time, I wouldn't be bothered with this wakelock.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
I'm happy it's working for someone else, not only me. I tried Helix Engine, but my phone wasn't smooth enough and I didn't notice much difference in battery life.

Actually, I was wondering, what would be better for battery life:

1. App can use every CPU frequency, but it's not needed to be max all the time, so you have all frequencies used, just bit by a bit (if you know what I mean)

2. CPU frequency limited with Helix Engine, so app can't use higher values, but because of that during use, CPU stays almost all the time at that limited frequency?

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] mattie_49:
What's the best way to tell battery standby time? What app
[HTC 10 Themes, Apps, and Mods] alderon666:
I don't trust any app. I think they are measuring time after you switch off screen, but if you switch it off right before battery will drop 1% it will not be so accurate.

For me best way is to check what is your percentage and what hour is when you lock your screen and go sleep. Then just calculate :)

With wakelocks and generally with phone there are so many strange bugs sometimes. Last night I had HTC Weather Wakelocks, so instead 1% maybe 2%in 6 hours, my phone dropped 3%.

Regards.

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

It's still to soon to tell for sure, but as I see after my battery dropped for 10% it should be best profile this far.

I'm sure though this profile could be even more optimized in the future, but I don't know, if I have enough patient and knowledge to make it perfect :)

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] mattie_49:
It actually works really nice. Wish I understood all the fine details of what everything controls. I feel as if you found your calling Alderon
[HTC 10 Themes, Apps, and Mods] alderon666:
I couldn't find description for all settings, but I feel like the most important are: above_hispeed_delay and target_loads. You can set how long CPU will stay at given frequency and on which load percent it should change to higher frequency.

As EX Kernel Manager shows, with profile version 1.3 on daily use phone rarely will use max frequency for little cluster (most of the time is between 307 MHz and 1036 MHz, sometimes a bit above) and big cluster will stay between 307MHz and 1401 MHz. I'm trying to get as lower as possible, but without making phone laggy and stuttering.

I also have not bad result for now with version 1.3.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] kend0g:
I'm about too change the battery in my phone my self.. And see what stock is like on a fresh battery without any tweaks at all.. I'm wondering what the idle and SOT will really be??

So instead of buying a brand new phone.. $20 for the battery, and $40 for the lcd plus digitizer(since my screen is cracked also)

I even went back too nougat and I can't get nothing like what you guys are getting.. Tried every tweak, adjustment, everything under the sun but change the battery.
[HTC 10 Themes, Apps, and Mods] cyrusct82:
+1
[HTC 10 Themes, Apps, and Mods] alderon666:
If you can't get good battery life even on nougat, is mean battery or hardware problem.

Good luck with replacing battery. It's not easy with HTC 10 :(

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
Anyone would like to test version 1.4 and tell me results compare to 1.3? Small changes, but focused on battery saving.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
Deleted.
[HTC 10 Themes, Apps, and Mods] cyrusct82:
Ok

But if the battery test is good?

With HTC battery test I have maximum 8% in an hour with screen on but not doing nothing.
[HTC 10 Themes, Apps, and Mods] Boeing747x:
Is this available on AOSiP:)
[HTC 10 Themes, Apps, and Mods] alderon666:
I don't think it will make much difference with or without ZRAM. I leave it as it is (it's used) and I'm not complaining. 90% programs I used are in RAM and multitasking works fine.

I'm not expert about ZRAM though. I didn't read much about it.

Regards.

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

i want to share my results and also thank [MENTION=6492969]alderon666[/MENTION] for his work.

First screenshot is from Viper rom + Elite kernel + stock pnpmgr

Second is from Viper + Elite + alderon666 profile version 2.05 Magisk

Third is from my previous testing LeeDroid + CleanSlate + Amplify + MyAndroidTools (guide from [MENTION=2338414]mattie_49[/MENTION])
[HTC 10 Themes, Apps, and Mods] alderon666:
Can't see 2 screenshots :(

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Grubmi:
Sorry, i had trouble with internet, i reupload images :good:
[HTC 10 Themes, Apps, and Mods] alderon666:
Sometimes forum is not working properly with attachments.

Try leedroid r149 + cleanslate 3.7.13 + magisk 17.1 with tweak ver. 2.0.7

I'm wonder how it would be compare to previous stats.

And don't forget to use Sysconfig Patcher module in Magisk + app settings --> battery and uncheck Activity in background whenever it's possible (that's my configuration).

Thanks for feedback.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Grubmi:
I am thinking about LOS, crDroid rom on base Nougat, do you use any of them?

I use "Enable Doze for GMS Magisk Module" from otonieru, because with Sysconfig i had google service in not optimized after some time. In app settings i have uncheck. Also turn off searching bluetooth, wifi and notify public networks. I use mainly LTE, which eat a lot of battery, so i think my battery isn't bad.
[HTC 10 Themes, Apps, and Mods] alderon666:
It's very good in may opinion, even without any "tricks". Maybe it depends on use. I always use LTE on auto (lazy to switch manually 2G, 3G etc., I did it on old phones, but now signal is better, so I don't care anymore).

I never used LOS or crDroid. I'm not going back to Nougat anyway. My phone is S-ON and I'm kind of happy with Oreo.

You think Enable Doze works better than Sysconfig Patcher? In description it's written, that Sysconfig should do what Enable Doze and something more. I'm not sure if I noticed any difference anyway between them or between with module or without module setup.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Grubmi:
I think mobile data, no network mode. Sorry, my bad english :) I don't know what's better, never I made test.
[HTC 10 Themes, Apps, and Mods] alderon666:
Same here, when I'm outside I use LTE mobile data, only in the house I have WiFi (sometimes in the hotel).

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] m.4_ts@yahoo.com:
Got me a new phone (midrange specs) and im gonna try your 2.0.7 as soon as i got it rooted.

This is the battery life (1st cycle) with stock everything.
[HTC 10 Themes, Apps, and Mods] alderon666:
What phone is this?

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] m.4_ts@yahoo.com:
Asus Zenfone max pro m1. Chipset is SnapDragon 636. :(
[HTC 10 Themes, Apps, and Mods] alderon666:
You have over 10 hours SOT man :) Why you need to tweak it more?

My tweak is for HTC 10. Maybe it will work with Snapdragon 820 in some other phone, but for sure it's not for 636.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] m.4_ts@yahoo.com:
If it wont work, then i'll just unintall it. If it does, then i have the benefit of using your tweak.

Some of the users of the same phone normally has 12hrs+ SOT of medium to heavy usage..

Anyways, i'll report back whatever the outcome.
[HTC 10 Themes, Apps, and Mods] alderon666:
SD 636 is different than 820. Different frequencies, not sure about other things.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] ali nz:
Asus zenfone max pro m1 has a 5000mAh battery:eek::eek: that's why he get more than 10h of SOT
[HTC 10 Themes, Apps, and Mods] alderon666:
Yea, awesome right? :) I wish I have 5000 mAh in my HTC 10, that would be fu..ing best phone ever!

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] ali nz:
Exactly! The only problem i have is s#!.. battery life
[HTC 10 Themes, Apps, and Mods] Ninja X:
After EXKM settings are applied, CPU hits 100% and 90°. I am running leedroid r149, but I don't know is if I installed it correctly. Do you need to have the stable version installed before? Cleanslate as well
[HTC 10 Themes, Apps, and Mods] alderon666:
That's not good.

My temperature is max 42-43°C on battery (so around 50°C on CPU). Idle CPU use is 10-30%, 15-20% average.

Maybe something went wrong with removing HTC power manager? It's every time like that? Did you try restart etc.? I'm using now Magisk version as it's changing a bit more than EXKM.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
Well, I wish to have a bit more, but I'm ok with around 5h SOT, it's still double than my old HTC m7 :)

As long as I can easily get through the day, it's fine, but I'm always jealous when I look at SOT of Xiaomi Redmi Note 4 (4000 mAh battery) of my parents :D They have 10h SOT, over 2 days on battery.

I think if HTC 10 has 1080p resolution instead of 2k, we would have much better SOT. I really don't understand who the hell needs more than Full HD on smartphone screen?! For me it's enough on 15" Laptop screen!

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] ali nz:
Exactly...best gaming laptops on market have FHD panel...but 4K is going to be new standard in smartphone screen panels:rolleyes:
[HTC 10 Themes, Apps, and Mods] Adzkii:
is deleting perf folder in /system/vendor/etc recommended?
[HTC 10 Themes, Apps, and Mods] alderon666:
For me works only if I delete it. So I would say it's recommended.

Regards

Alderon666
[HTC 10 Themes, Apps, and Mods] flis94:
I tested without delete 3 files only load gov on ex manager :D
[HTC 10 Themes, Apps, and Mods] alderon666:
I did that too, but it wasn't working properly. Frequency was all the time jumping to 960 Mhz. Some other settings didn't change neither.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] rajkatiyar07:
Accu battery is showing 2300 mah capacity of my battery now after 1.6 years. What do you think should I replace the battery? As of now getting sot around 2.5 hrs.
[HTC 10 Themes, Apps, and Mods] alderon666:
I would say it depends if you are OK with 2.5h SOT. If it's enough for you and you don't have to search for charger few times per day then wait till it get worse. If it's not enough and your phone is still in good shape, so probably it's worth to replace the battery. That's my opinion.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Massimohtc:
Hello Alderon yesterday I installed the tweak in version 2.07. I'm using leedroid in its latest version and elementalx as a kernel. I have already deleted the files from the Vendor folder as you described. For greater accuracy I installed magisk manager add "Sysconfig Patcher (sp). I wanted to know which settings to get the best results in the miscellaneous, cpu sections (whether to enable or disable touchboost, wq_power-saving, msm_thermal). Thank you for your support. Sorry for my english but i'm italian
[HTC 10 Themes, Apps, and Mods] rajkatiyar07:
Thanks mate. Also you mentioned that I have to disable the background battery usage for each app. Where I can find that setting?
[HTC 10 Themes, Apps, and Mods] alderon666:
If you flashed Magisk version you don't need to worry about anything. It should change all settings. In miscellaneous, cpu and more.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
You don't have to, I did that so I hope idle battery drain is less.

Just go to android applications list, get into google services, battery and you'll see "Activity in background". Uncheck it.

I did it for every app whenever it was available besides few, which didn't work properly (for example EX Kernel Manager didn't save settings).

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Massimohtc:
[MENTION=6492969]alderon666[/MENTION] I have done the battery test to check its status only that I am not an expert who means these values?

ac: 0 usb: 1 wireless: 0 current_max: 500000 voltage_max: 5000000

status: 5 health: 2 present: 1

level: 100 voltage: 4403 temp: 315

current now: -57830

charge counter: 3091393

current now: -56

Full charge: 3091000
[HTC 10 Themes, Apps, and Mods] alderon666:
Full charge: 3091000 seems like it's full capacity, but how much we can trust this test that I don't know :)

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Massimohtc:
Thanks, this is my first day with leedroid latest version+ ElementalX+ alderon2.07 profile+amplify+greenfy. The only problem is that at 15% the phone has turned off.
[HTC 10 Themes, Apps, and Mods] alderon666:
I never use amplify or greenify, I had a feeling they do not damage than benefits.

I have such behavior on my old HTC m7 sometimes. It happens most of the time when my phone is on charger as GPS and it's on and off the charger quite often. What I do is:

1. Charge my phone to 100% while it's off.

2. Don't unplug charger and switch on my phone.

3. Charge to 100% if it's not 100% and unplug charger.

4. Discharge phone till it's off and I can't switch it back on.

5. Repeat point 1 to 3.

After that it's discharging until 0-1%.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Adzkii:
battery is weak. i've had mine replaced, now phone doesn't turn off at 50%. straight turns off at 0% lol
[HTC 10 Themes, Apps, and Mods] trapcoder:
If your phone turns off by itself when the battery is low , say about 15-20%, then it's definitely time for you to get it changed. Had the same issue some time ago. Thought it was the rom, kernel, calibration, etc but ended up the battery has reached its time.
[HTC 10 Themes, Apps, and Mods] Massimohtc:
You're always very kind, I'll try this method this time.
[HTC 10 Themes, Apps, and Mods] aner96:
Hi, I have one stupid question, How do I know if the module is working fine? I mean I have the EX kernel manager app installed, but I don't know how to verify if the settings are being applied properly, when I first open the after waiting a few minutes for the Magisk to initiate I just see the cpu frecuencies jumping around (on the two on the top from 652 to 729, and when I first open the app it starts from 1190, and in the two on the bottom jumping between 307 and 403, when I first open the app it starts in 1708, after like 15 secs they stay on the settings on the image) I don't know if maybe I'm using the wrong app or something, thank you for the time sorry for the long post
[HTC 10 Themes, Apps, and Mods] alderon666:
There's no stupid questions :)

Right after restart phone, frequencies will jump around, but it should settle down at 307 Mhz, all 4 cores when iddle. There's a bug that sometimes frequencies don't want to jump down, so you need to try restart again.

If you want to check, if values are applied, go to CPU --> Governor Options and take a look at section above_hispeed_delay for Little Cluster. If there's only one value - 19000, it's mean you have default settings. In my profile should be something like this:

8000 729600:30000 960000:65000 1324800:81000 1401600:95000 1478400:185000

EDIT: I noticed you have 3.7.14 version of CleanSlate kernel. This bug happen more often on this kernel, but I had it also on 3.7.13. If you have like that more often, try to flash 3.7.13 and see if it's better for you.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] szymonurai:
I made this change. However, I did not delete the pnp files. I renamed them. I just put a big "DISABLE" on them. In case I still want them.

Running the latest profile everything is working much better. I was using AKT profiles but this one so for seems better. We keep you up to date.
[HTC 10 Themes, Apps, and Mods] bombername:
Hi,

I'm using elementalX 3.0.3.

Since I read your post about to proofing if it works I noticed that my settings showed me the default settings.

I un-American and reinstalled your magisk17+ version, deleted the settings in elementalX manager and will see what happens.

Has anybody got some info about that and the elementalX 3.0.3 kernel?

Thanks in advance.
[HTC 10 Themes, Apps, and Mods] bombername:
It did change again. Just so.
[HTC 10 Themes, Apps, and Mods] bombername:
Sorry for the double post...

It's the app version here.
[HTC 10 Themes, Apps, and Mods] alderon666:
This one is my tweak values.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
This one is with default values.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] bombername:
Yes, and the other one is that what it is after few hours/ days using your Settings. --> 1900xx

Exactly that what you explained in your last Post.
[HTC 10 Themes, Apps, and Mods] alderon666:
Yes, it's like that if you didn't delete htc pnpmgr (perf folder, powerhint.xml and pnp.xml).

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] dsjiffry:
Hey, I ran into this script made for the pixel 2 and when going through it I noticed some I/O optimizations and decided to try them out. :D

They seem to have made app launches and file loadings faster (although it could be placebo)

Anyway If anyone else is interested here's the link, you'll have to download the zip file and go through it manually as it contains some optimizations that are not compatible with our device. :eek:

https://xdaforums.com/pixel-2-xl/development/mod-pixel-2-xl-unified-kernels-tuning-t3844246
[HTC 10 Themes, Apps, and Mods] alderon666:
I copied what I saw in that script and it's also available in HTC 10. For now I can't see much difference, but I can share it if you like to try.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] finger11:
Post deleted...

Flashed HTC10BatteryTweaks_alderon666_v2.0.7_magisk17+.zip and it went into a boot loop once getting into the OS. Rebooted into recovery, then OS and reported 1% then turned off (battery was 50%). Charged the phone for awhile (battery light not lit) and held power+vol down and booted into OS OK.
[HTC 10 Themes, Apps, and Mods] alderon666:
That's not because of the script. I'm using it since I released it and I have no problem. No one else reported problem neither, besides script starts when system is loaded and magisk starts loading modules, not during phone start. There must be something wrong on your side, maybe battery is dying?

EDIT: By the way, you don't flash it in TWRP, but you load it in Magisk and it will "flash" through Magisk as module.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
STATS FROM VERSION 3.0​

This is my last stats form version 3.0. I am not using Sysconfig Patcher or GMS Doze modules from Magisk anymore. Just my profile, no other tweaks.

I think Held Awake time is really good for almost 1 day and 13 hours time on battery.

SOT - 5 hours with 15 minutes calls. Nothing heavy I guess, just YouTube and Opera Browser, Telegram, few pictures and videos recorded, but not long, news reading with Squid and some jumping around App Drawer and desktops :)

Regards.

Alderon666