If you get a "Permission denied" error, try Method B.
You should see a device listed. If not, ensure you have authorized the computer on your phone screen.
: On non-rooted devices, this service must be restarted manually after every device reboot because the system kills background shell processes during power cycles. Execution Environment The command is typically executed from a
This paper documents the process, syntax, and implications of the command string: adb shell sh [path]/startsh .
adb shell ls -la /storage/emulated/0/Android/data/moeshizukuprivilegedapi/