Lockscreen freezes a few seconds after wake then wifi disconnects - then reconnects. - Galaxy S I9000 Q&A, Help & Troubleshooting

Hello,
I have a little problem.
My Phone is a Samsung Galaxy S i9000, CM10.1 latest nightlie, semaphore kernel 1.9.8s + bigmem libs.
Since a few days, when i wake my phone from sleep, the lockscreen hangs a few seconds, the i see that the wifi sign i the status bar disappears, then immediately reappears.
then i can unlock the lockscreen without problem. the problem appears after a little time in sleep. i did not encounter it (till now) when there is only a short time between sending to sleep and waking the phone up.
I recorded a log with "catlog" (logcat), there i discovered something i think (i mean i am no total noob, but some part from android make me sweat^^, like terminal stuff and logs^^ (not reading them but understanding them^^). The problem starts at line 3004 in the logcat (at today: "01-31 - 16:21:44.035" where it states "Waking up from sleep...")
i added the logcat txt file, maybe someone wants to take a quick look at it. i would really appreciate it.
i tried a few things. cleared dalvik chache, tried different wifi options but nothing.
a few days ago i installed "Toggle2g" -> http://forum.xda-developers.com/showthread.php?t=739530
it worked fine, without a/the problem. But i got the suspicion that it maybe has something to do with it.
I deinstalled it but the problem stays. if i diable wifi everything is normal, no lag after wake.
Maybe someone can help me?
and sorry for my english, sometimes i dont know the word and the gramatics. I´m from germany.
Greetings,
Strainhunter
i´ll add here a part from the log txt-file from which i think its the critical part (starts wherer my phone wakes and end when wifi is reconnected.
Ill attach the full file too.
01-31 16:21:44.035 I/PowerManagerService( 477): Waking up from sleep...
01-31 16:21:44.128 I/WindowManager( 477): Lock screen displayed!
01-31 16:21:44.253 D/PowerManagerService-JNI( 477): Excessive delay in autosuspend_disable() while turning screen on: 199ms
01-31 16:21:44.367 D/SurfaceFlinger( 198): Screen acquired, type=0 flinger=0x417b8318
01-31 16:21:44.371 D/dalvikvm( 477): GC_FOR_ALLOC freed 425K, 21% free 16661K/20868K, paused 126ms, total 127ms
01-31 16:21:44.375 I/dalvikvm-heap( 477): Grow heap (frag case) to 17.461MB for 1008016-byte allocation
01-31 16:21:44.449 D/dalvikvm( 477): GC_FOR_ALLOC freed 1K, 20% free 17644K/21856K, paused 78ms, total 78ms
01-31 16:21:44.531 D/dalvikvm( 477): GC_FOR_ALLOC freed 10K, 20% free 17634K/21856K, paused 79ms, total 79ms
01-31 16:21:44.535 I/dalvikvm-heap( 477): Grow heap (frag case) to 18.389MB for 984976-byte allocation
01-31 16:21:44.613 D/dalvikvm( 477): GC_FOR_ALLOC freed 0K, 19% free 18596K/22820K, paused 76ms, total 76ms
01-31 16:21:52.039 I/wpa_supplicant( 6016): wlan0: CTRL-EVENT-DISCONNECTED bssid=00:18:e7:df:fc:54 reason=0
01-31 16:21:52.058 D/Tethering( 477): InitialState.processMessage what=4
01-31 16:21:52.058 D/Tethering( 477): sendTetherStateChangedBroadcast 0, 0, 0
01-31 16:21:52.074 E/wpa_supplicant( 6016): wpa_driver_nl80211_driver_cmd: failed to issue private commands
01-31 16:21:52.078 D/CommandListener( 196): Clearing all IP addresses on wlan0
01-31 16:21:52.093 D/UsbTetherTile( 839): ACTION_TETHER_STATE_CHANGED
01-31 16:21:52.097 D/ConnectivityService( 477): ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
01-31 16:21:52.109 D/ConnectivityService( 477): Attempting to switch to mobile
01-31 16:21:52.109 D/ConnectivityService( 477): Attempting to switch to BLUETOOTH_TETHER
01-31 16:21:52.132 D/ConnectivityService( 477): resetConnections(wlan0, 3)
01-31 16:21:52.136 I/ActivityManager( 477): Start proc cm.aptoide.pt for broadcast cm.aptoide.pt/.ScheduledDownloadReceiver: pid=9612 uid=10177 gids={50177, 3003, 1015, 1028}
01-31 16:21:52.140 D/NetUtils( 477): android_net_utils_resetConnections in env=0x512b4758 clazz=0x4eb00001 iface=wlan0 mask=0x3
01-31 16:21:52.148 D/WifiStateMachine( 477): Detected an interface down, restart driver
01-31 16:21:52.203 I/dalvikvm( 9612): Turning on JNI app bug workarounds for target SDK version 8...
01-31 16:21:52.292 D/BluetoothAdapter( 839): 1096921456: getState() : mService = null. Returning STATE_OFF
01-31 16:21:52.304 D/BluetoothAdapter( 839): 1096921456: getState() : mService = null. Returning STATE_OFF
01-31 16:21:52.312 D/BluetoothAdapter( 839): 1096921456: getState() : mService = null. Returning STATE_OFF
01-31 16:21:52.320 D/BluetoothAdapter( 839): 1096921456: getState() : mService = null. Returning STATE_OFF
01-31 16:21:52.332 D/BluetoothAdapter( 839): 1096921456: getState() : mService = null. Returning STATE_OFF
01-31 16:21:52.449 E/IMO ( 7236): ConnectionThread:Unexpected I/O error: java.net.UnknownHostException: Host is unresolved: speedy.imo.im
01-31 16:21:52.449 E/IMO ( 7236): AsyncHttpPost:http post problem: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
01-31 16:21:52.449 I/IMO ( 7236): ConnectionThread:close finished
01-31 16:21:52.457 W/IMO ( 7236): ConnectionThread:Server closed connection unexpectedly.
01-31 16:21:52.511 I/ActivityThread( 9612): Pub extras.contentprovider: cm.aptoide.pt.ExtrasContentProvider
01-31 16:21:52.570 V/Aptoide-ManagerPreferences( 9612): gotSharedPreferences: aptoide_preferences
01-31 16:21:52.617 W/System.err( 7236): javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
01-31 16:21:52.636 W/System.err( 7236): at org.apache.harmony.xnet.provider.jsse.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:137)
01-31 16:21:52.636 W/System.err( 7236): at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:93)
01-31 16:21:52.636 W/System.err( 7236): at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:381)
01-31 16:21:52.636 W/System.err( 7236): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165)
01-31 16:21:52.636 W/System.err( 7236): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
01-31 16:21:52.636 W/System.err( 7236): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
01-31 16:21:52.636 W/System.err( 7236): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
01-31 16:21:52.636 W/System.err( 7236): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
01-31 16:21:52.640 W/System.err( 7236): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
01-31 16:21:52.640 W/System.err( 7236): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
01-31 16:21:52.640 W/System.err( 7236): at com.imo.android.imoim.async.AsyncHttpPost.doInBackground(AsyncHttpPost.java:44)
01-31 16:21:52.640 W/System.err( 7236): at com.imo.android.imoim.async.AsyncHttpPost.doInBackground(AsyncHttpPost.java:21)
01-31 16:21:52.640 W/System.err( 7236): at com.imo.android.imoim.async.SingleThreadedAsyncTask$2.call(SingleThreadedAsyncTask.java:205)
01-31 16:21:52.640 W/System.err( 7236): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
01-31 16:21:52.640 W/System.err( 7236): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
01-31 16:21:52.640 W/System.err( 7236): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
01-31 16:21:52.640 W/System.err( 7236): at java.lang.Thread.run(Thread.java:856)
01-31 16:21:52.640 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.640 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.644 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.644 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.644 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.644 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.644 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.648 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.648 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.648 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.652 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.652 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.652 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.652 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.656 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.656 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.656 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.656 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.656 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.656 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.660 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.660 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.660 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.660 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.660 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.664 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.664 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.664 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.664 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.664 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.667 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.667 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.667 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.671 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.671 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.671 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.671 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.675 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.675 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.675 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.679 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.687 I/wpa_supplicant( 6016): wlan0: CTRL-EVENT-DRIVER-STATE STARTED
01-31 16:21:52.691 D/Tethering( 477): sendTetherStateChangedBroadcast 1, 0, 0
01-31 16:21:52.695 D/UsbTetherTile( 839): ACTION_TETHER_STATE_CHANGED
01-31 16:21:52.730 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.742 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.746 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.746 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.746 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.746 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.746 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.750 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.750 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.750 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.750 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.753 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.753 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.753 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.753 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.753 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.761 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.765 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.765 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.765 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.769 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.769 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.769 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.769 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.769 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.773 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.773 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.773 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.824 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.824 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.871 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:52.941 D/dalvikvm( 477): GC_FOR_ALLOC freed 3054K, 27% free 16704K/22812K, paused 89ms, total 90ms
01-31 16:21:53.011 W/IMO ( 7236): AsyncHttpPost:no network service, dropping request
01-31 16:21:53.261 I/wpa_supplicant( 6016): wlan0: Trying to associate with 00:18:e7:df:fc:54 (SSID='dlink' freq=2422 MHz)
01-31 16:21:53.421 I/wpa_supplicant( 6016): wlan0: Associated with 00:18:e7:df:fc:54
01-31 16:21:53.437 I/wpa_supplicant( 6016): wlan0: WPA: Key negotiation completed with 00:18:e7:df:fc:54 [PTK=CCMP GTK=TKIP]
01-31 16:21:53.437 I/wpa_supplicant( 6016): wlan0: CTRL-EVENT-CONNECTED - Connection to 00:18:e7:df:fc:54 completed (reauth) [id=0 id_str=]
01-31 16:21:53.625 I/ActivityManager( 477): Process com.wetter.androidclient (pid 9423) has died.
01-31 16:21:53.644 I/IMO ( 7236): AsyncHttpPost:making async http post on thread Thread[main,5,main]
01-31 16:21:53.656 I/IMO ( 7236): AsyncHttpPost:making async http post on thread Thread[main,5,main]
01-31 16:21:53.773 D/PhoneStatusBar( 839): disable: < expand icons alerts ticker system_info BACK HOME recent* CLOCK search >
01-31 16:21:53.812 I/ActivityManager( 477): Start proc com.wetter.androidclient for broadcast com.wetter.androidclient/.widgets.OnScreenUnlockReceiver: pid=9634 uid=10083 gids={50083, 3003, 1028}
01-31 16:21:53.851 D/dalvikvm( 199): GC_EXPLICIT freed 37K, 11% free 2344K/2620K, paused 2ms+13ms, total 50ms
01-31 16:21:53.878 D/PhoneStatusBar( 839): disable: < expand icons alerts ticker system_info back* home* recent clock* search >
01-31 16:21:53.910 D/dalvikvm( 199): GC_EXPLICIT freed <1K, 11% free 2344K/2620K, paused 4ms+8ms, total 58ms
01-31 16:21:53.972 D/dalvikvm( 199): GC_EXPLICIT freed <1K, 11% free 2344K/2620K, paused 5ms+1ms, total 62ms
01-31 16:21:54.058 I/dalvikvm( 9634): Turning on JNI app bug workarounds for target SDK version 10...
01-31 16:21:54.195 W/InputMethodManagerService( 477): Window already focused, ignoring focus gain of: [email protected] [email protected], token = [email protected]
01-31 16:21:54.218 D/DhcpInfoInternal( 477): makeLinkProperties with empty dns2!
01-31 16:21:54.218 D/DhcpInfoInternal( 477): makeLinkProperties with empty dns2!
01-31 16:21:54.250 D/ConnectivityService( 477): Captive portal check NetworkInfo: type: WIFI[], state: CONNECTING/CAPTIVE_PORTAL_CHECK, reason: (unspecified), extra: "dlink", roaming: false, failover: false, isAvailable: true
01-31 16:21:54.273 D/ConnectivityService( 477): ConnectivityChange for WIFI: CONNECTED/CONNECTED
01-31 16:21:54.429 D/ConnectivityService( 477): ConnectivityChange for mobile: CONNECTED/CONNECTED
01-31 16:21:54.546 D/BluetoothAdapter( 839): 1096921456: getState() : mService = null. Returning STATE_OFF
01-31 16:21:54.570 D/dalvikvm( 9634): GC_CONCURRENT freed 165K, 14% free 2640K/3044K, paused 3ms+14ms, total 92ms
01-31 16:21:54.578 D/ACRA ( 9634): Retrieve application default SharedPreferences.
01-31 16:21:54.609 D/dalvikvm( 943): GC_CONCURRENT freed 1808K, 14% free 16140K/18648K, paused 4ms+93ms, total 487ms
01-31 16:21:54.628 D/ACRA ( 9634): Set OnSharedPreferenceChangeListener.
01-31 16:21:54.640 D/ACRA ( 9634): ACRA is enabled for com.wetter.androidclient, intializing...
01-31 16:21:54.664 D/ACRA ( 9634): Looking for error files in /data/data/com.wetter.androidclient/files
01-31 16:21:54.687 D/Wetter.com( 9634): [16:21:54.690, main]: OnScreenUnlockReceiver received
01-31 16:21:54.691 D/Wetter.com( 9634): [16:21:54.695, main]: OnScreenUnlockReceiver send Broadcast to start widgets
01-31 16:21:54.703 D/Receiver( 9612): Wireless Connected
01-31 16:21:54.718 D/Receiver( 9612): Wireless Connected
01-31 16:21:54.722 D/Receiver( 9612): Wireless Connected

Nothing changed yet
Hi again,
Today i did a full wipe, formated system, re flashed Cm10.1 31.01. nightlie, semaphore kernel 1.9.8s, and bigmen libs and restored my user apps via Titanium Backup.
But it happens again.
I found out that i happens only when wifi is on during sleep. Sometimes i doe not happen for 2 hours or so, and sometimes after around 15 minutes.
I have the suspicion that it may too only happen when the loading cable is connected, im testing this right now.
Does anybody have the same/similar problem? or does somebody know what may be the cause for this behavour?
I maybe will try again with the stock cm10.1 kernel and without bigmem libs, but i dont have much faith, because i have semaphore and bigmem libs for a long time running, without the problem.
I want to say i am not someone who makes a thread for every little problem ("like wheres the developer options gone?" or similar), but this time i need some help.
I have android for about 2 years now and learned, read all my self, when i had a question about something i searched everything my self and did not ask in a forum or similar. Only 1 time i asked a question here (which i fixed myself then, because i had to, because nobody answered)
i see this here going the same way (exept fixing it i think)
What can i do?
Greeting, Strainhunter

strainhunter said:
Hi again,
Today i did a full wipe, formated system, re flashed Cm10.1 31.01. nightlie, semaphore kernel 1.9.8s, and bigmen libs and restored my user apps via Titanium Backup.
But it happens again.
I found out that i happens only when wifi is on during sleep. Sometimes i doe not happen for 2 hours or so, and sometimes after around 15 minutes.
I have the suspicion that it may too only happen when the loading cable is connected, im testing this right now.
Does anybody have the same/similar problem? or does somebody know what may be the cause for this behavour?
I maybe will try again with the stock cm10.1 kernel and without bigmem libs, but i dont have much faith, because i have semaphore and bigmem libs for a long time running, without the problem.
I want to say i am not someone who makes a thread for every little problem ("like wheres the developer options gone?" or similar), but this time i need some help.
I have android for about 2 years now and learned, read all my self, when i had a question about something i searched everything my self and did not ask in a forum or similar. Only 1 time i asked a question here (which i fixed myself then, because i had to, because nobody answered)
i see this here going the same way (exept fixing it i think)
What can i do?
Greeting, Strainhunter
Click to expand...
Click to collapse
I'm having the exact same problem with my galaxy note, it seems to have nothing to do with the deepsleep. The thing I did figure out is, it doesn't happen on stock ICS or JB roms (or based on that), but when I'm using CM10.1 it does happen. Maybe a good thing to know is, that it also happend on my Stock GB rom, like 6 months ago...
Cheers,
Kreekhoorn

Thanks for replying
kreekhoorn said:
I'm having the exact same problem with my galaxy note, it seems to have nothing to do with the deepsleep. The thing I did figure out is, it doesn't happen on stock ICS or JB roms (or based on that), but when I'm using CM10.1 it does happen. Maybe a good thing to know is, that it also happend on my Stock GB rom, like 6 months ago...
Cheers,
Kreekhoorn
Click to expand...
Click to collapse
Hi,
Thanks for replying. Feels good to see that i am not the only one with this problem.
The weird thing is that i have cm10.1 since the first day, and i had the same configuration a few days when the problem occurred.
For now i set the wifi-sleep-policy to "never". Before i had it set to "always". Since then i did not encounter the problem, but probably have no wifi when sleeping. But atm i can live with that. Maybe the problem goes away as suddenly as it did appear^^
Btw, a friend of my said, "Maybe it would be better to go back to the stock rom if the problems are not there"
But i said "No, Way!" CyanogenMod FTW
Have a nice day and greetings from Germany,
Strainhunter

Maybe fixed
Hello,
Two days ago i switched the setting for "Keep Wifi running on standy" back from "Never" to "always, just to see if the Problem still remains, and voila...no freeze after waking the device from sleep till now^^
Maybe something was fixed i the recent 4.2.2 CM-Nightlies, or i unknowingly did/removed/changed something that was causing the problem, i dont know, but i happy :victory:
Just wanted to say that,
Greetings, and happy flashing,
Strainhunter

strainhunter said:
Two days ago i switched the setting for "Keep Wifi running on standy" back from "Never" to "always, just to see if the Problem still remains, and voila...no freeze after waking the device from sleep till now^^
Maybe something was fixed i the recent 4.2.2 CM-Nightlies, or i unknowingly did/removed/changed something that was causing the problem, i dont know, but i happy :victory:
Click to expand...
Click to collapse
Hey mate, I know it is been 6 months since you last posted regarding this problem. For a month now and since I flashed a new ROM on my Galaxy note N7000, I'm having this silly WiFi disconnection issue and random freezes. I'd appreciate any enlightenment on the subject, if any. Thank you in advance.

Related

MAC Caching?

does anyone know if there is something on the phone that caches MAC addresses (other than just an ARP table).
At my work we recently changed out a router but gave it the same name it used to have. We used to broadcast the SSID but are no longer doing so so I had to "add" a network. I put in the SSID and try to connect but what I'm seeing in the log is not the MAC address of the actual device so I'm not sure where it's getting it from.
e.g: Device address: 00:A2:F0:A3:00:F1
What I see in the logs:
Code:
V/WifiMonitor( 1400): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 1400): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor( 1400): Event [Trying to associate with 02:5c:71:ee:ac:1c (SSID='MYSSID' freq=2417 MHz)]
V/WifiMonitor( 1400): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 1400): Changing supplicant state: SCANNING ==> ASSOCIATING
D/WifiStateTracker( 1400): Deconfiguring interface and stopping DHCP
D/SettingsWifiEnabler( 2956): Received network state changed to NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true
V/WifiMonitor( 1400): Event [Authentication with 02:5c:71:ee:ac:1c timed out.]
I've looked on other devices that have successfully connected to verify the new target MAC but it looks like my phone might have a MAC association with the SSID _saved_ somewhere?
I've tried forgetting the network and re-adding it as well as rebooting the phone etc. Any ideas? is there a db somewhere that might store this info?
This thread can be closed (unless others notice an issue)
I've upgraded my ROM and everything works now

Wlan suddenly stopped working.

Hi.
Ive been using cyanogenmod since i got my nexus.
Been running gr8. No problems what so ever.
Now however my wlan suddenly decided to be unavailable.
I was running CM5.0.6 + DesireCamera OC/UV kernel.
Symptoms: When enabling Wifi i get no Icon and if i scan for networks I see no networks.
What ive tried so far without luck in order.
Reflash cm 5.0.6. <- multiple times
reflash desirecam <- multiple times
push bcm4329.ko <- multiple times
wiped all and
Kang-o-rama 0.6
Edit
Just tried reflashing radio and then pushing bcm4329.ko.
still no go
And it still isnt working
Am i missing something ?
Heres what i got from lolcat.
V/WifiStateTracker( 134): Connection to supplicant established, state=SCANNING
D/NetworkStateTracker( 134): setDetailed state, old =DISCONNECTED and new state=SCANNING
V/WifiStateTracker( 134): Changing supplicant state: SCANNING ==> SCANNING
D/ConnectivityService( 134): Dropping ConnectivityChange for WIFI: DISCONNECTED/SCANNING
D/SettingsWifiEnabler( 187): Received wifi state changed from Enabling to Enabled
I/wpa_supplicant( 550): CTRL-EVENT-SCAN-RESULTS Ready
thanks in advance for any help.

Wifi stay connected after a long sleep? NO

I know some people may have discussed this issue but I haven't got an answer yet.
Similar to others, my phone sleeps with Wifi on and after an hour or too, Wifi is disconnected when I woke the phone up. Note I have already set the Wifi sleep policy to "Never".
So i went into the log and saw these:
D/WifiService( 85): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
D/WifiService( 85): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
D/ConnectivityService( 85): ConnectivityChange for WIFI: DISCONNECTED/FAILED
V/ConnectivityService( 85): Attempt to connect to WIFI failed.
D/WifiService( 85): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
D/ConnectivityService( 85): Dropping ConnectivityChange for WIFI: DISCONNECTED/SCANNING
D/ConnectivityService( 85): ConnectivityChange for WIFI: CONNECTING/CONNECTING
D/ConnectivityService( 85): Dropping ConnectivityChange for WIFI: CONNECTING/AUTHENTICATING
D/ConnectivityService( 85): Dropping ConnectivityChange for WIFI: CONNECTING/OBTAINING_IPADDR
D/WifiService( 85): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
D/WifiService( 85): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=[email protected]}
D/ConnectivityService( 85): ConnectivityChange for WIFI: DISCONNECTED/FAILED
V/ConnectivityService( 85): Attempt to connect to WIFI failed.
then it kept looping these, for so many times:
D/WifiService( 85): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
D/WifiService( 85): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
are there any good samaritans who can help me with this piece?
no one else has any comment on this?
actually i asked my friend to try to same thing, let the phone sleep at home (he got also the iphone as main phone, ha) so he left his N1 at home on, and the phone stayed connected to wifi the whole time.
so i tried to eliminate factors between his and mine.
1. we both use the same router
2. he uses STOCK home, I use Launcher Pro / Sweeter Home 2
I am just wondering, if using Launcher Pro / Sweeter Home, which I found out both of these theme takes up quite a big deal of CPU usage (i am not sure) or RAM (i am sure, as they restart themselves sometimes and I checekd logcat and found out they restarted because of insufficient VM), would this be the problem of Wifi Cutting Off?
please help?
Check MAC addresses, bet his starts 00 and yours starts 38
Rusty! said:
Check MAC addresses, bet his starts 00 and yours starts 38
Click to expand...
Click to collapse
thanks for the reply.
why would you think so? i am not a tech guy so I am not sure
but i checked and my MAC address start with 00 (Wireless MAC Address: 00-13-xx-xx-xx)
and my previous Hero worked sleeplessly before.
its just this N1 with all those home replacement that might be suspicious?
There is a big thread on wifi sleep issues, mostly folks with 38 suffer and 00 don't. Probably best to have a read: http://forum.xda-developers.com/showthread.php?t=731395
Rusty! said:
There is a big thread on wifi sleep issues, mostly folks with 38 suffer and 00 don't. Probably best to have a read: http://forum.xda-developers.com/showthread.php?t=731395
Click to expand...
Click to collapse
thanks man, i will head over and take a look.
usually my phone's wifi drops after an hour or so, not like 15 min.
but anyway, let me do some more test
and try to get wifi fixer to see if it helps.

WiFi connecting issue

I have noticed a pattern with ROMS that I have used on my ROGERS Dream which has the 2708 spl + radio combo. The Wifi of every ROM which I have tried to use which is claimed to have wifi working by other dream users who use it doesn't work. It seems to timeout.
The only exceptions to the rules are CM6.1 and ezterry's MT3G port.
In the latest 2.1 rom I have tried, this is what happens after clicking "Connect" on a known network:
D/AccessPointState( 3735): matches wifiConfig.eap=null
D/AccessPointState( 3735): security == WPA_PSK or WPA2_PSK
D/AccessPointState( 3735): updateWifiConfiguration() hasEap=, ssid"xxxx", eap=null, phase1=null, phase2null, identitynull,
V/WifiMonitor( 2920): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
D/BluetoothHeadset( 2920): Proxy object connected
D/AccessPointState( 3735): matches wifiConfig.eap=null
D/AccessPointState( 3735): matches wifiConfig.eap=null
V/WifiStateTracker( 2920): Connection to supplicant established, state=SCANNING
D/SettingsWifiEnabler( 3735): Received wifi state changed from Enabling to Enabled
V/WifiStateTracker( 2920): Changing supplicant state: SCANNING ==> SCANNING
D/WifiStateTracker( 2920): resetNotificationTimer()
D/WifiStateTracker( 2920): resetNotificationTimer()
D/AccessPointState( 3735): matches wifiConfig.eap=null
D/WifiStateTracker( 2920): resetNotificationTimer()
D/WifiStateTracker( 2920): resetNotificationTimer()
D/SettingsWifiLayer( 3735): MESSAGE_ATTEMPT_SCAN call attemptScan()
D/WifiStateTracker( 2920): resetNotificationTimer()
D/SettingsWifiLayer( 3735): MESSAGE_ATTEMPT_SCAN call attemptScan()
D/WifiStateTracker( 2920): resetNotificationTimer()
Click to expand...
Click to collapse
Other G1 users seem to be able to use the same roms with no trouble. I'll try connecting to a different network tomorrow.
Any thoughts?

[Problem] Note 5 doesn't want to connect to some types of N networks...

Hi,
For some reason my Note5 won't connect to some types N networks. 2.4 Ghz or 5 Ghz doesn't seem to make a difference nor open or encryption, simply won't connect.
The following was in logcat. Not sure what status_code=18, a google around didn't reveal anything. Tried various kernels without success. Galaxy S6, Macbook connect just fine. You can force your router into N only mode to test.
Code:
10-10 21:49:45.198: D/WifiSettings(9026): connectNetwork nid:0
10-10 21:49:45.198: W/ContextImpl(3708): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1771 com.android.server.wifi.WifiStateMachine.insertLog:15974 com.android.server.wifi.WifiStateMachine.access$3900:235 com.android.server.wifi.WifiStateMachine$DefaultState.processMessage:7513 com.android.internal.util.StateMachine$SmHandler.processMsg:967
10-10 21:49:45.208: E/WiFiServiceImpl(3708): CONNECT nid=0 uid=1000
10-10 21:49:45.208: D/WifiSettings(9026): [updateAccessPoints] wifiState : 3
10-10 21:49:45.208: V/BroadcastQueue(3708): [background] Process cur broadcast BroadcastRecord{287a31dc u0 com.samsung.android.providers.context.log.action.USE_APP_FEATURE_SURVEY} DELIVERED for app ProcessRecord{2ba4954d 5745:com.samsung.android.providers.context/u0a2}
10-10 21:49:45.208: E/WifiStateMachine(3708): CONNECT_NETWORK id=0 config="Gourmet Fast" cnid=0 supstate=DisconnectedState my state DisconnectedState uid = 1000
10-10 21:49:45.208: E/WifiConfigStore(3708): saveWifiConfigBSSID Setting BSSID for "Gourmet Fast"NONE to any
10-10 21:49:45.218: E/WifiConfigStore(3708): saveWifiConfigBSSID Setting BSSID for "Gourmet Fast"NONE to any
10-10 21:49:45.218: E/WifiAutoJoinController(3708): updateConfigurationHistory found 0 networks
10-10 21:49:45.218: E/WifiConfigStore(3708): setLastSelectedConfiguration 0
10-10 21:49:45.218: E/WifiConfigStore(3708): will read network variables netId=0
10-10 21:49:45.228: I/WifiConfigStore(3708): "Gourmet Fast" is a verified password AP: false
10-10 21:49:45.228: E/WifiConfigStore(3708): Not a HS20
10-10 21:49:45.238: I/wpa_supplicant(10005): CTRL-EVENT-SSID-REENABLED id=0 ssid="476F75726D65742046617374"
10-10 21:49:45.238: I/wpa_supplicant(10005): Trying to associate with E0.11.34 (SSID='476F75726D65742046617374' freq=5180 MHz)
10-10 21:49:45.238: I/wpa_supplicant(10005): wlan0: State: DISCONNECTED -> ASSOCIATING
10-10 21:49:45.238: I/wpa_supplicant(10005): CTRL-EVENT-STATE-CHANGE id=0 state=5 BSSID=00.00.00 SSID=476F75726D65742046617374
10-10 21:49:45.238: D/SecContentProvider(3708): insert(), uri = 2
10-10 21:49:45.248: W/MDM(6261): DataUsageCollector - planConfig == null. getIsWifiConnected: false. getIsMobileConnected: false
10-10 21:49:45.288: E/WifiStateMachine(3708): ConnectModeState SSID state=re-enabled nid=0 [id=0 ssid="Gourmet Fast"]
10-10 21:49:45.288: E/WifiConfigStore(3708): SSID re-enabled for "Gourmet Fast"NONE had autoJoinStatus=0 self added false ephemeral false
10-10 21:49:45.288: D/Settings.AccessPoint(9026): loadConfig: config.allowedKeyManagement: {0}
10-10 21:49:45.288: D/SecContentProvider2(3708): query(), uri = 20 selection = getPromptCredentialsEnabled
10-10 21:49:45.298: D/WifiSettings(9026): force scroll up
10-10 21:49:45.298: W/MDM(6261): DataUsageCollector - planConfig == null. getIsWifiConnected: false. getIsMobileConnected: false
10-10 21:49:45.308: D/libEGL(3023): eglTerminate EGLDisplay = 0x7f91604648
10-10 21:49:45.308: D/libEGL(3023): eglTerminate EGLDisplay = 0x7f91604648
10-10 21:49:45.308: D/MultiWindowConverter(3708): dismissGuide() : Before attaching the guide view, mForceDismissGuide : false
10-10 21:49:45.318: D/StatusBarManagerService(3708): manageDisableList userId=0 what=0x0 pkg=Window{1cb75d74 u0 d0 com.android.settings/com.android.settings.SubSettings}
10-10 21:49:45.318: D/InputDispatcher(3708): Focus left window: 9026
10-10 21:49:45.318: D/InputDispatcher(3708): Focus entered window: 9026
10-10 21:49:45.318: D/PointerIcon(3708): setMouseIconStyle1 pointerType: 1001 iconType:101 flag:0 pid:3708 uid:1000
10-10 21:49:45.318: D/PointerIcon(3708): setMouseCustomIcon IconType is same.101
10-10 21:49:45.318: D/PointerIcon(3708): setHoveringSpenIconStyle1 pointerType: 10001 iconType:1 flag:0 pid:3708 uid:1000
10-10 21:49:45.318: D/PointerIcon(3708): setHoveringSpenCustomIcon IconType is same.1
10-10 21:49:45.318: D/WifiSettings(9026): >>> SUPPLICANT_STATE_CHANGED_ACTION SupplicantState: ASSOCIATING
10-10 21:49:45.318: D/WifiSettings(9026): >>> SUPPLICANT_STATE_CHANGED_ACTION state:ASSOCIATING
10-10 21:49:45.328: D/InputMethodManagerService(3708): windowGainedFocus mCurrentFocusedUserId - 0 and mSecureKeypadEnabled-false
10-10 21:49:45.328: E/ViewRootImpl(9026): sendUserActionEvent() mView == null
10-10 21:49:45.328: I/wpa_supplicant(10005): CTRL-EVENT-ASSOC-REJECT bssid=E0.11.34 status_code=18
10-10 21:49:45.328: I/wpa_supplicant(10005): CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="476F75726D65742046617374" auth_failures=1 duration=10
10-10 21:49:45.328: I/wpa_supplicant(10005): wlan0: Setting scan request: 10 sec 0 usec
10-10 21:49:45.328: I/wpa_supplicant(10005): wlan0: State: ASSOCIATING -> DISCONNECTED
10-10 21:49:45.328: I/wpa_supplicant(10005): CTRL-EVENT-STATE-CHANGE id=0 state=0 BSSID=00.00.00 SSID=476F75726D65742046617374
10-10 21:49:45.338: W/ContextImpl(3708): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1771 com.android.server.wifi.WifiStateMachine.insertLog:15974 com.android.server.wifi.WifiStateMachine.access$3900:235 com.android.server.wifi.WifiStateMachine$DefaultState.processMessage:7513 com.android.internal.util.StateMachine$SmHandler.processMsg:967
10-10 21:49:45.338: E/WifiStateMachine(3708): ConnectModeState SSID state=temp-disabled nid=0 [id=0 ssid="Gourmet Fast" auth_failures=1 duration=10]
10-10 21:49:45.338: E/WifiConfigStore(3708): SSID temp disabled for "Gourmet Fast"NONE had autoJoinStatus=0 self added false ephemeral false
10-10 21:49:45.338: E/WifiConfigStore(3708): message=id=0 ssid="Gourmet Fast" auth_failures=1 duration=10
10-10 21:49:45.338: D/SecContentProvider2(3708): query(), uri = 20 selection = getPromptCredentialsEnabled
10-10 21:49:45.348: V/BroadcastQueue(3708): [background] Process cur broadcast BroadcastRecord{3530e1ba u0 com.samsung.android.providers.context.log.action.USE_APP_FEATURE_SURVEY} DELIVERED for app ProcessRecord{2ba4954d 5745:com.samsung.android.providers.context/u0a2}
10-10 21:49:45.398: D/WifiSettings(9026): >>> SUPPLICANT_STATE_CHANGED_ACTION SupplicantState: DISCONNECTED
10-10 21:49:45.398: D/WifiSettings(9026): >>> SUPPLICANT_STATE_CHANGED_ACTION state:DISCONNECTED
10-10 21:49:45.498: I/SurfaceFlinger(3023): id=27 Removed Hourmet Fas (6/8)
10-10 21:49:45.498: I/SurfaceFlinger(3023): id=27 Removed Hourmet Fas (-2/8)
10-10 21:49:45.518: D/libEGL(3023): eglTerminate EGLDisplay = 0x7fe6311ff8
10-10 21:49:48.258: D/WifiService(3708): startScan by pid=5155, uid=10015
10-10 21:49:48.268: I/wpa_supplicant(10005): P2P: Current p2p state = IDLE
10-10 21:49:48.268: I/wpa_supplicant(10005): wlan0: State: DISCONNECTED -> SCANNING
10-10 21:49:48.268: I/wpa_supplicant(10005): CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00.00.00 SSID=
10-10 21:49:48.308: I/wpa_supplicant(10005): Scan requested (ret=0) - scan timeout 30 seconds
10-10 21:49:48.308: D/SecContentProvider2(3708): query(), uri = 20 selection = getPromptCredentialsEnabled
10-10 21:49:48.318: D/WifiSettings(9026): >>> SUPPLICANT_STATE_CHANGED_ACTION SupplicantState: SCANNING
It's probably a regional thing. The n920a connects to my home wifi at full ac speeds (866). The "c" and "i" models only connect at 144 or such.
Different regions allow different frequencies (and different speeds/power at different frequencies.) The US is one of the most restrictive on 2.4 GHz (b/g) and one of the LEAST restrictive on 5 GHz (a)
Way back in the Note2 days, I knew the files to edit to resolve that for international devices in the US, but I've long since forgotten.. Perhaps someone can chime in (if it's even doable anymore.)
garyd9 said:
It's probably a regional thing. The n920a connects to my home wifi at full ac speeds (866). The "c" and "i" models only connect at 144 or such.
Different regions allow different frequencies (and different speeds/power at different frequencies.) The US is one of the most restrictive on 2.4 GHz (b/g) and one of the LEAST restrictive on 5 GHz (a)
Way back in the Note2 days, I knew the files to edit to resolve that for international devices in the US, but I've long since forgotten.. Perhaps someone can chime in (if it's even doable anymore.)
Click to expand...
Click to collapse
You know I thought the same thing considering its the version from Taiwan.
Edit: After digging out old routers from my closet one does work. Strangest thing. You know I get tired of Samsung just continuously changing the chipset in these things. Like why bother, they just got it working a a new chip is supposed to "improve throughput", "improve signal strength" etc ... freaking BS.
Guess I'll dangerously try to update the firmware on this this N66U
Edit: No such luck after updating the DD-WRT N66U to 26138M. Different error code though, open or protected, 2.4 Ghz or 5 Ghz, doesn't make a different. status_code went from 18 to 1...
I have NFC what the wifi limits/frequencies/etc are in Taiwan. If your router is flexible enough, you might try to installed ddwrt or tomato on it and configure the region for Taiwan (on the router) to see what happens.
It might be that the width needed for 'n' isn't legal in Taiwan. I just don't know.
If you're interested, I'm running diffs between files in /system/etc/wifi between my n920i (with OH6) and the original stock n920a firmware. I _believe_ these files configure the wifi radio.
At some point, I'll probably just overwrite the files in the 'i' with the files from the 'a' (if I'm convinced it won't harm anything) and see what happens...

Categories

Resources