WiFi Power Saving tweak - Defy Android Development

I would like to share the results I got from tweaking (root needed) this registry:
File:
/system/etc/wifi/tiwlan.ini
Registry:
PowerSavePowerLevel = 1
#0 - ELP
#1 - PD
#2 - AWAKE
The default value was ELP, but that way my WiFi keeps disconnecting from WPA2 AES enabled Access points.
I changed to PD and problem solved.
First a made a copy of the file to backup if something went wrong, I used a text editor to change the "tiwlan.ini" and then rebooted the phone.
But now WiFi wastes more energy, can't have everything.

Change to wpa1, I did it and solve all my wifi problems

Or you can use programm wi-fi fixer

ezantera said:
Change to wpa1, I did it and solve all my wifi problems
Click to expand...
Click to collapse
But clearly this is Defy's problem, and WPA2 AES is very popular where I live, that is not praticable for me.
mainbord said:
Or you can use programm wi-fi fixer
Click to expand...
Click to collapse
I'm going to give it a try. But tweaking powersave can be a solution to many problems, there should be an app to let users switch it easily.
EDIT:
best setting I found in the program is the option to disable wifilock:
http://developer.android.com/reference/android/net/wifi/WifiManager.WifiLock.html
http://code.google.com/p/android/issues/detail?id=9781
It is similar to change power saving...
EDIT:
Until now I haven't been able to reproduce the wifi disconnections after disabling lock using Wifi fixer and rebooting.
Same result as "Power Down" mode (PD), question is, what wastes more energy, if it is hardware mode PD
or software wifilock (not allowing turn off when the device is idle).
in progress

mrolp said:
I would like to share the results I got from tweaking (root needed) this registry:
File:
/system/etc/wifi/tiwlan.ini
Registry:
PowerSavePowerLevel = 1
#0 - ELP
#1 - PD
#2 - AWAKE
The default value was ELP, but that way my WiFi keeps disconnecting from WPA2 AES enabled Access points.
I changed to PD and problem solved.
First a made a copy of the file to backup if something went wrong, I used a text editor to change the "tiwlan.ini" and then rebooted the phone.
But now WiFi wastes more energy, can't have everything.
Click to expand...
Click to collapse
Your tweak don't change anything, the wifi connectivity still don't better

m!k3 said:
Your tweak don't change anything, the wifi connectivity still don't better
Click to expand...
Click to collapse
Your phone suffer from random disconnections (WPA2 AES enabled Acess Point) as mine did?
Are you sure the value of "PowerSavePowerLevel" in "tiwlan.ini" was successful changed from zero to one,
and you restart/reboot your Android after the change?
My ROM is stock Gingerbread -134 (2.3.4), what's yours?

mrolp said:
Your phone suffer from random disconnections (WPA2 AES enabled Acess Point) as mine did?
Are you sure the value of "PowerSavePowerLevel" in "tiwlan.ini" was successful changed from zero to one,
and you restart/reboot your Android after the change?
My ROM is stock Gingerbread -134 (2.3.4), what's yours?
Click to expand...
Click to collapse
Yes, i have made a new zip update with this value in tiwlan.ini.
But i'm not disconnected, this the connectivity with the web.
The link still here, but no page or no dl is possible
my rom is MIUI 1.8.27
Sorry for my english

my wifi is connected but cant get to internet when AES with buffalo hp-g300n,
I just changed to TKIP and wifi works without problems.
I tried changing powersaving , 802.11n on/off, dhcp/manual ip, and none of them worked fine.

businessman9 said:
my wifi is connected but cant get to internet when AES with buffalo hp-g300n,
I just changed to TKIP and wifi works without problems.
I tried changing powersaving , 802.11n on/off, dhcp/manual ip, and none of them worked fine.
Click to expand...
Click to collapse
I'am too, but in tkip my network aren't in optimal config for other stuff of my network!!

mrolp said:
I would like to share the results I got from tweaking (root needed) this registry:
Click to expand...
Click to collapse
I have to test it more but it seems to fix my problem with WiFi.
My home network is using WPA2 with TKIP. Using CM7 and MIUI I have experienced disconnects while downloading larger files or watching Youtube. Regular browsing was ok but I couldn't really use Android Market. Stock ROMs were fine, even those based on leaked 2.3.4.

miscz said:
I have to test it more but it seems to fix my problem with WiFi.
My home network is using WPA2 with TKIP. Using CM7 and MIUI I have experienced disconnects while downloading larger files or watching Youtube. Regular browsing was ok but I couldn't really use Android Market. Stock ROMs were fine, even those based on leaked 2.3.4.
Click to expand...
Click to collapse
Now we are 2 . Hope it helps more people.
m!k3 said:
Yes, i have made a new zip update with this value in tiwlan.ini.
But i'm not disconnected, this the connectivity with the web.
The link still here, but no page or no dl is possible
my rom is MIUI 1.8.27
Sorry for my english
Click to expand...
Click to collapse
Your english is really good for me, it is not my native language too
I replaced mine the old way, using copy/paste with root access and the app ES Explorer.
I'm attaching to this post the original "tiwlan.ini" that came with my ROM (without the tweak), for you to check if it's equal to your ROM's original "tiwlan.ini".
My disconnection is the same, I only know it because I try to open a site or download and doesn't work, system keeps showing wireless connected.
You can try the program suggested by mainbord (Wifi Fixer), and in "preferences"/"Advanced Options" uncheck "Enable Wifi Lock". This is an alternative that solved my problem too.

mrolp said:
Now we are 2 . Hope it helps more people.
Your english is really good for me, it is not my native language too
I replaced mine the old way, using copy/paste with root access and the app ES Explorer.
I'm attaching to this post the original "tiwlan.ini" that came with my ROM (without the tweak), for you to check if it's equal to your ROM's original "tiwlan.ini".
My disconnection is the same, I only know it because I try to open a site or download and doesn't work, system keeps showing wireless connected.
You can try the program suggested by mainbord (Wifi Fixer), and in "preferences"/"Advanced Options" uncheck "Enable Wifi Lock". This is an alternative that solved my problem too.
Click to expand...
Click to collapse
I can't open your tiwlan.ini... i have test wifi fixer, but i don't see any difference.. I think solve the problem whit any mod in wpa_supplicant...
but I'm not sur...
in the wpa supplicant del the option wpa2

I have experienced disconnects only with roms based on leaked 2.3.4. CM7 was OK. Now I'm using oficial Retail 2.2.1, with tiwlan.ini set with PowerSavePowerLevel = 0 (ELP) and everything is OK.
I'm going to install Motoginger Teaser v4 tonight and, if problem persist, I'll try this tiwlan.ini modification.
EDIT: Problem with Motoginger persists. Testing with option 1 set and no disconnection untill now.
Thanks for the trick.

After using that trick, my phone can't connect to wifi (only tried my WPA AES) and (could be unrelated) can't use the SIM card. Data wipe doesn't fix it...

@m!k3
I'm sorry that it does not work in your case.
@romuleta
now we are 3
geecko said:
After using that trick, my phone can't connect to wifi (only tried my WPA AES) and (could be unrelated) can't use the SIM card. Data wipe doesn't fix it...
Click to expand...
Click to collapse
@geecko
What is the version of your ROM?
Do you have a backup of your original "/system/etc/wifi/tiwlan.ini"
to replace as suggested in the #1 post?
EDIT: I've found your thread describing it.
geecko said:
Hey
I recently flashed Miui English, latest version.
But I quickly faced the following issues :
- It didn't ask for my PIN.
- Wifi worked, but weird bugs occurred.
I found it weird, so I did what a topic advised : I edited /system/etc/wifi/tiwlan.ini
The modifications were only applied to the power saving setting.
I rebooted and I'm not sure if it happened immediately but eventually wifi didn't even work anymore. So I installed CM7, no changes.
Flashed back the 3.4.3-11 Blur .sbf and ... no changes ! Data and cache Wipe doesn't change anything either. Of course I also restored the tiwlan.ini .
So whatever the ROM it is I'm using, "Invalid Sim card" and wifi "connects, disconnects, scans, connects, disconnects" but never ever connects.
How do I fix this ? It seems to be software-side 'cause it appeared when I installed Miui.
Click to expand...
Click to collapse
It seems you already had strange problems with PIN and Wifi before making the tweak, and after the tweak (not sure if immediately) things got worse.
Hope someone can help you find exactly where the bug is.

mainbord said:
Or you can use programm wi-fi fixer
Click to expand...
Click to collapse
A link to that program please?
Thx

Related

WiFi internet issue on WM6

I`ve got a T-Mobile MDA with WM6 and I cannot access the internet through WiFi. The access point that I connect to is working cause I am able to access the net fine on my laptop. I made sure that my network cards are set to connecte to the internet. I even did a softreset after I made the changes.
My internet explorer just sits there on locating. I am not sure if its just my WiFi card configured incorrectly within WM6 or if its a reg setting that isn't set right.
If anyone had this issue before and got it fixed let me know or give me some direction to start.. thanks in advance for your help.
This is a fairly common problem. For me disabling the Wireless G option in the registry did the trick:
Registry: HKLM\COMM\TNETWLN1\PARMS
Key: dot11SupportedRateMaskG
Value: 1
so I diabled it, soft restet, verified that the reg change sticked, which it did. I tried to access the net again with no go.
me too
I have the exact same problem.
Not much discussion about this
I tried the G fix. Didn't work. Funny thing. It started when I installed MB. Downgrading DIDN'T fix it.
Try setting the the Network Card to connect to "The Internet" instead of "Work"
they are set to that..
That actually worked for me. (The Internet instead of work fix) I also made sure that all the boxes for "Server assigned IP address were checked. I could have sworn I tried that already. I wonder if it will stay "fixed". I'm due for a soft reset...seems to be working. I've been thinking all along it was some stupid setting.
EclipsedMotions said:
they are set to that..
Click to expand...
Click to collapse
check the change your dns to 4.2.2.1 and 4.2.2.2 this may fix your problem
R
Changing to Internet and setting the DNS doesn't seem to help. Funny thing is, GMail via Midlet Manager seems to work (maybe its doing GPRS?). But IE just spins at Locating...
wifi internet issue on wm6
although i have the older version of t-mobiles' mda (wm5), i had similar issues connecting to the net even it sees a lot of wireless aps. either i cannot hold a steady connection or cannot connect at all. the solution i had was changing the channel on my wireless ap and updating my mda's parameters for my local wireless security. now i can go to the web using my mda even with poor signal quality. It is possible that you have several wireless ap's at your location sharing the same channel. hopefully changing the channel solves your problem.
simple possible solution, but check the proxy settings? I know with cingular, many people had trouble browsing the internet due to the MediaNet proxy settings. they removed the proxy settings and everything was fine then.
There is a known issue with your rom your running...there has been a new release. check the MB thread and you will see a recent listing about a 6 and 4 mb page pool, the wifi has been fixed.
mfrazzz said:
Changing to Internet and setting the DNS doesn't seem to help. Funny thing is, GMail via Midlet Manager seems to work (maybe its doing GPRS?). But IE just spins at Locating...
Click to expand...
Click to collapse
I have the original MB edition and I do not have any wireless problems. I know he had to fix the re-released versions as the wifi did not work with them initially, but I was unaware of a wifi problem with the initial release.
WIFI problem don't even see networks
Hey everybody, still loving this phone and its diversity, but have flashed this little piece of hardware with the mb 4mb/6mb wm6 rom only to find that WIFI can't even be turned on!. And yes I've downed the fixed versions from a certain forum. When I turn on WIFI, It just gives the symbol in the top straight away. It just can't find the networks. I even manually added a network, it then tries to find it, but simply can't. WEIRD hey.
Is there a solution for this problem, cause I really, like the look and feel of the wm6 roms over the wm5 roms.
bye all and thanks in advance for the kind replies.
Did you try using WiFiFoFum at all to see if it can find networks? I have not had any issues with WiFi with the Most Beautiful edition whatsoever. Only thing I notice is that when the machine first turns on or right after a soft reset that I need to click the comm manager icon for wifi twice before wifi will turn on. Otherwise it finds and connects to networks perfect.
Problem with MIE
i have no problem to connect to my homenetwork with WIFI, but i cannot access the internet with the internet explorer. but it works perfect with the opera browser!
hmmm..
It's weird...
I never access the internet with the internet explorer even my wifi was connected successfully while I brushed wm6 rom.
A miracle has happened Today.
I install a WIFI Device for WM5, that one is simple Chinese language.
I tried to turn on the wifi but not work.
Then I uninstall it -> restar....
Then I tried one more time to turn on wifi, ok, it's work to connect but still can't open the web page.
I check the wireless lan, switch the power save mode to best performance.
Then....I can open web page????
Wow~~ I don't know it work cause the wifi device change something or just swtich to best performance.
Maybe you guys can try.
(Sorry to reading my poor English)
thomas.iseli said:
i have no problem to connect to my homenetwork with WIFI, but i cannot access the internet with the internet explorer. but it works perfect with the opera browser!
Click to expand...
Click to collapse
Same exact issue. Pocket IE doesn't work, Opera does. Did you figure it out or get it corrected yet?
oops, double-posted

WiFi WPA-PSK Workaround and BubbleFix Service (CAB and OEM) - STABLE

OK guys!
I've developed a WiFi workaround... It's written in C++ (previous version was written in VB.NET)...
I've converted it in a Windows Mobile service... with a more efficient and more effective architecture...
It works as bubble fix only...
You can get it here as WiFiService.cab or OEM_WiFiService.zip... (you need to manually uninstall previous installed version of it)
The CAB and OEM contains the wzcsvc.dll fix too (thanks to vagus).
Let me know if it works...
mamiware said:
OK guys!
I've developed a first version of a WiFi WPA bug workaround... It's written in VB.NET and probably it's not the best in efficiency but... it seems effective...
That's the way!!!
Tomorrow or later I'll translate it in C++ as a Windows Mobile service with another more efficient architecture...
WARNINGS
It's based on a timer with an interval of 3 seconds... so to guarantee the best stability wait for 3 seconds between manual turn on or turn off...
LIMITS
This does not handle power on/off wifi bugs... only fix the reboot bug...
It seems not working when a new network is first time connected after being configured through notify messages...
You can get the cab here...
Or can get my latest ROM here...
Let me know if it works... (pay attention... it's a "beta")
Click to expand...
Click to collapse
Testing!
Very good!
Thanky You!!!
Don't work for me.... It is working only partially, sometimes it will connect,
sometimes not (often)
I have better results when I manually turn on and off wifi to connect...
I think that this app is turning off wifi too fast....
Mr Groch said:
Don't work for me.... It is working only partially, sometimes it will connect,
sometimes not (often)
I have better results when I manually turn on and off wifi to connect...
I think that this app is turning off wifi too fast....
Click to expand...
Click to collapse
Hi Mr Groch,
I would advise upping the timings to 5 seconds, this would give everything time to initialise and connect/disconnect cleanly.
ps........Good work!
Cheers,
Beast
New modified version... You can find the cab in the same place...
You can edit and test delays...
HKEY_LOCAL_MACHINE\Software\HTC\WiFiWPA\Interval: seconds between wifi state monitoring (default is 5)
HKEY_LOCAL_MACHINE\Software\HTC\WiFiWPA\Delay: seconds between turn on and turn off (default is 3)
I've tried to develop a C++ service... but it doesn't work... is anyone out there that can help?
New Version
This is written in C++... more efficient... but not yet a WM service... softreset required...
It works as BubbleFix too...
Let me know...
You find the cab here as WiFiService.cab...
mamiware said:
This is written in C++... more efficient... but not yet a WM service... softreset required...
It works as BubbleFix too...
Let me know...
You find the cab here as WiFiService.cab...
Click to expand...
Click to collapse
Excellent work. Exactly what I was waiting for. It works with my Netgear wi-fi set up with WPA-PSK. Could this be incorporated in the new rom Beast is likely to release for G4 devices?
It's still buggy, I think that there will be other versions soon...
When all the known bugs solved, I'll merge it in my ROM... (for Beast ROM you should ask him for it...)
BUGS (BubbleFix)
1. Sometimes it doesn't refresh immediatly the new status... and tapping again cause the wlan driver to act strange (the network adapter simply disappears!). To quickly solve the problem you can turn wlan on by Wireless LAN applet in Settings or softreset...
2. It shows itself when flight mode is activated too...
3. It doesn't handle keyboard input in the connectivity dialog... only stylus input...
I'll work on these bugs on Monday...
Let me know about other bugs!
mamiware said:
It's still buggy, I think that there will be other versions soon...
When all the known bugs solved, I'll merge it in my ROM... (for Beast ROM you should ask him for it...)
BUGS (BubbleFix)
1. Sometimes it doesn't refresh immediatly the new status... and tapping again cause the wlan driver to act strange (the network adapter simply disappears!). To quickly solve the problem you can turn wlan on by Wireless LAN applet in Settings or softreset...
2. It shows itself when flight mode is activated too...
3. It doesn't handle keyboard input in the connectivity dialog... only stylus input...
I'll work on these bugs on Monday...
Let me know about other bugs!
Click to expand...
Click to collapse
Thanks. waiting for the next update of your Rom with this and VOIP fix. Well done!
bugy but works. Finally I can use wifi on my Uni... Thanx a lot.
fuih... at last, my WI FI is working alright now, I can connect anytime without any problem at all - thank you
UPDATE
New version available... download again the WiFiService.cab from here...
Now it handles the flight mode and better manage WiFi power on and off...
It's still buggy if used with the common (and old) CommManager... I'll probably develop a new version of CommManager that better handles WiFi...
You can disable the BubbleFix feature changing
HKEY_LOCAL_MACHINE\Software\HTC\WiFiWA\Balloon = 0
How does this work exactly?
I installed it on my htc touch, but I still can't connect to my WPA-PSK AES protected network :-(
evilpharmacist said:
How does this work exactly?
I installed it on my htc touch, but I still can't connect to my WPA-PSK AES protected network :-(
Click to expand...
Click to collapse
The application is notified by windows when the Wifi state changes (through the HKLM\System\State\Hardware\Wifi registry value...)
When it happens, if the new state is "connecting" (i.e. 11 or 15) it switches off the Wifi device after 5 seconds (Interval) and turn it on again after 3 seconds (Delay)...
To solve your problem... you should verify two things:
1. What's the name of your Wifi device? I think you can find it HKEY_LOCAL_MACHINE\SOFTWARE\HTC\CommManager\WLAN\DeviceName
Fix: If you confirm it's stored there, I'll update the application making it read the device name from registry...
2. What are the states of the device written in HKLM\System\State\Hardware\Wifi? They would be similar...
Fix: Turn on and off the Wifi device and refresh your registry viewer window... Take note of the values and tell me...
I'll wait for your reply to update the app...
Pay attention: this workaround simulates the manual turn on and off fix... if it doesn't work manually, this application is useless...
UPDATE
New version available... download again the WiFiService.cab from here...
Now it reads the WiFi device name from HKEY_LOCAL_MACHINE\SOFTWARE\HTC\CommManager\WLAN\DeviceName... it could work on other devices...
mamiware said:
The application is notified by windows when the Wifi state changes (through the HKLM\System\State\Hardware\Wifi registry value...)
When it happens, if the new state is "connecting" (i.e. 11 or 15) it switches off the Wifi device after 5 seconds (Interval) and turn it on again after 3 seconds (Delay)...
To solve your problem... you should verify two things:
1. What's the name of your Wifi device? I think you can find it HKEY_LOCAL_MACHINE\SOFTWARE\HTC\CommManager\WLAN\DeviceName
Fix: If you confirm it's stored there, I'll update the application making it read the device name from registry...
Click to expand...
Click to collapse
My device name is stored in that key.
2. What are the states of the device written in HKLM\System\State\Hardware\Wifi? They would be similar...
Fix: Turn on and off the Wifi device and refresh your registry viewer window... Take note of the values and tell me...
Click to expand...
Click to collapse
When I'm not connected wifi state is 7, when I'm connecting it's 15.
I'll wait for your reply to update the app...
Pay attention: this workaround simulates the manual turn on and off fix... if it doesn't work manually, this application is useless...
Click to expand...
Click to collapse
Well, the problem is the manual disable/enable trick doesn't work for me, but I thought maybe the timings were wrong so I was hoping your app would work for me. I can't understand why this trick works for everyone, except for me :-s
I'll try your updated version now, maybe this helps.
Update (recommended)
New version available as Windows Mobile service (with a more efficient and more effective architecture).
You can get it here as WiFiService.cab or OEM_WiFiService.zip... (you need to manually uninstall previous installed version of it)
For more information look at the first post of this thread...
There is another fix out here for WPA-PSK bug... I'm waiting for comments on it...
Wifi FIX
Hi,
I'm curious how progress is doing.
Going to test your fix Mamiware!
Keep you updated!
Thank you
Leo
Wifi connect's but buggy, wlan manager crashed the first time.
Needed to softreset the device to turn on WLAN again.
Wifi bubble to turn off wlan I don't see.
After the device has switched of because of power setting I can't turn wifi on again.
Need to softreset again.
I have wpa-psk tkip enabled.
CommManager version 0.9.1.1
Cheers,
Leo
btw. I'm using the latest fix
Laurentius26 said:
Wifi connect's but buggy, wlan manager crashed the first time.
Needed to softreset the device to turn on WLAN again.
Wifi bubble to turn off wlan I don't see.
After the device has switched of because of power setting I can't turn wifi on again.
Need to softreset again.
I have wpa-psk tkip enabled.
CommManager version 0.9.1.1
Cheers,
Leo
btw. I'm using the latest fix
Click to expand...
Click to collapse
WOW! This disaster with my WiFiService!? I am encountering only a problem to start again Wifi with CommManager and WLanMgr after turning it off with the bubble (i.e. with SetPowerDevice D0)...
CommManager 1.3.7.0 and WLanMgr 3.17.0.0

Att Fuse Problem

Hello Everyone,
I just received a ATT fuse and for the life of me I cannot seem to get the WIFI to work. I've had the tilt and the 8125 previously and I tried duplicating settings to no avail.
Are there known issues with the WIFI on this phone?
I can connect to my WEP enabled wireless router, but opera and IE fails to connect and just keeps giving me errors. This is what I have read and what I have tried:
Setting to "work" instead of "Internet"
I've tried the cab files posted in another thread to disable ATT proxy
I'm a little lost in what to check. I did follow everything I've read here that came up in "WIFI" search. I have not unlocked the phone nor flash a rom.
Could someone lend a hand?
Sign up for the att media program...its on the attwireless site
This is a bit drastic, but an easy potential fix is to flash another ROM (after flashing Hard-SPL of course). AT&T often adds a bunch of unnecessary crap to their ROMs, which may interfere with normal functions. You could always flash the AT&T ROM back if you'd like.
Hi Animexi80,
I already have a data plan. The problem isn't with Media net, it is with the phone's built in WIFI.
Trancecoder,
Really, that drastic of a step.. Do you know of a rom that fixed a WIFI problem?
Thanks
TweedyPepper said:
Do you know of a rom that fixed a WIFI problem?
Click to expand...
Click to collapse
Honestly, I never even gave the AT&T ROM a chance, so I was unaware of Wi-Fi issues. Pretty much any ROM should work. If you flash a Fuze-specific ROM, you may want to run the CAB that disables the hidden AT&T proxy. If you flash a generic Touch Pro ROM, you'll likely need to run a CAB that fixes the keyboard layout.
Ok, I suppose I will give it a go.
If I may ask, would you tell me which rom and radio you're running. It would help rule things out it it doesn't correct the problem.
thanks
you may want to run the CAB that disables the hidden AT&T proxy.
Click to expand...
Click to collapse
What is the "hidden AT&T proxy?"
I just got an AT&T Fuze and after enableing wifi using the wireless manager, had no trouble connecting to home wireless networks with various security configurations (WEP, WPA, hidden SSID, etc.). Of course if the access point has the MAC filter enabled, the Fuze MAC address must be added to the allowed list.
TweedyPepper said:
If I may ask, would you tell me which rom and radio you're running.
Click to expand...
Click to collapse
I'm running an older PROven ROM, version 1.03. I'll be upgrading soon, probably to NATF's ROM. My radio ROM is 1.08.25.20, but (1) the radio ROM doesn't control Wi-Fi, so it's moot, and (2) it has not had very good battery life, so I'll downgrade back to 1.02.25.28 tonight.
rlsmith999 said:
What is the "hidden AT&T proxy?"
Click to expand...
Click to collapse
It's a proxy setting, separate from the normal one under Connections, that is hidden. It's used to make things such as Cingular, er, Cellular Video work.
rlsmith999 said:
I just got an AT&T Fuze and after enableing wifi using the wireless manager, had no trouble connecting to home wireless networks with various security configurations (WEP, WPA, hidden SSID, etc.). Of course if the access point has the MAC filter enabled, the Fuze MAC address must be added to the allowed list.
Click to expand...
Click to collapse
This is a bit off-topic, but FYI, anything below WPA/WPA2 cannot be considered secure. WEP can be cracked in minutes, hidden SSIDs don't make APs invisible, and MAC filtering is useless (except with WPA/WPA2) as anyone sniffing traffic can see client MAC addresses in the clear.
I have found that sometimes when I have both a "data connection" and a "wi-fi" connection that they phone seems to not lock on the wi-fi but tries to use a weak data connection so try turning off the data connection and see if that fixes the problem. Also give a soft reset a try as well.
Surprised by how few ppl are having wi-fi issues. I've tried about 6 ROMs now and have the same problem with everyone (guessing this proves its more of a hardware vs software issue)
I can locate and connect to a wi-fi network but no data transfers. I have to continually disconnect/turn off/reconnect over and over and finally I will get a connection..but if unit goes into sleep for a few minutes...I have to repeat.
Very annoying...no one else is having wi-fi issues?
Hi Everyone,
Sorry I haven't reported back sooner. I wound up loading a different rom on the phone and away went the problem.
jank0023, I have no idea. I would flash the phone back to stock and return it for another if all else fails. In all my searching, here and elsewhere, there ahve been a handful of wifi problems I came across. It doesn't seem like that common of a problem afaik.
jank0023 said:
Surprised by how few ppl are having wi-fi issues. I've tried about 6 ROMs now and have the same problem with everyone (guessing this proves its more of a hardware vs software issue)
I can locate and connect to a wi-fi network but no data transfers. I have to continually disconnect/turn off/reconnect over and over and finally I will get a connection..but if unit goes into sleep for a few minutes...I have to repeat.
Very annoying...no one else is having wi-fi issues?
Click to expand...
Click to collapse
If its your router try another channel make sure its on a supported signal (a,b, g)... lastly ensure your router is excepting all devices. I know these are basic checklist items but sometimes these can get us. I had a laptop that would only work on channel 6 ;-).
gravesy56 said:
If its your router try another channel make sure its on a supported signal (a,b, g)... lastly ensure your router is excepting all devices. I know these are basic checklist items but sometimes these can get us. I had a laptop that would only work on channel 6 ;-).
Click to expand...
Click to collapse
Thanks guys for the suggestions...I don't think its related to my network setup as I have about 4 other devices able to obtain signals with no problems using DHCP.
Issues don't seem to be as severe on some of the most recent ROMs I've used but still not perfect.

[FROYO WIFI FIX] 2.2 Wifi stuck at "Obtaining IP Adress"

A real fix has been found for this issue please follow this link to learn more
http://forum.xda-developers.com/showthread.php?t=907772
Awesome, thank you for this. I was having similar problems with mine after the Froyo flash too. I'll give it a shot.
I've been using Froyo since DG posted the link to JI6...and I've never had this issue. I use wifi on a daily basis. Weird.
Super weird...what would your android id have to do with wifi?
Oh and this belongs in general!
RKight said:
I've been using Froyo since DG posted the link to JI6...and I've never had this issue. I use wifi on a daily basis. Weird.
Click to expand...
Click to collapse
Same here never had a problem with wifi
Sent from my SAMSUNG-SGH-I897 using XDA App
RKight said:
I've been using Froyo since DG posted the link to JI6...and I've never had this issue. I use wifi on a daily basis. Weird.
Click to expand...
Click to collapse
I didn't have any issues until Cog 2.5.5. Once I flashed it my wifi just quit on me. I tried going back to stock Froyo to see if that was the problem, but no luck. As soon as I changed my device ID to what I had on Eclair everything got fixed.
I was having the same problem. I found a workaround that doesn't require changing anything on your phone. I accessed my router settings, changed the security type from WEP to WPA2 and the phone obtained the IP address immediately. Hopefully this will help out those of you who aren't familiar or comfortable with flashing your device yet.
mcann said:
I was having the same problem. I found a workaround that doesn't require changing anything on your phone. I accessed my router settings, changed the security type from WEP to WPA2 and the phone obtained the IP address immediately. Hopefully this will help out those of you who aren't familiar or comfortable with flashing your device yet.
Click to expand...
Click to collapse
Thanks for the info. Decent work around. I would still like to resolve the issue, but for now this works.
I did all of the steps in the original post, but it did not correct the issue. Actually made my phone worse. Now I cannot get into download mode, and I'm on Cognition beta 8 and my GPS does not work. It was working on Froyo leak, but had these same wifi issues.
This workaround is not working on my fios router. It is working on my netgear router at work. I'm not that well-versed to explain either situation. I just don't like hitting my data plan when I was getting wifi before 2.2 flash. And even then, it was working for a few weeks.
I ve flashed my phone and everythjng works great till one day when I wasn't able to connect to my wi fi at home (using wep key). But at my office works like a charm with wpa key.
If you are still having issues with your wifi after using the two work arounds mentioned in this thread I would reccomend flashing back to stock JF6, doing a master clear and reflash your current ROM. I would not suggest restoring system data using TiBU after doing the master clear as this could carry over your wifi issues. Yes I know it sucks to have to redo all your settings, but if it gets your wifi working then I would say it's worth it. After you restore your apps and such reapply the first fix that I mentioned to change your device ID back.
I did all the steps you mentioned in the first post. But I dont see any Android_id entry in secure tab.
I am using sqlitebrowser to edit settings.db file.
I am getting wi-fi getting Ip address error after installing odin3 1 click froyo update for captivate.
any other alternatives?
Bazinga_ said:
I did all the steps you mentioned in the first post. But I dont see any Android_id entry in secure tab.
I am using sqlitebrowser to edit settings.db file.
I am getting wi-fi getting Ip address error after installing odin3 1 click froyo update for captivate.
any other alternatives?
Click to expand...
Click to collapse
Android id changer though I dont think this has anything to do with wifi problems...that is a modem issue
newter55 said:
Android id changer though I dont think this has anything to do with wifi problems...that is a modem issue
Click to expand...
Click to collapse
Aah...i knew it.. I just flashed back to stock rom...
Sent from my SAMSUNG-SGH-I897 using XDA App
Has anyone tried assigning a fixed ip address, this worked for me.
Some people have had success addressing this issue utilizing the app Wifi Static".
For me, it was due to some zombie ap that I did forget. Ever since, my froyo got back to normal. The ap is svuwired.
Sent from my SAMSUNG-SGH-I897 using XDA App
Don't see why you have to do all that. Just flash back to stock and wifi works again.
I'm using a stock Froyo (official release , rooted)
when connecting to a Linksys N150 router, Im stuck at 'obtaning IP Address'
it's the same whether there is no password, WEP, WPA
on a linksys WRT54GH I can connect without problems, but oftentimes even if the phone shows that I'm connected via Wifi, there is no data coming through. I will need to disconnect and reconnect to my router
on both setups, I am able to connect and surf using my ipod touch (4th gen, on ios 4.1)
this is especially frustrating for me because there are 3 Galaxy S users in the house (the other two are my sisters, who bought the phone because of me)
HEEEELLLP
hey guys, i have the same problem and tried to fix it by editing the device id .. but my device id is same as from what i have noted down... plzz help me guys

WIFI problem after ICS upgrade

HI. Today I updated my non-rooted HTC Desire S to ICS 4.0.4 (3.0.16-gce03037 Kernel) from official site... Everything is working fine, but I have problem using the WIFI connection.
I can enable/disable WiFi, I have no problems with OS freezing when I switch on or off wireless, etc. I configured it properly (I did not restore any settings from my backup software) and manually, and in status bar I can see that network is connected. It seems that everything is working fine but:
1. I cannot access the Internet from the phone
2. My access point does not list my HTC as connected device at all
I am desperate because this is the only thing that is not working after upgrade, and I use WiFi a lot
Thank you all for helping regarding this.
R: WIFI problem after ICS upgrade
machiavelli-bg said:
HI. Today I updated my non-rooted HTC Desire S to ICS 4.0.4 (3.0.16-gce03037 Kernel) from official site... Everything is working fine, but I have problem using the WIFI connection.
I can enable/disable WiFi, I have no problems with OS freezing when I switch on or off wireless, etc. I configured it properly (I did not restore any settings from my backup software) and manually, and in status bar I can see that network is connected. It seems that everything is working fine but:
1. I cannot access the Internet from the phone
2. My access point does not list my HTC as connected device at all
I am desperate because this is the only thing that is not working after upgrade, and I use WiFi a lot
Thank you all for helping regarding this.
Click to expand...
Click to collapse
I don't know if it is the same issue i was experiencing some time ago, but seems that older Wi-Fi router have some problems with ics roms and later versions (jelly bean). I have resolved by changing my router but you could try specificy a static ip address for your phone and see if it works.
Sent from my HTC Desire S using xda app-developers app
I already have a static IP defined. Also my WiFi is protected with AES. Is there any way to keep ICS on HTC and to degrade only driver for the WiFi?
machiavelli-bg said:
I already have a static IP defined. Also my WiFi is protected with AES. Is there any way to keep ICS on HTC and to degrade only driver for the WiFi?
Click to expand...
Click to collapse
No, I don't think so, but maybe the AES encryption could be the problem. Try swiching to WPA or WPA2 and see if it works.
Jedioscuro said:
No, I don't think so, but maybe the AES encryption could be the problem. Try swiching to WPA or WPA2 and see if it works.
Click to expand...
Click to collapse
I tried with different encryption methods, even with no encryption at all, and problem remains. Any ideas?
machiavelli-bg said:
I tried with different encryption methods, even with no encryption at all, and problem remains. Any ideas?
Click to expand...
Click to collapse
Well, no. You could still try to root your phone, install a Jelly Bean based Rom and specify a static IP. JB is slightly better with WiFi than ICS so I think this is your last call.
Otherwise you can still use the pass-through internet option is "Stock option" of the Rom settings, but this means that the phone must be plugged in the PC.
Jedioscuro said:
Well, no. You could still try to root your phone, install a Jelly Bean based Rom and specify a static IP. JB is slightly better with WiFi than ICS so I think this is your last call.
Otherwise you can still use the pass-through internet option is "Stock option" of the Rom settings, but this means that the phone must be plugged in the PC.
Click to expand...
Click to collapse
Is there any 3rd party software which can manage WiFi chip? Something like option in MS Windows, where you can choose Windows to manage wireless or vendor application. Maybe it is not a firmware problem, maybe it is something with ICS subsystem/application which handles WiFi...
machiavelli-bg said:
Is there any 3rd party software which can manage WiFi chip? Something like option in MS Windows, where you can choose Windows to manage wireless or vendor application. Maybe it is not a firmware problem, maybe it is something with ICS subsystem/application which handles WiFi...
Click to expand...
Click to collapse
Not from my knowledge. You can try downloading wifix from the market, for some users has worked, but not for me.
Jedioscuro said:
Not from my knowledge. You can try downloading wifix from the market, for some users has worked, but not for me.
Click to expand...
Click to collapse
OK, now things are getting very weird!
First of all, I tried with "wifix" and bunch of other market "wifi fix apps", but with no success. After that I connected to my WiFi and try to ping my laptop which resides on the same AP and.... with SUCCESS! I looked at my AP statistics and I cannot still observe that my HTC is connected to the AP, but I could ping the laptop and default gateway (which is AP of course). I tried to do SSH to the HTC and that was successful too. It seems that my WIFI is working only locally, because when I try to ping public IP I get the destination unreachable error message. On the ifconfig's interface statistics I can see Rx and Tx counters increases on the wlan0 interface, but on the AP I still cannot see that my HTC is connected.
I looked up in to the routing table, and there was everything as should be. I am sure that there is no IP address conflict inside my network, I am sure that my HTC is authenticated and connected on the right wireless channel.
Guys, this issue is very weird, can somebody give some hint about it?
Please, see attachments there is much more info regarding this.
equally eelsec
Ok, here is the update in attachment, it seems that I have problem on the layer 3 of the OSI model. I think that I can summarize the following:
1. Radio is working
2. All MAC layer things are also fine
3. Encryption is ok
4. IP packets transportation between the HTC and router is not working.
I am not good with linux, and my phone is not rooted.What can I do to troubleshoot this part of the networking now?
Hello to all again.
Believe or not I still have the same problem. HTC support is USELESS... I tried with factory reset, and I still got a problem. I am loosing patience now... Can somebody tell me how to revert back to previous OS, please? Where to download, and how to install it?

Categories

Resources