• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Pull files from /data folder

ponchera

Member
I'm doing some experimenting recovering deleted data from sqlite files. I want to get to the sms db and others.

I rooted my bionic and connect via adb shell to it but when i try to pull files from /data folder, it gives me "files 0". I also can't do LS or cd into the folder. What am I doing wrong? how can i extract the system files?
 
Just experimented. Using adb and trying to connect to /data, performing an
Code:
ls
on the dir gives me a
Code:
opendir failed, Permission denied

Using Root Explorer I can see the directory as r/w, though, so it must be something in adb shell. So, I went back to adb shell and performed
Code:
su
- now I can see the directory contents.

IOW, you need to be rooted and give adb / adb shell root privileges in order to view the contents of /data
 
DISREGARD. I got it to work. I had to keep Root Explorer open, when i issued the adb commmand i noticed the pop up to grant permission, i allowed and now i'm in.

Just experimented. Using adb and trying to connect to /data, performing an
Code:
ls
on the dir gives me a
Code:
opendir failed, Permission denied

Using Root Explorer I can see the directory as r/w, though, so it must be something in adb shell. So, I went back to adb shell and performed
Code:
su
- now I can see the directory contents.

IOW, you need to be rooted and give adb / adb shell root privileges in order to view the contents of /data

Ok i'm on a Mac. On mac shell i'm SU. I run

./adb shell

I get
shell@cdma_tara:/$

i type su and it just inserts a blank line and sits there doing nothing.. Yes, i am rooted, i can get into /data/data folder and see r/w at the top of root explorer.
 
Glad you got it working. weird, though, that you had to leave RE running to get the su prompt on your phone....
 
Back
Top Bottom