I have tried and tried with this and its pulling my hair out.

I have a CYX_RK3188 stick and the internal wifi antenna is buggered. However I have a Realtek Wifi Dongle I can use rtl8192cu.
I have tried with several Roms Neomode 1.9a, CYX stock (Several) etc
I can successfully inject the driver 8192cu.ko into the rom and can get wifi (no key/WEP key) working. The problem comes when trying to connect to WPA/WPA2.
Heres what I have so far
- Copy the driver to the stick
- lsmod - Show loaded drivers and rmmod any wifi driver in use
- insmod /system/lib/module/8192cu.ko
- check dmesg and shows loaded with mac address
- ifconfig wlan0 up
- iwlist wlan0 scan - shows all ssids in area
- iwconfig wlan0 essid openwifi
- dhcpd wlan0 & - assigns IP and can ping!
The issue arrises when trying to replace the internal wifi. Have tried copying over rtl8150.ko, rkwifi.ko, wlan.ko etc
I can get the dongle to load on boot however it still doesnt allow me to enable wifi in the android interface and connect to WPA/WPA2 networks.
Have tried using wpa_cli which doesnt work. Have tried editing wpa_supplicant.conf and adding the networks manually which doesnt work.
Can anyone shed some light on this?
Do I have to modify the boot.img and edit the init.rk30board.rc file and insmod the driver there or can i simply add a script in /etc/init.d?
Any help would be greatly appreciated!
Thanks
Gazos
Comment