当前位置:网站首页>remount of the / superblock failed: Permission denied
remount of the / superblock failed: Permission denied
2022-07-04 14:32:00 【Qihao QH】
Supporting series of teaching video links :
Android tutorial series ROM System development - A hundred questions 100ask
explain
System :Android 9.0
Preface
When need is right userdebug When the version image is modified , We often use adb remount The implementation will vendor The partition is mounted to be readable and writable , However, permission errors will appear during operation remount of the / superblock failed: Permission denied, This chapter explains several common operation methods .
Problem description
Mirror the system remount The operation of , You can use the following command :
adb root
adb remount
However, the following errors will occur :
adb root
restarting adbd as root
$ adb remount
remount of the / superblock failed: Permission denied
remount failed
Common solutions
Android 9 Then enabled avb(Android Verified Boot)2.0,verified boot and DM-verity, This function will check whether the system data is damaged , If the file has been modified , During startup, the startup will fail due to verification , It can be operated in the following ways :
adb root
adb disable-verity
adb reboot
adb root
adb remount
At this time, if you still report the same error , You can try adb Enter the machine and do the following :
adb root
adb shell
# mount -o remount,rw /vendor
After this operation , There may also be the following error reports :
# mount -o remount,rw /vendor
mount: '/vendor' not in /proc/mounts
Then the ultimate solution is :
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
Execute the reload command as follows :
mount -o remount,rw /dev/block/platform/a003e00.virtio_mmio/by-name/vendor
边栏推荐
- Digi XBee 3 rf: 4 protocols, 3 packages, 10 major functions
- 92. (cesium chapter) cesium building layering
- Codeforce:c. sum of substrings
- Real time data warehouse
- gin集成支付宝支付
- (1)性能调优的标准和做好调优的正确姿势-有性能问题,上HeapDump性能社区!
- leetcode:6110. 网格图中递增路径的数目【dfs + cache】
- 利用Shap值进行异常值检测
- Opencv3.2 and opencv2.4 installation
- Progress in architecture
猜你喜欢

Query optimizer for SQL optimization

Visual Studio调试方式详解

Test process arrangement (2)
![[information retrieval] experiment of classification and clustering](/img/05/ee3b3bc4ab79d52b63cdc34305aa57.png)
[information retrieval] experiment of classification and clustering

实战解惑 | OpenCV中如何提取不规则ROI区域

Intelligence d'affaires bi analyse financière, analyse financière au sens étroit et analyse financière au sens large sont - ils différents?

Data Lake (13): spark and iceberg integrate DDL operations

基于51单片机的超声波测距仪

按照功能对Boost库进行分类

flink sql-client. SH tutorial
随机推荐
利用Shap值进行异常值检测
Progress in architecture
【MySQL从入门到精通】【高级篇】(四)MySQL权限管理与控制
基于51单片机的超声波测距仪
Leetcode 61: 旋转链表
Data warehouse interview question preparation
[MySQL from introduction to proficiency] [advanced chapter] (IV) MySQL permission management and control
尊重他人的行为
架构方面的进步
Popular framework: the use of glide
Talk about 10 tips to ensure thread safety
一种架构来完成所有任务—Transformer架构正在以一己之力统一AI江湖
Opencv3.2 and opencv2.4 installation
Leetcode t49: grouping of alphabetic words
STM32F1与STM32CubeIDE编程实例-MAX7219驱动8位7段数码管(基于GPIO)
Leetcode T48: rotating images
The game goes to sea and operates globally
AI与生命科学
【信息检索】分类和聚类的实验
ML之shap:基于boston波士顿房价回归预测数据集利用Shap值对LiR线性回归模型实现可解释性案例