本文介绍了亚行外壳苏工作,但亚行根不的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我植根了解锁的Galaxy S3(SGH-T999)

I rooted my unlocked Galaxy S3 (SGH-T999)

现在,我正在尝试运行 adb root 从Windows 命令提示符,但是,我得到 adbd无法在生产版本中以root用户身份运行错误。因此,我检查的第一件事就是我的手机是否真的植根了?

Now, I'm trying to run adb root from Windows Command Prompt, however, I'm getting adbd cannot run as root in production builds error. So, the very first thing I checked was whether my phone was really rooted?

所以我尝试了以下操作:

So I tried the following:

打开命令提示符

$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无法在生产版本中以root身份运行错误。
所以,我想,我可能不得不做一些以上的事情。我在以下SO问题中尝试了所有解决方案:

However, when I do adb root, I get adbd cannot run as root in production builds error.So, I thought, I might have to do some additional stuff beyond what I did above. I tried all the solutions in the following SO questions:




  • 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 工作,这样我可以执行各种adb命令而无需进入shell。

None of the above worked for me. All they do is give the ROOT access INSIDE of SHELL. I want adb root to work so that I can execute various adb commands WITHOUT going into shell.

推荐答案

在某些对开发人员友好的ROM中,您只需在设置>开发人员选项>根访问权限中启用 Root Access 。之后, adb根可用。不幸的是,它不适用于市场上的大多数库存ROM。

In some developer-friendly ROMs you could just enable Root Access in Settings > Developer option > Root access. After that adb root becomes available. Unfortunately it does not work for most stock ROMs on the market.

这篇关于亚行外壳苏工作,但亚行根不的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 17:04