Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

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
1  
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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.