Android backup extractor
Java Shell
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 1 commit ahead, 57 commits behind nelenkov:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Android backup extractor

Utility to extract and repack Android backups created with adb logcat (ICS). Largely based on from AOSP.


Drop the latest Bouncy Castle jar in lib/, import in Eclipse and adjust build path if necessary. Use the script to start the utility. Syntax:

unpack: unpack <backup.ab> <backup.tar> [password]
pack: pack <backup.tar> <backup.ab> [password]
unpackex: unpackex <backup.abex> <backup.tar> [password]

If you don't specify a password the backup archive won't be encrypted but only compressed.

More details about the backup format and the tool implementation in the associated blog post:

UnpackEx is for the .ABEX file format. This is an extended specification of the .AB file format. For more details about the .ABEX file specification see: