← Back to team overview

ubuntu-phone team mailing list archive

[HOW-TO] [GUIDE] Enable Wi-fi and other modules

 

Hi folks,

Since most of you are having troubles trying to make wi-fi work in some
devices, see how should be the correct process:

- Create /data/local/userinit.sh
- Populate it with the necesary load of modules, i.e wifi in P5110 is like
the following:
#!/system/bin/sh
insmod /system/lib/modules/dhd.ko
firmware_path=/system/vendor/firmware/fw_bcmdhd_apsta.bin
nvram_path=/system/etc/wifi/nvram_net.txt
- give it execution permissions
- reboot

If you aren't sure about how to enable the corresponding module you should
try the insmod it through adb before creating the file.

Even if you have no idea of which modules have to load you could use CM10.1
and through adb run lsmod to see which modules use android.


Cheers,
Starcarr

Follow ups