yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] veyka:
Everyone has the basic 650ms ish "lag" as its a hardware issue, some people make it worse by the software they use, so there is not "fix" in the traditional sense.

To make it less pronounced, dont use aggressive screen of profiles, dont have to many large background tasks (eg IM clients) and use apps like titanium backup to freeze uneeded apps, gemini app manager to stop uneeded auto runs.
[Galaxy S II Q&A, Help & Troubleshooting] danim:
It's all about the SD CARD

the 650ms is not a problem. Even 1 second is ok, still feels instant to me.

However, when I use an SD card, the lag jumps to 2 full seconds. That is a LONG time to wait. Long enough to wonder what's wrong with the device while looking around the room to fight the boredom.

The problem is definitely related to the SD Card. Does anyone know the hardware reason why the SD causes this lag? (BTW, no, it's not the media scan)

Could it be due to a faulty\slow\incompatible SD card, or is it likely my S2 is faulty?
[Galaxy S II Q&A, Help & Troubleshooting] benlc:
SD Cards are pretty slow, except if you get a class 10 SD Card but it will still be much slower than internal memory. I don't know if it is related to the wake up lag tho, gonna try on my device with and without it.
[Galaxy S II Q&A, Help & Troubleshooting] SimboXXX:
I've tried it and it makes little or no difference.
[Galaxy S II Q&A, Help & Troubleshooting] danim:
Tried it again just to make sure, and yes, without the SD i'm back to about 1sec delay. I think i'll keep it this way for a while. I have an old Transcend class 6 16GB, maybe it's bad, I would like to hear if that makes sense from a hardware perspective.

Also, I checked with a friend - his S2 doesn't have this problem, he does have an SD and his phone does enter sleep mode properly (checked with the "battery graph" in settings).

BTW I love my S2, it's blazing fast except for this problem.
[Galaxy S II Q&A, Help & Troubleshooting] twolves14:
I have about a 2 second delay, probably because I have an SD card. Using "Wake Lock" by "DARKEN" in the Market to keep a partial wake lock, useful for instant wake up during times that you know you'll be using the phone a lot. Can deactivate it for the rest of the time. Of course I'm about to get attacked by all of the battery lovers on here :D
[Galaxy S II Q&A, Help & Troubleshooting] sikcool:
yeah, better having a little delay then battery drain :D
[Galaxy S II Q&A, Help & Troubleshooting] _paljo_:
Hi all this is my first post on the forum.

The delay I'm experiencing is under 1s but I have another weird issue. Sometimes I get to see for a brief moment the screen I was viewing before locking the phone and then the lockscreen comes up. Yesterday I updated to 2.3.6 and it didn't fix the issue. I guess I could wait for ICS but it really gets on my nerves. Is that related to the deep sleep issue?

Thanks
[Galaxy S II Q&A, Help & Troubleshooting] androidkid311:
I set my lockscreen to hapoen immediately. And it seems to solve it, used to be like a few secs after screen turns off. Try it, hope it helps mate :)

looks like an iphone but powered by android baby!!!!
[Galaxy S II Q&A, Help & Troubleshooting] rickytenzer:
Is there no one we can contact at Samsung to address the issue? I know Steve Kondik (cyanogen) works there now, so maybe he's our best bet? This has to be addressed, as a device with this much power shouldn't fall victim to poor coding like this...
[Galaxy S II Q&A, Help & Troubleshooting] _paljo_:
Isn't that supposed to be located under location and security?If that's so, I can't find it!I remember using it though!
[Galaxy S II Q&A, Help & Troubleshooting] androidkid311:
Yeah under location and security. Hit time out and change it to immediately. :)

looks like an iphone but powered by android baby!!!!
[Galaxy S II Q&A, Help & Troubleshooting] _paljo_:
Had to use pattern lock to enable that setting..Anyway, now it only happens when I have wifi on..yay!
[Galaxy S II Q&A, Help & Troubleshooting] Entropy512:
Cyanogen working for Samsung has basically not gotten us ANYTHING. Samsung doesn't give a **** about anyone doing platform development work - look at the uselessness of SamsungJohn, their "developer relations" guy who has never to my knowledge provided anyone on XDA with anything approaching useful information. (Hell, rather than acknowledging their GPL noncompliance with UCKL2 for the Infuse and providing a rectification plan, he hides any tweets on the subject from appearing on his twitter feed.) Also look at their attitude regarding BSD-licensed components such as the wifi driver for the Tab 7 Plus.

And this isn't a poor coding issue, it's a hardware design issue. Samsung hung the modem off of a USB bus, and waiting for that bus to wakeup and for the device to enumerate takes a while. It consists of the majority of the 650 ms it takes for our device just to complete resuming from suspend in the kernel. (Look at a dmesg of a wakeup - and notice that for the last 200-400 msec of the wakup process, it's all modem stuff with lots of pauses.)

There may be a way to allow modem wakeup to be asynchronous from the resume process - but that's a REALLY difficult thing to implement correctly, so this isn't exactly poor coding. More like poor hardware design.
[Galaxy S II Q&A, Help & Troubleshooting] undergroundz:
hahahaha waking up takes 1 sec. comn 1 sec it is not 10 hours xp
[Galaxy S II Q&A, Help & Troubleshooting] androidkid311:
Just annoying really. My friend tried to wke mine up and he kept hitting the home button i just laughed. Whipped out his htc...bang its awake instantly. Its nothing samsung wont fix they have sold millions of units u think they give a ****? Lool. Its something im having to get use to. I just see it as my phone enjoys a deep sleep lool
[Galaxy S II Q&A, Help & Troubleshooting] eladnava:
ICS

It seems to get worse in ICS!!!

On 2.3.4 Litening ROM with SiyahKernel it was pretty unnoticeable - about 1 second max.

Now on Stock ICS XXLPQ with Stock Kernel (And ICS Domination theme, if it makes any difference) it can take up to 2 seconds!

I installed SoftLock and it solves the issue, the phone wakes up in around 250ms (It's basically unnoticeable!) but the battery seems to be affected as other users have posted, and this is not worth it.

Someone must sit down and code an asynchronous load of the modem. We definitely don't need the modem to work for the first 650 ms while the phone is still locked anyway... And if he wants, I'm sure people would pay for this if it truly works.
[Galaxy S II Q&A, Help & Troubleshooting] reiterstahl:
Solution on CM9 (last nightlie)

After hours of reading, the most simple answer:

Go to Settings, Developer options, Use GPU Acceleration (Forcing 2d hw acceleration), restart.

Simple :D
[Galaxy S II Q&A, Help & Troubleshooting] czesiu:
if it's gone, check your wakelocks
[Galaxy S II Q&A, Help & Troubleshooting] reiterstahl:
Please see the photo :)
[Galaxy S II Q&A, Help & Troubleshooting] aydc:
HW acceleration setting has nothing to do with the wake up lag.

The lag doesn't happen while your phone is being charged. Unplug the USB cable and try again.
[Galaxy S II Q&A, Help & Troubleshooting] reiterstahl:
is true: (
[Galaxy S II Q&A, Help & Troubleshooting] minidou-77:
It doesn't happened when phone is not in deep sleep ;-)

That's my 2 cents ;-)
[Galaxy S II Q&A, Help & Troubleshooting] iconata:
this is a kernel problem. no dev is interested in fixing that because they dont consider it a bug. it was the same with hd2, but with some tweaks here and there the problem was solved.. it's not really that hard to do.. problem is most of the devs here are not very friendly.. they prefer to call you a noob and send that xda noob video than actually help you. the samsung hardware is good, but it can't make up for the worst community.. htc have much more friendly and helping community.. and that's the reason they fixed that problem.. here, not going to happen.. everyone's like cant you wait 1-2 seconds? it's not like 10 hours... yea it's true.. but it's really annoying, because you buy a 500 euro phone.. and it has wake up lag? seriously? my friend bought a htc explorer, and guess what.. no wake up lag.. and the phone costs 100 euro.. that's the paradox.. so until some dev gets frustrated at the wake up lag, it wont be fixed. they cant fix the autobrightness problem on build from sources kernel.. i dont expect them to fix the wake up lag..
[Galaxy S II Q&A, Help & Troubleshooting] levankd:
i think it's a kernel issue, because since i have flashed the speedmod kernel, my s2 also got the lag wake up issue, i tried every method, such as reflashed stock rom, reflashed stock kernel, even reflashed bootloader..which i think it could fix this lag but nothing change, my s2 is still lagging when wake up :(
[Galaxy S II Q&A, Help & Troubleshooting] saikilee:
a little lag...
[Galaxy S II Q&A, Help & Troubleshooting] infinity-netchip:
I don't have problems with waking up...

Stock Samsung ICS here
[Galaxy S II Q&A, Help & Troubleshooting] pilgrim011:
This lag was killing me, but now it's gone. This is the fix: link, but I just applied kahvitahra's mod from here: thread.
[Galaxy S II Q&A, Help & Troubleshooting] czesiu:
no, this is the fix for home button lag NOT wake lag
[Galaxy S II Q&A, Help & Troubleshooting] barrywaters:
maybe its just me but i don't find it slow. there is a slight delay, but is it really that slow? maybe its just me, i'm coming from a nokia 5210 so ive been under achieveing with performance for the last 3 years.
[Galaxy S II Q&A, Help & Troubleshooting] someonet1k:
It's weird for me. Sometimes there's nearly a full second lag, other times it's instant...

It seems that it has a little to do with the size of the background image, but not much. It doesn't matter for how long it's been sleeping/on stand by, too, nor how many apss are on. More like if the phone is in the mood or not :D
[Galaxy S II Q&A, Help & Troubleshooting] vinceyeung:
the lag has gone in ZSLPG rom
[Galaxy S II Q&A, Help & Troubleshooting] rickytenzer:
People just don't understand the concept of deep sleep. That's why sometimes it's instant, and other times it isn't. And for people claiming that it's gone in other ROMs, maybe the ROM dev has eliminated the deep sleep mode by keeping a wakelock.
[Galaxy S II Q&A, Help & Troubleshooting] someonet1k:
I do understand it:) actually my phone sometimes wakes up faster when its been asleep than when I turn the screen off and back on again a couple of seconds later and vice versa. On the XEU LP7 so far it's steady with around half a second. Now if only I get rid of the lag when opening contacts or call logs, all will be aces:D
[Galaxy S II Q&A, Help & Troubleshooting] live2ride96:
Wow. Can't believe this still isn't fixed. I had the problem REALLY bad on stock Gingerbread build on my E4GT. I still have about a 2 second delay on CM9. I can live with it, but it's annoying. I'm actually considering trying wake lock app or soft locker just to get rid of it, cuz I'm willing to deal with a slight decrease in battery life to get rid of this pain in the ass. Just not a major decrease.

Now, to the people that don't get why some of us are all bent out of shape about this problem, here is my gripe- when I wake my phone, half the time I don't know if I hit the power button or not, due to the lag. So sometimes, I'll hit it again, thinking I didn't get it the first time. Then I get nothing because I just shut it back off. So I have to hit the power button a third time, but more firmly this time and wait two seconds for it to wake. It's one hell of an irritating 5-6 second process, especially when I'm just looking to see the time or check if I have any notifications (as some roms seem to have a bug that resets half my notifications to silent). It's not the end of the world, but dammit if it isn't frustrating.
[Galaxy S II Q&A, Help & Troubleshooting] Hawkeyed:
Could you explain why the lag isn't present on my Desire HD? And yes, it does go into deep sleep.

What's even more annoying is the two seconds it takes to turn on the screen to hang up a phone call. Again, the DHD turn on the display instantly.

These issues aren't a deal breaker for me but they're annoying.
[Galaxy S II Q&A, Help & Troubleshooting] ogblaz:
Softlocker fixes this, i charge my phone everynight so i think i will be fine....I hope :)
[Galaxy S II Q&A, Help & Troubleshooting] levankd:
did anyone try to reflash your stock bootloader for your device, i've just flashed ics bootloader few minutes ago, and the problem seems fixed :) , my s2 is running ics 4.0.3 xwlp8 ;)
[Galaxy S II Q&A, Help & Troubleshooting] electropineapple:
I don't know if this has been discussed already (since I can't bother to read through the entire thread) but from what I've read and gathered the issue lies within the CPU cores. When the phone is on stand-by the clock speed goes down drastically in order to save battery when the phone is on stand-by, and most of the system processes have to be brought back from suspension.
[Galaxy S II Q&A, Help & Troubleshooting] czesiu:
anyone seen any new info regarding this problem?

(just a bump :))
[Galaxy S II Q&A, Help & Troubleshooting] xmfpdlemalnz@hotmail.com:
it is pretty annoying tbh.
[Galaxy S II Q&A, Help & Troubleshooting] aydc:
Yeah, there is new info. SGS3 has it too. Which means: Tough luck trying to get it fixed on SGS2, when even the successor has the same problem.
[Galaxy S II Q&A, Help & Troubleshooting] minidou-77:
AFAIK it's ICS related

I saw (in Siyah thread if I'm right) that the kernel is a half second longer to be restored (I don't know if its the right word) than in GB after deep sleep
[Galaxy S II Q&A, Help & Troubleshooting] aydc:
On Samsung devices with GB, it takes 600ms to wake the phone up, on ICS, it takes 1000ms.

However, this is not ICS's fault. HTC devices like Sensation or One X wake up instantly even on ICS. This delay happens only on Samsung phones. Shame on you Samsung!
[Galaxy S II Q&A, Help & Troubleshooting] Visentinel:
Here is a cheap and simple and most importantly a reliable way to fix this issue.

The text explanation...

Buy the official extended battery. Its very cheap, got mine for 30 aud.

Install the terminal emulator app. It places an icon notification and thus is the only app that doesn't keep getting killed in the background and consequently stops helping with the wake up lag.

Side effect... you also know if ur phone reboots hot or cold, u get some insight on your stability.

The graphical explanation...

Below are some screens on my setup. I use AOKP and Fluxxi kernel.
[Galaxy S II Q&A, Help & Troubleshooting] Visentinel:
Sorry for double post but I forgot some miscellaneous info.

50m deep sleep was before I implemented the above after a fresh install :D

I use dual core always on

And sched mc 2

I did make a couple of calls during the 8 hours on batt.

Good news is this seems to have great success, plenty of battery, and it frees the mind and soul of that eternal worry "OMG" are any apps going to kill my battery coz of wake locks!? And please give me BLN WL!!! Hehe.
[Galaxy S II Q&A, Help & Troubleshooting] mello90:
Recently i was mucking around with a few different UV values with Abyss 1.2U kernel and found i had some serious wake lag, up to 3 seconds. Resetting the values didn't fix it but re-flashing the kernel did. Not sure if this helps.
[Galaxy S II Q&A, Help & Troubleshooting] iconata:
you method doesnt fix the problem. it bypasses it.. when my phone got stuck at 200 MHz and couldnt go in deep sleep i didnt have wake up lag. when everything is working like it should it takes 1-2 secs for the phone to get out of deep sleep.
[Galaxy S II Q&A, Help & Troubleshooting] Visentinel:
In a perfect world we would have the perfect phone. Just be happy with the amazing phone that is the sgs2 and simple ideas like mine make it better. You know... appreciate.
[Galaxy S II Q&A, Help & Troubleshooting] someonet1k:
I've noticed that my SGSII does not have any wakeup lag at all when it's connected to the PC via USB. Even when making calls the screen lits up instantly when I remove the phone from my ear (and it's still connected).

When its not connected though, it's lagging anywhere from a few milliseconds to a full second-second and a half. That's usually depending on the wallpaper I have. If it was a bigger picture to begin with - it's slower. And it doesn't matter if it was sitting a few hours without action or it is just a few seconds.
[Galaxy S II Q&A, Help & Troubleshooting] ephraim:
When it is connected to the charger or computer via usb cable the phone doesn't go to deep sleep thus it wakes up instantly. When it is not connected physicaly to anything and has no apps waking it up then it goes to deep sleep and then when you try to wake it up it will have a delay because of the deep sleep state it wad previously in.
[Galaxy S II Q&A, Help & Troubleshooting] Visentinel:
Any activity that wakrlocks the phone prevents lag turning on the screen.

At times if your lucky to wake your phone while your exchange mail is syncing for example you would get no lag.

Charging on the sgs2 wakelocks, so USB would to because u can charge from USB.

The only possible theory I can think of as to why Samsung phones do this is that the exynos chip set is flawed in some way to do with monitoring hardware interrupts during c states.
[Galaxy S II Q&A, Help & Troubleshooting] dzoni_ml:
I have about 1s lag too.

Started when i updated to official ics. Never happened on gingerbread.Sister have sgs2 still on GB and dont happens to her.

Now looking how to get back to 2.3.4 without rooting,hope it will help.:confused:
[Galaxy S II Q&A, Help & Troubleshooting] Zoidroid:
I'm running cyanogenmod 9 240512 and last version of Siyah kernel. I've resolved wake up lag problem installing V6 supercharger script, 5 days have gone without any lag experience.
[Galaxy S II Q&A, Help & Troubleshooting] UlbaWan-:
I never understood what makes supercharger scripts... But lag totally disappear ? Or just reduce ? Because lag is because of deep sleeps, so if the scripts block deep sleeps, okay but if not... I dont understand :o
[Galaxy S II Q&A, Help & Troubleshooting] Zoidroid:
For all information about the script you can refer to the original thread here http://xdaforums.com/showthread.php?t=991276

I've installed supercharger for other purpose, but during last days I noticed the disappering of wake up lag, even after a whole night standby. Because this happen I don't know, maybe someone can tell us. By the way, you can try and report your experience
[Galaxy S II Q&A, Help & Troubleshooting] ephraim:
Have you installed better battery stats? Can you check if your phone has gone to deep sleep? If not then that's bad news. If it didn't go to deep sleep then it is slowly sucking up your battery. Bdw, when you said "whole night standby" did you mean you left it on the charger? If so, it didn't go to deep sleep (which it should if it is connected to anything) hence you didn't experience the wakeup lag when you pressed the home or power button to wake your device.
[Galaxy S II Q&A, Help & Troubleshooting] Zoidroid:
If you mean that, I'm using this setting with ExTweaks (different from default): SCHED_MC 2, CPU Undervolting -50mV, CPU max frequency 1000, GPU step 1 133Mhz 900mV, GPU step 2 200Mhz 950mV, GPU step 3 267Mhz 950mV, I/O scheduler sio.

For "whole night standby" I mean phone ON, not connected to charger (I never shout down my phone). I've never checked battery percentage level, but the day after battery icon always showed no change.

UPDATE: Today I updated cyanogen to last version and re-installed supercharger and now my phone takes again some eons to wake up. I restored previous configuration throgh CMV recovery and no change, phone still lag..???

Any idea about this temporary exploit?

Thanks
[Galaxy S II Q&A, Help & Troubleshooting] Visentinel:
Amazing how its so difficult for people to understand such a simple thing.

Deep sleep = wake up lag

Waking phone if something such as a facebook sync is going on will be instant due to wake lock during sync activity.

Waking phone from deep sleep = lagy

Charging holds a wake lock so fast wake up

Not charging doesn't hold a wake lock slow wake up

Use a service to hold wake lock is unreliable as services often get shut down by android during process limits been reached.

Use something like terminal emulator which places an ongoing notification which will be lowest on the list of processes to be killed. Remember to press menu and select take wakelock

Let's dumb it down.

Deep sleep is slow

Wake locks make fast.

;)

If for some bizarre reason some strange and wacky reason you think you fixed it. Well you did not whatever you did simply just caused a wakelock somewhere.

Edit a few hours later to add something important.

When you are connected to wifi there is often allot of white noise (vista/7 discovery protocols, other misc traffics, dhcp broadcasts... you name it. These cause wake locks so often by virtue of been on a wifi network you may experience fast wake up and to the lamenz this seems like a miracle. :rolleyes: its just the wifi traffic keeping your phone awake)
[Galaxy S II Q&A, Help & Troubleshooting] Zoidroid:
Ignorance seems to be amazing to wisdom people.

Btw, thanks to explain me how it works even if my lag wake up is very long and I don't think it can be define as "normal".
[Galaxy S II Q&A, Help & Troubleshooting] Visentinel:
There's allot of people, even people smarter than you or I trying to crack this egg with kernel patches I assume or some other way.

Look for now its the weekend soon, head down to JB hi-fi and they stock the sgs2 official extended battery and then your battery life will be fine with full time 24/7 wakelock.

Today I took my phone off the charger at 7:16am

I ran tune in radio on triple j over wifi all day literally from 8:50 I got to work to 5:06 when I left work. Tube in would of wake locked all day anyway but you get the idea of the sheer iron man :D capability of the battery. I also streamed 15 minutes over 3g walking to the car.

I got home with just under a quarter left.

Iv been on the charger for 45 minutes. So I got at least 11 hours battery with NO deep sleep :D
[Galaxy S II Q&A, Help & Troubleshooting] buutske:
No troubles with Foxhound v0.2 :cool:
[Galaxy S II Q&A, Help & Troubleshooting] czesiu:
so, you would get 20-30 with deep sleep... keeping a wakelock is not really a fix
[Galaxy S II Q&A, Help & Troubleshooting] Visentinel:
I guess you missed the point. I am going to say this 1 more time,

there is no fix there won't be a fix.

And about getting like 30 hours battery.

"I don't care" I doubt many people do

what could possibly be gained from battery life longer than 1 day when the common person charges every night on the bedside table.

If you are so desperate for a fix then please go fix it yourself and release it and make some money from PayPal donations.
[Galaxy S II Q&A, Help & Troubleshooting] czesiu:
why?
[Nexus S Q&A, Help & Troubleshooting] nixguy:
i rooted my Nexus S following the instructions on the following link

http://jaxov.com/2011/02/how-to-root-android-2-3-3-gingerbread-on-nexus-s/

on a final note it stated that:

"At this stage, you have successfully rooted your Nexus S on Android 2.3.3 Gingerbread but your phone will continue to replace ClockworkMod Recovery on reboot. To prevent your phone from doing so, follow the steps below:"

what's the perpose of ClockworkMod?

i'm asking because once i brought my NSN back up, it started syncing with Google, and re-installed all my apps that were removed automatically.

if i rename the install-recovery.sh and flash ClockworkMod, would that create a problem with my backup on google?

i do not want to install diffrent roms, i just wanted to root my phone to get advantage of a few apps out there.

thanks in advance

cheers
[Nexus S Q&A, Help & Troubleshooting] MarkVis:
1. You need cwm to flash roms. Also you need it to backup and restore incase you need it.

2. Renaming install-recovery.sh will only stop your android os from restroring your original recovery instead of cwm. It will not mess up your backup from google.
[Nexus S Q&A, Help & Troubleshooting] deejaylobo:
Curious! I never did that step and my clockwork recovery is intact.