Created
May 19, 2013 15:24
-
-
Save mdellavo/5607981 to your computer and use it in GitHub Desktop.
shell to pull database from unrooted android phone
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/sh | |
adb -d shell 'run-as org.quuux.eyecandy cat /data/data/org.quuux.eyecandy/databases/eyecandy.db > /sdcard/eyecandy.db' | |
adb pull /sdcard/eyecandy.db | |
adb -d shell 'rm /sdcard/eyecandy.db' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment