当前位置:网站首页>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
边栏推荐
- mysql三级分销代理关系存储
- AI painting minimalist tutorial
- 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
- 实时云交互如何助力教育行业发展
- SQL语言
- [AI system frontier dynamics, issue 40] Hinton: my deep learning career and research mind method; Google refutes rumors and gives up tensorflow; The apotheosis framework is officially open source
- Flet教程之 03 FilledButton基础入门(教程含源码)(教程含源码)
- XML入门一
- 7 月数据库排行榜:MongoDB 和 Oracle 分数下降最多
- Zhongang Mining: in order to ensure sufficient supply of fluorite, it is imperative to open source and save flow
猜你喜欢
洞见科技解决方案总监薛婧:联邦学习助力数据要素安全流通
CANN算子:利用迭代器高效实现Tensor数据切割分块处理
CVPR 2022 | TransFusion:用Transformer进行3D目标检测的激光雷达-相机融合
三星量产3纳米产品引台媒关注:能否短期提高投入产出率是与台积电竞争关键
一个数据人对领域模型理解与深入
Efficient! Build FTP working environment with virtual users
Dgraph: large scale dynamic graph dataset
Is the outdoor LED screen waterproof?
Interviewer: what is the difference between redis expiration deletion strategy and memory obsolescence strategy?
高效!用虚拟用户搭建FTP工作环境
随机推荐
一个数据人对领域模型理解与深入
7、 Software package management
「小技巧」给Seurat对象瘦瘦身
Personalized online cloud database hybrid optimization system | SIGMOD 2022 selected papers interpretation
Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example
Annual comprehensive analysis of China's mobile reading market in 2022
阿里云有奖体验:用PolarDB-X搭建一个高可用系统
Two dimensional code coding theory
Interviewer: what is the difference between redis expiration deletion strategy and memory obsolescence strategy?
Golang sets the small details of goproxy proxy proxy, which is applicable to go module download timeout and Alibaba cloud image go module download timeout
CTF竞赛题解之stm32逆向入门
Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example
CANN算子:利用迭代器高效实现Tensor数据切割分块处理
Oracle 被 Ventana Research 评为数字创新奖总冠军
After the game starts, you will be prompted to install HMS core. Click Cancel, and you will not be prompted to install HMS core again (initialization failure returns 907135003)
MySQL three-level distribution agent relationship storage
Database lock table? Don't panic, this article teaches you how to solve it
三星量产3纳米产品引台媒关注:能否短期提高投入产出率是与台积电竞争关键
MDK在头文件中使用预编译器时,#ifdef 无效的问题
Dgraph: large scale dynamic graph dataset