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

Search This thread

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
4,874
15,555
You still have the HTC10 or use the Pixel as main device now?
I still have the HTC 10. In fact I also have something for nougat but it isn’t quite were I would like it yet. Another problem is, that pnpmgr no longer sets governor tunables correctly. so at the moment I have a mix of pnp and a su.d / init.d script.
So I am waiting for the international Rom to drop. and take a final direction when it gets released.
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
4,874
15,555
Update for Android N

hey guys and Girls :)

I updated the mod for Android N. Some things have changed. You can find some info about that on the second post. I dont have much time lately so it would be great if a few of you could test and Report back please.

I will just copy and past the second post here.

Android N:

Disclaimer: HTC changed pnpmgr on Android N and now some governor tunables amongst other things will not get applied correctly. Due to this we have now two seperate files.

First one is the pnp.xml
You have to copy it to System/etc and set permissions to 644 (rw-r--r--)

Second file is a script, which contains the governor configuration and various other tweaks.
This one, after downloading and unzipping, you have to copy either to system/etc/init.d or system/su.d or su/su.d and set permissions to 755 (rwxr-xr-x)

Afterwards do a reboot and wait 2 minutes until everything gets applied correctly. The script has a sleep timer set of about 1 Minute.

I edited the pnpmgr with the tweaks we had before Android N. So I removed various 50 and 30 fps caps. Various other Performance limitations. And probably I lot more i can´t remember right now.
The script is something new, partly based on alcolawls work and partly some ideas I had in the last few weeks.

The Download is here:
https://www.androidfilehost.com/?w=files&flid=144457


It would be great if I get Feedback here. My time atm is limited and I´d be glad if we all work together.
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
4,874
15,555
Nebula Kernel

If anyone is interested. The advanced Version of nebula kernel disables pnpmgr completely. @Eliminater74 also rewrote all cpus steps with his new 7.1.0 kernel. Here is my script specifically tuned to his kernel.

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

the lp one has the Little Cluster underclocked to 1,2 ghz
the hp one has the Little cluster overclocked to 1,8 ghz

to install simply download the desired zip. extract the script, place it in System/etc/init.d and set permissions to 755. reboot and wait a Minute.

If you are on his kernel please Report back how this works for you.
 
M

Megan

Guest
If anyone is interested. The advanced Version of nebula kernel disables pnpmgr completely. @Eliminater74 also rewrote all cpus steps with his new 7.1.0 kernel. Here is my script specifically tuned to his kernel.

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

the lp one has the Little Cluster underclocked to 1,2 ghz
the hp one has the Little cluster overclocked to 1,8 ghz

to install simply download the desired zip. extract the script, place it in System/etc/init.d and set permissions to 755. reboot and wait a Minute.

If you are on his kernel please Report back how this works for you.
How do you set permissions? I'm new to this.
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
4,874
15,555
How do you set permissions? I'm new to this.

either with a root Explorer

or via terminal Emulator (download from playstore

su
cd system/etc/init.d <---------- this requires you have copied the extracted script to system/etc/init.d
chmod 0755 [filename]
 
M

Megan

Guest
either with a root Explorer

or via terminal Emulator (download from playstore

su
cd system/etc/init.d <---------- this requires you have copied the extracted script to system/etc/init.d
chmod 0755 [filename]
Thank you!
Edit: May I ask what's involved in the script or is it the same as the new additions in the posts above?
 
Last edited:

HaTrED_

Senior Member
Jun 20, 2013
1,731
784
Invicta
hey guys and Girls :)

I updated the mod for Android N. Some things have changed. You can find some info about that on the second post. I dont have much time lately so it would be great if a few of you could test and Report back please.

I will just copy and past the second post here.

Android N:

Disclaimer: HTC changed pnpmgr on Android N and now some governor tunables amongst other things will not get applied correctly. Due to this we have now two seperate files.

First one is the pnp.xml
You have to copy it to System/etc and set permissions to 644 (rw-r--r--)

Second file is a script, which contains the governor configuration and various other tweaks.
This one, after downloading and unzipping, you have to copy either to system/etc/init.d or system/su.d or su/su.d and set permissions to 755 (rwxr-xr-x)

Afterwards do a reboot and wait 2 minutes until everything gets applied correctly. The script has a sleep timer set of about 1 Minute.

I edited the pnpmgr with the tweaks we had before Android N. So I removed various 50 and 30 fps caps. Various other Performance limitations. And probably I lot more i can´t remember right now.
The script is something new, partly based on alcolawls work and partly some ideas I had in the last few weeks.

The Download is here:
https://www.androidfilehost.com/?w=files&flid=144457


It would be great if I get Feedback here. My time atm is limited and I´d be glad if we all work together.

@Freak07

I'm just a little bit confused with your latest update: Do i need to flash your profile.zip file and then copy pnp.xml and your script accordingly or just the last two? :confused:
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
4,874
15,555
@Freak07

I'm just a little bit confused with your latest update: Do i need to flash your profile.zip file and then copy pnp.xml and your script accordingly or just the last two? :confused:

There is no flashable zip.

You have to download and place the pnp.xml accordingly to my post.

And you have to download the zip, extract the script from the zip and place it accordingly to my instructions. No flashing involved.
 
  • Like
Reactions: HaTrED_

keaheng

Senior Member
Feb 19, 2013
416
173
Cambodia
If anyone is interested. The advanced Version of nebula kernel disables pnpmgr completely. @Eliminater74 also rewrote all cpus steps with his new 7.1.0 kernel. Here is my script specifically tuned to his kernel.

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

the lp one has the Little Cluster underclocked to 1,2 ghz
the hp one has the Little cluster overclocked to 1,8 ghz

to install simply download the desired zip. extract the script, place it in System/etc/init.d and set permissions to 755. reboot and wait a Minute.

If you are on his kernel please Report back how this works for you.
Followed the ibstruction correctly. How to tell if it works?

---------- Post added at 11:36 PM ---------- Previous post was at 11:34 PM ----------

If anyone is interested. The advanced Version of nebula kernel disables pnpmgr completely. @Eliminater74 also rewrote all cpus steps with his new 7.1.0 kernel. Here is my script specifically tuned to his kernel.

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

the lp one has the Little Cluster underclocked to 1,2 ghz
the hp one has the Little cluster overclocked to 1,8 ghz

to install simply download the desired zip. extract the script, place it in System/etc/init.d and set permissions to 755. reboot and wait a Minute.

If you are on his kernel please Report back how this works for you.
Followed the instruction correctly. How to tell if it works?
 

house677

Member
Apr 16, 2011
36
14
First one is the pnp.xml

Second file is a script, which contains the governor configuration and various other tweaks.
This one, after downloading and unzipping, you have to copy either to system/etc/init.d or system/su.d or su/su.d and set permissions to 755 (rwxr-xr-x)

I'm assuming I have to delete the old pnp.xml, and rename the new file to pnp.xml (from pnpout_N_1.xml), correct?

Also, I had no init.d folder, instead it only said "init". Is that fine? I didn't have su.d folders as well. Thanks!
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
4,874
15,555
I'm assuming I have to delete the old pnp.xml, and rename the new file to pnp.xml (from pnpout_N_1.xml), correct?

Also, I had no init.d folder, instead it only said "init". Is that fine? I didn't have su.d folders as well. Thanks!

Yes rename the pnp file.

No that will not work. Are you on a custom kernel or a custom rom? They should all have init.d support.
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
4,874
15,555
Followed the ibstruction correctly. How to tell if it works?

---------- Post added at 11:36 PM ---------- Previous post was at 11:34 PM ----------


Followed the instruction correctly. How to tell if it works?
Send me a screenshot of your governor tunables.
 

house677

Member
Apr 16, 2011
36
14
No that will not work. Are you on a custom kernel or a custom rom? They should all have init.d support.

Running Viper 4.5, on stock kernel. I see a bunch of files starting with "init", but they are just in system/etc, not any init.d folder. Maybe because I haven't changed any kernel settings?
 

Freak07

Recognized Developer / Recognized Contributor
Jan 2, 2011
4,874
15,555
Running Viper 4.5, on stock kernel. I see a bunch of files starting with "init", but they are just in system/etc, not any init.d folder. Maybe because I haven't changed any kernel settings?
If you are rooted with supersu you should have either su/su.d or system/su.d
 

MrH871

Senior Member
Jun 11, 2013
325
37
you can ask in their thread. Or what´s the easier route, download a script Manager app and run the script through the app.

after running script with SH Script Runner... how would i know its working. on exkm i cant choose the overclocked frequency on nebula 7.1.0 advanced. or isit working in the background? run it once and thats it or every time i boot up i have to run the script?
 

duowing

Senior Member
Dec 14, 2010
537
106
Cleveland, OH
after running script with SH Script Runner... how would i know its working. on exkm i cant choose the overclocked frequency on nebula 7.1.0 advanced. or isit working in the background? run it once and thats it or every time i boot up i have to run the script?

I believe the Nebula Advanced kernel doesn't have the overclock values. It was only on the test versions
 

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