Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
405 views
in Technique[技术] by (71.8m points)

android - > adb shell su,未获得root许可(>adb shell su, not getting root permission)

I'm trying to retrieve my files from my phone with a broken screen.

(我试图从屏幕坏了的手机中检索文件。)

adb is installed and device is already rooted.

(已安装adb且设备已植根。)

Trying to get root access on adb shell but it isnt working, cannot list folders in /data/.

(试图在adb shell上获得root用户访问权限,但它不起作用,无法在/ data /中列出文件夹。)

Here is the command prompt

(这是命令提示符)

C:>adb root

(C:> adb根)
restarting adbd as root

(以root身份重新启动adbd)
C:>adb devices

(C:> adb设备)
List of devices attached

(连接的设备列表)
5024b403 device

(5024b403装置)
C:>adb shell

(C:> adb外壳)
shell@hlte:/ $ su

(shell @ hlte:/ $ su)
1|shell@hlte:/ $

(1 | shell @ hlte:/ $)

From what i know the $ sign is supposed to turn into # sign signifying that i have root access, but it is not working, any fixes?

(据我所知,$符号应该变成#符号,表示我具有root用户访问权限,但是它不能正常工作,是否有任何修复程序?)

Thank you

(谢谢)

  ask by karmacollide translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Solved.

(解决了。)

I tried it on my other phone and it was due to the superuser app popping up a notification to allow the computer root access, sadly I could not see the popup and tap it on the phone with a broken screen

(我在另一部手机上尝试了此操作,这是由于超级用户应用程序弹出了允许计算机root用户访问的通知,但遗憾的是我看不到弹出窗口,并在屏幕破裂的手机上点击了该弹出窗口)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...