主题 : Tiny6410下如何让安卓系统使用有root用户 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 71506
精华: 0
发帖: 12
金钱: 60 两
威望: 12 点
综合积分: 24 分
注册时间: 2012-06-06
最后登录: 2012-08-15
楼主  发表于: 2012-06-08 15:04

 Tiny6410下如何让安卓系统使用有root用户

/ # whoami
whoami: unknown uid 0


在开发板上的安卓写下,用调试助手输入whoami,显示unknown uid 0,如何切换到root用户呢?

因为我写的程序放到安卓目录下,能显示但运行./hello就提示
/udisk # ./hello
/system/bin/sh: ./hello: not found



ps: 我还执行过chmod 777 hello,也无法执行
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2012-06-10 22:26
这两个问题并没有直接的联系,就算不是root用户应该也一样可以执行。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."