안드로이드 개발 질문/답변
(글 수 40,700)
adb remount를 하면, 아래와 같은 에러가 발생을 합니다.
remount failed: Operation not permitted
이 문제 해결하려고 구글을 막 뒤졌는데 아래와 같은 방법이 있더군요...
왜 root 권한으로 변경 후 아래처럼 명령어를 써야 되고 그냥 adb remount는 안되는 걸까요??
이유 아시는 분 계세요??~~
# open a shell
adb shell
# switch to root
su
# check you're root? it should return uid=0
id
# now you can remount as read/write if you like
mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
# switch to root
su
# check you're root? it should return uid=0
id
# now you can remount as read/write if you like
mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system