Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 1.25 KB

README.md

File metadata and controls

48 lines (38 loc) · 1.25 KB

abe

amazoncorretto:16-alpine-based dockerization of android-backup-extractor, a "utility to extract and repack Android backups created with adb backup"

The source code for this image is hosted on GitHub in the backplane/conex repo.

Usage

When run with -h/--help the container prints the following usage text:

Usage:
  unpack:	abe unpack	<backup.ab> <backup.tar> [password]
  pack:		abe pack	<backup.tar> <backup.ab> [password]
  pack for 4.4:	abe pack-kk	<backup.tar> <backup.ab> [password]
If the filename is `-`, then data is read from standard input
or written to standard output.
Envvar ABE_PASSWD is tried when password is not given

Interactive

The following shell function can assist in running this image interactively:

abe() {
  if [ -n "$ABE_PASSWD" ]; then
    docker run \
      --rm \
      --interactive \
      --tty \
      --volume "$(pwd):/work" \
      --env "ABE_PASSWD=${ABE_PASSWD}" \
      "backplane/abe" \
      "$@"
  else
    docker run \
      --rm \
      --interactive \
      --tty \
      --volume "$(pwd):/work" \
      "backplane/abe" \
      "$@"
  fi
}