[android]adb remount失败的解决方法

emount failed: Operation not permitted
adb remount 失败。
1. 确定是否正确连接手机了
adb devices
2. 进入shell
adb shell
3. shell中输入命令(命令最前面的#号不用输入)
# su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# chmod 777 /system
# cd system
# exit

4.多注意文件的权限以及所属用户,例如+s权限,chmod 6755 a.txt  chown root a.txt

猜你喜欢

转载自myeyeofjava.iteye.com/blog/1696424