Created
January 18, 2014 23:55
-
-
Save dysbulic/8498521 to your computer and use it in GitHub Desktop.
Pull the sqlite db for an android application off the device and open it.
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
| #!/bin/bash | |
| adb shell "mount -o remount rw /sdcard" | |
| adb shell "run-as com.synaptian.smoketracker.habits cat databases/habits.db > /sdcard/habits.db" | |
| adb pull /sdcard/habits.db | |
| [ -f habits.db ] && sqlitebrowser habits.db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment