[PnP Tweak][13.01.][Android N]Custom Interactive Gov. Profiles [Battery/Performance]

Search This thread

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
4,877
15,566
So it's safe to put min performance level at 100%?

of course it is save. did you actaully read what @Haldi4803 wrote few posts before?

pnp Manager and the thermal daemon on stock determine the device´s state via the Temperatur sensors.
The following percentages are the behaviour of the stock kernel and apply to one of the big cores. if the Task Migration reaches 0, it means that one of the big cores gets no Tasks to be done (essentially it gets disbled). so you end up with two Little and one big core.

[*]Cold: All cores do 100% work, Full clock 1.6 and 2.2ghz 624mhz GPU, until 35,5°C Battery
[*]Warm: Big Cores on 80% Task Migration, 1.6 and 2.1ghz 624mhz GPU, until 37,5°C Battery
[*]Hot: Big Cores on 60% Task Migration, 1.3 and 1.6ghz 624mhz GPU, until 39,5°C Battery
[*]Too hot: Big Cores on 100% and 0% Task Migration, 1.3 and 1.3ghz 510mhz GPU, until 42,5°C Battery (Effectively making this device a Tri-Core!)
[*]Still too hot: Big Cores on 100% and 0% Task Migration, 1.3 and 1.3ghz 402mhz GPU.

So now, when you set min Performance Level at a certain value, you make sure the Task Migration stays at this Level, even when the device gets hot.
HTC is using Task Migration to delay the Moment the device gets to hot.

I read through that thread and I'm still pretty confused. It's safe, but will it make the battery life better or worse?

Try it. it depends on your usage. mine is also set to 100%.
 

jrbmed08

Senior Member
Aug 14, 2012
317
65
Bay Area, CA
After using Hawktail v1 with raised mins for a few days, I think the battery life has been better than ghostpepper.

Also, with min performance level at 100%, I experienced keyboard lag (I use swiftkey) when the device got hot. I put it back to 60 and the lag went away.
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
4,877
15,566
After using Hawktail v1 with raised mins for a few days, I think the battery life has been better than ghostpepper.

Also, with min performance level at 100%, I experienced keyboard lag (I use swiftkey) when the device got hot. I put it back to 60 and the lag went away.

or maybe try using hawktail v2. I did make it a little bit more aggressive to counter these stutters ;)
 
  • Like
Reactions: jrbmed08

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
4,877
15,566
What is the difference between the normal zip and the raisedadmin? Thanks!

raisedmin means that the Minimum frequencies of either the Little or the Big or both Clusters are raised. This increases smoothness, prevents unnecessary frequencies usage and may increase battery life because the Tasks will get completed faster.
 

ordeniz

Senior Member
Oct 4, 2012
568
107
Hi @Freak07 ! I am on Viper 3,5 with Elite Kernel now. For the best of the best performance (no need for battery life) ,which of your tweaks should I flash,and what would be the settings in aroma,I mean oc or balanced? And is it better to make that "cpu" thing "100" or "0" or leave it as it is "60" in EX KM for the best perf.? Thanks.

Edit : And should I flash ivicask's tweak first for the termal thing?
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
4,877
15,566
Hi @Freak07 ! I am on Viper 3,5 with Elite Kernel now. For the best of the best performance (no need for battery life) ,which of your tweaks should I flash,and what would be the settings in aroma,I mean oc or balanced? And is it better to make that "cpu" thing "100" or "0" or leave it as it is "60" in EX KM for the best perf.? Thanks.

Edit : And should I flash ivicask's tweak first for the termal thing?

If you flashed a kernel that overclocks your device you have to choose the overclocked setting in aroma.
For best performance flash ghostepper or butterfly and set the min cpu perf to 100.

If you want the modded thermals ( later throttling) flash first ivicasks mod and directly afterwards mine.
 
  • Like
Reactions: ordeniz

ordeniz

Senior Member
Oct 4, 2012
568
107
If you flashed a kernel that overclocks your device you have to choose the overclocked setting in aroma.
For best performance flash ghostepper or butterfly and set the min cpu perf to 100.

If you want the modded thermals ( later throttling) flash first ivicasks mod and directly afterwards mine.

Done.Thanks.
 

MrH871

Senior Member
Jun 11, 2013
327
37
hey how are you

htc 10 running viper 3.5 with elementalx kernel v.26 flashed ivicask mod and then ghostpepper v4 do i need to change governer settings via exkm governor settings profiles or just set min perf level to 60-100 and disable touchboost? just flash and leave it? or activate ghostpepper profile through exkm governor settings
 

ali nz

Senior Member
hey how are you

htc 10 running viper 3.5 with elementalx kernel v.26 flashed ivicask mod and then ghostpepper v4 do i need to change governer settings via exkm governor settings profiles or just set min perf level to 60-100 and disable touchboost? just flash and leave it? or activate ghostpepper profile through exkm governor settings
Let everything be as it was...it's not necessary to change them and don't bother yourself with these things ;)

Sent from my HTC 10 using XDA Labs
 

duowing

Senior Member
Dec 14, 2010
537
106
Cleveland, OH
I don't understand much about how these work exactly, but I was curious if you could explain what is required to poke around the files? I see that the PNP files are .xml, but when I try to open and look at them they're all just a bunch of gibberish/symbols/etc.
 

Kyuubi10

Senior Member
Feb 21, 2014
726
542
I don't understand much about how these work exactly, but I was curious if you could explain what is required to poke around the files? I see that the PNP files are .xml, but when I try to open and look at them they're all just a bunch of gibberish/symbols/etc.

Encrypted, only very few are allowed access.
I had same idea as you lol.
But unfortunately us mortals aren't allowed!
:)
 

s8000h

Member
Nov 14, 2015
35
10
Hello all, been using ghost pepper v4 for a long time on my 6.0.1. It seems it's the best PnP for me even compare to others work. And it does provide smooth playback on movies app and YouTube which is not available out of the box lol. However only snapchat is lagging on my device. Does anyone experience that as well? Any clue to fix that weird thing ? Thanks
 
  • Like
Reactions: Freak07

Top Liked Posts

  • There are no posts matching your filters.
  • 26
    Hey to all,

    im proud to present you now the first pnp tweak that is modded accordingly to the butterfly and ghostpepper mods over from the nexus 5x and 6p forums. And now also to hawktail and glassfish. I tried to find the settings that are working best for our beloved HTC 10. Basically, these are governor profiles, which are trying to always bring the best possible smoothness based on the load, while conserving your precious battery. Consider these an evolution to my previous script method.

    So additionally to the tweaked interactive governor what will I get?

    - no 50fps lock when not touching the Screen
    - more Performance than stock
    - less throttling (hopefully)
    - better battery life, but as we all know this might depend on the user.

    my advice is to try all profiles and choose what suits you best.


    Descriptions of the different profiles:

    Butterfly
    A culmination of all strategies, provides smoothest performance of all currently published settings, though battery savings are a little more modest. Excellent for light and moderate users; heavy/marathon users might want to check out a different setting profile as it gets battery intense with heavy usage.

    Ghostpepper
    Uses a quantized, frequency-aligned parametric curve to influence low core clock rates while providing extremely smooth transitions from each clock rate and exceptional battery life. Good for light to medium usage and multitasking.
    http://forum.xda-developers.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557

    Hawktail
    A short Explanation of HawkTail. This is the most balanced Profile of all. CPU goes back to idle very fast while still being aggressive enough to not cause stutters.

    Glassfish
    Description of GlassFish. Because the Approach is universal and the Profile has a relatively Long Input boost it might not be as advanced as the other profiles.

    I�´d highly recommend to try these values as it gave me a significant boost in battery life. here are screenshots:
    https://drive.google.com/file/d/0BxbxiBXaZVu-N1lsRTMyZ2hsY1k/view?usp=sharing
    https://drive.google.com/file/d/0BxbxiBXaZVu-N1MzamRvM2FVZlk/view?usp=sharing

    Announcement

    I´d highly recommend to try the new profiles with raised minimum frequencies. I did test it and it doesn´t seem to effect battery life in an unacceptable way. So for me the gains outweigh the little bit of extra power cost.


    FAQ:

    Q: Is this the same as the previous scripts?
    A: @ivicask was so kind to tweak the pnp binary for me and integrate my scripts into it. So now there is no need to disable pnp any longer via scripts and it allows me to integrate the values deeper in the system. I tested both, ghostpepper and butterfly, extensively for over a week and they work splendid for me!

    Q: Does this work together with other pnp tweaks like @ivicask ´s?
    A: No. There is only one pnp binary and when flashing one you will loose the other.

    Q: @ivicask ´s mod also has modded thermal config file. i want to use your mod but also use @ivicask ´s thermal config file?
    A: Flash @ivicask ´s mod first and flash mine afterwards.

    Q: What base is this mod for?
    A: This mod will work on base 1.50 and higher.

    Q: Can I use the EX Kernel Manager Scripts that are linked in the explanation?
    A: No these are for nexus phones with different socs (hexa/quadcore)

    Q: What value should I set for the min Performance Level?
    A: You can let it at the Default 60. However if you like to have more Performance 80 is still okay if your device does not overheat.



    Instructions:
    Just flash the attached zip and enjoy your phone.
    If you want to go back to stock you also have an option inside the aroma installer.
    If you are not sure whether the mod is applied or not sent me a screenshot from the governor tunables from your kernel app.

    let me know if it brings a little battery boost for you. you may also let me know if you face performance issues or better if it improves your performance.
    Thank you and have fun testing it. :)

    Nougat Download is in the second post!!!

    Downloads

    https://www.androidfilehost.com/?w=files&flid=144458

    Changelog PNP Aroma Versions:

    Butterfly

    v1: Initital Release


    Ghostpepper

    v1 - Initial Release
    v1_raisedmin - Initital Release with raised minimum frequencies for both clusters

    v2 - tweaked target loads to make it even more battery friendly
    - performance should stay the same

    v3 - raised min frequencies for both Clusters like it is intended on the original Profile
    - tuned a few Things here and there
    - better Video Playback for YouTube and Google Videos

    Hawktail

    v1 - Initial release
    v1_raisedmin - Initial release with Minium frequencie for big cores raised like on the original profile
    v2 - made the governor a little bit more aggressive to counter some stutters, increased overall smoothness
    v2_raisedmin - also made the governor a little bit more aggressive, increased overall smoothness


    Glassfish

    v1 - Initial release


    credits:
    thanks to @Alcolawl for the script template
    also thanks to @soniCron for the original thread
    a huge thanks to @ivicask for putting and editing all my values and governor tweaks into the binary and the constant effort from him.
    13
    hey Girls and guys :D

    androidfilehost let me finally upload the new Version.

    There are quite a few new Things here

    - tweaked Migration for big and Little Cluster in general
    - tweaked Migration for big and Little Cluster when launching an app
    - when the phone is idling (while screen is on) the Little cores get limited to 1,2 ghz
    - minor other changes and fixes

    with this Version the big Cluster is used more often. More Tasks are scheduled to be handled by the big Cluster.
    Means basically two Things:
    Performance is increased ( especially apps open really fast now)
    battery life may be a Little bit increased as well because the Tasks get done faster and the phone goes to idle more quickly.

    Special thanks to @Kyuubi10 for testing and confirming this behaviour.

    here is the download link:
    https://www.androidfilehost.com/?fid=385026487222272095

    the file can also be found in the Folders from the download link on the first post.


    have a nice day all and have fun testing the new Version.
    10
    Nougat Update Coming

    Hey to all :)

    I hope that I can provide you all soon with an update for nougat. Maybe it will be a little Christmas present.

    Stay tuned and have a nice day :)
    9
    hey guys and Girls :)
    I know it was quite a Long time since i released something new but now I have quite a few Things I worked on.

    First @crescal made me Aware of two new profiles over at the Nexus Forums.
    The first is GlassFish. It should be somewhat universal for all devices. So I did not tweak that much. I did not test it extensively but it seems to work quite well.
    However the Minimum frequency for the big Cluster is raised in the original Profile on the Nexus Forums.
    With my Aroma installer you will have two choices.
    Glassfish has min frequency set to 300mhz for both big and Little cores.
    Glassfish_aggressive has the min frequency for the big Cluster raised to 652mhz just like it is intended on the original Profile.

    HawkTail did Need a few more tweaks for our chip as it is designed for the Nexus 6p. I think I found good settings and it would be great if you can Report back what you get.
    On this Profile, just like on glassfish it is intended to have a raised min frequency for the big cores. So I made two Aroma installers.
    The Default V1 from Hawktail has the min frequencies for both Clusters set to 300mhz.
    The Hawktail_raisedmin zip has the Minimum from both big cores set to 652mhz. I did make testing on this and it seems to have no big Impact on battery life while increasing performace. However be sure to Report back.

    lastly I also updated ghostpepper Profile to v3.
    the new Version has slightly raised Minimum frequencies for both Clusters. I repeat myself but it doesn´t seem to have a negative Impact on battery life while getting good Performance gain. This was also intended on the original ghostpepper Profile from the Nexus Forums. However it did take me quite Long to implement this to the pnp binary.

    please feel free to try everything out and be sure to Report back. :)
    have a nice day all.

    edit: links are up on the first post now
    8
    Update

    new ghostpepper version uploaded.
    Changelog:

    Ghostpepper V2

    - tweaked target loads to make it even more battery friendly
    - performance should stay the same
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone