我已经root了我的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问题中的所有解决方案:
- 通过ADB以root身份启动脚本
- adb remount permission denied,但可以在shell中访问超级用户--android
- 无法在已root的Android手机上运行'adb root'
adb root
能够正常工作,这样我就可以执行各种adb命令,而不必进入shell。