In JP6 it is set to 0 resulting is adbd refusing access. However, set to 1, "adbd root" will give the much better response of "restarting adbd as root".
Once set, the property value cannot be changed. To get this fixed you need to change the contents of the file default.prop which is located in the initial ramdisk image.
Optionally, you can put a replacement shell in /sbin of in ramdisk image so that when connected "exec bash" will make things more relaxing. I attached the version I am using, which is statically linked with ncurses/readline.
There is also a simple patch to unlock adbd if you dislike opening and rebuilding the ramdisk image. However, you do need binoffset which is located in the scripts directory of the linux source tree.
'안드로이드 > ADB & Rooting' 카테고리의 다른 글
|Root Your Samsung Galaxy S2: Here’s How! (0)||2011/08/14|
|이미지에 포함 할 product 설정하기 (0)||2011/08/14|
|[KERNEL] adb "cannot run as root in production builds" fix (0)||2011/08/14|
|How To Use ADB: All Commands and Options (0)||2011/08/14|
|How to Install BusyBox on Rooted Android Phone (0)||2011/08/14|
|BusyBox for all shell commands (0)||2011/08/14|