If you remove the appropriate drivers, then the hardware just doesn't work. The next thing to do is check and decompile your android framework.apk, which is located in the "framework" folder under the "system".
So in the hierarchy it will be system / framework / framework-res.apk
In this structure, you need to delete both java and xml requests for the corresponding function, for example, wifi.xml and framework.jar!
Only this is a suitable way to get rid of these functions once and for all.
source share