[SOLVED] a REG KEY to check if WIFI is ON/OFF? - General Questions and Answers

As the title says...
What reg key should I check to know if WIFI is ON or OFF?
Thanks in advance.
Cheers...

Try "HKLM\System\State\Hardware\Wifi"
In my opinion ´5´wifi is off, ´19´ wifi is on and ´23´ wifi is on and connected.
Anybody there to confirm this?

cameo31 said:
Try "HKLM\System\State\Hardware\Wifi"
In my opinion ´5´wifi is off, ´19´ wifi is on and ´23´ wifi is on and connected.
Anybody there to confirm this?
Click to expand...
Click to collapse
It works, but on my device:
1 = OFF
11 = ON
19 = on and connected
I need a reg key which is the same for all the devices.....
Any other solution?

from what i've heard there's no generaly reg key for all phones.

nir36 said:
from what i've heard there's no generaly reg key for all phones.
Click to expand...
Click to collapse
And what about WIFI TOGGLE?
It switches ON/OFF wifi.. So maybe there is a reg key which does exactly what I'm searching for... And maybe it is the same for all the devices....
Any help?

problem with wifi is that only when it changes, it toggles a reg key.. which i don't know where to find (sorry). it isn't toggled by the changing of a reg key.
but i can tell you is, that there's an option to toggle WIFI in HButton. you can try reading the changes in the registry for the program.. or try to use it's source to see how they're doing it.

nir36 said:
but i can tell you is, that there's an option to toggle WIFI in HButton.
Click to expand...
Click to collapse
ATM I use a program called WIFI.EXE...
It is a simple toggle... You just launch it and it switch wifi ON (or OFF if WIFI is already running...)
And it works on all the devices...
So I think it should use some reg key....

found code written for wm6/6.1 using
...
wifi=regread("HKLM","system\state\hardware","wifi")
if (wifi = 1 || wifi = 5")
...
for watching wifi is off
didnt hear something about this wouldnt work.
and yes, 19 seems to be wifi is on and connected.

cameo31 said:
found code written for wm6/6.1 using
...
wifi=regread("HKLM","system\state\hardware","wifi")
if (wifi = 1 || wifi = 5")
...
for watching wifi is off
didnt hear something about this wouldnt work.
and yes, 19 seems to be wifi is on and connected.
Click to expand...
Click to collapse
Just tried it.. It works, but the problem is the same....
On my device WIFI ON is 11, not 5....
Why?
EDIT:
I thought about that, and maybe this is the solution:
I should simply check if the reg key is different from "=1" and all should work properly....
The only thing I doubt :
cameo31 said:
Try "HKLM\System\State\Hardware\Wifi"
In my opinion ´5´wifi is off, ´19´ wifi is on and ´23´ wifi is on and connected.
Anybody there to confirm this?
Click to expand...
Click to collapse
Are you sure WIFI OFF is 5??

you know what || means?
-> logical or
if wifi is 1 or 5 then wifi is off
else wifi is on

cameo31 said:
you know what || means?
-> logical or
if wifi is 1 or 5 then wifi is off
else wifi is on
Click to expand...
Click to collapse
Ok, many thanks....

that's a good idea.

ado3csovojh

Related

WiFIi problems XDA !!I

Hey I was wondering if some one could tell me what im doing wrong. Im trying to get onto a network it lets me connect to it but wont let me do anything els i cand use the web or anything
anyone got any ideas on what i should be doing. the wifi connects just fine but when i got to use anything on the net it wont work.
o and the wifi is my nabours. i asked him he sed it should work
thanks
A51HQ
I've just got mine working, only took me about 4 hours of trying different things to get it working. It turned out it was to do with WEP Data encryption on my wireless router. For some reason the xda2I wasn't being sent the correct key automatically.If when you're connected to the wireless you go to settings-connections-network cards tap the name of the network & then network key you can untick the auto key setting. You then go to your router configuration make a note of the key & enter on the xda & if its the same problem i had all should be well. The easy way to check is to turn of WEP on both devices & it should work without doing any of the above.
Hope this helps,
Graham
It's also possible that the router needs to know the mac address of your XDAIIi
I use pocketWinc from www.cirond.com on mine. Only £5 or so, and better than the bult in Wireless Manager.
Thanx alot ill give them both a try
A51HQ
I had the same problem. It turned out that my access point was configured for "g" only. I changed it to "b+g" and it worked straight away
Thanks for all the help Its now working 100%
What would i do without this website sigh :lol:
A51HQ said:
Thanks for all the help Its now working 100%
What would i do without this website sigh :lol:
Click to expand...
Click to collapse
Good, isn't it? A lot faster than GPRS, but would be faster if the XDAIIi used 802.11g. And in your case, it's free..
A51HQ said:
Thanks for all the help Its now working 100%
What would i do without this website sigh :lol:
Click to expand...
Click to collapse
Good, isn't it? A lot faster than GPRS, but would be faster if the XDAIIi used 802.11g. And in your case, it's free..

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

My WiFi won't turn on anymore... thoughts?

Hi guys,
In December, I started having problems with my WiFi. When I go into Comm Manager and press the WiFi symbol, I get the WinMo6 "spinner" to let me know it is thinking and then nothing.
Since then I've tried 3 or 4 different ROMs and I am still having the same problem. Is it just time for a new phone? Does anyone have any helpful hints or things to try?
Thanks in advance.
I got this exact same problem too....
Does anyone have any idea how to fix this? I would really like WiFi back.
I have a similar problem but it will turn on, find the AP but not connect. I have a g-only router ang a b-only router (both unsecured) it will not connect to either, it'll try for a few seconds then stop. I have activate the connect to G router hack in the registry.
from will
As a note, I just turned on the Today Item "Wireless" and WiFi doesn't show up at all. Does that give anyone any clues?
my phone sometimes does this not-connecting-to-available-router-trick, then my usual procedure is to reboot the router.
Sometimes it shows the Icon as connected, but in reality won't even turn on the WiFi, even after a reboot. Then it's a bit more complex... I switch off the AP, then the wireless subsystem, reboot the phone, while it's booting reboot the AP, and THEN activate wireless. This usually shocks it back into sense and it connects just fine. This usually happens after I accidentally use the popup window to control the WiFi, or sometimes randomly. Small problem, but when it happens, pretty annoying...
jrronimo said:
As a note, I just turned on the Today Item "Wireless" and WiFi doesn't show up at all. Does that give anyone any clues?
Click to expand...
Click to collapse
Yep, sounds just like what happens to me sometimes...
I happened to have same problem with my jasjar for about a year,,,
i started to believe its a hardware problem ...
the thing is i have tried all available ROMS official and not....but sometimes it works most of the times it dowsnt...
well program conflict is not the answer coz even after formatting i still have same problem....
What radio version are you guys using? I think I have 1.18.00. I am using Laurentius26's 2.05.00 ROM.
Guys,
Get a copy of TaskManager and check in the devices tab and check the wlan, also check your services tab.
It is likely that you either
1 Have a bad flash
2 Have a corrupt/unsigned driver
3 A hardware fault
My guess would be 2
Thanks for the response, Beast.
I see this: $device\WWN0(WWN0 Status: Loaded. Startup Type: Automatic. Dll: wwan.dll. Reg Key: Drivers\BuiltIn\WWN
I can stop it and restart it but it doesn't seem to do anything... Any ideas?
jrronimo said:
Thanks for the response, Beast.
I see this: $device\WWN0(WWN0 Status: Loaded. Startup Type: Automatic. Dll: wwan.dll. Reg Key: Drivers\BuiltIn\WWN
I can stop it and restart it but it doesn't seem to do anything... Any ideas?
Click to expand...
Click to collapse
check out ZCF1 (zero config) device.
is it okay/loaded? which dll it uses?
and is there any other device that's unloaded?
beast0898 said:
Guys,
Get a copy of TaskManager and check in the devices tab and check the wlan, also check your services tab.
It is likely that you either
1 Have a bad flash
2 Have a corrupt/unsigned driver
3 A hardware fault
My guess would be 2
Click to expand...
Click to collapse
Mine would be 3. I'm using your ROM, so I trust you didn't include bad drivers
Although when fixed the way I said, it works A-OK...
shlomki said:
check out ZCF1 (zero config) device.
is it okay/loaded? which dll it uses?
and is there any other device that's unloaded?
Click to expand...
Click to collapse
ZCF1 is loaded and using WZCSVC.dll.
There are 4 unloaded devices: DSK3, DSK2, COM8 and MIX1.
Thanks for your help as well. I hope we can get to the bottom of this.
mzalan - your problem seems different then jrronimo's.
mzalan's problem seems somewhat like something i experienced 2 days ago - relating to the wpa-tkip fix.
although i think your problem has nothing to do with the router, i think rebooting your phone is what does the trick. am i wrong?
i've made a cab for the wpa fix. after installing it my problems were gone.
give it a try - couldn't hurt.
jrronimo - maybe you should give it a shot also?
shlomki said:
although i think your problem has nothing to do with the router, i think rebooting your phone is what does the trick. am i wrong?
Click to expand...
Click to collapse
Yes, you are wrong, I must say. You see, this only happens in the dormitory where stay during weekdays at school. There is one wireless AP there, a small Linksys unit, which only stops working if there are many connections through it(solved, since I limited the number of clients in the DHCP to 10, whit a 30min lease. The tech-man forgot to set a new admin password), or if the flow is too great. My tech-savvy roommate says it dies because the processor is too weak to handle the flow or the many connections, and the firmware hangs, that's why it needs to be reset.
The other thing supporting me is that those are the times when everyone with a laptop in the dorms comes running to me, or just yelling down the corridor for me to "do something about the net". So it can't be my phone only.
The second case, where the icon shows me as connected, however, is only the fault of my phone, but even then the router needs to be turned off before I reboot the phone to sort of "shock WiFi system back into life". Luckily, this does not happen often. But these are the times when everyone keeps asking why there was a drop in the service...
shlomki said:
i've made a cab for the wpa fix. after installing it my problems were gone. give it a try - couldn't hurt.
jrronimo - maybe you should give it a shot also?
Click to expand...
Click to collapse
Well, I tried this and it didn't seem to help or hurt. I now see ZCF1: as having the driver wpatkip.dll but loaded or unloaded WiFi doesn't load.
A few times over the weekend, though, it WOULD load up (before I tried the .cab, I think)... but then it would turn itself off. Also, the page in the network settings where you would normally see a list of available access points is just sorta... gone.
sounds like your registry is corrupt. I would format the doc with mtty Task 28 55a and re-flash your rom mate.
That sounds scary but I'm certainly willing to try. The registry doesn't get overwritten when a new image is installed? Eesh.
So... what do I do? heh. I hate to be a noob about it but mtty is not something I've had to deal with before.
jrronimo said:
That sounds scary but I'm certainly willing to try. The registry doesn't get overwritten when a new image is installed? Eesh.
So... what do I do? heh. I hate to be a noob about it but mtty is not something I've had to deal with before.
Click to expand...
Click to collapse
Firstly you need to download MTTY, it's floating around this Forum somewhere.
Secondly read the wiki http://wiki.xda-developers.com/index.php?pagename=Universal_Technical
This has details of all commands accseible through MTTY.
Yes the reg should be cleared when flashing, however it requires user input to "Clear Storage" after a flash, and it is possible that the DOC is corrupted.
If you still have questions after searching on MTTY, post back and we'll give more help.

WIFI settings gone

It happened again. I come to work and my phone doesnt connect. I check the wifi and it is asking me as if it was a new wifi connection. What the hell? I have to enter the whole wep key again. Why does this happen?
this happens to me too
Is there any utility that backs up these settings/ saved keys?
I think only our brains.
lollonais said:
I think only our brains.
Click to expand...
Click to collapse
Gar...thanks. Where are these settings being stored. The registry?
wingmanjd said:
Gar...thanks. Where are these settings being stored. The registry?
Click to expand...
Click to collapse
Get a reg editor and search Wifi, I think the settings are stored in there somewhere under HKLM.
do you use TF3D/Manila's wifi manager, or the WM default wifi manager?
with EnergyROM 6.5 + Manila's wifi manager, my phone auto connects after setting the password for the first time...
B/G router set to WPA2/AES and WPA1/TKIP fallback
Thanks all. I'll look into it.

WiFi Power Saving tweak

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

Categories

Resources