android设置wifi/bt默认开关状态

设置对应字段的true/false值:

frameworks/base/packages/SettingsProvider/res/values/defaults.xml

    true
    false

 

disable wifi feature:

1. disable insmod wlan.ko when boot
delete insmod /vendor/lib/modules/qca_cld3_wlan.ko in ./device/qcom/[platform]/init.target.rc

2. setting set wifi default-disalbe
frameworks/base/packages/SettingsProvider/res/values/defaults.xml
        false

3. setting auto-enalbe wifi off
defaults.xml
        true  to false
        0

4. disable wlan dirver
delete "wlan flags" in vendor/qcom/proprietary/common/[platform|msmnile]/BoardConfigVendor.mk

你可能感兴趣的:(Android)