yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] s8000h:
This must be ALIENWARE LOL :p
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Viper 10 with EX kernel and [MENTION=1792279]ivicask[/MENTION] tweak! Thanks viper team!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
There must be some error on your picture, it shows 8 hours screen on with 43%battery left O_o
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
I was ???? when i saw that:D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] westeight:
Drain is miniscule:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DroidIt!:
No screenie unfortunately, but 8 hours of spotify yesterday, lots of work outside :) and still had about 65% battery left. That's on top of blowing internet, a couple phone calls, texting and downloading a rom update. :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
That's awesome everyone, would apretiate more screenshots tho :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
[MENTION=1792279]ivicask[/MENTION],thanks for the work.I have a question.

I flashed viper 10,then ElementalX-HTC10-0.18 kernel,then ex km app,I set the min. perf. to zero.That's ok I guess.

But later today I saw a setting in the venom tweaks that says "Disable PNPMgr" under the CPU tab.Should it be ticked or unticked?Thanks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
It needs to be OFF (which means its ON) - unticked
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Jacky113:
Does that mean in Exkm app HTC pnpmgr should be enabled/disabled? Its defaulted on with cleanslate kernel
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Cro Cop:
never disable HTC pnpmgr!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] janarp:
how is this possible :)

now I untick "disable pnpmgr" on venom tweaks.. hope now I get better result.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
I also think something is wrong:D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ryansc375:
If I use this tweak along with ElementalX, I realize that the minimum performance level needs to be set to zero. However, if I set the Adreno GPU boost to medium on EX, will that conflict with this tweak? I mention this because hamdir recommends setting Adreno boost to "medium" on that kernel when running Riptide Renegade. But he also recommends installing this tweak (in other posts), so I wasn't sure whether there'd be a conflict/problem with a "medium" setting on Adreno boost. Thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Adreno boost is unaffected by my mod, use it any way you want in combination with it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
Has anyone used the highest boost setting for a long period of time to see how it affects battery life?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
Not on my end, as balanced profile does the best job for me and my usage profile.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
Good job Dev!!

I have just finished a cycle with v17 and I'm really happy with the results. Im not a heavy user at so I didn't notice any stutters and I got a decent battery life when I combination with my other battery saving measures (such as greenify, amplify and leandroid).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
Hell yeah with clean slate and v.17 this phone kicks ass. I can be without a charger for days and not worry about my phone going dead for the first time since I've owned android phones

---------- Post added at 05:57 AM ---------- Previous post was at 05:54 AM ----------

Even when I'm down to 20% I don't have to hurry and find a charger
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] yldlj:
Leedroid ROM, Cleanslate kernel, balanced pnp. This was the first cycle of a ROM flash aswell so i would expect it to get even better. Awesome work ????
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Bud Horn:
Hi all.

Please help me clarify things here: Im on Leedroid latest and cleanslate kernel. In LeeDroids aroma installer, I have the option to choose the pnp governors and Im very fond of ghostpepper ... Now I see this thread and have this question I hope you'll help me answering: do I have to flash ivicask's v.17 .zip-file in addition to get the whole benefits out of these great battery savers?

Thx in advance, guys.

\Bud
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
I don't know if Lee added also my thermal file, ask in he's thread please, but I think he did.

Also you, can't use both of them at the same time, files override each other.

Also, my mod is alot different from ghostpeper mod, you can see in changelog of this thread all the changes I did, I don't control only cpu, but also gpu, thermals, memory management, it has per app special settings, cpu cores turning off on screen off and many many more...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Bud Horn:
Thx for your answer, mate ... Im out of thanks by the button ... I'll try your battery-mod right now as I've been reading up on it and it sounds really great, so Im gonna give it a try ... thx again, mate :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
Great job [MENTION=1792279]ivicask[/MENTION]!

Easily reaching 7+ hours.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] janarp:
do you have data connection always in of you turn it off when not using your phone?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
WiFi and mobile data are turned off when not in use, although for testing I kept WiFi on overnight (but it isv set to turn off when phone is sleeping).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] janarp:
okei thanks... i have data always in and get almost 4 hours screen in time.. guess its good enough?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] TotallyAnxious:
You could try leandroid to auto stuff on and off with a sync schedule. But if you do data off with the app you'll probably want to edit the default.xml to disable the annoying "are you sure you want to turn data off" pop up (I can clarify, just a bit busy atm). https://play.google.com/store/apps/details?id=com.teqtic.leandata (there's an XDA thread too for the app)

Sorry for the off topic content.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
Depends what's good to you.

For me under 5 hours SOT, isn't great.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
I wanted to ask you a question about your tweak. I recently switched over to android so forgive me if it's a stupid one. I have elementalx kernel and I flashed your zip on my device. What I wanted to know is do I keep HTC pnpmgr and msm_thermal enabled or disabled? I thought you basically tweaked those files so I kept them enabled. Is that wrong or right? Thanks for this tweak and helping.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
Yeah under 5 isn't really good for my "NEW" standards for this phone..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Cro Cop:
You should never disable HTC pnpmgr. About that other thing (msm_thermal), I`m not sure.

The important thing is to, if you dont already know, put min.performance level to 0.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Thanks for answering. I have performance set to 0 and and pnpmgr enabled. Still had high battery idle battery drain though. But battery drain during normal usage was a lot less. I'm trying to revert back to stock kernel. Can you help me with that? I wanted to know if I flash the kernel img in bootloader or system? I've never flashed an image backup of a kernel before just zips. Thanks for helping.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jayplusone:
Dirty flash your rom.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
I'm sorry. I'm unaware of the concept. Could you link a relevant thread of explain it to me?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Magnum_Enforcer:
He means reflash your current ROM via recovery without doing a full wipe (ie only wipe caches).

Sent from my HTC 10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
full wipe before flashing a rom = wipe system, data (without sdcard), cache + dalvik cache, you have to completely set up your phone after this

Dirty flash a rom = wiping cache and maybe system . Depends on the rom. Most roms wipe system automatically when flashing.

You donâ??t have to set up your whole phone following this procedure

Edit: too slow.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] p50kombi:
either that or wipe from back to front instead of front to back when going to the toilet for a number two...that is some dirty wipe you're doing then.... ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] diamond09:
Just reflash the zip and choose stock.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Thanks a lot. I'm just asking for my knowledge does dirty flashing have any inherent dangers linked to it due to which it isn't the norm? Also seeing as you have ported some nexus PnP tweaks to the HTC 10 (thanks for that) could you also tell me whether to leave msm_thermal enabled or disabled in EXKM? I'd be much obliged if you'd help me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
dirty flashing may cause erratic behaviour in some cases. on the htc forums it´s a general rule of thumb, to do a full wipe everytime you change rom, or when the base of your rom changes. if it´s only a minor update dirty flashing is safe in most cases (and more convenient). however, if bugs occur, please do a full wipe before reporting them with logs to the dev.

I think on sense roms msm_thermal is disabled by default. pnpmgr and the thermal config file do the job already.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Ah okay thanks a lot. I thought the dev had basically altered the HTC pnpmgr and msm_thermal to implement the tweaks so I had enable them both. Thanks though. You've helped me a lot today.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] duowing:
Not sure if this is considered good. Seems decent considering 3 hours of GPS. Using stock rom, cleanslate 1.7.2, and balanced v17.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] IcyTexx:
Is this a normal Android System and kernel battery drain?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ffuser1:
would this be compatible with http://xdaforums.com/android/software-hacking/tweak-l-speed-v1-0-02-02-2015-t3020138
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] westeight:
So, after a month of usage here are some reliable stats from a very heavy user:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
It's not drain, it means all other app use less power than system, everything looks good in your screenshot.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Can't say exactly on only half charged phone and used in half, but looks okay.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] deep0ew:
What am I doing wrong?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
Bad mobile coverage is a huge factor especially on 4g.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
There's something holding your device active fit more than 9 hours. Try to find out what's causing this. My active time is around two hours per one full charge.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
Hi [MENTION=1792279]ivicask[/MENTION] & [MENTION=3428502]Freak07[/MENTION],

Out of curiosity, I'm currently on a cm based build (Breanstalk 5th Sept) and noticed that pnpmrg is included.

Would your mods be compatible as is or would they require work to function on cm based roms?

Not asking for any work to be done right now as cm isn't ready for prime time but curious before I start flashing things blind.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
I have no idea, you can try very simple.

adb shell cat /sys/devices/system/cpu/cpu2/cpufreq/scaling_cur_freq

It will show current CPU speed, than turn off screen, if it shows error that it cant find path, means script is working and core goes offline.

Also, i have no plans to support CM in any way, if my mod works than ok, if not, i dont plan to flash CM ever on this phone or attempt to fix it for CM.

Sorry.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
I tried cm briefly.

You have to rename pnp.xml to pnp.cfg when flashing ivicasks or my mod. afterwards my mod worked just fine. Don’t know about [MENTION=1792279]ivicask[/MENTION] s.

But try what [MENTION=1792279]ivicask[/MENTION] suggested too.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
Hi both,

Thank you very much for your quick replies. Appreciate you don't want to go down that direction but also providing me with some tips on h ow I can get it working :svetius: :svetius: :svetius:

When I get a second I will follow Freak07's instructions and report back in case anyone else would find it useful.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] deep0ew:
Is there some kind of app to figure it out? I used to have something, but I forgot the name it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 5m4r7ph0n36uru:
Wakelock Detector on Google PlayStore.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
Does the mod control the phone app when a call is active on screen off? I feel like it could be controlled for lower CPU frequencies.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
There is no need for any lower, it turns both big cores off on screen off, also lwoers the speed of lower cores, any lower than that could cause problems and lags on basic functions.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
I see. Thank you the explanation!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] NickDVS:
I have v17 with Viper 2.9 and it has been working awesome. I'm scared to upgrade to the Viper 3.0 ROM, but we will see what happens.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LeeDroid:
Seriously mate, I great job! I love the balanced profile
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
Hey has anyone tried using powernap for wake locks with our phones and these awesome tweaks? Im pretty sure he stopped development but it may still work?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] -Michael_:
Thanks for sharing this, happy with the results!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Hey [MENTION=1792279]ivicask[/MENTION]. Great work making these tweaks they've helped me a lot and I can't thank you enough. I had a question though. Although battery drain when screen is on is extremely superb idle time varies a lot. Yesterday I had a battery drain of around 0.5% while I slept but today it was very high around 4%. I notice nothing out of the ordinary in gsam battery stats so could you help me diagnose the cause? Is the script misbehaving due to my error or is it something else?

Screenshots in order attached attached:

1. System battery graph

2. Gsam main page

3. % power consumed

4. CPU minutes used (foreground. Background has same two processes on top with same times)

5. Time held awake

6. Number of times held awake.

P.S. WiFi signal was pretty weak where the mobile was placed if it makes a difference.

Thank you for helping me.

Elementalx kernel. Stock rom. Minimum performance level 0%. HTC pnpmgr enabled (default). Msm_thermal disabled (default)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
That's normal, low signal wifi or mobile data will use more power, also that's minor difference, any random factor could used extra juice, some app update, some backup from Google services, some app simple doing it, also, this phones battery stats aren't exactly 100% precise to be honest, sometimes mine holds half hour on 100%, than suddenly drops few percentages until it settles/calibrates it self.

EDIT:Show your kernel wakelocks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Basically non existent. I'm using amplify too.

Thanks a lot for answering though. It's just that 20% battery drain overnight worried me. Could you also tell me whether I should enable msm_thermal or not for optimal performance? Thanks a lot for helping me though.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CrazyCypher:
Hello, I mounted those two files pnp and thermals through Magisk /cache/Magisk/ .. .. .... and it seems the files are overwritten in system/etc/ folder so it seems the files are mounted successfully without overwriting...

Now, is there a way for me to confirm that your tweak is active? I have EX Kernel Manager, I set performance to 0 and also I have GPU boost set to medium. Is that OK?

Thank you for answers, I appreciate it
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Not that view, View kernel wakelocks menu.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
EX Kernel manager or Venom tweaks have option to disable PNP, see in there if its on or off.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Umm I'm not sure where to find those. I do have the gsam root companion installed but it displays no such options. It's my first time with android do forgive my ignorance. Screenshot attached shows that the kernel page in gsam does have a section named wakelock details. Is it possible that due to using a custom kernel I cannot view kernel wakelocks?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CrazyCypher:
After mounting the setting HTC pnpmgr automatically changed to Disabled in EX Kernel Manager app... Does this mean your tweak is working?

Which should I use, balanced (i have now) or performance? I really want silky smooth UI, I dont play a lot of games but I mostly use social apps and browse different forums... sometimes I need gps...what do you suggest?

Thank you very much, I appreciate it
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
These are the only menus I can see.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Idk whats wrong with your GSAM, mine shows this menu, last on list.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
If it disabled than its disabled, and my scripts are not active. PnP manager needs to be running in order to work.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CrazyCypher:
but before I mounted pnp and thermals files to system/etc/ the setting in EX Kernel Manager was "Enabled"

After I reboot the option is disabled...

Will it help if I enable option? Will the tweaks be active?

Edit: I cannot enable HTC pnpmgr.. why is that? Any way to make tweak work? I only need pnp and thermals files copied in system/etc? Or is there something else?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
idk what are you doing or what are you trying to achieve, but means its cant read file and pnp is disabled, you can try enabling it, but it will go back to disabled if file is not accessible.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Could it be because of me using elementalx kernel? I installed wakelock detector previously and although it had a kernel wakelock option it didn't display them saying they weren't available.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CrazyCypher:
Hy, I successfully copied files and now it says HTC pnpmgr "Enabled" after reboot :) Does that mean the tweak is working or how can I check that it is working?

I also set Min performance level to 0%

Thank you :)

---------- Post added at 11:40 AM ---------- Previous post was at 11:19 AM ----------

Ok, I mounted pnp file and thermals file with Magisk /root/magisk/................ and I set performance to 0%, now when I do adb command adb shell cat /sys/devices/system/cpu/cpu2/cpufreq/scaling_cur_freq when screen is off it says "no such file or directory"

That means script is working, correct? :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Yep it works.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
It has nothing to do with any other app, gsam it self simple must show it, i had EX before and wakelock detector currently and works just fine for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
I have no idea what to tell you. Kernel wakelock stats aren't working for me for some reason. I've tried gsam, batter battery stats and wakelock detector. None of them show kernel stats for some reason.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Well, than you have messed up phone somehow. Full wipe time i guess :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Haha I don't have the heart for another one of those. I'll probably do it when the new update comes. I did amplify a couple of google services (mainly *net_scheduler*) and last night's idle drain was 2% with WiFi on. Which is okay I guess. Thanks a lot for helping me though.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Xposed module is causing you more problems than benefits i guarantee you.

Including possible more battery brain.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] deep0ew:
I also have a battery drain. I tried to figure out what it is. And it seems nlpwakelock is causing the drains. Is there any fix for this?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
nlpwakelock comes from Play Services, and that can be caused by any other app on your phone which requests locations constantly from Play Services.

Check all you apps that access location services and turn off ones that you dont need, you can also do it by Permissions screen for individual apps and denying location services to them, for example i blocked Facebook and Twitter from doing so.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Seriously? I was actually worried about that before I installed xposed so I checked around to see the affect it had on battery life and performance. Sadly got no definitive answers about its impact. From what I've heard we will be getting an update to the 10 sometime around this month. Will clean wipe then and check your tweak with and without xposed to see if it has an affect. I can't live without your tweak anymore though. First time I can go 5 minutes before losing 1% charge with screen on. You've done some great work.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
Xposed replaces main art binary, and HTC adds alot of their own improvements to their binaries so you loose all that by installing xposed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Oh. Thanks for telling me. I guess everything has a price :/

Is using custom ROMS a better solution? Your ROM, viper, for example, does that touch the art binary? Its based on sense so I'm guessing it shouldn't but am not sure.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Lurien:
I don't use Xposed but this is a great heads up!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
We never modify such things, our mods are mostly framework and apps modification
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] duowing:
All of this is interesting. When I was running my Moto MAXX on CM I could use xposed and really manage to get good idle drain, but with the 10 and Xposed, even using Amplify to limit alarms and greenify for agressive doze I haven't seen any real improvements on idle. So I'm gonna go ahead and give it a try without xposed and see.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
I looked at your ROM page and saw that you offer a lot of modifications. Does that impact system performance in any way? I'm sorry for asking so many questions. I think I might shift to viper though. That's why I'm asking.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
nope, no performance downgrade or so, everything as it should and even better and with this mod, even more better :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ivicask:
There's no perfomance degradation at all.