[PROFILE][TWEAK] HTC 10 Oreo Battery Tweaks

Which version of profile you use (works best for you)?

  • 1.0 - 1.2

    Votes: 1 2.4%
  • 1.3 - 1.4

    Votes: 1 2.4%
  • 1.5 - 1.6

    Votes: 0 0.0%
  • 1.7 - 1.8

    Votes: 1 2.4%
  • 1.9 - 1.10

    Votes: 13 31.0%
  • Other version

    Votes: 4 9.5%
  • Other profile (not from this topic)

    Votes: 2 4.8%
  • No profile (stock HTC or other tweak)

    Votes: 20 47.6%

  • Total voters
    42

alderon666

Senior Member
Mar 11, 2015
652
525
0
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
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
 
Last edited:
  • Like
Reactions: Massimohtc

szymonurai

Member
Jul 17, 2017
25
6
0
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.
 
  • Like
Reactions: alderon666

bombername

Senior Member
Apr 11, 2015
285
54
58
Ba-Wü
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
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.
 

dsjiffry

Senior Member
Aug 20, 2014
237
68
48
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://forum.xda-developers.com/pi...od-pixel-2-xl-unified-kernels-tuning-t3844246
 
  • Like
Reactions: xFirefly93

alderon666

Senior Member
Mar 11, 2015
652
525
0
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://forum.xda-developers.com/pi...od-pixel-2-xl-unified-kernels-tuning-t3844246
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
 
  • Like
Reactions: dsjiffry

finger11

Senior Member
May 16, 2011
180
16
0
san diego
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.
 
Last edited:

alderon666

Senior Member
Mar 11, 2015
652
525
0
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.
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
 

alderon666

Senior Member
Mar 11, 2015
652
525
0
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
 

Attachments

finger11

Senior Member
May 16, 2011
180
16
0
san diego
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
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.
 

alderon666

Senior Member
Mar 11, 2015
652
525
0
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 @xFirefly93

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:


Regards.
Alderon666
 

xFirefly93

Senior Member
Jan 10, 2018
1,423
2,291
113
Timrå
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://forum.xda-developers.com/pi...od-pixel-2-xl-unified-kernels-tuning-t3844246
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 @alderon666 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 @alderon666 whenever it's possible, and needed.

:)
 

Neeosx

Senior Member
Feb 11, 2012
79
14
28
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)
 

alderon666

Senior Member
Mar 11, 2015
652
525
0
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)
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