Skip to content

Instantly share code, notes, and snippets.

@peterchaula
Created September 21, 2019 12:01
Show Gist options
  • Save peterchaula/fedfea3f503a97d2370b5500e1593f90 to your computer and use it in GitHub Desktop.
Save peterchaula/fedfea3f503a97d2370b5500e1593f90 to your computer and use it in GitHub Desktop.
adb shell "mkdir -p /sdcard/tunnel" #-p flag will make the mkdir silent if the dir already exists
adb shell "run-as <package-id> cp -r /data/data/<package-id>/ /sdcard/tunnel"
adb pull /sdcard/tunnel <destination-dir>/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment