Created
January 20, 2023 12:35
-
-
Save Frostie314159/b9c4c578957284c089b3d383d13c0d6b to your computer and use it in GitHub Desktop.
A small script to dump app data via adb.
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 backup -apk $1 -f /tmp/$1.ab | |
dd if=/tmp/$1.ab bs=4k iflag=skip_bytes skip=24 | zlib-flate -uncompress > /tmp/$1.tar | |
tar -xf /tmp/$1.tar -C /tmp/ | |
cp -r /tmp/apps/$1 $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment