【发布时间】:2014-10-18 02:27:50
【问题描述】:
我已将解锁的 Galaxy S3 (SGH-T999) 植根
现在,我正在尝试从 Windows 命令提示符 运行 adb root,但是,我收到了 adbd cannot run as root in production builds 错误。所以,我检查的第一件事就是我的手机是否真的root了?
所以我尝试了以下方法:
打开命令提示符
$adb devices // lists my device
$adb shell //goes to shell
$su // opens a 'SuperSu' prompt on my phone and I 'Grant' permission
# // Before following the rooting instructions, I was getting 'no su command found' in the previous step. So, I believe my phone is ROOTED. **Correct me if I'm wrong.**
但是,当我执行adb root 时,我收到adbd cannot run as root in production builds 错误。
所以,我想,除了上面所做的之外,我可能还需要做一些额外的事情。我尝试了以下 SO 问题中的所有解决方案:
- Launch a script as root through ADB
- adb remount permission denied, but able to access super user in shell -- android
- Unable to run 'adb root' on a rooted Android phone
以上都不适合我。他们所做的只是在 SHELL 内部授予 ROOT 访问权限。我想让adb root 工作,这样我就可以在不进入 shell 的情况下执行各种 adb 命令。
【问题讨论】:
-
在 android > 4.3 中不起作用。 su 不见了。