Mount system image as read-write on android 7.1.1

123 views
Skip to first unread message

TomS

unread,
May 26, 2017, 2:24:55 PM5/26/17
to android-platform
Hello,

Recently I am working on android 7.1.1 and try to mount system image as read-write for develop/debug purpose. It seems that the regular ways, like "mount -o rw,remount,rw /system", or updating fstab file, doesn't work on android 7.1.1.

Who can help on this? Thanks a lot.

Regards,

Tom

Glenn Kasten

unread,
May 26, 2017, 2:32:52 PM5/26/17
to android-platform
You may need to disable verity first:
  adb disable-verity
If that doesn't help, you could look at source code for device side of adb remount to see how it does it. I think it is here

TomS

unread,
May 26, 2017, 3:17:20 PM5/26/17
to android-platform
I tried the disable-verity, it didn't work.
What I want to do is to build out a userdebug image with read-write system folder. Could you share any idea on this?  Thanks.

在 2017年5月26日星期五 UTC-7上午11:32:52,Glenn Kasten写道:
Reply all
Reply to author
Forward
0 new messages