2

I want to edit the contents of an .adb backup file. I found a command to extract the contents:

dd if=mybackup.adb bs=24 skip=1 | zlib-flate -uncompress | tar xf -

I edited the extracted files as needed but how do I build adb files with the modified files?

I thought of streaming the directory, compressing it with zlib-flate and generating the tar file. Is it possible?

1
  • Ok it works! Thanks developer of Android backup Extractor
    – TechTheGuy
    Nov 7 '20 at 18:07
2

in my opinion the preferred way for extracting such backup archives is Android Backup Extractor (abe) (requires installed Java Runtime).

It allows to convert adb backup archives to tar files and also the reverse way to convert TAR files back to an adb backup files that can be restored via adb.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.