Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#!/bin/bash
PACKAGENAME=$1
DBNAME=$2
adb -d shell "run-as $PACKAGENAME cat /data/data/$PACKAGENAME/databases/$DBNAME > /sdcard/output.db"
adb pull /sdcard/output.db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment