3

I was trying to unlock my android phone by adb installed. I tried to followed these steps:

adb devices adb shell cd data/system su rm *.key

But when I typed and enter su, it's showing permission denied. My phone is also rooted, but I don't know why after entering su it's showing permission denied.

Can you please tell what extra steps I have to do so that I don't get permission denied?

migrated from superuser.com May 28 '14 at 19:51

This question came from our site for computer enthusiasts and power users.

7

Most superuser apps don't allow adb su access by default. Depending on the app you used the option may vary in location, but basically you need to go to settings in the superuser app and change it from "apps only" to "apps and adb." This should allow you to use su in an adb shell.

  • I have used this Superuser app ---> play.google.com/store/apps/details?id=com.noshufou.android.su But don't know, how to change "apps only" to "apps and adb". I did search in settings but didn't found such a thing. Can you please tell me how to do that ?PLease check it and tell me.. – iamarunbrahma May 29 '14 at 9:22
  • Oh wow, that is a very old superuser app. What device do you have? Is there a particular reason you used this superuser app versus one of the newer ones like this or this? It may be an issue with that particular superuser app. – abqnm May 29 '14 at 13:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy