[CM11] / [KitKat] [4.4] WiFi disconnected bug - Android Q&A, Help & Troubleshooting

Hello everyone,
I'm a cm11 user and since kitkat came out I updated to it.
As everyone know, some if not all devices running kitkat have this problem.
Nobody seemed to fix it so in this thread I'll try to find and share here all the info about this problem and, if possible, will try to keep the thread updates with the possible fix found in the net.
Now I'm with my smartphone, when I'll be back home this evening I'll post the solution that didn't work or worked for a bit.
If anyone knows some possible solution and wants to share is free to do it here, I'll add it to the OP.
About the bug:
The WiFi works for a brief period of time. After that, without disconnecting, or giving any sign of instability it just loses the internet connection.
To fix it you have to turn WiFi off or restart the phone. After some minute the phone does the same thing , finishing into an endless loop.
Thanks for reading.
Balino.
Sent from my GT-I8190 using xda app-developers app

I found a workaround, just install WiFi fixer from play store.
Trying to find a way to handle this problem but actually it seems impossible.
I'll update thread when I found some other solution.
Sent from my GT-I8190 using xda app-developers app

Another thing that made it "more stable" is been reducing the refresh rate in build prop from 150 to 45( cm7 fixed value but it's ok on kk).
This could cause battery drain. Not really noticed the impact on battery life anyway
Sent from my GT-I8190 using xda app-developers app

Related

Gps Problem

Hi guys,
The gps on my p500 is really bad. I can't seem to ever find my location. Factory reseted a few times.
Please help. Thanks
Sent from my LG-P500 using XDA App
It might need to get one good fix.
I'd put it on a charger in a window with a clear[er] view of the sky, running something like GPS status app.
In extreme cases* it can take up to 45mins to get a good first lock.
It can wipe and refresh the aGPS data if it got hosed somehow.
* gps has been unused for a very long time, or it was last used on another continent, etc.
Thanks a lot. It's working fine now
Sent from my LG-P500 using XDA App

Automatic WiFi/3G data connection switching on 2.2 ROMs

While I was running the Stock SE 2.1 .435 release (rooted of course) my X10 was capable of automatically switching between the GSM data connection to any of my configured Wifi networks (at work and at home) without any user interaction.
I have a friend with a Motorola Milestone on 2.1 with this same behaviour.
Every 2.2 ROM I have loaded seems to have a problem with regards to this feature. Basically I have to perform a manual switch but here are two of the behaviours I have noticed.
On FreeX10 the SSID basically becomes disabled. If I am at home and connected to my home network and leave the cell area my 3G network becomes established and everything is fine. Once I get back home within the cell area of my WiFi network the WiFi connection does not become active. Instead I have to go into Wireless Settings and that's when I see it is disabled. Long press the SSID and choosing Connect gets me connected.
On [Cyanogen6.1.3]gingerbread[v01] the SSID does not get disabled but rather it continuously fails. Same use case as above except when I go into Wireless Settings I see the SSID "Connecting" and then failing and entering the "Remembered" state.
My friend with the Milestone recently upgraded to 2.2 and will test this scenario to see if it is inherent to 2.2.
My question is, would it be possible to take the 2.1 Wifi component and use that in the 2.2 ROMs?
It would be great this could get fixed, same problem is with the gingerbread roms.
Like u said, it doesn't even help when switching WiFi off/on again using my WiFi widget. U have to manually press connect on your specific WiFi connection.
Pain in the ass!
Sent from my X10i using XDA App
I have the same problems, tried both roms and ended up sticking with Cyanogen, simply because it was less of a pain re wifi but i still have reconnection problems when leaving my house. The answer is to manually turn off wifi then leave, then reengage wifi manually when i return. A pain but, a small one
Agreed. Toggling the power does not help.
If it is possible to take the WiFi component (for lack of a better word) from another build I strongly suggest considering .435 because it worked phenominally under various conditions.
yea my wifi doesn't seem to work well either with the FreeX10 rom
I assume you already tried Blade Wifi Fix? If not, do so.
The Blade fix was included in the CM ROM I installed. It looks like all it did was power cycle the wifi which as already stated doesn't help.
Sent from my X10i using XDA App
Try to delete included BladeWifiFix and reboot test again and if still not working install BladeWifiFix new from Market and test again.
Wolfbreak said:
Try to delete included BladeWifiFix and reboot test again and if still not working install BladeWifiFix new from Market and test again.
Click to expand...
Click to collapse
I am on freex10 atm so ill try it on this ROM first.
What exactly does it do?
Sent from my X10i using XDA App
D-Trixxx said:
I am on freex10 atm so ill try it on this ROM first.
What exactly does it do?
Sent from my X10i using XDA App
Click to expand...
Click to collapse
FreeX10 is almost the same you can try it there too. What it does? Fix Wifi maybe, for some it fixes for some not so just try it you dont loose anything^^
i have been running free x10 for 3 months i suppose. it switches fine for me.
there where issues of WIFI NOT CONNECTING , no problems of switching though as u stated. so i installed blade wifi and everything was well.
i suggest what wolf says.
Wolfbreak said:
FreeX10 is almost the same you can try it there too. What it does? Fix Wifi maybe, for some it fixes for some not so just try it you dont loose anything^^
Click to expand...
Click to collapse
I know what it is intended to do but I was wondering how it was doing it. being a technical person I don't like the shotgun approach because the end results are very hard to interpret if you don't know what you are actually doing
but I digress I have installed it and I will be testing as soon as I get home
Sent from my X10i using XDA App
hi,
after reading this i though ...
me and wolf include blade wifi on our roms.
for me i don`t have any issue regarding wifi on my rom. i get out of home with wifi connected do a 1 hour trip to my work and when i get there wifi pick signal without any issue.
but......
i don`t check right away, so.
like i said me and wolf we include blade wifi and do some changes regarding build.prop to save some battery. one of the most consumer of battery is the wifi.
on SE roms search for wifi every 15 seconds. on mine i change that to 380 sec and wolf around 200 (i think) so...could this be the cause of ????
i personally don`t believe removing blade will do any difference but...maybe those who had this issues try to change build.prop to 15sec ?
well we might be onto something...after installing Blade I was able to switch but I did not time it...seems to have taken quite some time though. I'll time it next time but I'm sure since it will vary because it looks like it runs a timer and I don't know what the details are.
I wonder if Z made the same changes to build.prop as you guys have. I would be interested in testing without this change.
Also, it would be great to know what Blade actually does. I wonder if it circumvents the changes you made to the intervals in build.prop.
Also, any idea as to whether we can use the WiFi component from the .435 build in these ROMs?
Ren,
Is it possible to go in and change the value in build.prop:
wifi.supplicant_scan_interval=
Without reloading the ROM?
Sent from my X10i using XDA App
Yes.
Through root explorer. Just make sure you check all boxes on permitions and after that reboot.
D-Trixxx said:
Ren,
Is it possible to go in and change the value in build.prop:
wifi.supplicant_scan_interval=
Without reloading the ROM?
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Sent from my X10i using XDA App
Zdzihu has set it to 15 too in his ROM and there are Wifi issues too so i dont think thats the Problem
jags_the1 said:
i have been running free x10 for 3 months i suppose. it switches fine for me.
there where issues of WIFI NOT CONNECTING , no problems of switching though as u stated. so i installed blade wifi and everything was well.
i suggest what wolf says.
Click to expand...
Click to collapse
i installed blade wifi but nothing has been changed. any suggestions?
Wolfbreak said:
Zdzihu has set it to 15 too in his ROM and there are Wifi issues too so i dont think thats the Problem
Click to expand...
Click to collapse
yeah I saw that is it possible thats to aggressive? I wonder how it set in build 435
Sent from my X10i using XDA App
OK. I've been watching what Blade does and all it seems to do is reinitialize the wifi. Seems overkill so I found this:
http://developer.android.com/reference/android/net/wifi/WifiConfiguration.Status.html
I want to write an app that will monitor configured networks and set their status to Enabled.
The challenge for me is that I've never developed an app before but I have the SDK installed and it recognized my x10 so I'm good to go. Ill try to get as far as I can but I will need some help. Is there anyone interested in offering themselves as a resource if/when I need some help?
Sent from my X10i using XDA App

Samsung ICS - Wifi problem whats up

Have really annoying issue. Wifi used to work all the time now most places it does not pick up anything, it scans but cant find anything, tried wifi on / off, reboot, clearing the ram but nothing. Software or hardware issue requiring an RMA?
Thanks
Rav
Question =wrong forum.
F2222. I give up dum bastsrds.
Sent from my GT-I9100 using xda premium

"Android OS" battery drain, any solution?

Hello everyone,
I have big problems with battery drain! When I look into battery in settings I see Android OS causing huge battery drain. I am on stock Ics, tried many things - rooting, changing kernel, uninstalling bloatware with Titanium, changing baseband ... Nothing seems to help! I've realized that Android OS is active while WiFi on... When I switch off WiFi, battery life gets very good (or normal) and Android OS stop draining the battery.
Does somebody have same issue or knows THE solution? Except putting CM9 or other non stock Rom, would like ti keep Sony's Rom.
P.s. My girlfriend's Xperia Ray has the exact same problem!?!
Sent from my MT15i using xda app-developers app
mpopovic85 said:
Hello everyone,
I have big problems with battery drain! When I look into battery in settings I see Android OS causing huge battery drain. I am on stock Ics, tried many things - rooting, changing kernel, uninstalling bloatware with Titanium, changing baseband ... Nothing seems to help! I've realized that Android OS is active while WiFi on... When I switch off WiFi, battery life gets very good (or normal) and Android OS stop draining the battery.
Does somebody have same issue or knows THE solution? Except putting CM9 or other non stock Rom, would like ti keep Sony's Rom.
P.s. My girlfriend's Xperia Ray has the exact same problem!?!
Sent from my MT15i using xda app-developers app
Click to expand...
Click to collapse
Turning automatic synchronisation off & reducing screen brightness might help
Sent from my LT26i using xda premium
Yeah that's probably syncing problems. But just in case get BetterBatteryStats, let it run for a few hours and post me the logs.
Sent from my Sony Xperia Neo using xda app-developers app
WiFi on always eats far more battery than WiFi off.
If you've turned off all synchronizations already then it's just purely the constant search for the WiFi network and back and forth polling needed to maintain the connection being handled by the Android OS that's eating your battery and I'm afraid that would be perfectly normal then and not something one can fix.
venoma333 said:
Yeah that's probably syncing problems. But just in case get BetterBatteryStats, let it run for a few hours and post me the logs.
Sent from my Sony Xperia Neo using xda app-developers app
Click to expand...
Click to collapse
Thanks, but how to get the logs?
Here you can look at Android OS
SCHUMI_4EVER said:
WiFi on always eats far more battery than WiFi off.
If you've turned off all synchronizations already then it's just purely the constant search for the WiFi network and back and forth polling needed to maintain the connection being handled by the Android OS that's eating your battery and I'm afraid that would be perfectly normal then and not something one can fix.
Click to expand...
Click to collapse
Of course, but as you can see in the post above, what is strange is that when I was out of home (the first 3 hours) with wifi on the battery was doing fine even that the phone was probably searching networks all the time, and since I returned home (last 3-4h) the battery drain started again...
Shouldn't it be opposite? When connected to home wifi it should stop searching for it. So it's probably a sync problem, but whatever I don (Sync on or off) it's the same...
Could also be a clash with your router.....
Try changing channel see if that helps, if not you may be stuck with it or go back to gb
Sent from my MT11i using xda app-developers app
mpiekp said:
Could also be a clash with your router.....
Try changing channel see if that helps, if not you may be stuck with it or go back to gb
Sent from my MT11i using xda app-developers app
Click to expand...
Click to collapse
good idea! I'll try it, hope it works...
Get BetterBatteryStats somewhere from XDA (google it) start the app, leave your phone for a few hours and then go back into the app, press the settings key on your phone and choose dump to file. A .txt file will appear in the root of your sd card, attach the file to a post. Hope I can help
Sent from my Sony Xperia Neo using xda app-developers app
venoma333 said:
Get BetterBatteryStats somewhere from XDA (google it) start the app, leave your phone for a few hours and then go back into the app, press the settings key on your phone and choose dump to file. A .txt file will appear in the root of your sd card, attach the file to a post. Hope I can help
Sent from my Sony Xperia Neo using xda app-developers app
Click to expand...
Click to collapse
here it is, but seems have worked only 7h, while I was not home connected to Wi-Fi , so I'll post once more tomorrow...
Well judging by this it might actually be normal for android os to consume as much battery, because you haven't really used your phone much. The battery drain you are seeing on the battery settings is simply android os is draining the most out of your phone relative to other processes using much less.
Sent from my Sony Xperia Neo using xda app-developers app
Thanks to everybody, especially @mpiekp! Finally it seems that Wi-Fi router channel was the problem, since I changed it Android OS stopped, I can see in battery stats that it wasn't active since. The same for my girlfriend's Xperia Ray!
I'll be checking it from time to time in the next couple of days, just to be sure...
I love XDA!
One Power Guard can help the system into a deep sleep,Reduce battery drain
downloaded from http://forum.xda-developers.com/showthread.php?t=1889740

[XU] [Q] [DEV] Gps no lock issue.

I am on the brain's rom which is based on ics stock. I have a problem that most of you should be facing. My gps works great at first time I use it. It sees 8-12 satellites and locks quickly using 4-6 of them. The problem starts after I finish using it, 30 minutes later let's say. Phone enters deep sleep while I don't use it. So when I open an app that uses gps, this time gps sees 12 satellites again, but no matter what I do or how much I wait, it doesn't lock. Having wifi on makes no difference. Either clearing agps data and downloading it again, using gps status or similar apps. What does help is rebooting or switching flight mode on and off. It is like agps data or gps cache distracts gps instead of helping it. I would call it a gps deep sleep of death bug. Tweaking gps.conf file doesn't make a difference after deep sleep of death bug is encountered. I wonder if something is wrong with gps lib files.
Does anyone else have this issue or is it just me?
Have you managed to find a walkaround?
For other devices the fix was switching to an older radio or a hybrid one or changing gps lib files.
Is there a chance it is kernel related?
If anyone can help, please do.
Thank you everyone.
Sent from my ST25i using xda app-developers app
Thread moved to Q&A
Please post in the appropriate section next time
Sent from my Nocturnalized One XL using Forum Runner

Categories

Resources