Created
October 30, 2016 22:17
-
-
Save ljubisa987/929642901340b0d6e4235c81d1eebd3c to your computer and use it in GitHub Desktop.
Pulling SQLite database off Android using ADB without root
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
# Step 1: | |
# (may need -s <device_id> if multiple devices connected | |
adb backup -f /tmp/data.ab -noapk com.package | |
# Step 2: | |
# When prompted, use the phone to give permission for the backup, and **leave the password blank** | |
# Step 3: | |
dd if=/tmp/data.ab bs=1 skip=24 | python -c "import zlib,sys;sys.stdout.write(zlib.decompress(sys.stdin.read()))" | tar -xvf - | |
# Credit to http://blog.shvetsov.com/2013/02/access-android-app-data-without-root.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment