HTC Desire Wi-Fi Problem - Desire Q&A, Help & Troubleshooting

Had a wi-fi problem on my htc desire for a while now..
One time I went to turn wi-fi on and it just said "Unable to start wi-fi". It had worked totally fine up until that point.
I've tried doing a factory reset, rooted, updated rom but it's still not working.
When the problem happened I had not rooted the phone or changed anything really.. it just happened.
In logcat it says:
flg=0x10200000 cmp=com.android.settings/.wifi.WifiSettings bnds=[124,404][236,531] }
D/SettingsWifiEnabler( 548): Received wifi state changed from Enabling to Unknown
W/SyncAllWidget( 151): activeSynch is null false
I/ActivityManager( 79): Displayed activity com.android.settings/.wifi.WifiSettings: 495 ms (total 495 ms)
I/WifiHW ( 79): wifi_load_driver enter
D/SettingsWifiEnabler( 548): Received wifi state changed from Unknown to Enabling
D/dalvikvm( 1805): GC freed 3806 objects / 257536 bytes in 97ms
D/NetworkLocationProvider( 79): onCellLocationChanged [1363,22890]
I/WifiHW ( 79): wifi_load_driver end error 2
E/WifiService( 79): Failed to load Wi-Fi driver.
D/SettingsWifiEnabler( 548): Received wifi state changed from Enabling to Unknown
Anyone got any ideas on how to fix this?
Setting a static IP fixed it temporarily but now it doesn't work again.

I have the same problem, wait for a solution.

I also have the same problem

Can you post what rom and radio versions you are using?
Usually this happens because the driver cannot be loaded.

I use :
for radio : 32.43.00.32u_5.09.00.20
for kernel: 2.6.32.15-gf9c0527 [email protected] #1
build: 2.09.405.8 CL218634
soft: LeeDroid_v1.8
I also try: Pays Desire Froyo Sense v1.9

Had the same problem. Wi-Fi starts fine, but if switched off, was unable to start again with the "Unable to start Wi-Fi" error.
Tried flashing different stock roms/radios, updating to Froyo, all sorts, in the end, I sent it back to HTC, they repaired it and I had it back within 4 days.

I just installed
RUU_Bravo_Froyo_HTC_WWE_2.09.405.8_Radio_32.43.00.32U_5.09.00.20_release_140022_signed.exe and the wifi problem seems to be solved

dunno, if it really helps. but I had the same problem with all custom roms which used to have wifi-n support. at first, I tried anything starting with wiping, reinstalling and using roms without wifi-n. none of it really helped. but then I changed one single setting on my wifi access point and everthing worked fine with ANY rom and ANY kind of wifi-bandwith.
just a guess, but at least you could try setting your wireless-channel from fixed (mine was fixed to 5) to automatic. there should be an option within your wireless-config on your router called "enable auto channel scan" or something like that...
unless your router is not a really old or crappy one, this could be a solution
edit: PS. I used tested almost every custom rom out of this forum. ALL roms with wifi-n support had the same issues. even newest radio didnt help much. maybe there is something about wifi-n which causes these issues

After two days using "RUU_Bravo_Froyo_HTC_WWE_2.09.405.8_Radio_32.43.00. 32U_5.09.00.20_release_140022_signed" rom, my wifi continue to work like a charm.

Related

HTC Desire Wi-Fi Problem

Had a wi-fi problem on my htc desire for a while now..
One time I went to turn wi-fi on and it just said "Unable to start wi-fi". It had worked totally fine up until that point.
I've tried doing a factory reset, rooted, updated rom but it's still not working.
When the problem happened I had not rooted the phone or changed anything really.. it just happened.
In logcat it says:
flg=0x10200000 cmp=com.android.settings/.wifi.WifiSettings bnds=[124,404][236,531] }
D/SettingsWifiEnabler( 548): Received wifi state changed from Enabling to Unknown
W/SyncAllWidget( 151): activeSynch is null false
I/ActivityManager( 79): Displayed activity com.android.settings/.wifi.WifiSettings: 495 ms (total 495 ms)
I/WifiHW ( 79): wifi_load_driver enter
D/SettingsWifiEnabler( 548): Received wifi state changed from Unknown to Enabling
D/dalvikvm( 1805): GC freed 3806 objects / 257536 bytes in 97ms
D/NetworkLocationProvider( 79): onCellLocationChanged [1363,22890]
I/WifiHW ( 79): wifi_load_driver end error 2
E/WifiService( 79): Failed to load Wi-Fi driver.
D/SettingsWifiEnabler( 548): Received wifi state changed from Enabling to Unknown
Anyone got any ideas on how to fix this?
Setting a static IP fixed it temporarily but now it doesn't work again.
same problem with my desire. I re-flash several ROM, but not change. May be the hardware fault. sadly
I have the same problem on Legend & it isn't rooted

[Q] Unable to connect to mobile network

Hello to everyone,
I woke this morning to find and unpleasant problem with my HTC Desire. I take it to make a call and found that i wasn't connected to any mobile network!
I rebooted it but still only emergency calls. I tried Airplane mode Off and On, no go.
I make nandroid backups every time i make changes to rom, radio or anything. I wiped everything and made a clean install of rom, restored couple of
nandroid backups, installed older version of radio baseband, installed different ROM... and still it won't connect to mobile network.
Sometimes it scans available network sometimes not, it just says Searching. When there are networks available and i select one of them to connect it says "Unable to
Connect to this network at this time. Please try again later."
I tried different SIM cards but with the same problem.
At the moment i have:
ROM: Oxygen-2.0-RC4 (switching between Oxygen-2.0-RC4, LeeDroid 2.3b)
Baseband: 32.44.00.32U_5.09.05.30_2 (switching between 32.49.00.32U_5.11.05.27)
HBOOT-0.93.0001
FYI i didn't make any changes to rom or whatsoever when this occurred, it happened overnight.
Everything else works OK, Wifi, GPS.
I would appreciate any help
Thank you
Since you did not change anything on the phone how about checking if your provider has issues, unless the other sim is also from a different provider.
Otherwise it might be a app or widget that messes with the apn settings.
I tried a SIM from another provider, a different sim from same provider and still won't work. I also tried my sim card in another phone and it works just fine there. So i can confirm it's the my phone that's not accepting to connect to any network no matter what sim i put in.
As for apps and widgets i currently don't have any since i'm trying to find out the problem with network, i have wiped everything and it's just clean Oxygen 2.0 RC4.
I'm kinda desperate to at least find out what's wrong, so please anyone shed some light
Have you checked over your APN settings?
Sent from my HTC Desire using XDA App
I don't believe APNs are the issue in my case because the phone won't connect to network at all (2g, voice) but i have reseted to default even deleted it's the same result.
I found some errors in radio log that can be helpful (hopefully):
D/RILJ ( 242): [0325]> REQUEST_GET_PREFERRED_NETWORK_TYPE
D/RILJ ( 242): [0325]< REQUEST_GET_PREFERRED_NETWORK_TYPE {0}
D/RILJ ( 242): [0326]> QUERY_AVAILABLE_NETWORKS
D/RILJ ( 242): [0326]< QUERY_AVAILABLE_NETWORKS [NetworkInfo IQ/(N/A)/24007/AVAILABLE, NetworkInfo TELIA S/(N/A)/24001/AVAILABLE, NetworkInfo Telenor SE/(N/A)/24004/FORBIDDEN, NetworkInfo Sweden3G/(N/A)/24005/CURRENT]
D/RILJ ( 242): [0327]> SET_NETWORK_SELECTION_MANUAL 24005
D/RILJ ( 242): [0327]< SET_NETWORK_SELECTION_MANUAL error: com.android.internal.telephony.CommandException: ILLEGAL_SIM_OR_ME
D/GSM ( 242): sending original message to recipient
D/RILJ ( 242): [0328]> SET_NETWORK_SELECTION_MANUAL 24007
D/RILJ ( 242): [0328]< SET_NETWORK_SELECTION_MANUAL error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/GSM ( 242): sending original message to recipient
D/RILJ ( 242): [0329]> SET_NETWORK_SELECTION_MANUAL 24005
D/RILJ ( 242): [0329]< SET_NETWORK_SELECTION_MANUAL error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/GSM ( 242): sending original message to recipient
D/GSM ( 242): wrapping and sending message to connect automatically
D/RILJ ( 242): [0330]> SET_NETWORK_SELECTION_AUTOMATIC
D/RILJ ( 242): [0330]< SET_NETWORK_SELECTION_AUTOMATIC error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/GSM ( 242): sending original message to recipient
I'm attaching the whole log that i captured with adb in txt, during the capture i have put airplane mode on and then off.
Thank you
Damn, I really hope someone has a solution to this issues. my Desire has been giving me the same error for months now since I moved into my basement apartment (which understandably has terrible reception). That's with multiple ROMs (LeeDroid and now Oxygen 2.0), radios and a new HBOOT.
Sometimes the phone will go weeks without an issue but then suddenly it will be hopeless for a week or more. Only a reboot will allow me to reconnect to the mobile network and that only for an hour or two.
BTW this is all on the Australian 3 network but gave the same error on a different SIM card (on a different network) just as the OP experienced. Wifi, GPS, bluetooth etc all work without issues as well.
Had this error together with a few other ones (sd-card couldn't be mounted, usb wasn't working anymore). This fixed these problems. So give it a try. Or try this one instead.
I found this on another forum:
"Try typing *#*#4636#*#* into your keypad and it brings you to a hidden menu. Click on "Phone Information" and it will show you all kinds of information including the current network, network type, signal strength, current IP address (if you have one) and even allow you to run a ping test. If you scroll down you should be able to change some settings such as the preffered network type, if you hit the menu button you will get even more options such as "select radio band" make sure it is set to "auto" or the the correct setting for your location."
You should give it a try.
Mirrors said:
Sometimes the phone will go weeks without an issue but then suddenly it will be hopeless for a week or more. Only a reboot will allow me to reconnect to the mobile network and that only for an hour or two.
BTW this is all on the Australian 3 network but gave the same error on a different SIM card (on a different network) just as the OP experienced.
Click to expand...
Click to collapse
I thought that was the standard service for 3/Vodafone in Australia
nagypapi said:
I found this on another forum:
"Try typing *#*#4636#*#* into your keypad and it brings you to a hidden menu. Click on "Phone Information" and it will show you all kinds of information including the current network, network type, signal strength, current IP address (if you have one) and even allow you to run a ping test. If you scroll down you should be able to change some settings such as the preffered network type, if you hit the menu button you will get even more options such as "select radio band" make sure it is set to "auto" or the the correct setting for your location."
You should give it a try.
Click to expand...
Click to collapse
I also have this problem. Thank you @nagypapi for that menu, that could have something to do with it. I checked it and "Preferred network type" is set to "WCDMA preferred" and I am using a GSM Desire. It won't let me change it! Also tried the "Select radio band" option from the menu but would not allow me to change any settings.
EDIT: I may be being special but my Desire HD is also set to WCDMA preferred (also a GSM), I guess I'm misunderstanding this setting. Anyone care to enlighten?
I apologize to all that tried to help me that i have not replied to this issue.
There was nothing with my Desire neither with rom nor with radio but it was IMEI locked by a provider. Apparently i bought a phone from a fraudulent person which the provider found out after few months that no one was paying for the phone and locked it. Now it has been 3-4 months that my phone is still not working, i contacted the provider, filed a police report and still nothing. The provider is simply refusing to unlock it.
I'm using it now as iPodroid
Anyway thanks to all for support.

ARC S will not connect to wifi (CyanoGenMod OR stock ROM)

Hi guys,
I've got a rooted ARC S currently running on a nightly version of CyanogenMod 10 that will not connect to wifi points.
I've gone through tons of threads and forums for a solution and none of them work.
The wifi points are detected with decent to very strong signal but when I try to connect it either sits on "connecting...", switches between "saved" and "obtaining IP address" or in the case of WPA protected networks; between "authenticating" and "connecting..." and "obtaining IP address".
Most of the time it ends up with "Avoided poor connection".
I only currently have access to public wifi networks so cannot modify the router settings, but I have tried creating a virtual hosted network (rebroadcasting a network through my pc)(see below).
Here's what I've tried:
-Factory reset, wiping cache and Dalvik cache multiple times
-Virtual hosted network
***I've tried rebroadcasting a public wifi through my pc and it connected, but at the time the network wasn't connected to the internet. When I managed to connect the network to the internet it would no longer connect to the network***
-Changing ROM
Problem started on CyanogenMod 9 (stable release), I've tried stock Sony ICS ROM (Doomlord version), stock Xperia Gingerbread and tried rebooting CyanogenMod 10.
***One time after flashing CyanogenMod 9 the wifi started working again for about 3 hours, but then failed and hasn't worked since***
-Deleting data/misc/dhcp file
I didn't actually have a file in the data/misc/ directory but I tried deleting the folder in case the file was hidden but nothing changed.
-Debugging with ADB
I've connected to ADB debugging while trying to connect to a working wifi point and these are some of the (hopefully relevant) messages I got on Logcat.
WIFI OFF
WIFI ON AUTOCONNECT ON
(error) WifiStateMachine Failed to set country code fr (I live in France)
(error) WifiStateMachine Failed to set frequency band 2
(warn) wpa_supplicant wlan0: Failed to initiate AP scan
(info) wpa_supplicant wlan0: Associated with 66:6d:57:dd:50:f3
(info) wpa_supplicant wlan0: Key negotiation completed with 66:6d:57:dd:50:f3
(error) DhcpStateMachine DHCP failed on wlan0: Timed out waiting for dhcpcd to start
(error) WifiStateMachine IP configuration failed
(info) wpa_supplicant wlan0: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3
...
(debug) CommandListener Clearing all IP addresses on wlan0
(debug) ConnectivityService ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
...
(info) wpa_supplicant wlan0: SME: Trying to authenticate with 66:6d...
(info) wpa_supplicant wlan0: Trying to associate with 66:6d...
(info) wpa_supplicant wlan0: Associated with 66:6d...
(info) wpa_supplicant wlan0: Key negotiation completed with 66:6d...
(info) wpa_supplicant wlan0: CTRL_EVENT_CONNECTED - Connection to 66:6d...
...
(debug) ConnectivityService handleInetConditionChange: no active default network - ignore
...
(info) UpdateCheckReciever Got connectivity change, has connection: false
...
(error) DhcpStateMachine DHCP failed on wlan0: Timed out waiting for dhcpcd to start
(error) WifiStateMachine IP configuration failed
I know that's probably way too much information but I've tried everything I can think of. Any help would be awesome.
Hasn't anybody got any ideas?
I've continued experimenting with various methods and I've noticed neither of the networks I've used have IPv6 enabled.
Could that be the source of the problem?
Because I've also got a HP touchpad running CM and WebOS and neither OS can connect either. But my 4th gen Ipod can.
Flash wifi modules
Sent from my LT15i using xda premium
TheHaso said:
Flash wifi modules
Sent from my LT15i using xda premium
Click to expand...
Click to collapse
WiFi modules wouldn't let the user get that far, FYI. Go try using WiFi without installing modules
OP: Does the issue occur on all WiFi networks or just one specific?
Logcat shows, like DHCP is failing, which is the router function to hand out IPs to every device connected to it.
Someguyfromhell said:
WiFi modules wouldn't let the user get that far, FYI. Go try using WiFi without installing modules
OP: Does the issue occur on all WiFi networks or just one specific?
Logcat shows, like DHCP is failing, which is the router function to hand out IPs to every device connected to it.
Click to expand...
Click to collapse
Some it can connect to, some it can't. The really annoying thing is that it has connected to my wifi network before. Twice.
Then it just stopped being able to connect to it.
Surely if the router was having problems my PC would have similar connecting issues? Which it doesn't.
When you say flash wifi modules do you mean you can get multiple modules for the same device?
I didn't realise you could change them.

[Q] Failed Ping ipaddr

Under phone settings I keep getting ping ipaddr - fail, ping hostname - pass, HTTP client - pass. I still have internet and all seems to be working fine. I had a random MMS not send which led me to check my settings. Not sure why it keeps saying unreachable. The thing I've recently done was flash miui. I wiped then went back to mmuzzy's 4.2.2 ROM, I have the newest radio available. Anyone else experience this?
Unreachable could be your wifi router causing the problem. Try reboot the Router and see if it corrects itself.
Even if it occurs while I'm on mobile data?
dancingtortoise said:
Even if it occurs while I'm on mobile data?
Click to expand...
Click to collapse
I am having the same issue.
Ping IpAddr: Fail IP addr not reachable
Ping Hostname(www.google.com): Fail: Host unreachable
HTTP client testass
Data seems to be working otherwise.
any one can solve this??

Widespread WiFi Issues Troubleshooting

It's fairly evident by the number of "wifi problem" threads posted all over xda that there seems to be a huge wifi problem with Android 4.0+. I've seen multiple reports of problems and several reports of methods for fixing user-specific scenarios. In my attempts to better understand what is going on at a system level and in hopes of finding a better solution, I've tried just about all methods I've come across to solve this issue. The only "fix" that works for me is turning off WIFI Power Save Mode via *#0011#. The problem with that fix is it does not work on AOSP ROMs! Hence, I'm trying to find another solution or another method of disabling WiFi Power Save Mode within AOSP ROMs.
Background Information/Description of problem: Turn on wifi and list of available networks will appear. Regardless of being able to connect to a network or not, after 8-10 seconds, the device will scan again, it will time out and the list of available networks will disappear and any connection will be lost. Available networks cannot be seen again until wifi is successfully toggled off and back on again (note - the device seems very picky about actually turning wifi off; it wants to keep it on for some reason - this could be an issue with the multiple reporting of the wifi state in various settings).
Known "Fixes": Some people seem to have luck with certain "fix methods" where others do not.
For most people having this issue or a similar issue, disabling WiFi Power Save Mode in the Service Menu seems to allow the phone to stay connected to networks. This is also true given that the user's wireless router is configured correctly. I've seen reports of several different router models being notorious for issues with Samsung phones, most notably the D-Link DIR-655. I have the DIR-655 and I've configured it to talk nice with my phone when WiFi Power Save Mode is turned off. (I have a new router being shipped to me this week to eliminate this factor altogether)
Some have performed a factory reset with successful wifi connectivity afterwards.
Some have re/flashed a radio and had success. I would like to try reflashing a radio via recovery but we currently do no have one posted on the forum - can someone help me out here?
Some have luck by manually setting the IP address on the router and/or phone.
For the sake of being able to flash an AOSP ROM and have working wifi, I'd like to try and find what's causing this issue and try to find a solution/workaround. I've been troubleshooting and trial-and-erroring most of the weekend.
My research so far:
While looking for the specific setting being toggled via the Service Menu (*#0011#), I found that the WIFI Power Save Mode setting is referenced in /system/app/serviceModeApp_RIL/res/values/strings.xml as
Code:
<string name="powersavemode">WIFI Power Save Mode</string>
which is referenced in /system/app/serviceModeApp_RIL/res/values/public.xml as
Code:
<public type="string" name="powersavemode" id="0x7f06006b" />
That's as far as I've gotten on that road - I haven't found the "0x7f06006b" constant referenced anywhere else yet - maybe someone else knows a quicker way to search for it?
I've attempted to modify settings in wpa_supplicant.conf found in /system/etc/wifi/ and /data/misc/wifi/ with no luck.
I've attempted to use bcm4335 drivers found on other variants of the S4 but I didn't get very far - some implementations are different!
I've gathered several Logcat files for reference:
WiFi Toggle On & Connect
WiFi Connects & Disconnects
CM10.1 WiFi Toggle On Only
Various lines that stand out to me:
Code:
E/wpa_supplicant( 3911): wpa_driver_nl80211_driver_cmd: failed to issue privatecommands
E/wpa_supplicant( 3934): Line 6: unknown global field 'okc=1'.
E/wpa_supplicant( 3934): Line 6: Invalid configuration line 'okc=1'.
I/wpa_supplicant( 3934): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 3934): Could not set interface wlan0 flags (UP): Operation not permitted
E/wpa_supplicant( 3934): nl80211: Could not set interface 'wlan0' UP
E/wpa_supplicant( 3934): wlan0: Failed to initialize driver interface
E/wpa_supplicant( 6961): Can't open default ap file
E/wpa_supplicant( 6961): Failed to open config file '/mnt/shell/emulated/0/cred.conf', error: No such file or directory
E/WifiHW ( 721): can't find ctrl_interface=
E/WifiHW ( 721): ctrl_interface != /data/misc/wifi/sockets
E/WifiHW ( 721): wifi_wpa_ctrl_cleanup is skiped.
E/WifiHW ( 721): Unable to open connection to supplicant on "/data/misc/wifi/sockets/p2p0": Connection refused
I'm no expert, but those lines seem to indicate some sort of underlying permissions and/or read/write issues? Some of the files those logs reference to as not existing actually do exist on the device. I saw in one thread where someone mentioned bad partitions? In that same thread someone mentioned flashing the radio/modem to correct their issue and it worked; this is why I want to try reflashing the radio on my phone.
Another thing I want to try is using Odin to reset the entire phone back to official stock, overwriting everything including the modem but we don't have an official tar for this yet.
What I would like to see from other T-Mobile S4 users:
Logcats of someone on stock who does not have wifi issues turning WiFi on from an off state and leaving it for at least 15 seconds. I'd like one where the device does not connect to a network and one where it does connect to a network.
Logcats of someone on CM10.1 doing the same mentioned above.
Someone who knows more about Android than I do to interpret these logcats and provide guidance
I can confirm that the service menu option to disable wifi Does work. Since I did the procedure wifi has been flawless.
im using a verizon dsl modem w router built in, jusy fyi.
Same here with the service code. Tmo s4 btw
Sent from my SGH-M919 using xda app-developers app

Categories

Resources