yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 5] ShadowAndroidFanatic:
Hey I've been getting a ton of battery drain using ktoonsified v4 on the new 3/27 build but on the 3/25 it works perfectly fine so I'm not sure what's going on
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Are you noticing any suspicious CPU activity on 3/27?
[T-Mobile Samsung Galaxy S 5] ShadowAndroidFanatic:
Not really was just the battery drain I tried switching back to 3/25 just now and got antutu of 29k so I think I screwed something up. Any suggestions?
[T-Mobile Samsung Galaxy S 5] milojoseph:
Use better battery stats

Sent from my SM-G900T
[T-Mobile Samsung Galaxy S 5] ShadowAndroidFanatic:
Alright I will. Should I just leave it for a couple hours and see the results or should I just use my phone normally while it's running?
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Use it like you normally would then post some shots of your "other"and "partial wakelock" results
[T-Mobile Samsung Galaxy S 5] ShadowAndroidFanatic:
Okay will do. Thanks for all the feedback! :)
[T-Mobile Samsung Galaxy S 5] ShadowAndroidFanatic:
Okay I think I fixed it. For some reason even with supersu permissions it wasn't applying ktoonsified profile so I reflashed my rom and ktweaker update and it is running amazing! I'll still send my batterystats if you want though. Oh and just in case my max on ktoonsified v4 is 2688 and min is 2457. Sound right?
[T-Mobile Samsung Galaxy S 5] cAase:
Noup. 300-2688 are the right values.
[T-Mobile Samsung Galaxy S 5] ShadowAndroidFanatic:
That would explain why it was so fast haha okay I restored the profile and it fixed. I have no idea why it was set to that
[T-Mobile Samsung Galaxy S 5] prboy1969:
Using the latest KT Kernel. Running Asking Alexandria profile, and all is running excellent [emoji106] .
[T-Mobile Samsung Galaxy S 5] phazey12:
is it correct that all 4 cores stay active with screen on on KTv4 profile? I'm no cm 12.1 with 3/29 kernel

edit: all 4 cores stay awake at 300 mhz if that matters
[T-Mobile Samsung Galaxy S 5] DLUX24:
Cause your probably using a script, scripts are null and void now. Stop using the scripts and it will be good:D
[T-Mobile Samsung Galaxy S 5] phazey12:
Ah, yea. I was using the Kmod Script. But without the script, all 4 cores stay active at max cpu speed. Wonder if it's just something with the 5.1 kernels...
[T-Mobile Samsung Galaxy S 5] jhuff83:
When did this go into effect? I was using ktoon mod as well from Lugi and did not see where this was posted.
[T-Mobile Samsung Galaxy S 5] Ramondel:
This is from the man himself http://xdaforums.com/showpost.php?p=59743207&postcount=1164
[T-Mobile Samsung Galaxy S 5] phazey12:
Anyone on a CM 12.1 ROM running any of the profiles successfully? Mine always just get stuck with all 4 cores on max speed...
[T-Mobile Samsung Galaxy S 5] jhuff83:
Totally missed that post. Have deleted all of the scripts now. Thanks.
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Clear Ktweaker data and SU logs then go back and reapply your profile. You may need to wait it out a while before the cores settle down but they should eventually turn off and operate properly according to your settings.
[T-Mobile Samsung Galaxy S 5] Wacky2bakky:
Anyone have the link for the Asking Alexandria Profile? It will work with the latest KT Kernel correct?
[T-Mobile Samsung Galaxy S 5] Ramondel:
All you need to do is open KTweaker app and to to the KTweaker Shop (Profiles) and you will be able to download it from there.
[T-Mobile Samsung Galaxy S 5] phazey12:
I was looking for the profile too and it isn't in my KTweaker shop for download
[T-Mobile Samsung Galaxy S 5] Ramondel:
Ok if it is not in the shop then it is still a beta and has not been released, sorry for the wrong info. If you search this thread you should be able to find where Luigi has posted the link for his shared drive that has all of his test profiles.
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
I definitely wouldn't recommend using Asking Alexandria or any old profile. I'm in the process of updating them all to reflect the recent changes KT made. The battery oriented profiles were the most affected and are now prone to extreme lag so I've removed all links temporarily while I update the profiles.
[T-Mobile Samsung Galaxy S 5] phazey12:
anyone getting insane battery drain with the newer KT kernel and Ktoon V4 profile? Idle is fine, I'm getting around 1% drain an hour with sync and google hangouts running on LTE. But when I use my phone, it drops like crazy. I went from 93% to 80% in like 30 minutes of candy crush.

I'm on f2fs with 4/1 KT Kernel on CM12.
[T-Mobile Samsung Galaxy S 5] MRDOCA:
Yea I get insane drain on tw aswell. Get 0.9 drain in idle. Changed to stock kernel atm and will try boefella kernel today aswell

Sent from my SM-G900F
[T-Mobile Samsung Galaxy S 5] phazey12:
I would switch back to stock kernel but i formatted to f2fs... think only KT kernel supports that. oh well. I just set max cpu speed to 1.8 ghz and drain is better when using the device. No noticeable difference in performance in games or performance.
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Try making the following changes:

cpu_load_adder_at_max_GPU = 20

sync_extra_cores_screen_on = 0

If those don't help then your phone may not like the new scaling and hotplugging changes in which case you should disable them by setting "lockout_changes_when_boosting" to 1.
[T-Mobile Samsung Galaxy S 5] phazey12:
The first two changes make the profile a lot better. Without the changes, all 4 cores stay at 2.6ghz in a game. With the two changes, the speeds will fluctuate and cores will go offline. No performance impact as far as i can tell in any games.

Changing lockout_changes_when_boosting to 1 doesn't seem to make any difference in CPU load speeds and performance.
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
That's great! The lockout parameter is just a last resort for if things don't improve. The recent changes allows the frequencies to scale and hotplug more efficiently on boost. Although it's a great concept it could also have a possible hit on battery for some people. I usually just leave it as is and adjust other parameters such as those mentioned above to balance out it's affects on battery life.
[T-Mobile Samsung Galaxy S 5] tomaasz:
Do you think, it have any sense to use [TWEAK][MOD] L SPEED on CM12.1 with KT-SGS5 kernel with profile "Ktoonsified v4" ?

Does it generate conflicts ?
[T-Mobile Samsung Galaxy S 5] cAase:
Unfortunately I'm suffering from really bad battery life lately, after the recent changes. I'm barely hitting 6h of SOT, before I got minimum 9 without a problem. I'll try the adjustments you advised.

"disable them by setting "lockout_changes_when_boosting" to 1"

Is this a typo, or do you mean to say 0?Because mine is already at 1 by profile default.
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
It's possible but make a backup then flash the mod and let us know how it works out for you.

No, it's not a typo. Setting it to 1 means your enabling the option to "lockout" the frequency and hotplug changes. You must've at some point already enabled it because default Ktoonsified v4 has that parameter disabled.

As for your battery, I can try recommending further changes but at this rate you just might wanna consider temporarily switching to a more balanced profile and compare your results.
[T-Mobile Samsung Galaxy S 5] cAase:
Oh so smooth maniac v2 can still be used with the kernel, even though the kernel changed a lot recently?
[T-Mobile Samsung Galaxy S 5] squarty:
[MENTION=5082757]LuigiBull23[/MENTION]

I can't find Asking Alexandria profile anymore.

Is it dead as profile ?

Thank you
[T-Mobile Samsung Galaxy S 5] jhuff83:
I think he was reworking a bunch of the profiles due to the kernel being updated. That is why they are not in that link anymore.
[T-Mobile Samsung Galaxy S 5] cAase:
Is there something you can do with the smooth maniac profile to make it act more in line with the recent kernel changes? Before the big update I didn't have any lag while playing, now it lags even when I play a simple non high graphic game such as soccer stars. Didn't happen before and doesn't happen with v4 profile.
[T-Mobile Samsung Galaxy S 5] ginzo:
I am trying V4 with these modifications on my galaxy S5 (G-900F) .

I would also like to know which profilles are effectively compatible, with galaxy s5.. I am using Ktoonsez since a few days only, and I'm a little bit confused as profiles are for S4 I see...

thank you all in advance for explanation :)
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Here you go

https://copy.com/AwgwZcGqKGNZp6qA

Check the available profiles in the Ktweaker app. I'd recommend using just the performance profiles for now while I continue updating all the profiles.
[T-Mobile Samsung Galaxy S 5] ginzo:
Thank you for the fast reply!

At the moment, with ktoonsez v4 and your tips seems going everything very well, but I'll see within tomorrow if it is true.

I would like to post a couple of screenshots

I will check performance profiles later and save some tough test them, thank you a lot!!

Inviato dal mio SM-G900F utilizzando Tapatalk
[T-Mobile Samsung Galaxy S 5] jhuff83:
I'm having a bit of lag when pressing the home button to wake up the screen. What was it that needed to be changed for this again to be more responsive?
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Your screen off settings. There's a bunch of different things you can change depending on the profile you're running.
[T-Mobile Samsung Galaxy S 5] jhuff83:
Was just running ktoonsified v4. Went back to stock for right now but not opposed to coming back to this kernel.
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
OK well if you decide to go back changing these may help.

block_cycles_raise_screen_off = 3

no_extra_cores_screen_off = 0

sampling_rate_screen_off = 35000
[T-Mobile Samsung Galaxy S 5] MRDOCA:
Everytime I try this kernel I have way to much drain. I tried the settings reccomended and still drains bad. Stock kernel and boefella kernel have awesome battery. Dunno what's happened this kernel was awesome on KK Roms

Sent from my SM-G900F
[T-Mobile Samsung Galaxy S 5] ezziskandar:
Hi, I also face the same problem.. much drain....Master Luigi do you have more tweaks for Governor adjusments?
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Well first and foremost, you want to ensure you have any unnecessary wakelocks in tact. Secondly, what settings are guys currently running on this kernel?
[T-Mobile Samsung Galaxy S 5] MRDOCA:
No wake locks 0.9% drain overnight.

Running ktoonz v4 with the mods you mentioned on the last page. And still fail to get 6 hours out of my phone without having to charge it again. 2 charges a day on ktoonz and 1 charge on stock and boefella. If there's anything you want me to try of if you want to check my BBS logs I'm happy to share.

Sent from my SM-G900F
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Please try this version. Give it about 3 full cycles then share your results. If you notice no improvement in battery life then you definitely have more going on than just the profile. Lets just hope this helps.

Ktoonsified v4 MOD

https://copy.com/vbCgtMMytzrMWLX7
[T-Mobile Samsung Galaxy S 5] ahrion:
Do you have a KT MOD v4 Script to test as well?
[T-Mobile Samsung Galaxy S 5] DLUX24:
Scripts are obsolete now. They don't do anything, stop using scripts per KT and Luigi:D
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Sorry buddy but scripts are now absolute and have been since the last major kernel update.

EDIT: What [MENTION=4991935]DLUX24[/MENTION] said lol.
[T-Mobile Samsung Galaxy S 5] MRDOCA:
Thanks will try from today. Also like I said I am happy to send you anything you need to try help people like me having these weird drain issues. Thanks

Sent from my SM-G900F
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Of course. I just want us to rule out the profile before investigating other things. I've modded the profile to better serve battery for you so assuming all your wakelocks and other services are in check the profile should definitely help. Good luck and keep me posted bro.
[T-Mobile Samsung Galaxy S 5] cAase:
[MENTION=5082757]LuigiBull23[/MENTION] i don't know if you saw a post i posted some time ago. I saw a long post by franco on why the Nexus 6 got so much smoother after the 5.1 update. He said because now the stock N6 kernel runs at 4 cores all the time, giving much better performance. Is this something you experimented with? Would be fun to try.
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Thanks for the link. I have and it was never really pleasant, at least not on Samsung devices with the current governors.. All cores running online sounds great on the N6 because Google had also disabled the thread migration logic, which was what allowed the kernel to distribute the workload equally across all 4 cores and sync the frequencies to that of the main core. So by disabling this it allows the cores to scale more efficiently and results in better battery life. Locking all cores on devices like the S5 will typically improve performance but drain more battery or will simply create lag, depending on the governor.

HOWEVER, with a governor like Ktoonservativeq and the fact that it can now be utilized across all cores on this device, I see it being very possible to mimic what Google did.

I will use this concept you've shared in future profiles once my updated profiles have been added to the Shop, which should be in a few days or so. They're currently in final testing mode.

Thanks again for sharing!
[T-Mobile Samsung Galaxy S 5] jhuff83:
This sounds promising.
[T-Mobile Samsung Galaxy S 5] cAase:
You are awesome!
[T-Mobile Samsung Galaxy S 5] MRDOCA:
Nearly the end of the second cycle...

6hr 48mins on battery

2 hours 6 mins screen time.

25% battery left

Will post tomorrow how I get on but still not good. I used to get 6 hrs screen time and 20+ hrs on battery.

Sent from my SM-G900F
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
OK. If it's not too much trouble please post some CPU stats of your final cycle. You can use any app of your choice. I'd just like to see what your usage looks like.
[T-Mobile Samsung Galaxy S 5] MRDOCA:
Ok can I do that with bbs?

Sent from my SM-G900F
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Sure can. You can also post some of your "partial" and "other" wakelocks if you like.
[T-Mobile Samsung Galaxy S 5] MRDOCA:
Cool so I'll just run bbs in the background or something and it'll record everything all day like it does at night? Sweet as will post tomorrow or Sunday.

Sent from my SM-G900F
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Yes. Good luck!

[MENTION=3769534]cAase[/MENTION]

Here's a preview of what I've been working with so far. Let me know what you think.

The Nexus

https://copy.com/7qxAJSoYwjoJAPN2

Do note that a couple of the cores may temporarily go offline even though hotplugging is disabled. It appears to be a bug in the code that KT will hopefully be able work out soon. They all remain online for the most part though but if you happen to notice any minor stutters it's probably due to 1 or 2 cores (primarily cpu2) quickly cutting off. Hopefully the system remains smooth on your end like it has on mine.

Also, I haven't had a chance to test out battery life yet but that's why I'm sharing this with you and anyone else interested in giving this a run.
[T-Mobile Samsung Galaxy S 5] -=Verb=-:
Using TheNexus profile on G900H with Twi5ted Lollipop V4 and Ktoonez Kernel (Mar 27, 2015). The only wakelock probably will be from AcDisplay as it polls for notifications. I'm a mid-heavy user fond of Instagram, Facebook, GMail, spotify and tweeter. I used to run on SmoothManiac MOD. I can post BBS results if you need to know.

Thanks for this and for the other profiles i've been using.

---------- Post added at 08:45 AM ---------- Previous post was at 08:21 AM ----------

First impression is that it somewhat lags when switching apps where the 3 cores switch to 300mhz, while CPU0 is at 800-1400mhz. Temperature is around 40-55C. But after that initial lag, everything is smooth so far especially when you tap the screen; a 4 cores jump to 1800+MHZ and ramps back down.
[T-Mobile Samsung Galaxy S 5] cAase:
[MENTION=5082757]LuigiBull23[/MENTION] awesome. Like previous post said, there's some hickups while switching apps for a brief second, doesn't happen all the time, maybe 1/4 times. My first smoothness test is Tapatalk. I always get lag while scrolling if the governor settings are less "power configured". While using Smooth Maniac MOD, I start XDA, and immediately start scrolling as soon as my subscribed topics are loaded. With the MOD it's really smooth the second I start scrolling. Same test with the Nexus profile, it lags a lot, even a small freeze in the scrolling for a brief second. After scrolling up and down for maybe 1.5-2s the scrolling becomes smooth like with the MOD profile. :)
[T-Mobile Samsung Galaxy S 5] jhuff83:
[MENTION=5082757]LuigiBull23[/MENTION] here is my BBS logs running your ktoons v4 profile mod. I still think my battery drain is not as good as it should be. Losing 1.5%/hr.
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
As I feared the system just won't run as smooth under this routine, especially not with how cores cut off the way they do. I'll do what I can and make further changes to better compliment performance. Hopefully it doesn't have a huge hit on battery.

EDIT: Try this one. Should be smoother than the initial test.

https://copy.com/ab0lbc4ll0dACNqA

Based on the log you had wifi on the entire time? I'm seeing some wakelocks related to WiFi and that appears to be the main culprit. I'd advice that you disable it whenever you place the phone on standby. If you have a good LTE connection it shouldn't impact battery life. Also, make sure "scanning always available" is disabled as well as any active location services when not in use. See if that helps and report back if the issue persists.
[T-Mobile Samsung Galaxy S 5] -=Verb=-:
Tried the latest one you posted. I see CPU stays a bit longer at higher mhz rather than 300. My phone seem to heat up a bit compared to the previous. Also, battery drains a bit faster. (100 down to 76% in about 1.5hrs of use [fb and video stream]). The hiccups are still there but barely noticeable. I find that it's as responsive as the previous TheNexus profile version.
[T-Mobile Samsung Galaxy S 5] jhuff83:
Always scanning is off and location is set to power save. LTE is crappy in my house. Don't know if it makes a difference, but I had just installed that profile before going to bed. Not sure if it needs to "settle" in first.
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Yes. I need them to scale up more frequently to reduce the time spent at lower frequencies that's causing most the lag. I didn't wanna go over the top on testB as that would just defeat the whole purpose of what the profile was set out to do. Those minor hiccups will always be there, unless I allow the other cores to respond better to workload, which I'm still working on. A simple fix would be to sync up all the cores but again that's the exact thing we're trying to avoid. So I'm still working on finding that sweet spot in between keeping the frequencies low for a specified rate and also scaling up when necessary and long enough so as to keep the system running smooth when completing tasks. I'll be sending another test soon.

Give it a few more cycles and compare but your still likely to be effected by those wlan wakelocks. Since WiFi nor LTE will help maybe try testing overnight using airplane mode and report your findings. That should limit the large number of alarms you got going on.
[T-Mobile Samsung Galaxy S 5] cAase:
Much better, but still some hiccups that happens occasionally. Could you make one last test that's much more performance oriented (okay not really much since it'll probably kill battery)? I have awesome battery life now, no wakelocks etc, and pretty much achieve same amount of SOT/up time every day. So i would be a pretty good reference regarding the battery efficiency of the profile.

The biggest problem of the latest test wasn't that it lagged when scrolling etc, like before. Now i noticed most stuttering when opening apps etc. I opened up "settings" 10x with my ordinary profile (SM v2 MOD), and 10x with the test profile. The test profile suffered a lot more.
[T-Mobile Samsung Galaxy S 5] jhuff83:
Yea, might try that. I know that I could get below 1% in the past. I think that might have been on a different profile and when Greenify worked. So I know it's possible to do w/leaving my wifi on 24/7.
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
[MENTION=3769534]cAase[/MENTION]

This one is for you. Great performance that should also give you some pretty good battery life.

All cores sync with cpu0 on touch but you'd be amazed by how quickly them jump right back down to 300MHz. Let me know what you think

https://copy.com/M8OvB6DNkU16Ni49
[T-Mobile Samsung Galaxy S 5] cAase:
Thanks mate. Huge improvement from before. Though, it's still not comparable to Smooth Maniac v2 MOD and the v4 profile. The scrolling is just fine, as smooth as with the mentioned profiles. I noticed opening apps out of cold is slower with the test version. You can try by killing contacts app, open it and compare. I pretty much never kill apps, but it's interesting comparing speed when apps are completely shut down. Unfortunately the animation when opening settings still tend to stutter more than it should. I'm using TW, so maybe it's hard for you to verify this the same way, since you're running CM12 based.

I'm grateful for your efforts, but i guess it's maybe like you feared, Samsung phones just won't play as nicely with this type of configuration.
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Damn I didn't realize you were on TW. Makes more sense to me now. That definitely has a lot (not all) to do with it seeing as I am indeed on CM, which typically demands less CPU power than TW does. I can always do a TW mod of the profile if you like?

EDIT: Here's a TW version. I've reverted back to hotplugging with the exception that the cores stay online slightly longer before shutting off.

https://copy.com/hd61W2adrIxdwW4j
[T-Mobile Samsung Galaxy S 5] MRDOCA:
So... had my usage for the day... then phone died. Lost it. Will do again tomorrow. Pain in the ass phone

Sent from my SM-G900F
[T-Mobile Samsung Galaxy S 5] cAase:
This profile is really smooth. Scrolling in tapatalk is even smoother than with Maniac MOD. Unfortunately it's still stutters about 1/3 times when opening settings. Also, I still find apps to start slower from cold. I don't know what causes it, but the profile feels really smooth and snappy, then from out of nowhere some hiccups occur. Could it be that the cores are down to base mhz too fast?
[T-Mobile Samsung Galaxy S 5] Christiancs1969:
I'm also tw. Battery 5andhalf to 6 screen on overnight drain 2 too 4percent ..the first ashs profile ..I'll try other tw version. After 2nd cycle.
[T-Mobile Samsung Galaxy S 5] jhuff83:
[MENTION=5082757]LuigiBull23[/MENTION] check out my log now. I think there was an issue with my wifi calling connecting and disconnecting on my 5ghz wifi connection. I cleared the cache on the wifi calling app and switched over to 2.4ghz now. Phone is doing better while sitting idle.
[T-Mobile Samsung Galaxy S 5] LuigiBull23:
Possibly since that's the primary difference between the profiles.

Try this final version. It's now universal for both TW and AOSP users.

https://copy.com/EmzH9OzH0ii3XZJE

If you still find the speed to be slower when opening certain apps then try playing with the frequency steps and boost cycles until it suits your standards. Keep me posted.
[T-Mobile Samsung Galaxy S 5] cAase:
I think this is it. The stutter when opening settings is gone. Still somewhat slower when opening apps but it's barely noticeable. I'll experiment with the frequency steps and boost cycles. I'm going back to CM so i'll edit this post regarding my experiences on the other side.

Gave you a small donation (8T796178FY715460E) for some good whey isolate and some casein before bed, mostly because you help out without asking for something in return. :highfive: