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

后端 未结 8 1290
半阙折子戏
半阙折子戏 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 17:46

    mount -o rw,remount $(mount | grep /dev/root | awk '{print $3}')
    

    this does the job for me, and should work for any android version.

提交回复
热议问题