adb 给文件赋予777权限

C:\Users\Administrator> adb shell su -c "chmod 777 /userdata/add2.sh"

C:\Users\Administrator>adb push D:\adb\add2.sh /userdata/
4 KB/s (390 bytes in 0.092s)

 

adb shell su -c "chown root:root /data/ && chmod 777 /data/"

posted @ 2024-04-07 18:25  a318013800  阅读(234)  评论(0)    收藏  举报