>adb shell su, 没有获得 root 权限

>adb shell su, not getting root permission

我正在尝试从屏幕损坏的 phone 中检索我的文件。 adb 已安装且设备已植根。尝试在 adb shell 上获得 root 访问权限,但它不起作用,无法列出 /data/ 中的文件夹。

这是命令提示符

C:>adb root
restarting adbd as root
C:>adb devices
List of devices attached
5024b403 device
C:>adb shell
shell@hlte:/ $ su
1|shell@hlte:/ $

据我所知,$ 符号应该变成 # 符号,表示我具有 root 访问权限,但它不起作用,有任何修复吗?谢谢

已解决。我在我的另一个 phone 上试过了,这是因为超级用户应用程序弹出了一个允许计算机 root 访问的通知,遗憾的是我看不到弹出窗口并在 phone 上用一个损坏的按钮点击它屏幕

我的 root 模式设置为自动授予访问权限,但 shell 没有获得 root 访问权限。切换到 promt,我得到一个弹出窗口,当我授予权限时,su 成功了。