Forked from bharath2020/Download 'data' from Android without roooting
Last active
October 25, 2016 12:38
-
-
Save VDenis/ea7b73ee6fb241699d290ab97edf4188 to your computer and use it in GitHub Desktop.
Download manifest from Android APK
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
//download data.ab (encrypted) and DONOT GIVE ANY PASSWORD when prompted | |
adb backup -f ~/data.ab -noapk app.package.name | |
//decrypt and extract the data.ab [this worked most of the time except for few instances ] | |
//this will output all the contents of app into 'apps' directory | |
dd if=data.ab bs=1 skip=24 | python -c "import zlib,sys;sys.stdout.write(zlib.decompress(sys.stdin.read()))" | tar -xvf - | |
//SOURCE: http://blog.shvetsov.com/2013/02/access-android-app-data-without-root.html |
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
aapt l -a name.apk | |
//SOURCE : http://stackoverflow.com/a/11133263/623569 | |
aapt dump xmltree base.apk AndroidManifest.xml | |
//Android aapt http://elinux.org/Android_aapt |
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
//List of all packages in the device | |
// key: -f | |
adb shell pm list packages | |
//Get the path of the app | |
adb shell pm path com.example.someapp | |
//download the apk | |
adb pull <path obtained from above command> | |
//SOURCE: http://stackoverflow.com/a/18132934/623569 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment