[q] help...........[solved] - Android Q&A, Help & Troubleshooting

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

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?
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

[Q] wifi doesn't work at any of android builds

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.

[Q] [dev] help needed

Hi there!
I am trying to port rom from another device (AOSP GT540 to our phone)
as this is my first try of doing port
I can't say that this port will work
I need some help
I am getting lot's of error
phone is not booted
here is logcat
--------- beginning of /dev/log/main
I/DEBUG ( 1418): debuggerd: Jun 13 2011 00:42:24
E/RPC ( 1426): error opening /dev/oncrpc/3000008c:00040000: No such file or directory
E/RPC ( 1426): ERROR OPENING [/dev/oncrpc/3000008c:00040000]: No such file or directory
E/RPC ( 1426): failed to initialize client (permissions?)!
E/loc_api_rpc_glue( 1426): Error: cannot create RPC client.
D/WiperIface( 1426): WiperIface open : Location handle -1234, pid 1426
D/libloc ( 1426): loc_read_gps_conf: using /etc/gps.conf
D/libloc ( 1426): loc_read_gps_conf: PARAM INTERMEDIATE_POS = 1
D/libloc ( 1426): loc_read_gps_conf: PARAM ACCURACY_THRES = 3000
D/libloc ( 1426): qct_loc_eng_wiper_init: wiper enable = 0
--------- beginning of /dev/log/system
I/Vold ( 1416): Vold 2.1 (the revenge) firing up
D/Vold ( 1416): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1416): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 1416): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
W/Vold ( 1416): Ignoring unknown switch 'usb_connected'
W/Vold ( 1416): Ignoring unknown switch 'usb_configuration'
W/Vold ( 1416): Ignoring unknown switch 'usb_connected'
W/Vold ( 1416): Ignoring unknown switch 'MSM72K_UDC'
W/Vold ( 1416): Ignoring unknown switch 'MSM72K_UDC'
W/Vold ( 1416): Ignoring unknown switch 'usb_configuration'
Click to expand...
Click to collapse
hi,
first messages are from non working GPS, maybe you have a wrong/missing GPS libraries
other messages are related to USB ("ignoring unknown switch... blah").
both types of messages arent bad, phone have to boot - even with these errors.
did you get some other errors?
ya,first I got audioeq error but then I replaced libaudioeq file
so you mean phone should also boot with those error
or I am doing something wrong ?
after this log phone stuck at LG logo and do nothing not booting and no log
ya,first I got audioeq error but then I replaced libaudioeq file
so you mean phone should also boot with those error
or I am doing something wrong ?
after this log phone stuck at LG logo and do nothing not booting and no log
Click to expand...
Click to collapse
Uhh may we know what rom you are exactly porting?? That may help us more in guiding you...
Sent from my LG-P500 using xda premium
Rockr172 said:
Uhh may we know what rom you are exactly porting?? That may help us more in guiding you...
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
it is GT540 Aosp
want to port for our phone
aspee said:
it is GT540 Aosp
want to port for our phone
Click to expand...
Click to collapse
Hmmm kewl... but you should try doing it from source... now while porting this if you are stuck, its quite tough to get outta it... look at ciaox sense port.. it just cant be completed.. sorry but all the best with it...
Sent from my LG-P500 using xda premium
yup but LG optimus net ROm is first port by GT540 devs and then we port there port to our P500
LG gt540 and LGp500 are from same manufacture so I think it's not so tough for porting
as in ciaox case he is porting HTC rom
and he success but The only problem is with that baseband related things
so htc doesn't gave the source code
that's why he was not able to port it
and I have 2 weeks to work on this port as it is diwali
aspee said:
yup but LG optimus net ROm is first port by GT540 devs and then we port there port to our P500
LG gt540 and LGp500 are from same manufacture so I think it's not so tough for porting
as in ciaox case he is porting HTC rom
and he success but The only problem is with that baseband related things
so htc doesn't gave the source code
that's why he was not able to port it
and I have 2 weeks to work on this port as it is diwali
Click to expand...
Click to collapse
O1 hardware isnt the same as Optimus SX or GT540.
Alle devices have different hardware but the GT540 - there is the same GPU and CPU, but other RIL and some more stuff.
Copy only some libs wouldnt work - some parts have to be compiled from sources or can be used by compiled libs, this needs a lot of luck.
wish you all the best and good luck
andy572 said:
O1 hardware isnt the same as Optimus SX or GT540.
Alle devices have different hardware but the GT540 - there is the same GPU and CPU, but other RIL and some more stuff.
Copy only some libs wouldnt work - some parts have to be compiled from sources or can be used by compiled libs, this needs a lot of luck.
wish you all the best and good luck
Click to expand...
Click to collapse
thank you very much,andy
I will try to learn creating from source
but what's the problem in this port
why there is no log after this
if I don't get what is problem then how could I fixed it?
please help me
you get the log when open adb (android debug bridge) from windows:
Code:
c:\>adb logcat
or just use the "ddms" application, this is the visual live debugger for android.
you can debug all code but the kernel.
andy572 said:
you get the log when open adb (android debug bridge) from windows:
Code:
c:\>adb logcat
or just use the "ddms" application, this is the visual live debugger for android.
you can debug all code but the kernel.
Click to expand...
Click to collapse
Andy i am using same method
I got logcat as listed above
I get it using
Adb logcat >> log.txt
Sent from my LG-P500 using xda premium

Need help interpreting what logcat is requesting

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

[Q] Help this newbie

ported many roms but this is my first rom which has not stuck in boot animation screen im happy but this logcat is kind of pain.(
E/logwrapper( 111): executing /system/bin/e2fsck failed: No such file or directory
E/ ( 171): coming in huawei_oem_rapi_streaming_function! event=213.
E/mm-camera( 153): qcamsvr_start: old_mode = 3f
E/mm-camera( 153): qcamsvr_load_gesture_lib Error opening gesture library
E/mm-camera( 153): Cannot init Gesture library
E/cutils ( 143): Failed to read /data/.layout_version: No such file or directory
E/ ( 142): Qint android::get_number_of_cameras(): E
W/InterfaceController( 134): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
after booting the rom it show com.process.phone.android stopped working , systemui stopped woorking
what is the solution ? i cant locate system/lib/libnetcmdiface.so this file neither in base nor port rom..
for which device did you port we need more info....
Thanks for answering
vovaftw said:
for which device did you port we need more info....
Click to expand...
Click to collapse
i have ported for HUawei y201 Pro
USed rom made for Huawei G300
there are so much builds of Cm which are ported from g300 to y201 pro so i tried to port pac rom but faced this thing..
guide
vovaftw said:
for which device did you port we need more info....
Click to expand...
Click to collapse
please guide me .
Thanks
add me on Skype vova50006
ok
vovaftw said:
add me on Skype vova50006
Click to expand...
Click to collapse
thanks for ans im adding you

Categories

Resources