为什么adb remount会失败?
Why does adb remount fail?
当我输入 adb remount
时,终端响应
Skip mounting partition: /product
Skip mounting partition: /product_services
W DM_DEV_STATUS failed for scratch: No such device or address E
[liblp]No device named scratch
[liblp]Partition scratch will resize from 0 bytes to 814587904 bytes
[liblp]Updated logical partition table at slot 0 on device /dev/block/by-name/super
[libfs_mgr]Created logical partition scratch on device /dev/block/dm-3
[libfs_mgr]__mount(source=/dev/block/dm-3,target=/mnt/scratch,type=f2fs)=0:
Success
Skip mounting partition: /product
Skip mounting partition: /product_services
[libfs_mgr]__mount(source=overlay,target=/vendor,type=overlay,upperdir=/mnt/scratch/overlay/vendor/upper)=0
Skip mounting partition: /product Skip mounting partition:
/product_services
/system/bin/remount exited with status 7 remount
failed
为什么 adb remount 在这里失败了?
您的 Tv 模拟器是用户版本,这意味着在该版本中禁用了 adb root,而您的其他模拟器是 userdebug build 意味着它启用了 adb root,这里有更多详细信息 builds so in order to enable root in your tv emulator you need to root it. Here 是一些关于 root 的信息模拟器。
如果你可以 root 你的电视模拟器,那么你可以 运行 adb shell & su 命令以 read/write 模式重新安装它。
你需要运行
adb root
adb disable-verity
adb reboot
重启后
adb root
adb remount
由于重启,这可能会有点棘手。您可能会发现此 post 相关:
当我输入 adb remount
时,终端响应
Skip mounting partition: /product
Skip mounting partition: /product_services
W DM_DEV_STATUS failed for scratch: No such device or address E
[liblp]No device named scratch
[liblp]Partition scratch will resize from 0 bytes to 814587904 bytes
[liblp]Updated logical partition table at slot 0 on device /dev/block/by-name/super
[libfs_mgr]Created logical partition scratch on device /dev/block/dm-3
[libfs_mgr]__mount(source=/dev/block/dm-3,target=/mnt/scratch,type=f2fs)=0:
Success
Skip mounting partition: /product
Skip mounting partition: /product_services
[libfs_mgr]__mount(source=overlay,target=/vendor,type=overlay,upperdir=/mnt/scratch/overlay/vendor/upper)=0 Skip mounting partition: /product Skip mounting partition: /product_services
/system/bin/remount exited with status 7 remount
failed
为什么 adb remount 在这里失败了?
您的 Tv 模拟器是用户版本,这意味着在该版本中禁用了 adb root,而您的其他模拟器是 userdebug build 意味着它启用了 adb root,这里有更多详细信息 builds so in order to enable root in your tv emulator you need to root it. Here 是一些关于 root 的信息模拟器。 如果你可以 root 你的电视模拟器,那么你可以 运行 adb shell & su 命令以 read/write 模式重新安装它。
你需要运行
adb root
adb disable-verity
adb reboot
重启后
adb root
adb remount
由于重启,这可能会有点棘手。您可能会发现此 post 相关: