当前位置:网站首页>remount of the / superblock failed: Permission denied
remount of the / superblock failed: Permission denied
2022-07-04 12:44:00 【旗浩QH】
配套系列教学视频链接:
说明
系统:Android 9.0
前言
当需要对userdebug版本镜像进行修改时, 我们常常使用 adb remount 实现将vendor分区挂载成可读写, 但是操作时会出现权限报错remount of the / superblock failed: Permission denied,本章节讲解一下常见几个操作方法。
问题描述
对系统镜像进行remount的操作,可以如下命令:
adb root
adb remount
但是会出现如下错误:
adb root
restarting adbd as root
$ adb remount
remount of the / superblock failed: Permission denied
remount failed
常见解决方案
Android 9 之后启用 avb(Android Verified Boot)2.0,verified boot and DM-verity, 该功能会校验系统数据是否有损坏, 如果修改过文件,在启动时会因为校验导致启动失败,可以通过如下方法来操作:
adb root
adb disable-verity
adb reboot
adb root
adb remount
此时如果还是报一样的错误, 就可以尝试adb进入到机器中做如下操作:
adb root
adb shell
# mount -o remount,rw /vendor
这种操作完毕之后,也有可能出现如下报错:
# mount -o remount,rw /vendor
mount: '/vendor' not in /proc/mounts
那么终极的解决方法就是:
cat /proc/mounts | grep vendor
/dev/block/platform/a003e00.virtio_mmio/by-name/vendor /vendor ext4 rw,seclabel,relatime,block_validity,delalloc,barrier,user_xattr 0 0
执行重新挂载命令如下:
mount -o remount,rw /dev/block/platform/a003e00.virtio_mmio/by-name/vendor
边栏推荐
- go-zero微服务实战系列(九、极致优化秒杀性能)
- 7、 Software package management
- Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example
- It is six orders of magnitude faster than the quantum chemical method. An adiabatic artificial neural network method based on adiabatic state can accelerate the simulation of dual nitrogen benzene der
- 诸神黄昏时代的对比学习
- 游戏启动后提示安装HMS Core,点击取消,未再次提示安装HMS Core(初始化失败返回907135003)
- Is the outdoor LED screen waterproof?
- Using nsproxy to forward messages
- Comparative study of the gods in the twilight Era
- 6 分钟看完 BGP 协议。
猜你喜欢

PostgreSQL 9.1 soaring Road

比量子化学方法快六个数量级,一种基于绝热状态的绝热人工神经网络方法,可加速对偶氮苯衍生物及此类分子的模拟

After installing vscode, the program runs (an include error is detected, please update the includepath, which has been solved for this translation unit (waveform curve is disabled) and (the source fil

Solution: how to delete the information of Jack in two tables with delete in one statement in Oracle

数据库锁表?别慌,本文教你如何解决

CANN算子:利用迭代器高效实现Tensor数据切割分块处理

Personalized online cloud database hybrid optimization system | SIGMOD 2022 selected papers interpretation

CVPR 2022 | TransFusion:用Transformer进行3D目标检测的激光雷达-相机融合

"Pre training weekly" issue 52: shielding visual pre training and goal-oriented dialogue

MDK在头文件中使用预编译器时,#ifdef 无效的问题
随机推荐
Backgroundworker usage example
Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example
Optional values and functions of the itemized contenttype parameter in the request header
上汽大通MAXUS正式发布全新品牌“MIFA”,旗舰产品MIFA 9正式亮相!
Using nsproxy to forward messages
Three schemes to improve the efficiency of MySQL deep paging query
c#数组补充
Deploy halo blog with pagoda
Zhongang Mining: in order to ensure sufficient supply of fluorite, it is imperative to open source and save flow
WPF double slider control and forced capture of mouse event focus
PostgreSQL 9.1 飞升之路
PostgreSQL 9.1 soaring Road
游戏启动后提示安装HMS Core,点击取消,未再次提示安装HMS Core(初始化失败返回907135003)
It is six orders of magnitude faster than the quantum chemical method. An adiabatic artificial neural network method based on adiabatic state can accelerate the simulation of dual nitrogen benzene der
Comparative study of the gods in the twilight Era
N++ is not reliable
Runc hang causes the kubernetes node notready
室外LED屏幕防水吗?
The old-fashioned synchronized lock optimization will make it clear to you at once!
老掉牙的 synchronized 锁优化,一次给你讲清楚!