yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] rauschkugl:
Have to charge first, I'm out of power. Will report tomorrow how it went with the test version.

Also danvdhs rom and own profile.

Gesendet von meinem GT-I9505G mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] islipfd19:
Ok, I've been trying for weeks to come up with the best method (for myself) for extreme smoothness and battery life. Here's what I've got. I was modifying one of the profiles I downloaded and attempted to use a script, I saw good battery life but the phone always lagged, up until I saw a post from ktoonsez about misanthrope profile. I downloaded it, tweaked it over the past few days and it's amazing. Using that profile, along with Greenify, DS Battery Saver and Intelli3G and Xposed framework I was able to get a 0.2% battery drain on deep sleep. I'm currently running ktweaker version 3.27.14 and CM nightly 20140402. Time to update both and monitor again.

I've uploaded the screenshot from better battery stats and the modified misanthrope profile if anyone wants to use it, just remove '.zip' extension.
[Galaxy S 4 i9505 Original Android Development] HaTrED_:
BBS has a good report too - i think?

I'll report my findings later! :good:
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Ok. Hopefully someone will report back today so can rest easy this weekend :D :good:
[Galaxy S 4 i9505 Original Android Development] chabstyle:
Here, i am ready for testing.

greets

Gesendet von meinem GT-I9505G mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] Murthick:
Will test this and report back. With 04.02 release I am getting 1%/hour drain in standby overnight with Aeroplane mode on using Ktoonsified v5 profile on Danvdh's ROM.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
That is perfect if you can do the test I posted above using airplane mode. That way there is no interference with wifi wakelocks and what-not.
[Galaxy S 4 i9505 Original Android Development] AllSeeyinEye:
Testing

Sent from my GT-i9505
[Galaxy S 4 i9505 Original Android Development] Formhault:
So, the CPU has been awake for 13 hours and the battery just drained 9%? :)
[Galaxy S 4 i9505 Original Android Development] islipfd19:
Yea, it sounds strange but that's what BBS reports. I have noticed that BBS is acting differently since the improvements made by ktoonsez and the charging capabilities. The drain is spot on from when I noted the time and when I looked at it. The lowest amount of CPU runs at 81Mhz if not in deep sleep and not being touched. I just updated to the latest kernel and CM nightly and charging it again to 100%. I will be manually noting the time I do this and refrain from using the phone altogether to see what I get next.

What also helps are the additional apps that I use to save battery. Greenify hibernates running apps and has an xposed module if you have xposed installed (I have the paid version, it's well worth it). DS Battery Saver set to slumberer and Intelli3G (which requires Xposed) that changes the radio speed from 2G to 4G set when the phone is set in certain conditions. I think this last one improved the battery in a large way, I stopped seeing most of the wake locks caused by the radio interface that everyone complains about.
[Galaxy S 4 i9505 Original Android Development] HaTrED_:
OK, here it goes!

First round:

1 -

starting % - 48% (no heavy use, just receiving SMS's and checking battery %! Some wakeup's caused by job's wifi, on GSM/2G

with good reception!).

2 -

15m after - 47%,

30m after - 47%,

45m after - 47%

3 -

final recorded value after 1h: 47%

BBS shows 0,9%/hour drain! You nailed it! :D
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Thats encouraging news :D. Try to do another hour if you can and hopefully you will still be 47% after 2nd hour or hit 46% at the 30-45 minute mark :D :good:. Thanks for the feedback man :highfive:
[Galaxy S 4 i9505 Original Android Development] HaTrED_:
OK, here it goes... again! :laugh:

Second round with first hour values in ()'s:

1 -

starting % - 47% (48%)

2 -

15m after - 46%, (47%)

30m after - 46%, (47%)

45m after - 46%, (47%)

3 -

final recorded value after 2h: 46% (47%)

BBS shows 0,9%/hour drain over 2h,7m, 32s

From now on i'll be making a more heavy usage of the equipment. During sleep it goes on Plane Mode and i can check battery drain during this period, my normal drain is from 1% to 2% over this period of 8h (+/-).

My normal usage is 1,5% to 2% according to BBS's so in a couple of days i can provided an even more sustained feedback.

With your latest releases this value increased substantially: 3,5% or more! :silly:

Great work!!
[Galaxy S 4 i9505 Original Android Development] Bartik168:
Flashed, I'l see in few day how about battery drain.

Thank's a lot for your work!
[Galaxy S 4 i9505 Original Android Development] PiggySmalls:
The international test kernel works for T-Mobile too, right? If so, I'll test it as well.
[Galaxy S 4 i9505 Original Android Development] LuigiBull23:
Yes. That's the one needed to boot on GE 4.4.
[Galaxy S 4 i9505 Original Android Development] PiggySmalls:
I thought so, but figured it was worth asking in case something was changed in the test.
[Galaxy S 4 i9505 Original Android Development] cvh-hofbauer:
I'm using Jamal's 4.4.2 Google edition rom. which kernel is the right for me? thank you
[Galaxy S 4 i9505 Original Android Development] LuigiBull23:
GE 4.4
[Galaxy S 4 i9505 Original Android Development] Formhault:
[MENTION=4325945]ktoonsez[/MENTION]

Why is the GE kernel entitled TWGE? It is misleading (as can be deducted from the number of posts from users troubled by this)...
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Because it is Touchwiz with a Google interface.
[Galaxy S 4 i9505 Original Android Development] LuigiBull23:
GE is technically TJ and [MENTION=4325945]ktoonsez[/MENTION] likes to label things for what they truly are. You just can't hide from the kernel GOD! :)
[Galaxy S 4 i9505 Original Android Development] -sandro-:
is the idling drain you're reporting related in airplane mode, on WiFi or on data? It's important.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Its only certain people on GE and it doesnt matter the state of wifi or data.
[Galaxy S 4 i9505 Original Android Development] Formhault:
I know it is. But... people are still gonna be confused about "is this TouchWiz? is this Google Edition? is this a saw cutting through my spinal cord?"...
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Trust me it doesnt matter, people still dont know what to flash for CM and it would screw up the OTA app renaming it now, just like I said 6 months ago. Hell we even got people flashing this kernel on the Note3 and i9500 :eek: :silly:
[Galaxy S 4 i9505 Original Android Development] Formhault:
LOL you're right.
[Galaxy S 4 i9505 Original Android Development] PiggySmalls:
[MENTION=4325945]ktoonsez[/MENTION], 1.25 hours later, my battery hasn't budged with the new test.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
AWESOME News!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[Galaxy S 4 i9505 Original Android Development] ISF:
So are you going to release an optimized battery version for TW, as you were for the TWGE?

Sent from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
No need for a test one since Jizzer doesnt have the problem that a few have had on GE version.
[Galaxy S 4 i9505 Original Android Development] John_wba:
It does mate, I had mad battery drain for the last 3/4 updates. Seems when you added the wake features it caused it, even tho I don't have them enabled. Of course it could be something else.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Nothing to do with those and I dont know how anybody could complain about 3% drain over 10 hours of deep sleep?
[Galaxy S 4 i9505 Original Android Development] ISF:
I get almost twice better battery life on the 24.02 release, and that was before you got the touchwake things into the kernel... I keep them off, but the drain occurs in every release since 24.02...

Sent from my GT-I9505

---------- Post added at 10:40 PM ---------- Previous post was at 10:34 PM ----------

And as a report, at 01 am last night it was 100% and when I woke up it was at 86%. Checked the wakelock app and there was nothing unusual.

Sent from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
You using Xposed framework? Jizzer ROM? AOSP? GE? 4.3? 4.4?
[Galaxy S 4 i9505 Original Android Development] John_wba:
I didn't mention 3% drain lol, you're confusing me with somebody else ;) it's more like 10% over 8 hours (your older versions were 3%) :( also as I said it might not be to do with those, I said it was at the same time you added those features.
[Galaxy S 4 i9505 Original Android Development] wEaKlY27:
Does xposed framework drains battery?
[Galaxy S 4 i9505 Original Android Development] ISF:
I am using Xposed, indeed. Running Omega V26 which is TW stock.

Sent from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Wasnt mixing you up, just stating what I got on Jizzer ROMs when I ran one for 3 days last week.
[Galaxy S 4 i9505 Original Android Development] smeroni68:
If this assumption it's true, may be there is something to check around the disabling of the touch screen when screen off...

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] John_wba:
Okay, just reporting that i also had the drains that others had. Il go back to your old kernels and report back the difference. :thumbup: :cool:
[Galaxy S 4 i9505 Original Android Development] ISF:
The fact is that I was using the same rom and the same xposed framework with both kernels. The 24.02 version and the lastest one. I've used even the same apps running in background. The difference is kind of huge.

?On 24.02 i got ~4-5% in 8-10 hours or so.

?On the following versions i got from 100% to 86% in less than 8 hours...

So, the logic says there must be something wrong with the kernel.

I should mention I have used exactly the same config with your configurator in both cases.

As John_Wba said a few post ago, there must be something related to those wake-up-screen options, even though i keep them completely OFF.

Sent from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Im gonna add the same change of adding back debug code to the TW kernel that I just did for GE to make it stop so it will probably go away after that, so no need to waste your time. As far as I can tell its ROM specific and 99% of the time has Xposed installed. I used GoldenEye in my 3 day test and had 2-4% drain while I was asleep :good:
[Galaxy S 4 i9505 Original Android Development] ISF:
I am already using 24.02 old version, but you know, it's that kind of nasty feeling when you know you're not running the latest updated version. We all have that feeling in our androidified blood.

Sent from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] vagaBond07:
Good timing, just unhooked my phone from the charger. Will flash the new kernel and test
[Galaxy S 4 i9505 Original Android Development] -sandro-:
Not even the 04/04 test version he posted before fixed it?
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Im guessing he is on Jizzer, not GE.
[Galaxy S 4 i9505 Original Android Development] ISF:
Yes, I'm on TW
[Galaxy S 4 i9505 Original Android Development] vagaBond07:
Still have battery drain...started with 96% and now im at 90% level.... Ill test it again
[Galaxy S 4 i9505 Original Android Development] gregorina:
I'm trying to set a min cpu freq when playing music. But according to the widget no matter what I put as the min freq, it always goes below it. Thanks for the help!!!

edit: Nevermind...it's working now. Maybe my phone just wanted me to hold it.
[Galaxy S 4 i9505 Original Android Development] DLAddict:
does the fauxsound app work with this kernel?
[Galaxy S 4 i9505 Original Android Development] BustedFly:
The same is with me. SlimKat 4.0. Kernel from 02.24.2014 1% in 8h night over. Test Kernel from 04.03.2014 with the same settings and apps in the same time 1.5%. And with kernel from 01.04.2014 and ADDnR than 2.5% / h

And a test with the test kernel from 04.03.2014 with misanthrope profile: less than 0.9% / h But the system is not running as smoothly.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Anybody around for jizzer test. I got the same debug re enabled like on today's GE test??????
[Galaxy S 4 i9505 Original Android Development] dandroid13:
I'm here. :D

BTW, just had a random reboot, the device was doing nothing, just charging. I unlocked it, decreased brightness and locked it then bam.
[Galaxy S 4 i9505 Original Android Development] Mussels84:
i can test TW version, if one is needed. start work in 2 hours, so i can leave that S4 testing idle at home, and take my note to work.

and people need to use this app for accurate testing

https://play.google.com/store/apps/details?id=ccc71.bmw

let the phone idle with the screen off, check the results. i use the widget, but you can just load the app.

^ from my note II after a few phone calls, but the accuracy of the reporting is worth using it.
[Galaxy S 4 i9505 Original Android Development] rlorange:
Yep can test jizzer 4.4 test :)
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Here you go guys.

TW 4.4 battery drain test

http://goo.gl/kFOc8S
[Galaxy S 4 i9505 Original Android Development] Mussels84:
installed on my primary S4.

previous kernels i got as low as -0.6% an hour on 4.4.2 (i had as low as 0.45% an hour on GE).

will provide an early result before i leave for work in about 45 minutes, and then one after work.

(wifi on, GPS on, no SIM card - my standard idle, except for the SIM)
[Galaxy S 4 i9505 Original Android Development] dandroid13:
And what about my reboot?
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
It was a cpu hotplug race condition, probably 1 in a million and very hard to debug :(
[Galaxy S 4 i9505 Original Android Development] davtse:
Made a switch over to TWGE yesterday so I can't make a comparison to before, but compared to TW, idle drain and screen on drain is improved quite noticeably. Gonna stick with GE for a while and see how it goes
[Galaxy S 4 i9505 Original Android Development] Mussels84:
Pre-work result (~45 min test) after clearing battery stats, although i had a few notifications come through: -1.3% an hour

seems high, but it could just be that the test duration is too short - a reboot always chews a bit of power, and the stats need to catch up.

set it to blocking mode with LED disabled (which is how i usually leave it overnight, for comaprison with my previous results) - will post back in about 8 hours after work.
[Galaxy S 4 i9505 Original Android Development] dandroid13:
Unplugged with 100%

15 min later 100%

30 min later 99%

I'm not using any battery stats app but I think it was draining more with 02/04, especially today that I used 4G a lot, it usually stays around 75-70% but today when I came back home I had 65% left.
[Galaxy S 4 i9505 Original Android Development] Formhault:
The 100% thing is unreliable. It can stay on the charger for 30 minutes while showing 100% although it's not really 100% (it is, instead, say... 99.5%).

Let it drain to 80% then start monitoring. High (>80%) / low (<20%) voltages are tricky.
[Galaxy S 4 i9505 Original Android Development] AllSeeyinEye:
4.4 TWGE went to sleep with 95%, woke up 7 hours later and had 84% left.

36 min kernel wakelock msm_hcic_host. Regular battery stats show Android OS quite a bit higher than Android System.

Sent from my GT-i9505
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
That sucks, that test is completely invalid due to "msm_hcic_host" wakelock :(
[Galaxy S 4 i9505 Original Android Development] Pfeffernuss:
Same Rom as him, lost 8% in 7 hours.
[Galaxy S 4 i9505 Original Android Development] AllSeeyinEye:
Charging right now, disabled Xposed and rebooted in Art. Almost set for a new test.

Sent from my GT-i9505

---------- Post added at 09:07 AM ---------- Previous post was at 09:06 AM ----------

Any ideas on how to prevent the msm hcic wakelock?

Sent from my GT-i9505
[Galaxy S 4 i9505 Original Android Development] Formhault:
So. Let me get this straight.

msm_hsic_host = searches for stronger signal whenever you're on 3G and the signal is weak.

So... the less 3G signal you have, the more the phone's gonna try & search for a better signal. It's like... hey, looks like I can in no way bring down this reinforced door with my bare elbow, so I should try & smash myself into the door harder, maybe I make a dent or something, or I'll die trying...

I assume it's something in the kernel? Could you make it so that it looks for signal LESS frequently when 3G is weak? I mean... whenever I have 5/5 bars of 3G and I go into an area which I know has poor reception, the signal almost instantly drops to 3/5 or 4/5 bars, so, obviously, the phone had been looking for signal just in case it hits an area with poor reception... So it's not only looking for signal more when the signal is weak, but it's also looking for signal refresh when the signal is strong (as I said not even 5 lines ago... just in case it hits a poor signal area). This is crazy :eek:

---------- Post added at 10:09 AM ---------- Previous post was at 10:08 AM ----------

Switch to 2G :eek:
[Galaxy S 4 i9505 Original Android Development] AllSeeyinEye:
Lol, I'm on LTE 24/7

Isn't this a modem issue?

Sent from my GT-i9505
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Yes, modem/signal strength issue.
[Galaxy S 4 i9505 Original Android Development] hawkerpaul:
I'm beginning to think that this extra drain is being caused Google-side, such as an update to the Google services/framework.

I 've been experiencing extra drain overnight for the last several kt updates so I put the 02-24 which has no slide to wake coding, and I knew everything was OK regarding drain when this first came out. However, same result..... Over 10% loss overnight in 6 hours, no suspicious wakelocks, only possibly alarm manager, but android os and android system both well over 15%

Only other test I now have is to try faux as I know I wasn't getting this battery hit when I first tried it.
[Galaxy S 4 i9505 Original Android Development] Vexxx:
I do not care much about battery than to get through the day and kernel has done that no matter what.

But am I only one who has strange performance with TW kernels after 01.04?

For example when browsing with 02.04/04.04 and scrolling text: I move my finger and occationally text scrolls after a second of moving. App drawer and desktop also occationally lag as does swiping down notification area.

I am using stock TW and no problems with 01.04 kernel
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
I should.. Damn.

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] boterkaaseneieren:
I hope the new sources will work for you.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Which? From update2 posted earlier today?

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] boterkaaseneieren:
Yes
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Hope ktoonz can use them (if they are really newer)

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] stevehkim:
I dont understand. Ive been using ktoonservative for a month now along with kernel. Not a single reboot. Are all these problems aosp version? Tw baby! Newest tw release is freakin amazing KT.

ATT S4 Rooted. Beastin.

4.2.2
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Aosp cm 10.1

Gesendet von meinem GT-I9505 mit Tapatalk 2

---------- Post added at 09:30 PM ---------- Previous post was at 08:59 PM ----------

So after a few tests I know something new. Everytime screen is off a few minutes ktweaker 'forgets' its settings...

Why?

Edit: completely fresh cm and kernel install. S4 su***

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] kenzolo:
reboot/freeze still here in the test AOSP version (21.06)

for my mistake I deleted the log...sorry
[Galaxy S 4 i9505 Original Android Development] rauschkugl:
Will have to try it on manta too. I have lockups there when screen is off.

On tw version of s4 kernel the move to SD feature doesn't work for me on 64gb exfat card. Hope the new sources help.

Gesendet von meinem GT-I9505 mit Tapatalk 4 Beta
[Galaxy S 4 i9505 Original Android Development] joelvn:
I'm still on pegasusq. No reboots or nothing so far. I just wish ktoonservativeq worked without reboots. It is soo much smoother
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Like I told you in the email from this morn, it is NOT KTweaker, that message is telling you that an external app or script has set a new MAX outside of my app.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Some one from the previous page kinda triggered my memory about my Manta kernel, there are people on that device that also can not handle Ktoonservative, there device just cant handle it for whatever reason. 1,000's of people run it just fine but a bunch of devices just can not handle it, the joys of Android I guess.
[Galaxy S 4 i9505 Original Android Development] joelvn:
But it seems like the issue with ktoonservativeq has to do with aosp based roms though. Because I used it when I was on foxhound tw based rom and never got any reboot at all.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Yep, and Manta is 100% AOSP, and the worse part of it is the code is 100% the SAME from TJ to AOSP so that makes even less since to me for debugging. And to add onto the confusion even more, the domestic version runs near perfect, its the Intl phone that has the most troubles.
[Galaxy S 4 i9505 Original Android Development] live-evil:
If its not happening on the U.S. versions you are not going to be able to fix it.
[Galaxy S 4 i9505 Original Android Development] mike216:
Finally getting impeccable battery life with ktoonservative. This LTE radio is a battery hungry SOB. Thanks kt your a beast!

SGH-M919_Omega, the end result
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
I keep trying when I get the free time, I have reduced it alot for the people that really had issues, but still creeps in, would still like to see a few more last_kmsg files from the test kernel, got a few and all of the files tell me that I squashed the NULL pointer dereference, so far. :D
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Thanks man. I finally got to sleep more than 5 hours today (got 11 :D) and I went to sleep with 61% after being unplugged for 21 hours and woke up 11 hours later at 55% :D :D :D :D :D :D :D :D :D :D :D :D :D
[Galaxy S 4 i9505 Original Android Development] carlos67:
Which governor and tunables values?

Can anyone suggest a good Governor to use for performance and what tunables to set? Everyone seems to be obsessed with battery saving but for me it's about speed and smoothness whilst the screen is on.

I'm not bothered about battery while screen is on I just want butter and speed. I'm running my GPU @ 544Mhz and CPU @ 378~2106 but not sure which governor will give best performance in the UI. What are other people who put performance ahead of battery using and what tunables are you setting in that governor?

Would appreciate any helpful suggestions :)
[Galaxy S 4 i9505 Original Android Development] thunderserpent:
Isn't a static busybox required to be included in the kernel for STweaks to be compatible with the kernel?
[Galaxy S 4 i9505 Original Android Development] __NBH__:
Its the gmail app killing my battery. It was at 95% and after 9 hours its at 80% with BBS saying gmail sync took 48 minutes and I was on WiFi too.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
I guess automatic wifi downloads in gmail is activated..

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] Formhault:
Would that matter? I mean it would matter, of course, if you were to receive 5 big e-mails every 10 minutes...