>adb shell su, not getting root permission

Viewed 17284

I'm trying to retrieve my files from my phone with a broken screen. adb is installed and device is already rooted. Trying to get root access on adb shell but it isnt working, cannot list folders in /data/.

Here is the command prompt

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:/ $

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? Thank you

2 Answers

My root mode was set to grant access automatically but shell was not getting root access. Switched to promt and I got a popup and when I granted the permission su worked.

Related