WiFi WPA-PSK Workaround and BubbleFix Service (CAB and OEM) - STABLE - JASJAR, XDA Exec, MDA Pro ROM Development

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

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

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.

[APP]GPRSAutoOff voor WM 6.5

Hi all,
I've programmed a nifty tool voor auto disabling gprs after a period of time. I couldn't find an app which auto disconnects gprs/umts for WM 6.5 so I made my own. It's still version 0.1 but works wel. .NET CF 3.5 is needed. If something doesn't work please mention it so I can change/repair it. It was tested and developed on a HTC Touch2.
Have fun
Winmohtc6
Nice tool..... Not to create double threads but you can put it aswell in the general section Windows applications..... http://forum.xda-developers.com/forumdisplay.php?f=528
I own a Touch 2 and i've installed this app on my sd card (.Net 3.5 it was installed). I've checked the second option (search gprs on start data connection) and set the timer to 60 seconds. After reboot, i started data connection from comm manager, updated weather on homepage but even after 3 minutes, the gprs connection did not stop.
No other apps autoconnect this time.
What did i do wrong ? Or can you explain how did you tested it ? (I'm sure it works on your device )
Hmmm strange. I've tested it with autoconnecting gprs and not with manual connection via comm manager but that may not be a problem (in my opinion). I'm working on version 0.2 at the moment. It includes the option that the time stamp you save will be shown in the combolist after restart and it includes soft reset of the smartphone for applying settings. I'm working on it
Tested few minutes ago with gprs autoconnection.
Steps: reconfigure app, soft-restart phone, manual e-mail check for starting gprs. Connection is still alive and i didn't touch the phone 3 min till the screen turned off.
If it helps: ROM: 1.28.479.4 (66092), phone was bought unlocked (gsm operator free). If you need another specific hardware info, please tell me.
I'll wait for 0.2 version.
I appreciate your work.
Ops
Please share with us the registry keys that you change )
If wanted I can share the source code (vs vb.net 2008) . Send me a private message with emailadres and I will email it to you. I'm thinking of switching to OpenNetCF because it has more (and in my opinion better) references for programming on mobile devices.
Source code
Winmohtc6 said:
If wanted I can share the source code (vs vb.net 2008) . Send me a private message with emailadres and I will email it to you. I'm thinking of switching to OpenNetCF because it has more (and in my opinion better) references for programming on mobile devices.
Click to expand...
Click to collapse
Thanks And the phone disconnect GPRS .. but no one knows when

Wifi on demand?

Just changed to the new WM 6.5.3 stock rom~ but im finding a few problems with power consumption. Then I realised its cus my Wifi is always turned on! In previous roms I could set wifi so that it only connected when I update my weather or browse the internet, however with this new rom I find that Wifi will always try to connect if there is a connection nearby. So I thought I'll use TD2 Tools 3 to turn it off, but then the WLAN On Demand tab inactivated so I couldnt change it~
so is there anyone out there that knows a registry or have a cab so that I can turn this tab on? or even better just make my wifi on demand?
Welcome to the club I have exactly the same problem. With my previous ROM I used G-trigger application to toggle wifi, bt and some programsn but with this new ROM G-trigger doesn't want to work. I get an error message as soon ss I try to launch it. I've come up with some workaround but haven't tested it yet. There's a small wifi toggle program which I want to use and place a shortcut to it on home screen. A bit annoying but should work untill somebody comes up with a better solution.
Fixed problem with g-trigger: downloaded it from author's website, installed in main memory (device) instead of storage card and it works - can toggle wifi, bt and control other functions with just a simple shake
popularpp said:
Just changed to the new WM 6.5.3 stock rom~ but im finding a few problems with power consumption. Then I realised its cus my Wifi is always turned on! In previous roms I could set wifi so that it only connected when I update my weather or browse the internet, however with this new rom I find that Wifi will always try to connect if there is a connection nearby. So I thought I'll use TD2 Tools 3 to turn it off, but then the WLAN On Demand tab inactivated so I couldnt change it~
so is there anyone out there that knows a registry or have a cab so that I can turn this tab on? or even better just make my wifi on demand?
Click to expand...
Click to collapse
chacik said:
Welcome to the club I have exactly the same problem. With my previous ROM I used G-trigger application to toggle wifi, bt and some programsn but with this new ROM G-trigger doesn't want to work. I get an error message as soon ss I try to launch it. I've come up with some workaround but haven't tested it yet. There's a small wifi toggle program which I want to use and place a shortcut to it on home screen. A bit annoying but should work untill somebody comes up with a better solution.
Fixed problem with g-trigger: downloaded it from author's website, installed in main memory (device) instead of storage card and it works - can toggle wifi, bt and control other functions with just a simple shake
Click to expand...
Click to collapse
This solution created by me will solve all your problems:
[CAB] [WM6.5, WM6.5.x] [HTC] Wi-Fi On Demand for Custom/Official Roms
Actually, I was able to find a nice cab with task manager somewhere else on the forum, but still good work and thanks.
Wielkie dzieki
mancom said:
This solution created by me will solve all your problems:
[CAB] [WM6.5, WM6.5.x] [HTC] Wi-Fi On Demand for Custom/Official Roms
Click to expand...
Click to collapse
Thanks for that. Work very well in my topaz.
please let me know that cab
I want to add this cab please let me know from where u got it
' In previous roms I could set wifi so that it only connected when I update my weather or browse the internet'
How did you get this? I've looked all over to find a way so instead of it connecting to 'data connection' it connects to wifi automatically, could use please send me .cab or something thanks.
strong1 said:
' In previous roms I could set wifi so that it only connected when I update my weather or browse the internet'
How did you get this? I've looked all over to find a way so instead of it connecting to 'data connection' it connects to wifi automatically, could use please send me .cab or something thanks.
Click to expand...
Click to collapse
did you get it? i want this

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