"Unable to start WiFi" after flash a new customized kernel
1,419 views
Skip to first unread message
xlshe
unread,
Apr 4, 2010, 3:42:22 AM4/4/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android Linux Kernel Development
I have costomized and rebuilt the msm kernel from "git://..../kernel/ msm.git" and flash that kernel to my phone ADP2. But when I turn on the WiFi, it shows"Unable to start WiFi". At first I think maybe because the WiFi module wasn't been built into the kernel. So I recostomized the kernel again and add the "Wireless network" module. But still the same problem occured when turn on WiFi. Does anyone have some suggestions about that? I will greatly appreciate for your suggestions. Thank you very much.
dimi...@android.com
unread,
Apr 5, 2010, 1:11:16 AM4/5/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android Linux Kernel Development
Your problem is simple - your kernel version doesn't match wlan driver version that is not part of the kernel. Resolution is not very simple - you need to compile wlan module from system/ti/wlan/sta_dk_4_0_4_32 against your new kernel and upload it to /system/lib/modules
ecss utdallas
unread,
Apr 5, 2010, 3:50:08 AM4/5/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android...@googlegroups.com
Exactly as what you pointed. I have solved the problem by recompiling wlan module. Thank you very much!
To unsubscribe, reply using "remove me" as the subject.
ecss utdallas
unread,
Apr 5, 2010, 5:48:20 PM4/5/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android...@googlegroups.com, dimi...@android.com
Thank you very much. I have recompiled the wlan and replace the old wlan.ko in mydroid/vendor/htc/sapphire_open. Then rebuild the whole platform with the new kernel and new wlan driver. I flash the phone with the generated boot.img, recovery.img and system.img. Finally, the wi-fi works, but there are no android market on my phone now. I want to get the android market back. So I try to used the new boot.img and the old system.img and recovery.img to flash the phone. At this time, the android market was back but Wi-Fi didn't work again. I try to replace the old wlan.ko in /system/lib/modules with the new wlan.ko as you said. What I did is "adb push new-wlan.ko /system/lib/modules/wlan.ko". The result is "failed to copy 'wlan.ko' to '/system/lib/modules/wlan.ko': Read-only file system". I try to use "adb shell chmod 777 /system/lib/modules/wlan.ko", it reports "Unable to chmod /system/lib/modules/wlan.ko: Read-only file system". How should I do in order to get the android market back on the new platform or replace the wlan.ko on the old platform? I need both Wi-Fi and android market, but the new platform is without android market and the old platform is without Wi-Fi. Thank you for your help.
Akash Choudhari
unread,
Apr 5, 2010, 5:56:42 PM4/5/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android...@googlegroups.com, dimi...@android.com