Programming/Linux Tip
adb shell 기본 접속 권한 root 에서 shell 로 변경 방법
decdream
2015. 10. 5. 13:28
원본 : http://stackoverflow.com/questions/15336215/how-to-restart-adb-from-root-to-user-mode
~$ adb shell id
uid=2000(shell) gid=2000(shell)
~$ adb root
restarting adbd as root
~$ adb shell id
uid=0(root) gid=0(root)
~$ adb shell 'setprop service.adb.root 0; setprop ctl.restart adbd'
~$ adb shell id
uid=2000(shell) gid=2000(shell)