How to remount /system - 8.1 imx8m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how to remount the system partitions?
> adb remount
dm_verity is enabled on the vendor partition.
Use "adb disable-verity" to disable verity.
If you do not, remount may succeed, however, you will still not be able to write to these volumes.
remount of / failed: Permission denied
remount failed
>adb disable-verity
Device is locked. Please unlock the device first
> mount -o rw,remount /system
mount: '/system' not in /proc/mounts
>adb shell 'su mount -o rw,remount /system'
su: failed to exec -o: Permission denied
Any command will not remount.
how to remount...?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
To remount the system, Please use the below adb commands.
adb devices
adb root
adb disable-verity
adb reboot (Wait until the reboot finishes)
adb root
adb remount
After those commands, your system should be remounted successfully.
Best regards,
Diego.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
adb disable-verity is not worked.
> adb devices
> adb root
> adb disable-verity
Device is locked. Please unlock the device first
> adb reboot (Wait until the reboot finishes)
> adb root
> adb remount
dm_verity is enabled on the vendor partition.
Use "adb disable-verity" to disable verity.
If you do not, remount may succeed, however, you will still not be able to write to these volumes.
remount of / failed: Permission denied
remount failed
> adb disable-verity
Device is locked. Please unlock the device first
it's same..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Do you know what is your build type for your Android image? To know these, please use the bellow shell command.
# cat /system/build.prop | grep build.type
Your Android image needs to be in userdebug mode. Otherwise, it won't be possible to remount the system partitions.
Best Regards,
Diego.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello. thank you for your reply.
my build type is userdebug
> cat /system/build.prop | grep build.type
ro.build.type=userdebug
T.T
but adb disable-verity is not work...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Are you using a custom build image? Or the image that you are using, is one of our demo images?
Best regards,
Diego.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Finally I solved.
1. Unlock the device.
a. Boot up the device.
b. Choose Settings -> Developer Options -> OEM Unlocking to enable OEM unlocking.
c. Enter Fastboot mode on the device. Execute the following command on the target side:
reboot bootloader
d. Unlock the device. Execute the following command on the host side:
fastboot oem unlock
e. Wait until the unlock process is complete.
2. Disable DM-verity.
a. Boot up the device.
b. Disable the DM-verity feature. Execute the following command on the host side:
adb root
adb disable-verity
adb reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for share your solution. This could help future problems.
Best Regards,
Diego.