Reputation: 10965
I want to get the /data/data/packagename/databases/test.db
, but i can not get it "Permission denied".
I use adb shell to access data folder, it shows:
$ sudo adb shell
$ cd data
$ ls
ls: can't open '.': Permission denied
why?? I can access /system folder
Upvotes: 1
Views: 3361
Reputation: 2581
First your phone should be rooted, you can use https://www.kingoapp.com/ for that. Next, you should modify the permission of your app access, to do so you have to :
Locate your adb.exe folder (you can find it in your sdk folders)
Right click
open cmd here
Type:
adb shell su chmod 777 /data /data/data /data/data/yourapp
Good luck
Upvotes: 0