yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II SGH-I777] rav4kar:
02/18B to 02/28, and 02/28 is thumps up.

------------------

02/18B:

95% deep sleep per CPUSpy

battery drain: 8%/8hours

02/28:

98% deep sleep per CPUspy

battery drain: 5%/8hours

Edit#1: this is when the phone is idle ( screen off but all 8 hours on wifi synching exchange email, 2 yahoo, 1 gmail, 1 hotmail, 1 facebook )

Edit#2 : I noticed "Backup" with CWM 5.0.2.8 takes a bit longer compared to whatever CWM was on previous DD's

Edit#3: Oops!! Now default backup goes to (real) ext SD card ..that's why I guess the backup took a bit longer than earlier ones as I mentioned in Edit#2
[AT&T Samsung Galaxy S II SGH-I777] joeybear23:
I think it was preventing my phone from using the cpu settings defaulted in the kennel

Warning: Created with Swype
[AT&T Samsung Galaxy S II SGH-I777] Dungeon47:
It seems to have been around there. I may see if I can retrace my steps.

Sent while riding a buffalo.
[AT&T Samsung Galaxy S II SGH-I777] :
I wish my phone liked 2/28 and got the same awesome numbers everyone else is getting. :(
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Wait... So 2/28 has the same problems 2/26 did for you?????????
[AT&T Samsung Galaxy S II SGH-I777] LiLChris06:
He needs a new phone. :D
[AT&T Samsung Galaxy S II SGH-I777] joeybear23:
Just for grins... if you uninstall SetCPU and all CPU/Voltage Control apps, then install the kernel, do you see the same behavior?
[AT&T Samsung Galaxy S II SGH-I777] :
Wait, no. I meant 2/26. Ive been on mobile for the last few days and didnt realize that you put out 2/28. Let me grab that now and test it.
[AT&T Samsung Galaxy S II SGH-I777] :
Yup, the HTC One X and the GSIII to be exact. :D
[AT&T Samsung Galaxy S II SGH-I777] stalked_r/t:
6 hour update, battery is currently at 92%. Just over 1% loss per hour. I'm now going to install SetCPU and setup my profiles to see what that does to it.
[AT&T Samsung Galaxy S II SGH-I777] :
Phone is super snappy (on par with 2/15-C) and nothing seems to lag or be choppy. Now let me test battery life and idle times (this will obviously take some time).

Thanks for your help Entropy, and sorry for making you revert the patch... but I like seeing my name on your changelog. :D

Amazing that just one patch made my phone seem like my old HTC 8525 and that one two or three of us saw this dramatic change.

Again, thank you for your fast and hard work. You truly are an awesome Kernel Dev!!!
[AT&T Samsung Galaxy S II SGH-I777] IVIadness:
Tell me how that works and what numbers you use for set CPU with your GS2.. I have been thinking about checking it out. What benefits do you get out of it. And what SetCPU app do you use?
[AT&T Samsung Galaxy S II SGH-I777] rav4kar:
no quad core processor with HTC One X at&t version!! :mad: quad core is only with global version .. so sad!
[AT&T Samsung Galaxy S II SGH-I777] :
Look at the benchmark results and test results. The 1.5GHz dual core processor actually seems to do better than the Tegra 3. Remember all the Tegra 2 hype? Well the Tegra 2 is one of the slowest and underpowered dual core processors.

Im not a fan of Snapdragons, but the new Krait seems to be head and shoulders better than any Snapdragon processor because its based off of an A15 and not an A9. Not to mention because its a 28nm chip, it uses way less battery power.
[AT&T Samsung Galaxy S II SGH-I777] rav4kar:
yup ...I do agree ..beyond dual core anything that saves the battery juice is way to go...
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Yeah - Infuse vs Atrix was a great example. 1.2 GHz single-core universally smoked the dual-core Tegrat2.

Tegra is always the first to bump up core counts, but almost always delivers poor performance for the core count. Tegra3 is a big upgrade for Tegra2 tablets - but not compared to Exynos tablets like the upcoming Note 10.1.
[AT&T Samsung Galaxy S II SGH-I777] :
So far with 2/28 with installing and updating 7 apps, using Tapatalk, 37 minutes of phone calls battery life seems to be really excellent. Idle time... well, there is no time lost, the idle bar just goes straight across, I dont lose any battery life for idle yet. :D
[AT&T Samsung Galaxy S II SGH-I777] stalked_r/t:
this morning, after 2 hours, I pulled the battery to ensure that my phone wasn't stuck and reading the wrong battery percentage. I'm at 82%. That's with 40 minutes of call time, 16 minutes of CPU usage time, and 15 minutes of display time. So I'm at 8 hours and having used 18%. Just over 2% loss per hour with a decent amount of usage.
[AT&T Samsung Galaxy S II SGH-I777] DefTaker:
Loving the 2/28 kernel so far. Seems to be nice & smooth, everything responds as it should and very grateful for this --> Initramfs: Swap internal/external SD in CWM to be consistent with newer Android standards

Because now KitchenPro app works with my microSDHC card... before it only worked if I didn't have my microSDHC card inserted.

Also, just checked my phone from 100% FULL charge to 8 hours 22 mins 13 secs...the battery is showing at 94% and CPU Spy shows the phone was in deep sleep for this duration at 96% (2% was at 200Mhz and 1% at 500Mhz). <-- This is the phone NOT being used...just in idle/standby on my desk at work. (Whopping 1 min 37secs of display time while I checked battery usage!) :-P

Thanks again Entropy!
[AT&T Samsung Galaxy S II SGH-I777] hlb3:
Been running 2/28 for 9 hours with Nonnuclear beta 5 and everything is running great, nice and smooth and no funky issues. Battery life is slightly better than usual, which at my desk at work is always horrible (no to 1 bar usually), now I'll let it sit at home to see how it does.
[AT&T Samsung Galaxy S II SGH-I777] omgabunny:
What governors do you guys normally use for a daily use phone
[AT&T Samsung Galaxy S II SGH-I777] Waggles:
Just wanted to also report using the 2/28 kernel, all is well. The internal/external SD card thing in CWM was always a little weird, nice to have this make sense now.

Just short of 1.5 days with 80% remaining battery under light to medium conscientious usage.
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
"Patch-A-Day" has been a success.

Nice work, Entropy.

Ondemand, default values. Ignore nice load enabled.

Sent from my Galaxy S II (i777)
[AT&T Samsung Galaxy S II SGH-I777] Karashta:
I use the conservative governor but its not as snappy as ondemand. I don't mind since it still performs well and seems better on the battery. Just my two cents. Oh I also uv as much as I can without destroying the stability of the phone or making it laggy
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Conservative with sample_rate lowered to around 40000. 20000 is the minimum now - but that may negatively impact battery. I haven't had time to fully investigate whether low sample_rate interacts badly with cpuidle, which is why I let it default to 100000 microseconds (100ms) still.
[AT&T Samsung Galaxy S II SGH-I777] desiromeo719:
Can you explain what ignoring the nice load means..and is it enabled at value 0 or 1?
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
To add to this, the CPU ramps up the frequency less because it doesn't "look at" light processes. It ignores low priority. Also, enabling it hasn't been detrimental to performance.
[AT&T Samsung Galaxy S II SGH-I777] :
Yes, I believe it has. 2/28 is the BEST DD kernel that Ive ran. Im sticking with this one for awhile.
[AT&T Samsung Galaxy S II SGH-I777] rav4kar:
I would like to declare this (02/28) might be last edition of this series on my phone before we move on to official release of ICS for SG2.. :D
[AT&T Samsung Galaxy S II SGH-I777] JmPTaz09:
I've not even historically been a DD fan, but flashed 2/28 due to good reviews and must say, it's mighty smooth and fast (my top 2 priorities). If battery is good like on most DD releases, then this should be quite a good kernel! Running at stock speeds, undervolted about 100 across the board (stable on my phone) with noop/conservative with sampling rate at 40K.
[AT&T Samsung Galaxy S II SGH-I777] smknutson:
Entropy, had a SoD on 2/28 on UnNamed 2.2.1:
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Thanks, will review the last_kmsg tonight.

Oh - to those that had problems with spontaneous shutdown-to-LPM and are still having it, can you run the following in a terminal emulator session or ADB shell?

cat /sys/class/power_supply/battery/batt_v_f_adc

I'm going to investigate the 2/18B patch a bit more - I'm considering shelving it. It's not causing severe problems - but it may not be helping either.

As to smknutson's SoD - You were not undervolting, correct? It looks like it tried to suspend, the suspend aborted, it tried again, succeeded - and never came back. There's a huge amount of log corruption which makes me think that maybe the CPU got sent into la la land by some voltage issue.
[AT&T Samsung Galaxy S II SGH-I777] stalked_r/t:
I'm giddy from this update. Yesterday, I rebooted my phone after 3 hours because I felt that the battery indicator was wrong and wanted to force a refresh from a battery pull, so the stats you see in this screen shot are actually 3 hours of missing time.

I had 2 hours of talk time on this and the phone was plugged in for about 20 minutes on my drive home.
[AT&T Samsung Galaxy S II SGH-I777] smknutson:
I was not undervolting. I had SetCPU set to ondemand, 1600 to 200 scaling, 1600 voltage is 1425mv as detected, ignore nice load. I believe I was using Tapatalk, nothing too intense. Screen went dark after the 30s timeout, and would not wake until a long power press started the boot process.
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
This, people, is how you report an issue. Provide relevant logs, your settings, and the details of when/how it happened.
[AT&T Samsung Galaxy S II SGH-I777] :
Thank you for not only providing a kmsg when it happened (like Entropy had requested about 30 times in this thread) but you also gave a detailed description of what you were doing when it happened and then what you had to do. This makes it much easier for Entropy... and also it gives everyone a good idea what to look for if this happens to them.

Again, thank you.
[AT&T Samsung Galaxy S II SGH-I777] NJGSII:
Note taken.
[AT&T Samsung Galaxy S II SGH-I777] jazzboyrules:
Thanks Entropy for 02/28. So far it's working great for me.

I noticed a new thing while making a Nandroid backup using the new version of CWM in 02/28.

It took quite some time backing up .android_secure. And this time the Nandroid backup size increased by about 600MB because it included .android_secure stuff which it did not in the earlier CWM version.

The question I have is that .android_secure backup contains backups of apps which I long have uninstalled and don't need. I already have similar size backups made by Titanium Backup Pro. After some googling, I figured that that .android_secure backup contains apps moved to SD and can be seen in browser like ES Explorer at locations /mnt/asec and /mnt/secure/asec. But those are just symbolic links and I can't delete those extra backups from there.

I believe that I can access those hidden .asec backups if I mount the USB storage from CWM.

Okay, so finally my questions are,

- Is it safe to delete those extra .android_secure backups of already uninstalled apps in your experience?

- Would such apps be fully restored from Titanium backups without their .asec counterparts?

- Doesn't app uninstall remove these .asec files?

Thanks.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
03/02/2012 uploaded

I'll take a look at that .asec stuff in a bit - that's interesting. .asec backup has always failed for me...
[AT&T Samsung Galaxy S II SGH-I777] NJGSII:
Currently on 2/28 release and just as I was in the browser getting ready to download your latest release all of sudden the phone crashes and reboots. This happened while it was on the charger at you guessed it, 70% battery. I managed to pull a kmsg, but like you said there may be nothing there of use.
[AT&T Samsung Galaxy S II SGH-I777] :
I'm liking 2/28 too much to already jump to 3/2. Ill wait for more feedback. :D
[AT&T Samsung Galaxy S II SGH-I777] AndAllThingsWillEnd:
I've been running 3/2 since entropy uploaded it, and so far it seems smoother than any of his other kernels. It just "seems" faster so far.
[AT&T Samsung Galaxy S II SGH-I777] alacrify:
I was actually getting more drain from 2/28 (~2%/hour vs. < 1%) so reverted to 2/15-C. Dloading 3/2 now.

Like everyone continues to say (justifiably) thank you Entropy for being such an incredible (and prolific!) resource. I'm not creating anything besides posts, and I can't keep track of all the threads you're an invaluable part of!
[AT&T Samsung Galaxy S II SGH-I777] :
Nevermind, I couldn't stand it so I flashed 2/3. I know for a fact 2/28 is golden so I have a good fallback.
[AT&T Samsung Galaxy S II SGH-I777] ryude:
I want to try 3/2 soooo bad, does voltage control work with DD or just siyah?
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
It works, but only for the scheduler, governor, frequencies (CPU), and voltages (CPU).
[AT&T Samsung Galaxy S II SGH-I777] ryude:
Awww, well I will try it anyway.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
That actually looks like there's something there... Nothing other than just charging so far with some stuff that looks a bit odd... - but that's better than what looks like normal operation.

I think I need to drain, then charge, and pop a dmesg to see if anything looks different.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
You said 70%? The last_kmsg said 77... odd...

It looks like it just stopped with no error or warning... that's a real ***** to debug. I may instrument the health check code to see if it's entering and never returning (might be able to figure out why and fix) or if it's returning and the crash happens elsewhere (crap that's difficult to fix...)

So it crashed and rebooted, but not to LPM?
[AT&T Samsung Galaxy S II SGH-I777] NJGSII:
Yep just crashed and rebooted without going to LPM.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Time to instrument the code... I'm hoping that it died later in the vf_check polling function.

There'll be a 3/2B most likely, mostly with that one function filled with debug printk()s, but maybe with another patch too.
[AT&T Samsung Galaxy S II SGH-I777] smknutson:
Another SoD, Same circumstances as last time. I am going to update to 03/02 and see if it helps. But heres a kmsg for kicks.
[AT&T Samsung Galaxy S II SGH-I777] shoman94:
Testing 03/02 now....

Thanks for the update
[AT&T Samsung Galaxy S II SGH-I777] rav4kar:
Any comparison on perf and battery between 02/28 and 03/02 from early adapters of 03/02? I will stick to 02/28 mostly until and unless i have an issue with that.thanks!
[AT&T Samsung Galaxy S II SGH-I777] Jank4AU:
Back to Back SOD's

Hey, Entropy,

This is my first time trying to get this type of information for anyone. I used Bootlog Uptime, it's supposed to pull the info from the kmsg on a crash and save it to my SD. I've attached two zips here. Let me know if these are what you need or not.

What happened: was running Illusion 1.8 with it's custom kernel. Ran the kernel cleaning script and installed your new 3/2 DD, using SetCPU, but normal settings except UV. I was undervolted 75 across the board and when the screen turned off, it never came back on until I did a long press on the power button.

After reboot, I upped the UV on the 200 by 25. When the screen shut off, again, it never came back.

Here's the odd thing, when I connected my phone to my laptop to transfer the logs so I could zip them and post them, while the phone was connected to the laptop, it never had a problem, running all normal settings, no OC, no UV. As soon as I unplugged it from the laptop and the screen timed out, it's another SOD. Let me know if this info isn't helpful or if I need to provide something else. Again, never pulled a kmsg so I'm not sure if what I've provided is actually it.

Thanks, brother.
[AT&T Samsung Galaxy S II SGH-I777] jazzboyrules:
Hi Entropy,

I am running DD02/28 on Ryude's 1.3.3 version of modified UnNamed 1.3.2.

Today morning, my battery was at 53% and I was scheduling stuff on Titanium Backup. And then it looked like the screen went off just as it would after a screen time out. And then the screen wouldn't come on.

EDIT: It looked like a screen time out but it wasn't. The screen had gone off directly without dimming first.

I had to force restart my phone. Soon after reboot, I checked /proc/kmsg but found nothing there. I looked in batt_v_f_adc and it had the value 1419 in it. There was no last_kmsg in /proc.

Question: How do I know if this was SoD or shutdown-to-LPM?

If this happens again, I will remove my undervolting settings and see of this repeats.

Sent from myphone.
[AT&T Samsung Galaxy S II SGH-I777] Jank4AU:
Can't stop SOD's

All settings are normal now, no OC, no UV, I do have a screen off profile set to screen off, 800/200, powersave. Other than that, nothing set by me. Wifi showing just one bar and I'm sitting next to the router. Weird, again, hope this kmsg is useful. This time I pulled it from Terminal Emulator cat /proc/kmsg. This is my 5th SOD this morning in the last hour. Again, I hope I'm doing this right, if not, accept my apologies in advance for wasting your time.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
OK thanks I'll take a look at this one. Also start working back. Out of curiosity, try 1/29 first, if that is fine, use 2/28 and then start working back towards 2/15A one release at a time.

OR, this might be faster:

Try 1/29 -If it's not stable, go one release back. If it's stable, go to 2/18A.

If 2/18A is stable, go halfway towards 3/2. If it's unstable, go halfway towards 2/15A. Keep going halfway backwards or forwards until you've gotten to one patch.

Edit: Whatever you used to dump that log removed ALL line breaks, it's next to impossible to read.

Also, were you connected to a charger when this happened? (Edit: Hmm does not necessarily matter, the vf checks happen anyway... hmm...)
[AT&T Samsung Galaxy S II SGH-I777] Jank4AU:
Not connected to a charger for any of them. Also, when i was on usb, it wouldn't SOD. Were any of the zips i provided useful, readable? I`ll try your suggestions for regression of kernels to try to narrow it down.

Thanks again.

As info, whats the best way to get the kmsg out of terminal emulator? As you've pointed out, the formatting got jacked when I copied and pasted to notepad...I originally emailed it to myself from TE and it looked like crap already.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I ignored the undervolt ones until you indicated this happens without undervolting.

Also, in your post for the last failure you said you dumped /proc/kmsg - Are you sure of that?

What I need is /proc/last_kmsg - /proc/kmsg is just identical to running dmesg, it's the log of the current boot session. last_kmsg is the last one.

In both cases of your other ZIPs, the CPU entered suspend in what appeared to be a clean fashion, and then never came back out. Usually I see this when 800 MHz is undervolted.
[AT&T Samsung Galaxy S II SGH-I777] Jank4AU:
I did NOT do last_kmsg, my bad. I will on all future attempts.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
So it just shut down when you were using it?

When you said "force restart" - were you able to power on just by holding power for 1-2 seconds, or did you have to hold it for 15? (If you held it for 15 without trying to power on normally, we're missing information.)

If you're not on a charger, shutdown-to-LPM would appear as just a plain sudden shutdown.

My first guess would be undervolt.

Also, Jank4au - it sounds like your SoDs are happening consistently and on a regular basis?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Just like with Jank4Au - Did you pull kmsg or last_kmsg?

It's last_kmsg that is important. kmsg is just what is currently running.
[AT&T Samsung Galaxy S II SGH-I777] Jank4AU:
Only today, only using Illusion, and only with the new 3/2 DD. I only UV that much on his ROM using his custom kernel, per settings he posted in his thread. I wouldnt have thought much of it but it kept happening after i went back to normal voltages. However, you might be on the right track about the UV on the 800 setting. I did have that as my screen off Max with Powersave gov. Convenient how it SOD'd after I set that parameter. But when I cleared all UV settings wouldnt it have also reset the voltage for that profile? I need to go back to that configuration and remove my screen off profile. See what happens...
[AT&T Samsung Galaxy S II SGH-I777] jazzboyrules:
Yup, I was using Titanium Backup and it suddenly shut down.

It certainly wasn't just 1-2 seconds. I think I held the sleep button for about 10 seconds but it could as well have been 15 as you said because it took longer to restart than it usually does.

Yes, I was on battery, not on charger.

I never had this issue on 2/15-C, and it happened just once on 2/28. I really love this version as I'm getting the best deep sleep till now. But if this happens again, I will gradually reduce undervolting to see if that resolves this issue.

I have 2 unrelated questions:

(1) What causes deleted wake locks? If I have Wi-Fi turned off, how can deleted wake locks be caused to destroy wlan rx wake locks? Then what's the point of turning of Wi-Fi if deleted wake locks take the place of wlan rx wake locks? I am not seeing the deleted wake locks issue on 2/28. I am just curious as to what causes deleted wake locks.

(2) I did some googling and it looks like if we increase beacon period and DTIM interval, then we can reduce wlan rx wake locks. Is that correct in your experience? Right now in my router (DIR-655), beacon period default is 20(ms) and I am changing that to 300. DTIM interval default is 1 and I am changing that to 4. I will report if I see that help reduce the wake locks.
[AT&T Samsung Galaxy S II SGH-I777] :
I'm just not getting the same battery life as I did with 2/28. Its not horrendous but can tell a difference. Going back to 2/28.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Time to yank the fixed-frequency governors - too many issues with them and the same effect (minus bugs) can be achieved by setting min and max to the same value with another governor.

Powersave and the SoD patch don't get along.
[AT&T Samsung Galaxy S II SGH-I777] Moxie3000:
+1 just had an SOD on 3/28. I'm on the road, unfortunately, so I can't get logs. Jumping to 3/2 as soon as I get home
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I assume you mean 2/28.

Reports of SoDs started with 1/30, but those people claimed they were stable on 1/29 - I am wondering if it is actually 1/29 with cpuidle where the problem started.

As to red5's experience - this is annoying. I have two people giving conflicting information about that small cpuidle patch. If it goes back in, it will only be if it is easily made tunable.
[AT&T Samsung Galaxy S II SGH-I777] shoman94:
Man oh day.... I can tell you that my idle battery usage is comparable from 2/18a to 3/2.

I haven't done any speed test with antutu yet but it feels the same to me. Do you think setting the screen off to powersave could be a problem? I use conservative for my screen off (200/800) and I haven't seen any lpm's or sod's.
[AT&T Samsung Galaxy S II SGH-I777] Jank4AU:
I went back to the exact setup as this morning (restore my old Illusion backup from 2/26, kernel wipe, & flash 3/2) with two exceptions: 1) I didn't restore SetCPU, using VC

2) That means no screen off profile.

A-la, no SoD. Seems to be groovin' right along now. Maybe I'll try to replicate by going to SetCPU and trying to do the screen off profile again, just to confirm.