Created
May 5, 2014 16:55
-
-
Save geovanisouza92/2fb0755b28ac0216f6ea to your computer and use it in GitHub Desktop.
Function to get android app database (only with debuggable apps)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Append in .bashrc | |
| # | |
| # pulldb <app package> <database name> | |
| # | |
| function pulldb { | |
| /home/geovani/android-sdk/platform-tools/adb -d shell "run-as $1 cat /data/data/$1/databases/$2 > /sdcard/$2" | |
| /home/geovani/android-sdk/platform-tools/adb pull "/sdcard/$2" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment