Related
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?
h2o pete said:
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?
Click to expand...
Click to collapse
I have the same problem on a ROM i have made... That's just for Tattoo not Desire... But it's the same logcat... So can somebody help us??
Yeah I'm pretty stuck on what to do :/.
Added some information about my software to the first post.
i have same problem on my htc dream
BUMP...
-------------------------------------
Sent from my übercharged HTC Tattoo
Fixed it by setting a static IP address.
Wi-Fi > Menu Button > Advanced > Use static IP
i had yesterday the same problem on my desire,
i fixxed this with flash a "older" stock rom and update it with the build-in updater....
same problem with my desire. how to fix it?
It's broke again. Setting a static IP doesn't fix it any more. Any ideas?
got the same problem here
can any one help???
Bump
Sent from my HTC Desire using XDA App
seems like wlan.ko is not available in /system/lib/modules/
I've had similar problems in the past, but was unable to solve them. You can check several things though.
1) wlan.ko in /system/lib.modules <-- has to match up with the kernel that you are using
2) any entries for wifi and/or dhcp in the init.rc and init.devicenamehere.rc files that are in the ramdisk in the boot.img
3) wifi settings in the build.prop
4) files in /system/etc/wifi
5) I'm not sure about this one, but even some of the files in /system/etc/firmware might have something to do with wifi.
6) files in /system/etc/dhcpd
7) any files in /system/bin and/or /system/xbin that are called by *.rc from #2.
Just take a working ROM (stock is usually what I use), and compare the files with the corresponding files in your build. I use either WinMerge or N-way Folder Compare or just plain old 'diff' in Linux.
I had the same issue.
Flashed a new ROM with full wipe etc. Wifi OK.
Flashed a kernel update on top of the ROM. Wifi broken. Turning wifi on it would error and turn off again.
The only way I could fix it was to flash a full ROM and make sure I wiped everything from the recovery.
Any more info you can provide? Current ROM +version +any other mods applied like status bar or OC kernels?
Did anyone fix this?? I am stuck here, G1 Dream
CM 5.0.8 DS
Please help!!!
Are you getting the same error in logcat as others have? If so, I think .mak fixed it, but he never let us know how.
Same Issues...
Ive tried Reverting to CM 5.07, 5.07 and now the beta 6.0 and all have yet to fix the wifi issue. I also tried switching between the radio's and doing a full format/partition and wipe. Any fix to this yet?
That was Lovely Bro...Really Useful...I got my DESIRE today and could connect to WIFI but was unable to browse...This tip helped me...Thx a lot... Keep up the good work..
Trying to replace bcm4329.ko
I did the OTA update for my Desire today, and of course have the wi-fi problem.
However, when I enable wi-fi, I see the following appear at the end of dmesg:
Code:
<3>[ 8197.511535] bcm4329: version magic '2.6.32.15-g6a358a9 preempt mod_unload
ARMv7 ' should be '2.6.32.15-gf9c0527 preempt mod_unload ARMv7 '
The update zip (via thread 778852) contains a bsdiff patch file patch/system/lib/modules/bcm4329.ko.p... and from some examination of that file it appears just to patch the vermagic field of the .ko file.
I tried to use a hex editor to 'fix' bcm4329 and used adb pull/push to replace it, but I get
Code:
failed to copy 'bcm4329.ko.fix' to '/system/lib/modules/bcm4329.ko': Read-only
file system
Can anyone help me with this?
Update: I am a fool. I was using the wrong goldcard! Once I put the right goldcard in, then sdcard:update.zip applied correctly and wi-fi started working again.
@dleonard, could you please make step by step instructions of how to fix this wifi issue?
thanks
Mixu
Hi all,
I have a t-mobile phone and tried to install android 2.2. there. I used mdeejay's and darkStone's builds, but wifi didn't work at any of them. I've found a person who uses T-mobile hd2 too and installed the same versions of rom and radio. It didn't helped. In windows mobile wifi works well.
Could you please advice how to hande it? Did anyone face the same problem?
Thank you in advance.
#did some debug via adb:
I suppose that the red line below tells about reason.. But I haven't dealt with WPA on android before.. Any help is appreciated.
D/WifiService( 1916): setWifiEnabled( mAirplaneModeOverwridden=)false
I/WifiHW ( 1916): wifi_load_driver enter
D/NetSharing_NSReceiver( 2298): onReceive : android.net.wifi.WIFI_STATE_CHANGED
D/NetSharing( 2298): wifi enabled change, state = false
I/WifiHW ( 1916): wifi_load_driver end right 3
I/WifiHW ( 1916): wifi_start_supplicant enter
I/WifiHW ( 1916): wifi_start_supplicant end right 2
D/WifiService( 1916): ACTION_BATTERY_CHANGED pluggedType: 2
I/wpa_supplicant( 2771): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00
:00:00
E/wpa_supplicant( 2771): Failed to disable WPA in the driver.
D/NetSharing_NSReceiver( 2298): onReceive : android.net.wifi.WIFI_STATE_CHANGED
D/NetSharing( 2298): wifi enabled change, state = true
D/PowerManagerService( 1916): New lightsensor value:40, lcdValue:90
D/lights ( 1916): set_light_buttons
D/lights ( 1916): set_light_keyboard
E/SettingsWifiLayer( 2298): Unable to scan for networks
D/SurfaceFlinger( 1916): Layer::setBuffers(this=0x6257a8), pid=2298, w=1, h=1
D/SurfaceFlinger( 1916): Layer::setBuffers(this=0x6257a8), pid=2298, w=1, h=1
D/SurfaceFlinger( 1916): Layer::requestBuffer(this=0x6257a8), index=0, pid=2298,
w=350, h=85 success
E/WifiHW ( 1916): Supplicant not running, cannot connect
E/SettingsWifiLayer( 2298): Unable to scan for networks
D/SurfaceFlinger( 1916): Layer::setBuffers(this=0x4ca268), pid=2298, w=1, h=1
D/SurfaceFlinger( 1916): Layer::setBuffers(this=0x4ca268), pid=2298, w=1, h=1
D/SurfaceFlinger( 1916): Layer::requestBuffer(this=0x4ca268), index=0, pid=2298
w=350, h=85 success
E/WifiHW ( 1916): Supplicant not running, cannot connect
V/WifiStateTracker( 1916): Supplicant died unexpectedly
D/WifiStateTracker( 1916): Reset connections and stopping DHCP
D/NetUtils( 1916): ifc_get_info addr=0 !
D/WifiStateTracker( 1916): Disabling interface
D/WifiService( 1916): setWifiEnabled( mAirplaneModeOverwridden=)false
D/WifiStateTracker( 1916): Reset connections and stopping DHCP
D/NetUtils( 1916): ifc_get_info addr=0 !
D/NetSharing_NSReceiver( 2298): onReceive : android.net.wifi.WIFI_STATE_CHANGED
D/NetSharing( 2298): wifi enabled change, state = true
D/WifiStateTracker( 1916): Disabling interface
I/WifiHW ( 1916): wifi_stop_supplicant enter
I/WifiHW ( 1916): wifi_stop_supplicant end right 1
I/WifiHW ( 1916): wifi_unload_driver enter
I/WifiHW ( 1916): wifi_unload_driver end right 2
D/NetSharing_NSReceiver( 2298): onReceive : android.net.wifi.WIFI_STATE_CHANGED
D/NetSharing( 2298): wifi enabled change, state = false
how to set up MAC address for android builds (except startup.txt)?
Hi again,
I did some search and found that the core of the problem is in getting MAC address for wifi. (as dmsg says). Exactly the same problem was for Touch2, Tilt and other devices (http://forum.xda-developers.com/showthread.php?p=9211659) and it was resolved after they corrected wifi-nvram.txt. This file is responsible for setting up MAC address there, but I couldn't find it at builds for hd2.
if anybody knows what file is used to set up MAC address for wifi, I would be very appreciated.
Thanks!
I believe they just checked for their WiFi mac address from one of the following locations:
Settings->About phone->Status
Wireless & Networks -> WiFi Settings -> Menu Button -> Advanced
Then they edited the nvram.txt file @ /system/lib/hw/wifi/nvram.txt to include the proper MAC address.
Thanks for the answer!
Unfortunatelly wireless settings are not available until wifi is turned on.
I investigated the problem deeper and found that the reason could be in wifi hardware initialization. I did dmesg and saw the following:
wlan: wifi_set_power = 1
htcleo_wifi_power: 1
wlan: wifi_set_carddetect = 1
htcleo_wifi_set_carddetect: 1
mmc0: card_present 1
mmc0: Slot status change detected (0 -> 1)
wlan: Dongle Host Driver, version 4.218.204.2
mmc0: queuing CIS tuple 0x91 length 3
mmc0: new high speed SDIO card at address 0001
wlan: DHD: dongle ram size is set to 294912(orig 294912)
wlan: dhd_bus_rxctl: resumed on timeout
wlan: firmware version: ver
wlan: Return_dpc value is : 0
wlan: stop poll
wlan: dhd_bus_rxctl: resumed on timeout
wlan: dhd_preinit_ioctls: can't get MAC address , error=-110
wlan: dhdsdio_probe: failed
Since in windows mobile wifi does work I used the firmware files from WM: nvram.txt and rtecdc1.bin. As it turned out nvram in android is located in /proc/calibraion. But unfortunatelly it didn't help. So, I think that the problem is in bcm4329.ko driver. I'm not sure why other people with the same hd2 (t-mobile US) and the same ROM/RADIO/Android have no such issue. Perhaps my broadcomm hardware has a problem which is bypassed in windows, but not in Android.
I wonder if there is a way to get more detailed info than dmesg and logcat give (except building andoid sources of course ).
I don't know if it can help, but still, I'll say it anyway.
I think i had the same problem some times ago.
Wifi in android wouln't work, but was perfectly working in winmo.
it seems that if wifi is on in winmo when you boot on android, the wifi device seems to be blocked in some way.
Do you have wifi enabled in winmo? if yes, try to disable it, and boot on android to see if it works.
Hi kushulain,
Thanks for the advice! (I've almost started to build andriod by myself to find out the reason..) Unfortunatelly wifi was turned off when android was booting.
But this is another point to play around. I haven't tried to boot andriod with wifi turned on.
Thanks!
Just tried to boot andriod with wifi turned on. The device hangs at the beginning of the booting (even before screen with 'htc' appears). I think it is connected to my problem.
Did someone have similar problems?
Hey, I have the same problem, did you find any solution ?
Guys have you tried to change the radio part of the phone with a suitable one?
canavaro said:
Hey, I have the same problem, did you find any solution ?
Click to expand...
Click to collapse
hi, I didn't fix it actually due to lack of time. I tried to use wm hw init files in Android, but it didn't help. There is a score of my posts on this forum regarding this topic so you can find exactly what I tried. The funny thing is that WiFi works in wp7.
To stealth21
yes, that was the first thing I tried.
i am developing a cutom rom for lg p500 everything works execpt wifi can anyone help me please
here is the logcat
E/WifiHW ( 694): wifi_load_driver:idriverType=0
E/WifiHW ( 694): DRIVER_MODULE_ARG=firmware_path=/system/wifi/sdio-g-cdc-full11n-reclaim-roml-wme-aoe-pktfilter-wapi.bin nvram_path=/system/wifi/nvram.txt
W/WifiHW ( 694): Couldn't turn on SDIO polling: /etc/init.qcom.sdio.sh 1
E/CheckinTask( 1222): SSL error, attempting time correction: javax.net.ssl.SSLException: Not trusted server certificate
samrox144 said:
i am developing a cutom rom for lg p500 everything works execpt wifi can anyone help me please
here is the logcat
E/WifiHW ( 694): wifi_load_driver:idriverType=0
E/WifiHW ( 694): DRIVER_MODULE_ARG=firmware_path=/system/wifi/sdio-g-cdc-full11n-reclaim-roml-wme-aoe-pktfilter-wapi.bin nvram_path=/system/wifi/nvram.txt
W/WifiHW ( 694): Couldn't turn on SDIO polling: /etc/init.qcom.sdio.sh 1
E/CheckinTask( 1222): SSL error, attempting time correction: javax.net.ssl.SSLException: Not trusted server certificate
Click to expand...
Click to collapse
Have you tried using the stock driver for the WiFi? Not a developer as you can see BUT I've messed up and FIXED my share of devices and I can tell you from experience that 99.9% of the time is usually something really simple that you might be overlooking......GOOD LUCK dude!
Ok i will try
Sent from my LG Optimus One P500 using XDA App
I've continued a port from Sense 3.5 for Wildfire and so far its going pretty well
original thread: here
i'm only facing a issue which i don't know how to solve
When i turn on Wifi for the first time it works very well but after i disabling the wifi it gives me error and i can't seem to being able to start it again.
the build is based on 2.3.5 and the kernel/boot image are from CM7 so is the drivers but i still don't see why it doesn't work. also i noticed CM7 doesn't load insmod in libhardware_legacy.so while the HTC Sense does so? maybe the "drivers" are interfacing?
i'll attach the logcat
so far i've seen this
Code:
I/WifiHW ( 255): wifi_load_driver enter
I/WifiHW ( 255): check_driver_loaded
I/WifiHW ( 255): insmod
for full logcat go here: http://www.mediafire.com/?w83ck5m55gr88dm
Any help is appreciated :angel:
Okay, I have a Verizon Note II on OTA 4.3 running safestrap. I do not have an issue getting skynote to run, it runs amazingly. But I do have a problem with my WiFi not working on it. I've tried every link I can find in the thread for the so called Wifi Fix but none work. The zip ones just flash and move on, and then other ones which I try to do through Odin consistently fail and then brink my phone. I'm missing something I know, but I cant seem to figure it out. Anyone care to help me with this stupid little issue?
No, im not entirely new to this. Ive been flashing since the Droid X days.
idonteffingknow said:
Okay, I have a Verizon Note II on OTA 4.3 running safestrap. I do not have an issue getting skynote to run, it runs amazingly. But I do have a problem with my WiFi not working on it. I've tried every link I can find in the thread for the so called Wifi Fix but none work. The zip ones just flash and move on, and then other ones which I try to do through Odin consistently fail and then brink my phone. I'm missing something I know, but I cant seem to figure it out. Anyone care to help me with this stupid little issue?
No, im not entirely new to this. Ive been flashing since the Droid X days.
Click to expand...
Click to collapse
Can you send me a LogCat of you toggling WiFi and a screenshot of your settings/about device?
I had the issue today. It loaded fine and I could have run it without wifi but I need it. I did a factory reset and and flashed over stock slot.
Sent from my SCH-I605 using XDA Premium HD app
I tried to upload screen shots but having some issues with this app.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my SCH-I605 using XDA Premium HD app
Same problem, no solution?
I'm facing the same problem on the same specs. Does no one have a solution for this?
EddieK23 said:
I'm facing the same problem on the same specs. Does no one have a solution for this?
Click to expand...
Click to collapse
Your going to need to post a log.. and a complete one.. not like the poster above you
Sent from my SCH-I605 using XDA Free mobile app
lacoursiere18 said:
Your going to need to post a log.. and a complete one.. not like the poster above you
Sent from my SCH-I605 using XDA Free mobile app
Click to expand...
Click to collapse
Attached is my log from Logcat. If you need me to I'll make a longer log file.
Currently I'm restoring all apps and data with Titanium Backup Pro, hopefully I won't need to do a complete wipe and re=restore all the apps and such.
EddieK23 said:
Attached is my log from Logcat. If you need me to I'll make a longer log file.
Currently I'm restoring all apps and data with Titanium Backup Pro, hopefully I won't need to do a complete wipe and re=restore all the apps and such.
Click to expand...
Click to collapse
Your error is here..
Code:
05-08 13:37:03.248 I/WifiService(2764): setWifiEnabled: true pid=3579, uid=10166
05-08 13:37:03.258 E/WifiHW (2764): ##################### set firmware type 0 #####################
05-08 13:37:03.258 E/WifiHW (2764): Cannot open "/data/.cid.info": No such file or directory
05-08 13:37:03.258 E/WifiHW (2764): ==========[WIFI] Station firmware load ===========
05-08 13:37:03.258 I/WifiHW (2764): Start Check B2 #######
05-08 13:37:03.258 I/WifiHW (2764): Check rev file: No such file or directory
05-08 13:37:03.268 I/WifiHW (2764): invalid is written to (persist.service.bdroid.ret)
05-08 13:37:03.268 E/WifiHW (2764): Failed to read persist.service.bdroid.pid
05-08 13:37:03.268 E/WifiHW (2764): failed to read BT poke PID
05-08 13:37:03.313 E/WifiHW (2764): return of insmod : ret = -1, Exec format error
05-08 13:37:03.323 I/WifiHW (2764): invalid is written to (persist.service.bdroid.ret)
05-08 13:37:03.323 E/WifiHW (2764): Failed to read persist.service.bdroid.pid
05-08 13:37:03.323 E/WifiHW (2764): failed to read BT poke PID
05-08 13:37:03.323 E/WifiStateMachine(2764): Failed to load driver
05-08 13:37:03.323 E/WifiStateMachine(2764): sendErrorBroadcast code:10
05-08 13:37:03.323 D/WFDService(2764): intent recieved android.net.wifi.WIFI_STATE_CHANGED
05-08 13:37:03.323 E/WifiController(2764): Wi-Fi driver is unstable. Received CMD_STATEMACHINE_RESET
You wifi driver is not loading properly.. Did you flash the MJ9 firmware with the correct params? If not you need too.. If you did then it maybe something in the updater script upon flashing thats killing it..
lacoursiere18 said:
Your error is here..
Code:
05-08 13:37:03.248 I/WifiService(2764): setWifiEnabled: true pid=3579, uid=10166
05-08 13:37:03.258 E/WifiHW (2764): ##################### set firmware type 0 #####################
05-08 13:37:03.258 E/WifiHW (2764): Cannot open "/data/.cid.info": No such file or directory
05-08 13:37:03.258 E/WifiHW (2764): ==========[WIFI] Station firmware load ===========
05-08 13:37:03.258 I/WifiHW (2764): Start Check B2 #######
05-08 13:37:03.258 I/WifiHW (2764): Check rev file: No such file or directory
05-08 13:37:03.268 I/WifiHW (2764): invalid is written to (persist.service.bdroid.ret)
05-08 13:37:03.268 E/WifiHW (2764): Failed to read persist.service.bdroid.pid
05-08 13:37:03.268 E/WifiHW (2764): failed to read BT poke PID
05-08 13:37:03.313 E/WifiHW (2764): return of insmod : ret = -1, Exec format error
05-08 13:37:03.323 I/WifiHW (2764): invalid is written to (persist.service.bdroid.ret)
05-08 13:37:03.323 E/WifiHW (2764): Failed to read persist.service.bdroid.pid
05-08 13:37:03.323 E/WifiHW (2764): failed to read BT poke PID
05-08 13:37:03.323 E/WifiStateMachine(2764): Failed to load driver
05-08 13:37:03.323 E/WifiStateMachine(2764): sendErrorBroadcast code:10
05-08 13:37:03.323 D/WFDService(2764): intent recieved android.net.wifi.WIFI_STATE_CHANGED
05-08 13:37:03.323 E/WifiController(2764): Wi-Fi driver is unstable. Received CMD_STATEMACHINE_RESET
You wifi driver is not loading properly.. Did you flash the MJ9 firmware with the correct params? If not you need too.. If you did then it maybe something in the updater script upon flashing thats killing it..
Click to expand...
Click to collapse
That's the other problem, with MJ9 I can't flash firmware with Odin because of the locked bootloader, which no-one developed a way to unlock for the MJ9. Are there any other fixes?
EDIT: Or is there a way to flash firmware with safestrap? I tried before but it would give me an error saying it failed, so it's either not possible or I was using the wrong file.
2ND EDIT: Tried to flash the official MJ9 firmware with Odin, Odin says everything is good, the phone is perfectly fine, but wifi will still not connect.