adb连接,具体方式详见 https://050403.xyz/index.php/archives/31/ 这篇文章
禁用指令:
adb shell pm suspend --user 0 com.oplus.sau
adb shell pm suspend --user 0 com.oplus.ota
adb shell pm suspend --user 0 com.oplus.romupdate
开启指令:
adb shell pm unsuspend --user 0 com.oplus.sau
adb shell pm unsuspend --user 0 com.oplus.ota
adb shell pm unsuspend --user 0 com.oplus.romupdate
检查更新组件状态:
adb shell pm list packages | grep "oplus" # 查看包名是否存在
以上指令在color os 14测试没问题