Skip to content

Instantly share code, notes, and snippets.

@cbarraco
Created May 25, 2016 16:02
Show Gist options
  • Save cbarraco/54e34904f3af90306e9557a39959b4ac to your computer and use it in GitHub Desktop.
Save cbarraco/54e34904f3af90306e9557a39959b4ac to your computer and use it in GitHub Desktop.
adb shell "run-as package.name chmod 666 /data/data/package.name/databases/file"
adb pull /data/data/package.name/databases/file .
adb shell "run-as package.name chmod 600 /data/data/package.name/databases/file"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment