众所周知,鸿蒙2.0之前,纯净模式还可以关闭。到3.0及之后,纯净模式就强制开启了,只能关闭所谓的纯净增强模式,并不能关闭纯净模式。所以只能通过一些另外的办法了:
adb方式连接平板,命令如下:
adb devices
adb shell pm list packages -s > c:\系统应用名单.txt
关闭纯净模式:
adb shell pm disable-user com.huawei.security.privacycenter
adb shell pm disable-user com.huawei.appmarket
恢复原状:
adb shell pm enable com.huawei.security.privacycenter
adb shell pm enable com.huawei.appmarket
adb shell pm disable-user com.huawei.security.privacycenter
adb shell pm disable-user com.huawei.appmarket
adb shell pm enable com.huawei.security.privacycenter
adb shell pm enable com.huawei.appmarket
本文介绍了如何在鸿蒙3.0及以上版本中通过ADB工具(adbshell)来关闭和恢复纯净模式,涉及禁用和启用com.huawei.security.privacycenter和com.huawei.appmarket应用。
808






