1500字范文,内容丰富有趣,写作好帮手!
1500字范文 > ubuntu 使用 adb 工具卸载鸿蒙系统预装软件

ubuntu 使用 adb 工具卸载鸿蒙系统预装软件

时间:2023-01-30 03:36:47

相关推荐

ubuntu 使用 adb 工具卸载鸿蒙系统预装软件

准备工作

打开 USB 调试

进入 “设置->关于手机” 连续点击版本号, 直到有提示开启了"开发人员选项"

进入 “设置->系统和更新->开发人员选项”, 打开 USB 调式, 顺便可以把"自动系统更新"关了

下载 adb 工具

官方地址: https://developer./studio/releases/platform-tools

根据 PC 平台下载相应的 adb(android debug bridge) 工具

$ unzip platform-tools_r33.0.3-linux.zip Archive: platform-tools_r33.0.3-linux.zipinflating: platform-tools/NOTICE.txt inflating: platform-tools/adbinflating: platform-tools/dmtracedump inflating: platform-tools/e2fsdroid inflating: platform-tools/etc1tool inflating: platform-tools/fastboot inflating: platform-tools/hprof-conv inflating: platform-tools/make_f2fs inflating: platform-tools/make_f2fs_casefold inflating: platform-tools/mke2fs inflating: platform-tools/mke2fs.conf inflating: platform-tools/sload_f2fs extracting: platform-tools/source.properties inflating: platform-tools/sqlite3 inflating: platform-tools/lib64/libc++.so $ lsplatform-tools platform-tools_r33.0.3-linux.zip$ cd platform-tools/jianghuixin@Vostro-3670:~/Downloads/Tmp/platform-tools 10:11:04$ ./adb --help

连接 PC 与手机

选择"传输文件"的连接选项

卸载预装软件

查看设备

adb devices命令用于查看 PC 所连接的设备

$ ./adb devices* daemon not running; starting now at tcp:5037* daemon started successfullyList of devices attachedH5XVB20605005176unauthorized

手机端弹出"是否允许 USB 调试", 选中始终允许调试并确定, 再次查看设备

$ ./adb devicesList of devices attachedH5XVB20605005176device

查看软件列表

adb shell pm list package -s获取已安装的应用, 输出太多仅展示部分结果

$ ./adb shell pm list package -spackage:com.android.cts.priv.ctsshimpackage:com.huawei.camerapackage:com.huawei.camerakit.implpackage:com.huawei.synergypackage:com.huawei.android.launcherpackage:com.huawei.hms.dupdateenginepackage:com.android.providers.telephonypackage:com.huawei.harmonyos.foundationpackage:com.huawei.androidx...

卸载应用

adb shell pm uninstall --user 0 <应用包名称>卸载指定的应用

如果输入的应用名称有误, 则会提示“Failure [not installed for 0]”

卸载百度输入法, 先进入"设置->系统和更新->语言和输入法", 关闭安全输入

./adb shell pm uninstall --user 0 com.baidu.input_huawei

卸载华为浏览器, 包名为 “com.huawei.browser” 或者 “com.android.browser”

./adb shell pm uninstall --user 0 com.huawei.browser

卸载华为音乐, 包名为 “com.huawei.music” 或者 “package:com.android.mediacenter”

./adb shell pm uninstall --user 0 com.huawei.music

卸载华为视频

./adb shell pm uninstall --user 0 com.huawei.himovie

卸载其他软件

com.huawei.phoneservice: 服务

com.huawei.ohos.famanager: 服务中心

com.huawei.bd: 用户体验计划

com.huawei.hifolder: 精品推荐

com.huawei.skytone: 天际通

com.huawei.hicar: HiCar智行

com.huawei.gameassistant: 游戏空间

com.huawei.hwdetectrepair: 智能检测

com.huawei.videoeditor: 花瓣剪辑

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。