A terminal command for a rooted Android to remount /System as read/write

前端 未结 9 2186
离开以前
离开以前 2020-12-04 10:16

I\'m writing an android app that needs to copy a file to the \"/system\" partition at runtime. I\'ve got the commands to run \"su\" and can successfully request SuperUser pe

9条回答
  •  感情败类
    2020-12-04 10:51

    Instead of

    mount -o rw,remount /system/

    use

    mount -o rw,remount /system

    mind the '/' at the end of the command. you ask why this matters? /system/ is the directory under /system while /system is the volume name.

提交回复
热议问题