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:
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
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
Hey guys the title basically says it all, but I'm trying to build an ICS rom for the mytouch 4g. I'm using the DHD build as a base and im receiving this error when booting which of course boot loops it:
Code:
E/SocketListener( 1516): Obtaining file descriptor socket 'dnsproxyd' failed: Protocol not supported
I/Netd ( 1521): Netd 1.0 starting
E/Netd ( 1521): Unable to create netlink socket: Protocol not supported
E/Netd ( 1521): Unable to open quota2 logging socket
E/Netd ( 1521): Unable to start DnsProxyListener (Protocol not supported)
Any help or advice would be greatly appreciated, I'll be checking in on this thread tomorrow morning. Thanks!
Cmon guys I know you're out there
Sent from my HTC myTouch 4G using xda premium
I'm not dev but it probably a network errors,this file is in bin folder,but I'm on x10,
exemple,a fix for data drop for fxp cm7 44 is this file.try to replace it.
;-)
Thanks! I just needed to know where the file was located
Sent from my HTC myTouch 4G using xda premium
All dev related posts for fixing cm9 will come here.
All ideas are welcome but dont post for eta and stuff like that..
Currently fixing: Bluetooth
ToDo:
Camera
Internal memory
Graphic flickering
Audio(partially working)
Anything else?
Fixed:Wifi
My device tree: https://github.com/hell-lock-xda/android_device_htc_protou
If you manage to fix anything then send me a pull request.
prototype-U said:
All dev related posts for fixing cm9 will come here.
All ideas are welcome but dont post for eta and stuff like that..
Currently fixing: WiFi
ToDo: Bluetooth
Camera
Internal memory
Graphic flickering
Audio(partially working)
Anything else?
My device tree: https://github.com/hell-lock-xda/android_device_htc_protou
If you manage to fix anything then send me a pull request.
Click to expand...
Click to collapse
Fixed:
Camera atis 112 fixed it (if permissions were granted )
Internal Memory ( same as above )
I'll try ti fix graphical glitches
And wait have you tried using stuff from lliors device trees/ github?
The Android Manual said:
Fixed:
Camera atis 112 fixed it (if permissions were granted )
Internal Memory ( same as above )
I'll try ti fix graphical glitches
And wait have you tried using stuff from lliors device trees/ github?
Click to expand...
Click to collapse
Where is the fix??
BTW @all the above device tree is not working properly.. pls dont compile it.. I will soon make a working device tree
prototype-U said:
Where is the fix??
BTW @all the above device tree is not working properly.. pls dont compile it.. I will soon make a working device tree
Click to expand...
Click to collapse
In atis112's guthub his cm9 build has a functioning camera and internal memory
The Android Manual said:
In atis112's guthub his cm9 build has a functioning camera and internal memory
Click to expand...
Click to collapse
I have his tree forked and camera is nt working.. dunno abt internal
Good news and bad news for ya all!
Bad news:Wifi is still not working properly
Good news:WiFi drivers are loading properly! But its showing probs with supplicant. I was able to replicate such problems on stock rom too so we are pretty close to fixing it!
Code:
23:26:55.120 Error WifiHW 294 Supplicant not running, cannot connect
23:26:44.093 Info logwrapper 4398 /system/bin/wpa_supplicant terminated by exit(255)
23:26:44.093 Error wpa_supplicant 4401 wlan0: Unsupported driver 'nl80211'
23:26:39.065 Error WifiStateMachine 294 Failed to setup control channel, restart supplicant
23:26:24.107 Error wpa_supplicant 3977 wlan0: Unsupported driver 'nl80211'
23:26:24.107 Info logwrapper 3974 /system/bin/wpa_supplicant terminated by exit(255)
Adding the commit to github and will work on that driver..
prototype-U said:
Good news and bad news for ya all!
Bad news:Wifi is still not working properly
Good news:WiFi drivers are loading properly! But its showing probs with supplicant. I was able to replicate such problems on stock rom too so we are pretty close to fixing it!
Code:
23:26:55.120 Error WifiHW 294 Supplicant not running, cannot connect
23:26:44.093 Info logwrapper 4398 /system/bin/wpa_supplicant terminated by exit(255)
23:26:44.093 Error wpa_supplicant 4401 wlan0: Unsupported driver 'nl80211'
23:26:39.065 Error WifiStateMachine 294 Failed to setup control channel, restart supplicant
23:26:24.107 Error wpa_supplicant 3977 wlan0: Unsupported driver 'nl80211'
23:26:24.107 Info logwrapper 3974 /system/bin/wpa_supplicant terminated by exit(255)
Adding the commit to github and will work on that driver..
Click to expand...
Click to collapse
can you upload the built you made??
mhb92 said:
can you upload the built you made??
Click to expand...
Click to collapse
I hate posting here, but if you want the build, check out the sources.
Sent from my awesome, stock, Nexus7!
i will be able to check source from my main pc next week..thats why i want the built rom...i wanna check something about supplicant file
mhb92 said:
i will be able to check source from my main pc next week..thats why i want the built rom...i wanna check something about supplicant file
Click to expand...
Click to collapse
I will upload it in few hrs from now..
new build is compiling
Ok..! Waiting for link
Sent from my HTC Desire X using xda app-developers app
So guys here is the latest build. Sorry I cant put it on d-h.st cuz my connection is slow and I will prefer github until we fix all the bugs.
https://github.com/hell-lock-xda/cm9-packages
Just click on zip.
And the kernel is here..
http://d-h.st/zSS
prototype-U said:
So guys here is the latest build. Sorry I cant put it on d-h.st cuz my connection is slow and I will prefer github until we fix all the bugs.
https://github.com/hell-lock-xda/cm9-packages
Just click on zip.
And the kernel is here..
http://d-h.st/zSS
Click to expand...
Click to collapse
https://raw.github.com/hell-lock-xda/cm9-packages/master/cm-9-20130505-UNOFFICIAL-protou.zip
Error: blob is too big
BTW:
init.rc, that loads the wpa_supplicant service, also specifies nl80211.
WiFi almost fixed. It gets turned on but still few errors left to fix(scanning and stuff not working till now).
Code:
18:47:17.788 Info wpa_supplicant 2988 rfkill: Cannot open RFKILL control device
18:47:17.898 Info wpa_supplicant 2988 WPS: Converting push_button to virtual_push_button for WPS 2.0 compliance
18:47:18.007 Error WifiConfigStore 298 Error parsing configurationjava.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or directory)
18:47:18.007 Error wpa_supplicant 2988 wpa_driver_nl80211_driver_cmd: failed to issue private commands
18:47:18.007 Error WifiStateMachine 298 Failed to set country code in
18:47:18.007 Error wpa_supplicant 2988 wpa_driver_nl80211_driver_cmd: failed to issue private commands
18:47:18.007 Info wpa_supplicant 2988 wlan0: CTRL-EVENT-DRIVER-STATE HANGED
18:47:18.007 Error WifiStateMachine 298 Failed to set frequency band 0
18:47:18.007 Debug CommandListener 137 Clearing all IP addresses on wlan0
18:47:18.007 Info wpa_supplicant 2988 wlan0: CTRL-EVENT-TERMINATING
18:47:18.224 Debug SoftapController 137 Softap fwReload - Ok
18:47:18.224 Debug CommandListener 137 Setting iface cfg
18:47:18.224 Debug CommandListener 137 Trying to bring down wlan0
When I press on "ON", it turns on and then off... this keeps on happening.. so we did something productive today
Wifi fixed!!!!!!!!!!yeyeyeyeyey!!
YEAAAHHHH!
prototype-U said:
Wifi fixed!!!!!!!!!!yeyeyeyeyey!!
Click to expand...
Click to collapse
I love you lol Lets apply it on PA! What do you say?
The Android Manual said:
I love you lol Lets apply it on PA! What do you say?
Click to expand...
Click to collapse
tomorrow :highfive:
prototype-U said:
tomorrow :highfive:
Click to expand...
Click to collapse
Copy That :highfive:
so is wifi fully working now???
mhb92 said:
so is wifi fully working now???
Click to expand...
Click to collapse
Yes
I have been having issues with my WiFi and Bluetooth and maybe someone with a little bit more experience with sammy devices can explain what is going on here... my wifi and bluetooth refuse to turn on... i mean here is the Logcat.. and this is the only part i could see that cause an red flags to come up in my opinion.... I am sending in my note for a warrantee replacement but... i really thought at first it was a software issue.. but i flashed other roms went back to stock and still had the same issues... well here is the line that caught my eye.
E/WifiHW ( 2379): Cannot open "/data/.cid.info": No such file or directory
E/WifiHW ( 2379): ==========[WIFI] Station firmware load ===========
I/WifiHW ( 2379): Start Check B2 #######
I/WifiHW ( 2379): Check rev file: No such file or directory
I/WifiHW ( 2379): invalid is written to (wlan.poke_helper.ret)
E/WifiHW ( 2379): Failed to read wlan.poke_helper.pid
E/WifiHW ( 2379): failed to read BT poke PID
Did you try flashing the stock ROM through ODIN? As you said it looks to be a software issue, especially since these two chips (Hardware related) aren't bundled together.