How can I remount my Android/system as read-write in a bash script using adb?

后端 未结 8 1286
半阙折子戏
半阙折子戏 2020-12-23 17:27

For info

adb remount 

returns \"remount failed: Operation not permitted\"

adb shell \'su -c  mount -o rw,remo         


        
8条回答
  •  星月不相逢
    2020-12-23 18:03

    I could not get the mount command to work without specifying the dev block to mount as /system

    #cat /proc/mounts returns ( only the system line here )
    /dev/stl12 /system rfs ro,relatime,vfat,log_off,check=no,gid/uid/rwx,iocharset=utf8 0 0

    so my working command is
    mount -o rw,remount -t rfs /dev/stl12 /system

提交回复
热议问题