yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Something in your script is conflicting with some PnP settings, not sure what..

There are many redundant and conflicting settings between your script and PNP..

Like, why are you even setting interactive governor?Its already interactive by default

EDIT:Also i dont understand your input boost line

#echo Enabling Input Boost at 1.48GHz for the LITTLE cluster
echo 0:0 1:0 2:0 3:0 > /sys/module/cpu_boost/parameters/input_boost_freq

Isnt this supposed to look something like this ?Also this doesn't set it only for little cluster, but all 4 cores..

echo > 0:1478400 1:1478400 2:1478400 3:1478400 /sys/module/cpu_boost/parameters/input_boost_freq
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
the line to set interactive was in the original script i took for a start. At first i thought about removing it, but i decided to let it remain, because there are surely specialists that change their gov to ondemand completely forget about it and complain.

do you mean the values for the boost or the Position of the ">"?

the line is supposed to set the value 0:0 1:0 2:0 3:0 for the file Input_boost_freq. so no boost for any core happens.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Ah, so your disabling input boost on purpose?But why ? :)Sorry not fully understanding your scripts..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Light1984:
Do we install this from TWRP?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Yep
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
the whole concept of the ghostpepper profile and later the Butterfly profile is based on the loads and corresponding freqs so you shouldn´t need any boosts at all.

if you want to read more about it here is the thread: http://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557

see also the 2nd post for more info about the profiles.

at first a was sceptical but it really improved smoothness and battery life for me on our 10.

furthermore [MENTION=3056043]Haldi4803[/MENTION] did some extensive testing and found out the the crossover point for efficiency of the sd 820 is at 1,1 ghz. means below 1,1ghz the Little cores perform more efficiently and above the big ones.

with this in mind i tried to create a profile that fits our soc. i´m open to all suggestions. I feel with my script there´s a Major difference both Performance and battery wise.

I simply did not have any time to look into creating an Aroma installer to make the Installation easier. and i have no experience in this. the Scripting/Installation method scares a lot of People i think because it´s to complicated and time consuming.

i´d really like to create an Aroma Version which Features a battery, balanced and Performance oriented Version of Butterfly just like your mod :) (also ned oc and non oc Version in mind)

but i have no exact idea where to start.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
I see, well, thing is PnP controls alot of things, and i even added many commonly used apps, so CPU speeds are set exactly right for some apps, like on balanced profile it will cap all cores at 1.3ghz, and gpu to lowest speed for 9gag app or facebook chat, hangouts etc...Its much more profined solution. And input boost is still faster, as it will ramp up CPU on event, while task load can still cause some delay while it ramps up.

When i get time, ill make an test build with disabled touch boosts, and interactive loads settings as you set them and will add to my aroma installer, but its not just that easy, iv sent you a part of code via pm so you see for your self :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
thank you! i will take a look.

yeah ultimately there have to be some shortcomings because my values are tuned to my usage. and the values you tuned depend on yours. but the per-app Control might be a good or a bad Thing i dont know. i didn´t really dive into pnpmgr on my past htc devices but this time it got me somehow.

9 gag is actually one of my CPU "Benchmark" apps, because really smooth Scrolling isn´t that easy achievable here. ( i.e. Scrolling fast and letting it slow down smoothly, free of lags without touching the Screen.)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Yes, its very smooth for me even on the balanced profile, and more important, you wont kill you battery just for super smooth scrolling 9gag, i wouldnt mind even there would be a bit stutters here and there, when battery benefits are big.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
Yeah I get you. I think I will have to test your mod too when I have some time.

But my mod isn’t killing battery. Exactly the opposite. When using 9gag I get one hour per 10% usually. Brightness 60% on auto. Then again one should not spend that much time on 9gag :angel:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Such battery, much perfomances , wow :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Light1984:
I noticed in OP that you recommended not adjusting anything in the CPU or the GPU tabs of EX. What about selecting the governor, Will that adversely affect this mod?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Changing governor is absolutely not recommended by anyone or any mod that exists that I know.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Light1984:
Why would the option be included in EX. If all those settings are so detrimental, why would anyone ever want to change them? Just curious. What governor does the stock ROM utilize?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Default is interactive, and options are there as a choise, you can use them or not, interactive was proven to be best governor so far in general usage, if you have some other opinions or suggestions I'm more than happy to try them out or incorporate into my mod as additional option.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Quadrider10:
I'm talking about Google Play Movies and TV. It does it for YouTube a little as well. Not as noticeable.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
Maybe try to install these apps as user apps to. In case of Youtube there was a lib missing that caused the stutters.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Yes you can.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Definitely no lag for Facebook or Twitter for me on videos, i use them every day constantly, tho those 2 apps lag by them selfs a bit no matter what on scrolling loading etc, well twitter was improved with 1.9x base..

What else are you using?Any other custom kernel or script or setting may interfere with PnP as im not getting this issue using stock kernel (1.9x base)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Quadrider10:
I'm on leedroid with EX kernel and your PNP. Those apps are installed as user apps. Not system. Google play movies and TV lag is bad though. Dropped frames and constat stutter while watching.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Cro Cop:
I think you need to set the EX kernel min performance level to 0 in order for the Pnp mod to take over.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Quadrider10:
0 sets core migration to stock HTC migration.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] munkyvirus:
Only with Ghostpepper PnP I see now. It basically locks the phones framerate to 30 while videos are playing. No stutter, just locked to 30, its weird. Works fine on yours, just tested it out to make sure.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
Do you have time to test a ghostpepper profile which isn’t finished still but may help with this?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] munkyvirus:
Sure
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
Pm sent :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Hey, i can confirm this lag, funny, when i flash stock pnp lag is even bigger for him, tho while disabling PnP lag seams to be almost fixed (stil minor stutter here and there).

Did some tweaks for that app now, but still it happens, not sure whats going on with that app, you tube app works flawless even on higher resolutions..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Here is test v16.

I removed 50fps limit on Youtube and Google Play Movies & TV, also did some tweaks so playback is improved on Play movies.

Also i did changes to Balanced profile thermal configuration so it keeps higher performanse on higher battery temps(its still fine tune limited by pre-set values and will throttle down if temps go higher.)

Please try and report back if Play movies are better now for you.

View attachment Tweaked_pnp_thermal_ivicask_v16.zip
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DroidShift79:
I'll test this out.

Anything you can do for casting? That's draining a lot for me on balanced profile like
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Quadrider10:
Google play is still stuttery. Not as bad, but it stutters almost every frame.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jayplusone:
No issues here with the test zip on latest US firmware and latest LeeDroid.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] s8000h:
Does anybody find out even local video playback is skipping flame so me of the time. Like somebody encountered problems in youtube or play movie. Playing some video contains panning views in the video can easily see the stutter or skip fame. Horever, when i touch the screen and holds it, the stutter disappear. But it did came back when i remove my finger from the screen. I don't know what cause this but maybe it's also one of the mistake HTC did in the cpu limiting approach?

Fyi both v15test and v16test does not solve this prob for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
I only changed YouTube and videos, for me YouTube is ultra smooth, and uses same settings as Google videos, can't figure what's going on exactly with videos, I'll need to do more tests when I got time.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Cro Cop:
This is good for gaming, but I noticed a bigger battery drain than regular v15 Performance mode even without playing games (just as you said).

Is it maybe possible to remove the 50 fps lock just for 3D (gaming) apps?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Hm, not sure, how can phone know if its game or some other app? How to different them? Unless u build list of like milion games..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Quadrider10:
Idk if this helped, but my Google play movies all were Standard Definition and downloaded.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Elistheman:
I have been using this mod for a week on balanced profile. At first, i was skeptical about this working but it turns out this mod is amazing!

with light usage (whatsapp, checking mail every 2 hours,YouTube here and there) i got 2 days of usage with 25% left!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DroidIt!:
Hey [MENTION=1792279]ivicask[/MENTION] :) All's running well here on clean flash Leedroid v142, ElementalX. 14 and your 16 update. Not getting any vid problems at all on my end. As far as games go, I wouldn't think there would be a way for the phone to know if it's a game or not. I would think that'd be coded into the app wouldn't it? If that's the case, yeah I think you'd have to include a million odd games...pretty much impossible. You can only do so much though and the mod imo works perfect the way it is.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] xunholyx:
I just installed v15 earlier today. Saw the posts about video lag, so I checked myself. No lag or stutter in either YouTube or Play Movies and TV

EDIT: It a fresh install from not using the PnP.zip. I flashed it to Viper10 with stock PnP. Maybe an uninstall before updating perhaps?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] s8000h:
I don't know if it just me or what. Check out this vid. The transition of those mag books are not smooth. It's like skipping frame but if u put the finger on the screen, it went buttery smooth. The link of the YouTube vid below:

https://youtu.be/5-e7NFINJas
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] p50kombi:
Hmm, yes I see this as well.

I think when you put finger on the screen surfaceflinger kicks in which might be the reason it goes smooth then.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Black-FR:
I must say, v15 works fantastic for me, in combination with the latest viper and stock kernel:

Gesendet von meinem HTC 10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Quadrider10:
Actually I notice the touch thing with a lot of things. Lol. Like any sort of animation or anything that moves with screen on and not touching it seems to have micro stutters, but as soon as u touch it, butter smooth. Maybe touch boost or something? Idk.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Because when u touch screen min freq is set to 1.3ghz, it's HTC way of saving power, if I make governor ramp up more aggressive it will affect battery alot..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Quadrider10:
Gotcha.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] INDIAN-MAfIA:
Taiwan 1.92.709.1 ota has a thermal update for Pokemon GO. You might want to check it out.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DroidIt!:
There's a firmware update for Pokemon GO? I knew it was popular, but gheese.:D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
v16

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
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Very nice... i was going crazy on kernel side for two nights about the 50fps,before I was informed about the 50fps cut, I somehow suspected it's in pnpmgr :D

excellent work
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Sorry everyone, please re download and flash v16, by mistake i included older v16 test file..

Yes, note i only removed this limit in performance profile, on balanced i only removed lock for YouTube and Google videos, which BTW now for example that video that user linked with mac commercial is now liquid smooth 60fps and no stutters!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lordmago:
Hi [MENTION=1792279]ivicask[/MENTION], is there any difference from the one in post http://xdaforums.com/showpost.php?p=68258869&postcount=393 apart the disgusting Poke...... things?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Alot actualy, I'm kinda busy, I probably missed/forgot some stuff from changelog, tomorow is my birthday, and I'm not working this week, so, u know.. Burp :)

Anyways I recommend everyone to flash and try it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lordmago:
Thanks, it was only to know if it was worthwhile to download it and flash it! :good:

Remember to drink, not only eat slices and slices of cake... :cool::laugh::laugh::laugh:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Quadrider10:
W00T! Thanks man! Happy birthday!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
Happy early birthday!

Thanks for all your contributions!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
Happy Birthday:o keep up good work m8!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
Happy Birthday [MENTION=1792279]ivicask[/MENTION]. Enjoy your day!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] gillim74:
Happy Birthday!!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] INDIAN-MAfIA:
Happy Birthday mate! Keep the good work up!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
Happy birthday and thanks for all your hard work!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DroidShift79:
Happy Birthday, Have für!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jascolli:
Happy Birthday!! Thanks for sharing your work
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rajuabju:
Not that I play Pokemon, but thanks for the update

I've seen an additional battery savings of about 4-6% using this (on top of my savings from Greenify & Amplify). Really outstanding
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kisakuku:
Would appreciate a clarification regarding this. What should min performance be set at in ElementalX (default is 60) in order to fully utilize your mod?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Zero (0).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kisakuku:
Thank you. Great, that's exactly what I've had it set at all along, but started doubting myself after seeing a couple of somewhat misleading posts )

---------- Post added at 09:47 AM ---------- Previous post was at 09:43 AM ----------

And just to double check: no other non-default EX app settings are required, correct?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
All rest should be fine.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LibertyMonger:
Hi, I am on Verizon HTC 10 running Viper with Elite kernel, I was wondering if I should still flash the Version v8 for older 1.5x and 1.2x bases or if I can run the v16? Thank you. Kinda confused...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Carrier doesn't matter, only base, if your running latest viper based on latest bases post 1.5x than you can use v16
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
I am on MaximusHD rom with Cleanslate 1.7 kernel.Is it ok to flash your work on these?Will it break anything?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
Won't break anything. The tweak works using stock as well as CleanSlate and EX kernel. Used all three on my 10 running Viper 10.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] s8000h:
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?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
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...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] westeight:
Balanced mode is smooth as butter on LeeDroid :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
Any significant performance loss after setting to 0?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] duowing:
Also with setting the minimum performance does the adreno boost need to be set to off, or does that not really matter for your pnp manager mods?

I've been trying to figure out what exactly are the best settings for custom kernel and the pnp mods. I have seem to have found the best battery life with the balanced mod and stock kernel
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] xunholyx:
Balanced and stock kernel are probably the best. That's what I'm using, and it's working real good for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
v17

2 days testing of v17 done, and im very very happy with the results as you can also see in the picture, enjoy :)

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)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
Man this is really looking great. Thanks for your continued testing.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] gsw5700:
Phone running cooler now on balanced with no noticeable loss in speed, great work.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
im really loving you mod. I haven't plugged my phone in to charger for 2 whole days and I still got 39% left
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] westeight:
Amazing work. Thank you! :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Post some pics when done :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Hi [MENTION=1792279]ivicask[/MENTION]

Could you please help out with some information.

Earlier I read that the mod works in stock kernel.

I got this question now second time "If I use EX Kernel Manager with your kernel does the minimum performance option do anything on yours? I've seen it said to leave that set to 0% to take advantage of ivicask's pnp mods. Is there also anything that EX won't control on your kernel"

I'm really curious related to what this might be needed or not needed, because i really like to keep my kernel as stock as possible. So for which part of the mod is stock cpufreq/kernel interface not enough?

Thanks in advance
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
I say that, because if u set any gpu, cpu, migration etc settings/limits kernel side, in most cases they override user space binary (pnp) than I can't guarantee my mod will work as I intended it to work.

So if you don't change/hardcore any of such values, than users can freely flash and use it with my mod with no need to change anything.

Ex kernel has by default min perfomance set to 60 as I remeber? This overrides some parts of my PnP and doesn't allow cpu to drop down as I wanted to achieve by my mod.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
And I have a related question (I guess).

Flashed viper10,flashed cleanslate kernel,flashed your PnP&Thermals tweak,and then from the play store installed ex km.didn't touch anything related to cpu,gpu or so;just used the sound and screen settings part.

Would this overwrite any part of your settings?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks

That settles it then, cleanslate is perfectly fine as the value is left untouched as in stock. I didn't want to interfere with the migration part at all, as userspace mod of yours does a better than fine job at tweaking this.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
EX has min performance changed by default, so you need to change it to 0.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
Oh,didn't know that.Under which settings can I find it?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Patrick V.:
I'm running on ICE v2.1.2 with Ghostpepper (V2), i would like to try this PnP profile. Can i just flash your zip or does this conflicts with the Ghostpepper profile?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Is v2 using pnp?Than my mod will override it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Patrick V.:
I'm not sure, but i think so (ghostpepper_pnp_v2.zip). Gonna give it a try anyway, keep up the good work :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
Yes our mods will overwrite each other. But that’s also stated on the faq of my thread.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
Where do I change it?Couldn't find.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
Ex kernel manager / cpu tab

Option min performance level
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
Nope.Cleanslate doesn't have it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
If you are on cleanslate the feature is not present at all because [MENTION=3088420]tbalden[/MENTION] likes to keep these aspects of his kernel completely like it is on stock kernel.

So you don’t have to set anything at all.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] p50kombi:
You can only find it if you use EX kernel, if you use cleanslate it's not there so nothing to worry about...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] westeight:
v17 is some real wizardry...:)