/android-backup-extract

Extract a tar from an adb backup file

Primary LanguagePythonMIT LicenseMIT

Extract a tar from an adb backup file

Backup file goes into stdin, tar file comes out on stdout.

Limitations

  • Does not support encrypted backups (pull requests welcome!)
  • Does not support uncompressed backups (not sure how to create these?)

Examples

To view the contents of a backup

./extract.py < backup | tar -tv

To extract all files from a backup

./extract.py < backup | tar -x

Further info

Details of backup file structure Further Details - could be used as a reference to implement backup decryption