[RK3399—Android7.1] 去掉设置中的WIFI和蓝牙

蓝牙:

 packages/apps/Settings/res/values-zh-rCN/strings.xml

注释掉:packages/apps/Settings/AndroidManifest.xml    中的相关文件

 

去掉与蓝牙相关的代码

packages/apps/Settings/src/com/android/settings/Settings.java

packages/apps/Settings/src/com/android/settings/SettingsActivity.java

packages/apps/Settings/src/com/android/settings/dashboard/DashboardSummary.java

mm -B -J20

adb disable-verity 

adb root

adb remount

adb push \out\target\product\rk3399\system\priv-app\Settings\Settings.apk  \out\target\product\rk3399\system\priv-app\Settings\oat   /system/priv-app/Settings/

adb shell sync

adb reboot

 

 

 

 

 

Settings/src/com/android/settings/SettingsActivity.java

请教了大佬后只需要改一个属性就好:

[RK3399—Android7.1] 去掉设置中的WIFI和蓝牙_第1张图片

 

果然是隔行如隔山,要刨根问底

 

 

你可能感兴趣的:(rockchip,android)