yashsingh1/xdaforums huggingface dataset:
[HTC 10 Themes, Apps, and Mods] finger11:
Yea, my phone is a POS and uBreakiFix made it even worse and lied when I tried to put a claim in, regardless just wanted to post what happened. Everything is good now. I did load in Magisk and I rebooted immediately. Appreciate your work on this as I've been using your module for a couple months.
[HTC 10 Themes, Apps, and Mods] alderon666:
NEW VERSION UPLOADED - 3.0​

Hi all,

Do you still use this profile? Do you still use HTC 10? :)

This release gets small adjustments (a bit more into smooth and responsive phone and some changes in low memory killer) + extra tweaks from Pixel 2 (XL) Unified Kernel(s) Tuning Script made by [MENTION=8852292]xFirefly93[/MENTION]

I personally can't say if there's any significant change after those extra tweaks, but surely it's not worse than before, so I left them be. As always any feedback is appreciated and you can use older version if you feel it works better for you or gives you more battery life.

Also I resign from EX Kernel Manager version. Magisk module works good and load more settings than EX Kernel version.

I don't use any other module or tweaks now (no sysconfig patcher or GSM DOZE etc.). I have good idle drain and same amount of wake ups, so I think there's no need for anything.

OP updated.​

ZIP FILE FOR MAGISK 17+:

Link for google drive:​

https://drive.google.com/open?id=19A2hOsAjLotfTenc9IQMD81DErpSzHt-​

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] xFirefly93:
Thanks for sharing my work, and even more thanks for the (widely increased) recognition this gives me as a maintainer and creator of this kind of modifications & work from a general point of view. I really appreciate it more than words can explain! And a big thank is spared & shared to [MENTION=6492969]alderon666[/MENTION] for adding part(s) of my work to his own.

I'm taking that as a true honor.

Btw, just for clearing out the whole "placebo" subject that some people may be worried about ..

None of my work, or everything that I have made so far, is made & "built up" by placebo classified optimizations and enhancements. I am carefully cherry picking and deeply testing my own stuff at a highly private level, all the way down to the bone and back, before sharing it to the big masses.

So I know for sure that it all is creating noteable improvements on both battery life, system responsivness, critically needed performance AND the most important of all - the user experience in every possible (and impossible) aspect.

If you guys and girls around here got any questions, then ask and I'll be more than happy to assist [MENTION=6492969]alderon666[/MENTION] whenever it's possible, and needed.

:)
[HTC 10 Themes, Apps, and Mods] Nidai Sennin:
Thanks for continuing to support the 10! Been using your module,and i'm gonna update it for sure!
[HTC 10 Themes, Apps, and Mods] Neeosx:
When I flash using magisk, in EX still shows older profile as loaded one.

how can I check what profile is actually activated (older one was 1.10.1, tried flashing 3.0)
[HTC 10 Themes, Apps, and Mods] alderon666:
In EX Kernel Manager, go to CPU section and see if you have these values:

above_hispeed_delay:

8000 729600:25000 960000:60000 1324800:75000 1401600:85000 1478400:180000

max_freq_hysteresis:

0

boostpulse_duration:

30000

If yes, you have latest module loaded.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Neeosx:
Hm, it seems that it's not updating. I still have the old values? Does apply on boot have to be unchecked? (in cpu settings)
[HTC 10 Themes, Apps, and Mods] alderon666:
Of course. EX Kernel is not needed anymore. I still have it for monitoring purpose or small adjustments if needed, but you have to UNCHECK APPLY ON BOOT everyhere.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] 2LoT:
[MENTION=6492969]alderon666[/MENTION] You are a wizard! I think it's working. Just leave the HTC10 idle, screen off, for 8 hours. Battery decreases from 86% to 77% (OS = Oreo, Leedroid R151). Yesterday, after I replaced a brand new battery. The same test caused 60% battery decrease. This HTC10 drains so much battery that I didn't use it anymore. Replaced the battery (quite expensively) as some member advised that my battery pb was mostly hardware related to discover that the new battery barely improve anything noticeable. Only after I applied your fix that I clearly see an battery improvement. Thanks
[HTC 10 Themes, Apps, and Mods] cywingnut:
Your profile literally made my phone from being a constant draining mess to actually being a usable without sacrificing the speed. So if you're wondering your profile is doing any good its doing much more than that and on top of that it's really simple to use.

Haven't tried 3.0 yet but on 2.0.7 right now with consistent 3+ hours SOT.
[HTC 10 Themes, Apps, and Mods] Massimohtc:
Why is different?
[HTC 10 Themes, Apps, and Mods] alderon666:
Can't see screenshot.

Regards

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
I'm glad I could help.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Massimohtc:
I have risolt thanks
[HTC 10 Themes, Apps, and Mods] alderon666:
It's always about personal preferences, but 3.0 shouldn't be worse than 2.0.7, but more responsive phone and more tweaks inside.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] trantiendat3004:
replace battery htc 10 in my country 15$ . affter raplace i have 4h30 on screen chrome messenger youtube+ 4g
[HTC 10 Themes, Apps, and Mods] 2LoT:
In Toronto Canada, I paid $65 USD labor, plus battery which I bought on ebay for $15. Official HTC repair center asks for $120 USD.

Where are you? Give a few more months and I guess most of HTC10 owner will give you their phone for free. In my opinion, this phone is a disaster not worth to maintain.
[HTC 10 Themes, Apps, and Mods] trantiendat3004:
,I upgraded htc u11 better than >>>>>>>>>>> htc 10 , as you say " this phone is a disaster " :laugh:
[HTC 10 Themes, Apps, and Mods] 2LoT:
I'm surprised you still stick around with HTC. I should have said HTC is a disaster (not only the HTC10). It's quite a miracle they could sell any thing.

For the same price, used or new, there are better alternatives with other brands.
[HTC 10 Themes, Apps, and Mods] trantiendat3004:
I am a fan of htc ,Htc hardware is the best : D Their software htc is so bad android 8.0 htc 10 u ultra, u11, u12+ . I can not find any company that I feel is good enough to replace the htc :(
[HTC 10 Themes, Apps, and Mods] DaveedDB:
Same ,upgraded to the 11 recently and it's a really good phone ,Android pie soon on 11 and 12 unfortunately the 10 is done and its last update was bad ,it's because HTC hasn't been doing so good and had to layoff alot of their workers ,sad days but I still prefer them over the others
[HTC 10 Themes, Apps, and Mods] alderon666:
I don't like they removed headphone jack :/

For me 10 is very good phone, Android 8 could be better, but it's not totally bad. Bad is they don't do updates and no plans for Android 9, maybe it would be better optimized and less buggy than Oreo.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] trantiendat3004:
android 8.0 on htc 10, u ultra, u11, u11+ battery so bad , my phone very hot :cyclops: , i come back 7.0 problem is solved :laugh:
[HTC 10 Themes, Apps, and Mods] alderon666:
I didn't have such problem, maybe that's why I didn't complain as much as others :)

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] trantiendat3004:
When playing the game the difference will be very clear :D
[HTC 10 Themes, Apps, and Mods] alderon666:
I do play games :)

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Supreme_One:
Can I use this with Lineage OS 16?
[HTC 10 Themes, Apps, and Mods] alderon666:
If there's interactive governor - yes. But I think Lineage is using EAS.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Supreme_One:
My battery went during my sleep in the night from 38% to 6% in the morning
[HTC 10 Themes, Apps, and Mods] trapcoder:
That's strange. You may have some rogue app sucking up juice in the background. Download betterbattery stats.
[HTC 10 Themes, Apps, and Mods] Supreme_One:
I'm using version 3.0 and before with this profile and latest leedroid r151 never had this issue I'm using cleanslate 3.7.14 btw I see that it's recommend to use 3.7.13

---------- Post added at 08:16 AM ---------- Previous post was at 08:15 AM ----------

App store keeps crashing lately also is it because of this profile or because of leedroid? Someone else having the same problem?
[HTC 10 Themes, Apps, and Mods] alderon666:
Of course I'm going to say that, but it's not profile :) I was using 3.0 for 3-5 full cycles 100-0% and I had no drain issues. No crashing neither. I back to Leedroid r149 though (for me it's more stable than 151, same as CleanSlate 3.7.13). Try clear cache and dalvik cache, maybe dirty flash ROM again? I always restore last working backup when I have problems.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] trapcoder:
Governor tweaks shouldn't effect your playstore mate. Im using it on venom rom, no issues what so ever. I switch between this and a custom ghost pepper profile every now and then. No drains overnight.
[HTC 10 Themes, Apps, and Mods] alderon666:
Try 3.1 and let me know, how it works for you compare to 2.0.7.

Thanks.

Regards.

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

Hi all,

Added Google Services drain fix thanks to [MENTION=5033594]korom42[/MENTION].

OP updated.​

ZIP FILE FOR MAGISK 17+:

Link for google drive:​

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

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] OronDF343:
With Magisk does this have to be done on every boot? Sorry if this is a stupid question but I have been unable to find an explanation of how Magisk handles modifications to /system (or /system/vendor) other than those from modules.

Also couldn't your module be updated to do this automatically?
[HTC 10 Themes, Apps, and Mods] alderon666:
You just have to delete those files and folder once. Magisk modules are loaded every boot as I know, so if you remove module, you back to default. But with HTC pnpmgr you have to delete files, so if you will not make backup, you can't back to default.

So I can't make it in the script.

EDIT: Well, theoretically I could make it in the script, but script would have to copy files somewhere else, delete originals, then you would have to have another script that is restoring deleted files, because removing module from Magisk will not restore those files. I hope it make sense :)

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] macschwag14:
Thanks for making this and continuing to support it! After doing a fresh ROM install and starting fresh on my apps rather than restoring the TWRP backups, I've managed to get 4+ hours of SoT for about a week -- the most ever I've had on this phone.

Lately my SoT has come back to around 2.5 hours before the battery dies, which is what I had before the fresh install. Any ideas what this would be about?
[HTC 10 Themes, Apps, and Mods] zulusik:
Wouldn't this work?

https://github.com/topjohnwu/Magisk/blob/master/docs/guides.md#remove-folders
[HTC 10 Themes, Apps, and Mods] Anjin01:
I renamed the folders/files by prepending an underscore.

pnpmgr.xml apperared to be a binary, and cpu stayed at 100% after renaming it, so I left it as is.
[HTC 10 Themes, Apps, and Mods] alderon666:
I think some people reported that if you just rename instead of deleting there might be some problems.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
Thanks. I will take a look, but I'm not sure if it's good idea to put it into script.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
I have only 3 ideas:

1. Battery is dying - :(

2. Something is draining battery or there is a glitch once for a while that frequency of CPU stays higher and never go down to 307 MHz - find what is draining battery, do restart, clean cache and dalvik cache etc.

3. It's good to do battery "reset" - what I do is:

- discharge phone to 0% (I'm trying to switch it on few times with power button until I can't do it anymore)

- charge my phone to 100% while it's off

- switch on phone with charger plugged in and see if there's 100% or less battery after it's on (if it's less, wait till 100%)

- unplug charger then best would be discharge to 0% again I guess

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] zulusik:
I think that's the idea behind Magisk - to do changes to system without actually modifying it. Plus, this will bring all the steps into single place - no more need to manually delete files. But it's just an idea, suggestion - it's up to you to accept it or not :)
[HTC 10 Themes, Apps, and Mods] alderon666:
"How to remove a file systemless-ly? To actually make the file disappear is complicated (possible, not worth the effort). Replacing it with a dummy file should be good enough! Create an empty file with the same name and place it in the same path within a module, it shall replace your target file with a dummy file."

Well, that might cause problems, empty files will stay, system will try to read them and that might cause some unexpected CPU load.

I really think deleting 2 files and folder is not that big deal :)

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
STATS from version 3.1

Anyone tried 3.1 already? I think that google tweak is working. I had not bad results. 1 day 21 hours on battery and only 1.5h phone was held awake.

Nothing fancy, just browsing, YouTube, phone calls etc. No gaming, no GPS this time.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] alderon666:
TELEGRAM LINK​

Hi all,

If anyone have questions or need help with HTC 10 you can try to ask directly on Telegram Group.

HTC10 Help Group​

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Cro Cop:
Thanks for still updating this Alderon, if it wasn't for you, our HTC 10s would be EOL so long ago :D

Now let me ask you:

1. Do you still use Leedroid 5.2.1 r149 and CleanSlate v3.7.13 ?

2. I flashed the latest 3.1 version, but I see that Google play services are not being optimized. Would it be okay to flash and use SysConfig module with your latest 3.1 module ? That module always helped my idle battery drain...

3. Touchboost (disabled) and wq_power_saving (enabled), is that okay? Also, what Readahead kb value do you use for your I/O scheduler ?

4. In EXKM, what value do you use for GPU boost and GPU initial frequency ? I have it @ disabled and 214 MHz.
[HTC 10 Themes, Apps, and Mods] alderon666:
I still use HTC 10 that's why I'm still adjusting my tweaks and adding them into script if there's anything new to add.

Ad.1 Yes, somehow it's the most stable for me.

Ad.2 Actually it's good, if you try and tell me :) If there will be no problems you can use it. I have no problem with idle battery drain and with the new 3.1 version I added code which I think works for me (phone is less time in Held Awake, for example 1 day and 10 hours on batter and only 55 minutes Held Awake). Please test if there's no conflict between 3.1 and SysConfig for you. If it's fine I will not change anything, but if you have problems, I will prepare version without Google Services tweak.

Ad.3 Those settings are automatically set up in the script. Touchboost - OFF and wq_power_saving - enabled. Readahead - 1024kb (internal storage), 512kb (SD Card), I/O scheduler - CFQ.

Ad.4 I don't use EX Kernel Manager for apply settings anymore, just for check CPU frequencies or work on new values for CPU governor. Everything is now in the script. For now GPU boost is disabled and initial frequency - 214 MHz (somehow script doesn't want to change it to lower, but it doesn't matter).

I remind one more time: there's no need for EX Kernel Manager. ONLY Magisk + flash ZIP file. All settings "Apply on boot" in EX Kernel Manager should be OFF.

Regards.

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

Hi all,

I don't know, you tell me :) Should be a bit more battery friendly than 3.1 and I hope I didn't mess up anything on the way.

OP updated.​

ZIP FILE FOR MAGISK 17+:

Link for google drive:​

https://drive.google.com/open?id=1IP7bXAIB-NbeLJhYrI8jDuISplPHdavy​

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] mamdouhn:
thank you for the new update , do you advise to use your profile with Kernel: CleanSlate or with stock kernel? my rom is Viper10 6.0.0

and if you suggest to use CleanSlate kernel should i install his app ?
[HTC 10 Themes, Apps, and Mods] alderon666:
I have best experience with CleanSlate and 3.7.13 version. I don't know how much difference it will be in battery life, but in CleanSlate 3.7.13 Touchboost can be disabled, while in stock kernel you cannot do it. I also suggest to install CleanSlate Companion and Configuration, so you can use extra features that comes with this kernel, that's another reason why I like it over ElementalX.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] mamdouhn:
thanks for your reply , can you help me with how to disabeld Touchboost ?
[HTC 10 Themes, Apps, and Mods] alderon666:
If you have kernel with that option (ElementalX or CleanSlate) and you are using my tweak I already helped you ;)

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] kend0g:
Nevermind i read it wrong sorry
[HTC 10 Themes, Apps, and Mods] Supreme_One:
Is it normal to have a huge drain with this phone when having a video call? My battery is good but whenever I do a video call battery starts to drop quickly
[HTC 10 Themes, Apps, and Mods] alderon666:
I think video call is kind of massive drain, same as recording videos.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Supreme_One:
Is there something you can do about this? I'm happy with my SOT time but whenever I do some video calling I've to keep charging my phone throughout the day
[HTC 10 Themes, Apps, and Mods] alderon666:
Sadly there is not much you can do. It's like asking to have 5h SOT when playing game for 5h, because you can have 5h SOT when watching YouTube or reading news in browser. You could try Helix Engine, make battery profile with minimal frequency on CPU and use it for video calls. If you still can do that call without problems - lag, overheating etc. it might give you some extra battery life.

Is this video call through the phone or through app, like Skype or something?

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Supreme_One:
Skype, whatsapp, google duo, justalk all the same
[HTC 10 Themes, Apps, and Mods] alderon666:
Since I remember video calls were always draining battery fast. I used Skype from what you wrote, my phone was hot and battery go down fast like I'm playing heavy game.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] Supreme_One:
At least I know it's not something just related to my phone
[HTC 10 Themes, Apps, and Mods] yoshjosh1985:
Thanks a lot for all this hard work!

I went through many things to get my battery working well. I have tried your tweaks but still can't get sot or even usage working like you guys have.

Is your tweaks same idea as those AKT tweaks?

Also i have even replaced my battery which has helped a lot.

I might do a full wipe and reinstall of leedroid that comes with cleanslate and see if helps and re apply latest tweaks zip.

I am using magisk profile version.

My issue is I still get this big drain from mobile network standby. 33% of battery now at end of day is from this. Which seems totally wrong. Does anyone know what causes this? Is still related to Google play services?
[HTC 10 Themes, Apps, and Mods] alderon666:
AKT only make CPU governor adjustments. My tweak did this and "few" other things (but I think biggest impact for battery come with governor settings).

I use leedroid r.149 and cleanslate 3.7.13 (you have to flash it, leedroid r.149 has 3.7.12).

Mobile standby drain sounds like bad network signal, it will drain quite a lot of battery if you have bad network signal.

Everyone has different set up, apps, use phone differently and I would say every phone is different (lucky or unlucky moment during production :) ) That's why some people have more, some less SOT. Some people have problems with Oreo, some don't.

I will release new version soon, so you could try it's better for you.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] yoshjosh1985:
Fair enough. Yes I was aware governer is biggest issue. Along with apps draining battery and google play.

Ok no worries thanks very much. Can't fix bad network signals

Shouldn't really be issue though. On Vodafone in Sydney so mostly good coverage. Feel it is an issue on Oreo. I think others had this problem after upgrade. Also my wife phone same network with diff phone.

Not too bad now though. Much better than before
[HTC 10 Themes, Apps, and Mods] alderon666:
NEW VERSION UPLOADED - 3.3 and 3.4​

Hi all,

This time I uploaded 2 versions. They are very close to each other, the biggest different it Google Services tweak. I copied that tweak from [MENTION=8852292]xFirefly93[/MENTION]. I hope it will make difference for idle drain for you (I didn't see any changes on my phone, but I didn't have problems with idle drain).

3.3 - changes for faster and more responsive phone (I had better battery life too)

3.4 - added google services tweak

OP updated.​

ZIP FILE FOR MAGISK 17+:

Link for google drive version 3.3:​

https://drive.google.com/open?id=10ySZzNr2T4ZmUp8DoCD9hHBTeycdvOPk​

Link for google drive version 3.4:​

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

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] hydrabean2013:
Thank for your hard work. U guys doing a great job. Only because of you guys we are still enjoying this phone.

I'm on 3.2 and getting decent battery backup. But if I want to update to 3.4, do I have to uninstall it from magisk or dirty flash is okay?

And Please someone can advise me, as per AccuBattery my battery is 84%. If I put a new battery, is it gonna make any BIG difference? Or I should use this battery for another few months?

Thanks
[HTC 10 Themes, Apps, and Mods] alderon666:
You can dirty flash (I always dirty flash on my phone) and restart.

I would keep using old battery till you are ok with SOT and time on battery. Replacing battery is not easy.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] hydrabean2013:
Thanks again for your suggestions. I will dirty flash.. just one small thing, my "CleanSlate" version is 3.18.63 with "LeeDroid R-149, do you think this new update can cope with it or I should downgrade to CleanSlate 3.7.12...?
[HTC 10 Themes, Apps, and Mods] alderon666:
I think latest cleanslate is 3.7.14. I'm using 3.7.13, because I feel it's more stable and has touchboost option (3.7.12 doesn't have it).

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] yoshjosh1985:
Hey so I have to manually disable touch boost does that show profile values are not sticking?

Also my mobile standby bat drain I heard many people have since Oreo.

My experience is it is data network. I turned off data and for 3 hours overnight still 100p. Once data on it started. I also read it may be specific to 4g network. Am trying 3g only to see if helps.

Based on that new info is anything you smart devs can think of to fix it?

Or have to wait for firmware. I read maybe fixed in 8.1
[HTC 10 Themes, Apps, and Mods] alderon666:
I don't think HTC will release anything for HTC 10. Oreo was last what they did for our phone and they did it kind of bad.

Touch boost can't be disabled if kernel doesn't provide that ability. ElementalX and CleanSlate 3.7.13 (and 3.7.14) has that option. If you have stock kernel or CleanSlate 3.7.12, you can't disable touchboost. I can't tell you how much it will change in battery life, but I made my tweak with touchboost disabled. Values will stick after you remove pnpmgr, no mattery if touchboost is ON or OFF.

Regards.

Alderon666
[HTC 10 Themes, Apps, and Mods] yoshjosh1985:
Thanks

I followed guide for disable pnp manager, deleted files. Also don't know how to tell if it worked. I have latest cleanslate etc. I feel profile isn't sticking.

I had to manually turn off touch boost so I feel profile isn't sitcking