Created
April 22, 2014 11:49
-
-
Save jorgevila/11175699 to your computer and use it in GitHub Desktop.
Android backup
This file contains 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 backup -f data.ab -noapk com.package | |
dd if=data.ab bs=1 skip=24 | openssl zlib -d | tar -xvf |
This file contains 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 "run-as com.package chmod 666 /data/data/com.package/databases/db-name.db" | |
adb pull /data/data/com.package/databases/db-name.db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment