admin 管理员组文章数量: 887019
华为手机,mate 7, mate 9, mate 10, mate 20, mate 20 pro 禁止 系统更新
作为一个华为粉,一直钟情于mate系列,当然我是隔代买的,毕竟不是土豪,目前7,9,20等都用了,20的人脸解锁的确很棒,但是华为手机的系统更新却不是很让人喜欢,毕竟手机频繁更新,使用者会很烦躁。所以购买手机后的第一件事,就是要禁用该功能,如何禁用,如下:
- 前提:手机端
网络
启用 飞行模式,找到系统更新
选项 清除存储数据 - 其他手机: 仅第四步的驱动名称不同
操作
-
1.下载ADB工具包 (建议使用下面链接下载,使用官方工具包)
- windows: Download the ADB Windows zip from Google.
- linux: Download the ADB Linux zip from Google.
- macOS: Download the ADB macOS zip from Google.
- 如果被墙,请在评论区留言. 稍后给出备用地址
-
2.解压
adb工具包
并通过cmd
进入解压目录,测试adb
命令
C:\Users\Administrator\Desktop\platform-tools-latest-windows>cd platform-tools
C:\Users\Administrator\Desktop\platform-tools-latest-windows\platform-tools>adb
Android Debug Bridge version 1.0.40
Version 4986621
Installed as C:\Users\Administrator\Desktop\platform-tools-latest-windows\platform-tools\adb.exe
global options:
-a listen on all network interfaces, not just localhost
-d use USB device (error if multiple devices connected)
-e use TCP/IP device (error if multiple TCP/IP devices available)
-s SERIAL use device with given serial (overrides $ANDROID_SERIAL)
-t ID use device with given transport id
-H name of adb server host [default=localhost]
-P port of adb server [default=5037]
-L SOCKET listen on given socket for adb server [default=tcp:localhost:5037]
-
3.打开手机开发者模式,允许
USB调试
,允许ADB调试
. (第4步关闭过程中,同意ADB工具连接指纹
) -
4.执行关闭系统更新命令:
$ adb shell pm disable-user com.huawei.android.hwouc
.(多执行几次该命令)
# 执行关闭命令
C:\Users\Administrator\Desktop\platform-tools-latest-windows\platform-tools>adb shell pm disable-user com.huawei.android.hwouc
error: no devices/emulators found
# 重新断开usb数据线,再次连接,如第3步,再次执行关闭命令
C:\Users\Administrator\Desktop\platform-tools-latest-windows\platform-tools>adb shell pm disable-user com.huawei.android.hwouc
adb server version (39) doesn't match this client (40); killing...
* daemon started successfully
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
# 手机上同意 ADB工具连接指纹
C:\Users\Administrator\Desktop\platform-tools-latest-windows\platform-tools>adb shell pm disable-user com.huawei.android.hwouc
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
# 指纹同意后,再次执行关闭命令,显示如下,即表示成功.
C:\Users\Administrator\Desktop\platform-tools-latest-windows\platform-tools>adb shell pm disable-user com.huawei.android.hwouc
Package com.huawei.android.hwouc new state: disabled-user
- 5.成功后,手机的
系统更新
功能已经禁用, 无法打开. - 6.开启系统更新:重复
1-3
步骤, 执行$ adb shell pm enable com.huawei.android.hwouc
即可.
版权声明:本文标题:华为手机,mate 7, mate 9, mate 10, mate 20, mate 20 pro 禁止 系统更新 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.freenas.com.cn/jishu/1729040800h1310362.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论