现象

push文件时,remount命令发生如下报错
在这里插入图片描述

$ adb remount
Device must be bootloader unlocked

解决

1. 打开 开发者模式中的OEM unlocking开关

在这里插入图片描述

2. fastboot unlock设置

adb reboot bootloader
fastboot flashing unlock

根据屏幕提示,按up选择unlock
在这里插入图片描述

$ fastboot flashing unlock
...
(bootloader) Start unlock flow

OKAY [ 20.178s]
finished. total time: 20.178s

重启回到normal模式开机

fastboot reboot

3. 再次remount

$ adb root
restarting adbd as root

$ adb remount
Verity is already disabled
Using overlayfs for /system
Using overlayfs for /system_ext
Using overlayfs for /vendor
Using overlayfs for /product
Remounted /system as RW
Remounted /system_ext as RW
Remounted /vendor as RW
Remounted /product as RW
Overlayfs enabled.
Remount succeeded
Now reboot your device for settings to take effect

$ adb reboot

在这里插入图片描述

4. 问题解

$ adb remount
Verity is already disabled
Remounted /system as RW
Remounted /system_ext as RW
Remounted /vendor as RW
Remounted /product as RW
Remount succeeded

在这里插入图片描述

原文地址:https://blog.csdn.net/MrMyGod/article/details/133682377

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任

如若转载,请注明出处:http://www.7code.cn/show_41580.html

如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱suwngjj01@126.com进行投诉反馈,一经查实,立即删除

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注