adb重新安装失败-挂载:“系统"不在/proc/mounts中 [英] adb remount fails - mount: 'system' not in /proc/mounts

查看:757
本文介绍了adb重新安装失败-挂载:“系统"不在/proc/mounts中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了stackoverflow和在线中可用的所有命令和建议,但是没有用

I tried all the commands and suggestions available in stackoverflow and online but none worked

还有很多,但对我没有用

and many more but nothing works for me

我遇到以下错误-以下命令均无效.

I am getting below error - None of below commands are working.

$adb root
$adb disable-verity

对于

$adb remount
remount of / failed: Permission denied
remount failed

所以我尝试了类似的命令

So then I tried with different commands like

$ adb shell mount -o rw,remount /system
mount: '/system' not in /proc/mounts

$ adb shell mount -o rw,remount /
'/dev/root' is read-only


$ adb shell  mount -o rw,remount -t /dev/block/stl12 system
mount: 'system' not in /proc/mounts

$ adb shell "su 0 mount -o rw,remount /system"
mount: '/system' not in /proc/mounts

$ adb shell
$ su
# mount -o rw,remount /system

 mount: '/system' not in /proc/mounts

推荐答案

> adb root
> adb shell avbctl disable-verification
Successfully disabled verification. Reboot the device for changes to take effect.
> adb disable-verity
using overlayfs
Successfully disabled verity
Now reboot your device for settings to take effect
> adb reboot
> adb root && adb remount
remount succeeded
> adb push ScreenCap.apk /system/app/
ScreenCap.apk: 1 file pushed. 33.1 MB/s (1640812 bytes in 0.047s)
> adb reboot

这篇关于adb重新安装失败-挂载:“系统"不在/proc/mounts中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆