Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I used Simply Honey before and everything was okay. However, when I flash to a Stock 2.2 ROM, I cannot access the /data directory from adb. I am sure the phone is totally rooted because I have the Superuser icon in my apps menu and I can open the /data directory in Root Explorer. Why can't I access /data from adb as well?

share|improve this question
What's the error? Are you escalating the adb shell to root? – Matthew Read Jul 30 '11 at 4:10
no, just when use adb shell to go into data directory, it says "don`t have the permission" – ufo22940268 Jul 30 '11 at 9:58

You need to escalate the shell, since /data requires root permissions to access. After running adb shell, run su before running cd /data. The prompt should change from $ to # if it works.

share|improve this answer
but i can`t run su in adb shell. – ufo22940268 Jul 31 '11 at 7:09
@ufo Why not? You can run it if you have it. Example use. – Matthew Read Aug 1 '11 at 2:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.