[PnP&Thermals tweak] Custom profiles for battery saving and/or better performance-v24

Search This thread

gianborrello

Senior Member
Dec 7, 2012
122
30
Matlog isn't showing any new errors. Now that I've rebooted again. I think the new pnp.xml you created is gonna work.

When I only change pnp.xml with the one provided by @ivicask still getting error "file is not ready" and other kinda "can't set cpu freq *value*".

What did you do in order not to get errors? Did you use the new disable PNP .zip plus the build.prop line removal?
 

ivicask

Recognized Developer / Recognized Contributor
May 25, 2009
5,079
16,403
32
Zagreb
venomroms.com
When I only change pnp.xml with the one provided by @ivicask still getting error "file is not ready" and other kinda "can't set cpu freq *value*".

What did you do in order not to get errors? Did you use the new disable PNP .zip plus the build.prop line removal?

Why you all even worry about this errors so much, you get this warnings and errors even on fully stock rom, it wont cause any extra battery drain or anything you can ignore it...
 

frostnicko

Senior Member
Feb 8, 2015
184
32
Baku
I flashed the new pnpremover zip and deleted line from build prop. I did it right ? and need change pnp file ?

---------- Post added at 12:06 PM ---------- Previous post was at 11:59 AM ----------

Can anyone write step-by-step to use remove zip, build prop edit and ivicaks pnp file ?
 

Mr Hofs

Senior Member
Sep 10, 2011
19,173
14,608
I flashed the new pnpremover zip and deleted line from build prop. I did it right ? and need change pnp file ?

---------- Post added at 12:06 PM ---------- Previous post was at 11:59 AM ----------

Can anyone write step-by-step to use remove zip, build prop edit and ivicaks pnp file ?

Why ? Follow the posts and you are done. Don't make it anymore difficult as its very easy. If you done as told in the recent posts its done......nothing more nothing less
 

mattie_49

Senior Member
  • Feb 4, 2010
    2,783
    846
    Seymour Tn
    OnePlus 9
    Why you all even worry about this errors so much, you get this warnings and errors even on fully stock rom, it wont cause any extra battery drain or anything you can ignore it...
    Zero battery drain with current setup. 1% battery loss overnight after adding new pnp. And soilwork kernel values are sticking also. Ivicask thank you. You put in a lot of extra effort. You are appreciated

    ---------- Post added at 03:45 PM ---------- Previous post was at 03:39 PM ----------

    Why you all even worry about this errors so much, you get this warnings and errors even on fully stock rom, it wont cause any extra battery drain or anything you can ignore it...
    And unless your staring into a logcat or matlog you will never know otherwise. Device is running very cool / no overheating. This is considered great success for the 10's.
     
    Last edited:

    frostnicko

    Senior Member
    Feb 8, 2015
    184
    32
    Baku
    Zero battery drain with current setup. 1% battery loss overnight after adding new pnp. And soilwork kernel values are sticking also. Ivicask thank you. You put in a lot of extra effort. You are appreciated

    ---------- Post added at 03:45 PM ---------- Previous post was at 03:39 PM ----------


    And unless your staring into a logcat or matlog you will never know otherwise. Device is running very cool / no overheating. This is considered great success for the 10's.

    Can you share your setup ?
     

    FluffyDiscord

    Senior Member
    Feb 7, 2018
    151
    32
    The pnp remover is for oreo... If you want to disable pnp In nougat you just rename the pnpmngr bin file and rename the pnp.xml

    ---------- Post added at 01:44 AM ---------- Previous post was at 01:43 AM ----------



    And yes this tweak works I'm using viper right now and got it on here.

    Would you mind sharing your BBS if you have that app

    ---------- Post added at 09:59 PM ---------- Previous post was at 09:37 PM ----------

    Zero battery drain with current setup. 1% battery loss overnight after adding new pnp. And soilwork kernel values are sticking also. Ivicask thank you. You put in a lot of extra effort. You are appreciated

    ---------- Post added at 03:45 PM ---------- Previous post was at 03:39 PM ----------


    And unless your staring into a logcat or matlog you will never know otherwise. Device is running very cool / no overheating. This is considered great success for the 10's.

    So you are on stock sense oreo or leedroid's oreo? Which soilwork's profile did you use and did you use magisk or twrp flash version? Do you mind posting BBS stats?
     

    mattie_49

    Senior Member
  • Feb 4, 2010
    2,783
    846
    Seymour Tn
    OnePlus 9
    Would you mind sharing your BBS if you have that app

    ---------- Post added at 09:59 PM ---------- Previous post was at 09:37 PM ----------



    So you are on stock sense oreo or leedroid's oreo? Which soilwork's profile did you use and did you use magisk or twrp flash version? Do you mind posting BBS stats?
    Magisk version is outdated. Will not flash on Oreo. Only scripts work. And I'm using battery profile
     

    frostnicko

    Senior Member
    Feb 8, 2015
    184
    32
    Baku
    I changed to Akt.Because Akt give me more SoT.Soilwork is pretty good but Akt is more better for me

    ---------- Post added at 11:43 PM ---------- Previous post was at 11:37 PM ----------

    Magisk version is outdated. Will not flash on Oreo. Only scripts work. And I'm using battery profile

    No.The Last version is the same magisk version.Read the last comments and December version is v11 (preparied bh John vafkes) October version is v10 via magisk. (old)
     
    • Like
    Reactions: mattie_49

    kgirlx

    Senior Member
    Nov 26, 2010
    359
    77
    The pnp remover is for oreo... If you want to disable pnp In nougat you just rename the pnpmngr bin file and rename the pnp.xml

    ---------- Post added at 01:44 AM ---------- Previous post was at 01:43 AM ----------



    And yes this tweak works I'm using viper right now and got it on here.

    Im on NuSense ROM, Nougat based, I can find PNP.XML file in system/ vendor but there is no bin file you speak of to rename.
     

    mattie_49

    Senior Member
  • Feb 4, 2010
    2,783
    846
    Seymour Tn
    OnePlus 9
    Im on NuSense ROM, Nougat based, I can find PNP.XML file in system/ vendor but there is no bin file you speak of to rename.
    Why are you trying to remove pnp manager in nougat?. All the tweaks including the post your on, all take care of that automatically after you apply them. Don't waste your efforts looking for the needle in haystak.
     
    • Like
    Reactions: kgirlx and Mr Hofs

    FluffyDiscord

    Senior Member
    Feb 7, 2018
    151
    32
    I changed to Akt.Because Akt give me more SoT.Soilwork is pretty good but Akt is more better for me

    ---------- Post added at 11:43 PM ---------- Previous post was at 11:37 PM ----------



    No.The Last version is the same magisk version.Read the last comments and December version is v11 (preparied bh John vafkes) October version is v10 via magisk. (old)

    Looked over that forum and could not find the v11, only v10. Would you mind posting a post link or dl link please?
     

    mattie_49

    Senior Member
  • Feb 4, 2010
    2,783
    846
    Seymour Tn
    OnePlus 9
    Looked over that forum and could not find the v11, only v10. Would you mind posting a post link or dl link please?
    The mods are outdated and will not flash on oreo. I mentioned this earlier. No soup / until the sources are updated for Oreo script is your only route. Someone swore they were here. I'm not seeing anything

    ---------- Post added at 09:29 PM ---------- Previous post was at 09:00 PM ----------

    I changed to Akt.Because Akt give me more SoT.Soilwork is pretty good but Akt is more better for me

    ---------- Post added at 11:43 PM ---------- Previous post was at 11:37 PM ----------



    No.The Last version is the same magisk version.Read the last comments and December version is v11 (preparied bh John vafkes) October version is v10 via magisk. (old)
    The December version is for Nougat as well
     

    whi-2

    Senior Member
    Mar 19, 2018
    57
    5
    Can this mod be used along with soilwork mod. AKT isn't working on the htc 10 anyway.
    Edit: I on LeeDroid Oreo btw. Can this mod work with that
     
    Last edited:

    Top Liked Posts

    • There are no posts matching your filters.
    • 73
      Addon was originally only available on Venom HUB but i decided to release it for everyone to use.Here is copy paste of description and changelogs from the HUB.I will update thread as i update it on HUB.
      Also big thanks to @hamdir for testing my performance profile on various games, he will also post later hes review, pictures and comparisons to stock.


      This addon is designed to save some extra battery, and reduce heat.Magic is done in 2 files:
      1:Thermal-engine is tweaked in order to provide much better sustained performance and cooler phone, without big impact on performance.
      2:pnp file is another key component, its HTCs CPU/GPU/EMMC/MODEM and many more control engine.Here many tweaks where done, but gonna quickly list some of the important ones:
      -Per app control, automatically suspends 2 BIG cores, and runs on 2 low power ones, it also limits the GPU speed to lowest.This will do only for some most commonly used apps, like Sense Prism, Nova launcher, Apex, other HTC apps, various chat programs(hangouts, facebook, messanger, whatsap etc), YouTube and some more.. as those apps dont require a lot power.
      -Screen off is set to 2 low power cores for nice standby times
      -Power saver is tweaked to actually save some power and not just lower screen brightness
      -Extreme powersaver is also tweaked down to save even more power
      -Input boost frequencies are also lowered (CPU ramps up moment you touch screen)
      -And alot of other minor tweakups..

      Also its recommended not to change anything CPU/GPU related in any other apps, like EX and just let this files do the job for you.

      If for some reason you dont like this mod or have any problems with it, installer includes revert to stock option :)
      Read more info in changelogs below.

      List of battery optimised apps (feel free to post your suggestions):
      Code:
      com.ninefolders.hd3
      com.applisto.appcloner
      com.livae.apphunt.app
      com.fillobotto.mp3tagger
      org.polaric.cluttr
      com.rgiskard.fairnote
      com.glextor.appmanager.free
      com.catchingnow.undo
      kik.android
      de.onyxbits.listmyapps
      org.zloy.android.downloader
      com.slaughter.look.of.disapproval
      gaurav.lookup
      cn.wq.myandroidtoolspro
      com.embermitre.pixolor.app
      de.toastcode.screener
      de.munichsdorfer.screenittrial
      com.glitch.stitchandshare
      com.stumbleupon.android.app
      org.de_studio.recentappswitcher.pro
      com.happening.studios.swipeforfacebookfree
      com.laurencedawson.reddit_sync
      com.fifthelement.trimmer
      com.camel.corp.universalcopy
      com.google.android.apps.inbox
      com.riversoft.android.mysword
      com.taxis99
      com.tbig.playerpro
      com.tomtom.gplay.navapp
      com.xda.labs.play
      com.google.android.apps.translate
      com.safeincloud
      com.mobisystems.msdict.embedded.wireless.collins.p ortuguese.full
      com.mobisystems.msdict.embedded.wireless.oxford.es sentialportuguese
      com.accuweather.paid.android
      com.mobilesrepublic.appy
      com.pandora.android
      com.slingmedia.slingPlayer
      com.bumble.app
      com.tinder
      com.klinker.android.twitter_l
      com.nam.fbwrapper.pro
      com.timehop
      jp.naver.line.android
      com.linkbubble.playstore
      kr.co.vcnc.android.couple
      com.joshua.jptt
      com.noinnion.android.greader.reader
      com.netbiscuits.kicker
      com.redictandcgdstudios.projectslenderonline
      com.teotlstudios.slenderrisingfree
      com.dvloper.slendermanriseagainfree
      com.RexetStudio.SlenderTheRoad
      air.com.sticksports.sticktennis
      com.sticksports.sticktennistour
      com.bauermedia.tvmovie
      de.wetteronline.wetterapppro
      com.redictstudios.projectslender
      se.feomedia.quizkampen.de.premium
      com.quoord.tapatalkHD
      com.droid27.transparentclockweather
      com.speedsoftware.rootexplorer
      pl.solidexplorer2
      com.appseleration.android.selfcare
      com.google.android.apps.chromecast.app
      rpkandrodev.yaata
      com.andrewshu.android.reddit
      com.xodo.pdf.reader
      com.microsoft.office.word
      com.microsoft.office.excel
      com.kmobile.cb
      com.nianticlabs.pokemongo	
      com.google.android.apps.maps	
      com.htc.laputa	
      com.papago	
      com.mapbar.android.mapbarmap	
      com.autonavi.cmccmap	
      com.baidu.BaiduMap	
      com.pdager	
      com.kingwaytek.naviking	
      com.htc.lockscreen	
      com.htc.fingerprint	
      com.xda.labs	
      org.mozilla.firefox	
      org.mozilla.firefox_beta	
      com.emoji.keyboard.touchpal.oem	
      com.nitrodesk.honey.nitroid	
      com.android.calculator2	
      com.estrongs.android.pop	
      com.tbig.playerpro	
      org.telegram.messenger	
      com.instagram.android	
      org.wordpress.android	
      com.touchtype.swiftkey.beta	
      com.gsamlabs.bbm	
      com.htc.android.worldclock	
      com.quoord.tapatalkpro.activity	
      com.anddoes.launcher	
      com.google.android.gms	
      android.uid.systemui	
      com.android.systemui	
      com.chrome.beta	
      com.android.chrome	
      com.chrome.dev	
      com.teslacoilsw.launcher	
      com.spotify.music	
      com.quoord.tapatalkxdapre.activity	
      com.google.android.apps.plus	
      com.twitter.android	
      com.htc.AutoMotive	
      com.google.android.talk	
      com.viber.voip	
      com.ninegag.android.app	
      com.android.settings	
      com.devhd.feedly	
      com.htc.weather	
      com.google.android.phone	
      com.htc.sense.mms	
      com.htc.contacts	
      com.htc.htcdialer	
      com.htc.music	
      com.maxmpz.audioplayer	
      com.google.android.apps.photos	
      com.htc.launcher	
      com.htc.sense.news	
      com.whatsapp	
      com.facebook.katana	
      com.facebook.orca	
      com.m0narx.hub	
      com.ice.tweaks	
      com.m0narx.tweaks	
      com.google.android.youtube
      com.google.android.videos


      Compatibility:
      All 1,8x, 1.9x and 2.x based roms bases and kernels(even stock roms/kernel's).
      Not compatible with 1.5 or below bases (will cause random crashes), use Version v8 for older 1.5x and 1.2x bases.


      Download:
      Version v24
      Download link flashable ZIP - AFH


      Older versions:

      Version v8 for older 1.5x and 1.2x bases
      Download link flashable ZIP - AFH


      Changelog:
      Code:
      24.04.2017
      v24:Fixed remove 50 -> 60 fps boost on touch on performance profile(60fps locked now)
      - MaxPowerSaving profile optimizations to get even more battery life.
      
      27.03.2017
      v23:Added more user requested apps(30) for battery optimised profiles
      - Attempt to smoothen Facebook app scrolling (App still lags while loading items on any phone)
      - Increased touch input boost speed for MaxPowerSaving profile(smoother scrolling)
      
      16.01.2017
      v22:Viper Magisk compatible
      - Merged with 2.41 base changes
      - Added a lot more apps for battery optimised profiles
      - Added new MaxPowerSaving profile:
        Limits CPU to 1.3/1.78GHz(LC/BC), GPU 510MHz
        Launching apps bypasses above limit for fast app starting/switching
        Still uses balanced mode per app profiles which saves even more power
      - Cleaned installer from unnecessary files (smaller zip size)
      
      9.12.2016
      v21:Lowered input boost, touch boost, long duration touch boost, app launch and per app frequencies for even more battery savings(N is still very smooth) 
      -Cleaning of code and some other fine tuning
      
      24.11.2016
      v20:Merged  with Android 7.0.0 changes
      -Also backwards compatible with 1.5x + bases
      
      26.09.2016
      v19:Fixed CPU doesnt drop to lowest speed for some users/kernels
       - Merged v18 balanced changes into performance profile
      
      22.09.2016
      v18:(Balanced changes only)
       - Adjusted CPU scheduler load distributions and frequencies in order to fix some stutters,
        but also to save power while phone is idle with screen ON (drops to lower frequencies faster)
      - Fixed weird HTC bug where task migration gets stuck in loop and cause phone to heat up for no reason
      - (thermal file)Make it a bit cooler on higher loads
      - Minor fine tuning here and there..
      
      
      29.08.2016
      v17:Prevent cores going offline if running Android auto (fixes lag on screen off)
      - (Balanced)Tweaked 15+ various governor and boost settings for even more power savings
      - (Balanced)Added more appps for CPU limiting profiles
      - Allow 4 threads for oat proces if PlayStore in focus(faster app install)
      
      23.08.2016
      v16:Merged latest HTCs changes realted to PokemonGo thermals
      - Removed 50 -> 60 fps boost on touch on performance profile(60fps locked now)
      - Forced 60 fps for YouTube and Google videos on balanced profile
      - Tweaked thermal file on balanced profile for better performance
      
      07.08.2016
      v15:Balanced and Performance profile update
      - Fine tuned values
      - Big cores go offline during screen off for Performance profile
      - Tweaked low memory killer values on both profiles,
        prevents often app reloading, which is waste of time and battery.
      
      04.08.2016
      v14:Balanced and Performance profile update
      - Implemented dynamic swappiness
      - Default swappiness reduced from 60 to 30 (less writes to nand)
      - During app launch or touching screen event swappiness is reduced to 0
      - During screen off swappiness  is set to default 60 so it can do its job when we are not using phone
      - Increased dirty_ratio to reduce even more writing to nand
      - Overall goal is to reduce I/O on NAND while using phone and in that way improve performance,
        but also improve battery by better utilizing the 4gb RAM that this device has.
      - Added more apps for CPU limiting profiles(balanced only)
      
      v13:
      -Merged with changes from 1.9x base
      (Mostly fine tuning battery saving for various video chat programs)
      
      v12:Balanced profile changes
      - Added more commonly used apps for lower power CPU profiles
      - More fine tuning
      
      v11:
      - Fine tuned balanced profile to prefer a bit more battery life
      - Cleaned up aroma installer (wont create unnecessary Venom folders for non-Venom users) 
      
      v10:Balanced profile rebuild
      - Merged and fine tuned/adjusted thermal configuration from performance profile
      - Should improve responsiveness and fix stuttering on some apps that happend before
      - changed around 100+ lines of code, lazy to write full changelog :p
      
      v9:TEST balanced profile update
      - Big cores will now go fully offline during screen off and while in Extreme powersaver
      - Lowered screen refresh rate while in Extreme powersaver(even more saving)
      - Max GPU speed limited to 214MHZ while in Extreme powersaver
      - Max GPU speed limited to 510MHZ while in powersaver
      - Reduced app launch boost MIN frequencies speeds to 1.3gz for all cores.
      
      v8: complete rebuild of performance profile
       - Added extra 560mhz frequency step between 630 and 510 for GPU throttling
       - Added 5 additional throttling steps for each CPU cluster per temperature
       - Prevent big cores dropping  to 1.3ghz too soon which drops FPS in games.
       - Prevent killing one big CPU core too soon, instead 2 will run at half migration performance.
       - Everything fine tuned and balanced, 10+ FPS boost in most games compared to stock 
      
      v7
      - 1.8x base compatibility update
      
      v6
      -Removed battery saving profile as balanced does such good job, both smoothness and performance! :)
      
      v5
      -Many changes to balanced profile
      -Lowered app launch Max CPU speed locking to more reasonable levels(Still ramps up to max if load demands)
      -Reduced input boost duration a bit
      -Governor will now drop CPU to lower speeds faster
      -Added more apps to lower CPU speed profiles.
      
      v4
      -Aroma installer fixes
      -BatterySaving profile fine tuning
      
      v3:
      -2 new more options
      *MaxPerfomance
      *BatterySaving
      -Tweaked is now called Balanced
      
      v2:
      -fixed YouTube 2k+ videos lag

      This is example of battery life i get with Balanced profile
      image.png
      Screenshot_20160922_133326.png
      Screenshot_20160807_113036.png



      XDA:DevDB Information
      PnP&Thermals tweak, Tool/Utility for the HTC 10

      Contributors
      ivicask, hamdir

      Version Information
      Status: Stable
      Current Stable Version: v24
      Stable Release Date: 2016-06-23
      Current Beta Version: v9

      Created 2016-07-06
      Last Updated 2017-04-24
      25
      V22 final is released! Enjoy!
      22
      Just heads up for everyone im holding V20 update until 7.0.0 hits.

      Now we just need Nougat because v20 is already ready for it.. :)
      21
      Just switch back to balanced mode from performance on v16 for the sake of coolness and battery life. The balanced mode is so much smoother than the previous build. My phone and I is loving it��

      Yep, im always improving my mod as im using it im doing constant minor adjustment, currently testing v17 with even more battery savings, and some improvements, minor fixes...
      21
      v18

      Finally phone discharged after 2 days and that concludes my usual final testing procedure, hope it will work good for everyone as for me, i did a lot of testing and fine tuning this version.

      If everyone will be happy with it ill port some of changes to performance profile.

      Code:
      22.09.2016
      v18:(Balanced changes only)
       - Adjusted CPU scheduler load distributions and frequencies in order to fix some stutters,
        but also to save power while phone is idle with screen ON (drops to lower frequencies faster)
      - Fixed weird HTC bug where task migration gets stuck in loop and cause phone to heat up for no reason
      - (thermal file)Make it a bit cooler on higher loads
      - Minor fine tuning here and there..

      Screenshot_20160922_133326.png
    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