+1 vote
in I only have text by (4.6k points)

I connected my adnroid phone to PC, and opened the adb shell, but when run ls /data/data in CMD to access android deveice, it gave error:

opendir failed, Permission denied

when type adb root, it show error:

adbd cannot run as root in production builds

and when type the su, it said:

/system/bin/sh: su: not found

1 Answer

+1 vote
by (21.2k points)
Best answer

This only because your android phone did not get the root permisson. You will find when you opened the adb shell the prompt is $, like this:

C:\Windows\system32>adb shell
when you get the root persmission, it will change to #:
// How to //
I. What you need to do is to install Superuser Permissions or Kinguser, Superuser or KingRoot App on your phone first.
II. The execute the following commands:
  1. adb shell

  2. su

  3. click "Allow" on your phone

  4. now you will find the $ has changed to #, all done

Welcome to Best solution for PC & Software errors, where you can ask questions and receive answers from other members of the community.