当前位置:网站首页>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
边栏推荐
- Query optimizer for SQL optimization
- leetcode:6109. Number of people who know the secret [definition of DP]
- LVGL 8.2 Draw label with gradient color
- Solutions to the problems of miui12.5 red rice k20pro using Au or povo2
- R language dplyr package summary_ If function calculates the mean and median of all numerical data columns in dataframe data, and summarizes all numerical variables based on conditions
- leetcode:6109. 知道秘密的人数【dp的定义】
- Gin integrated Alipay payment
- 产业互联网则具备更大的发展潜能,具备更多的行业场景
- Digi XBee 3 rf: 4 protocols, 3 packages, 10 major functions
- 一文概览2D人体姿态估计
猜你喜欢
电商系统中红包活动设计
Ultrasonic distance meter based on 51 single chip microcomputer
Excel quickly merges multiple rows of data
Digi XBee 3 rf: 4 protocols, 3 packages, 10 major functions
Digi重启XBee-Pro S2C生产,有些差别需要注意
Detailed analysis of pytorch's automatic derivation mechanism, pytorch's core magic
基于51单片机的超声波测距仪
Leetcode 61: 旋转链表
LVGL 8.2 LED
Data warehouse interview question preparation
随机推荐
数据埋点的一些问题和想法
Ultrasonic distance meter based on 51 single chip microcomputer
Excel quickly merges multiple rows of data
Gin integrated Alipay payment
AI与生命科学
關於miui12.5 紅米k20pro用au或者povo2出現問題的解决辦法
产业互联网则具备更大的发展潜能,具备更多的行业场景
opencv3.2 和opencv2.4安装
Data center concept
Abnormal value detection using shap value
MySQL的触发器
Wt588f02b-8s (c006_03) single chip voice IC scheme enables smart doorbell design to reduce cost and increase efficiency
第十六章 字符串本地化和消息字典(二)
Chapter 17 process memory
商业智能BI财务分析,狭义的财务分析和广义的财务分析有何不同?
尊重他人的行为
Oppo find N2 product form first exposure: supplement all short boards
10. (map data) offline terrain data processing (for cesium)
Practical puzzle solving | how to extract irregular ROI regions in opencv
LVGL 8.2 Line