/init.rc
service console /system/bin/sh
class core
console
disabled
# user shell
user root
group log
來源:http://www.oschina.net/question/54100_18215
-----------------------------------------------------------------------------------------------
上面都似乎沒啥用!!搞半天root還是只能透過console看到root效果
新增可成功的方法
//copy "busybox" to /system/xbin
$busybox --install /system/xbin
//copy "su" to /system/bin
$chmod 4755 /system/bin/su
//copy "Superuser.apk" to /system/app
參考:
http://changyy.pixnet.net/blog/post/29026097-%5Bandroid%5D-root-%E5%8E%9F%E7%90%86%E8%88%87%E6%89%8B%E5%8B%95-root-%E8%A9%B3%E7%B4%B0%E9%81%8E%E7%A8%8B-@-nexus-one
http://www.cnblogs.com/xiaowenji/archive/2011/03/12/1982309.html
留言列表