busybox sh
echo 0 > /sys/devices/platform/dwc_otg.0/setmode
busybox insmod /system/wifi/prealloc_dma.ko
busybox insmod /system/wifi/rt3070sta.ko
busybox ifconfig ra0 up
/system/bin/wpa_supplicant -Dwext -ira0 -c/system/etc/wifi/wpa_supplicant.conf -B
/system/bin/wpa_supplicant -Dwext -ira0 -c/data/misc/wifi/wpa_supplicant.conf -B
/system/bin/wpa_cli -p /data/system/wpa_supplicant scan
echo 1 > /sys/devices/platform/dwc_otg.0/setmode
busybox insmod /system/wifi/prealloc_dma.ko
busybox insmod /system/wifi/rt3070sta.ko
adb push /media/smb/telechip_android/100504/driver/v2.1.2.0_dma/RT2870STA.dat /etc/Wireless/RT2870STA
adb push /media/smb/telechip_android/100504/driver/v2.1.2.0_dma/os/linux/rt3070sta.ko /system/wifi
阅读(1108) | 评论(0) | 转发(0) |