Post Reply

How does 'adb backup' get access to /data?

OP Skaziwu

9th January 2014, 08:14 PM   |  #1  
OP Junior Member
Thanks Meter: 5
15 posts
Join Date:Joined: May 2013
On my unrooted Nexus 7 2013, I can't access /data through adb shell. I get a permission error. Note, I can change to the directory (the execute bit is set), but I can't read anything from it. Also, I know from my rooted Nexus 4, that the files within each app's directory in /data/data have no other permission bits set, only the bits for the user/group of the app.

So, how does 'adb backup' access these, and can I emulate the method in the shell?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes