我在Android設備上使用su,busybox。 但做 「蘇」,似乎我沒有root權限:su的特權
[email protected]:/ $ su
1|[email protected]:/ $
1|[email protected]:/ $ whoami
shell
[email protected]:/ $
EDIT1:
好像在蘇特權都OK。請參閱下文,從亞行外殼:外殼@尼莫:/系統/ XBIN $ LS -al -rwxr蘇-XR-X根根75364 2015年11月21日13:10
EDIT2:
我已經設置了7777權限(suid),但仍然失敗。
chmod 7777 su-arm
[email protected]:/ $ ls -al /system/xbin/su-arm
-rwsrwsrwt root shell 467952 2016-11-20 12:01 su-arm
[email protected]:/ $ su-arm
255|[email protected]:/ $ id
uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:shell:s0
[email protected]:/ $whoami
shell
EDIT3: 我已經更新蘇二進制和busybox的二進制文件,但現在每一個不同的失敗:
[email protected]:/ $ busybox su
su: unknown user root
1|[email protected]:/ $ su
error: only position independent executables (PIE) are supported.
1|[email protected]:/ $
我怎麼能明白這有什麼錯蘇和如何解決它?
感謝, 蘭壽
您是否確實需要超級用戶權限?如果是這樣,那麼你有沒有試過運行這些命令? –
是的,我對此有真正的需求。我怎樣才能開始瞭解什麼是錯的? – ransh