Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Jessica Soruco5,843 Points
permission denied after openning adb shell and then cd data/data
So I typed command
adb shell then I try doing what they say at 02:13 in video:
cd data/dataand I get error message:
opendir failed, Permission denied, so I tried with
sudo cd data/data and get the followig error:
sudo: permission denied
Bryner Toma25,541 Points
Your device must be rooted.
In the Developer Options menu of your device ensure:
- Developer Options are enabled
- Android debugging is enabled
- ADB has permissions in Root access
Enter adb shell and enter su (meaning type su and hit enter in a windows machine) to enable Super User mode. You should see a # at the end of the prompt confirming your shell is in Super User mode. Then continue with the instructions in this video.