Question

I am currently working with AOSP Gingerbread and have built a customized rom for Nexus One which excludes WiFi and Camera. However, WiFi can still be seen in the settings menu. How do I remove it from the settings layout?
P.S. I want the rom to be 100% free of any modules, drivers or libraries from those two. I had commented out USE_CAMERA_STUB := false from BoardConfigVendor.mk and replaced all WiFi related defines with BOARD_HAVE_WIFI := false in BoardConfigCommon.mk before compiling. Is this modification correct or is there a better way to do it?

Thanks.

Was it helpful?

Solution

Ok, I just commented out wifi and wifi settings from wireless_setting.xml and wireless_setting.java to remove them from the settings layout.

OTHER TIPS

If you remove the appropriate drivers then the hardware just wont work. The next thing is to do is check and decompile your android framework.apk which is situated in the folder "framework" under "system".
So in hierarchy it would be system/framework/framework-res.apk

In this framework you have to both delete the java and xml queries towards the appropriate function, so i.e. wifi.xml and the framework.jar!

Only this is the appropriate way to get rid of those functions for once and for all.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top