2014年4月17日 星期四

[Android] 遇到 remount failed: Operation not permitted 如何處理

如果需要把 .so檔案 push到 /system/lib 底下
在輸入adb remount的時候出現Operation not permitted
請做以下步驟
$ adb shell
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# chmod 777 /system
# chmod 777 /system/lib
# exit
$ exit
$ adb remount 應該就可以了

沒有留言:

張貼留言