android-backup-extractor icon indicating copy to clipboard operation
android-backup-extractor copied to clipboard

Unpacked tar only contains /apps/androidbackuptokenagent/_manifest

Open plokipo opened this issue 6 years ago • 2 comments

After unpacking an encrypted 1.4 mb backup.ab file into a tar file, I only get a backup.tar file that contains only /apps/androidbackuptokenagent/_manifest

plokipo avatar Aug 11 '19 13:08 plokipo

I had a similar problem ... the APK file is in there, but something is wrong with the tar header causing archiving tools to reject it.

Here's a hexdump of a sample problem record (just the tar header for the APK file)

00000000  61 70 70 73 2f 63 6f 6d  2e 6b 6d 61 67 69 63 2e  |apps/com.kmagic.|
00000010  73 6f 6c 69 74 61 69 72  65 2f 61 2f 62 61 73 65  |solitaire/a/base|
00000020  2e 61 70 6b 00 00 00 00  00 00 00 00 00 00 00 00  |.apk............|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000060  00 00 00 00 30 30 30 30  36 34 34 00 30 30 30 31  |....0000644.0001|
00000070  37 35 30 00 30 30 30 31  37 35 30 00 30 30 30 30  |750.0001750.0000|
00000080  30 30 32 34 36 35 36 36  30 31 33 32 32 33 37 37  |0024656601322377|
00000090  31 35 36 36 30 30 31 36  31 33 00 20 30 00 00 00  |1566001613. 0...|
000000a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000100  00 75 73 74 61 72 00 00  00 00 00 00 00 00 00 00  |.ustar..........|
00000110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000140  00 00 00 00 00 00 00 00  00 30 30 30 30 30 30 30  |.........0000000|
00000150  00 30 30 30 30 30 30 30  00 00 00 00 00 00 00 00  |.0000000........|
00000160  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200

I'm not quite sure what's wrong with it, haven't gone over all the fields in depth...

fastcat avatar Nov 05 '19 01:11 fastcat

A backup sample would help.

superbonaci avatar May 21 '22 01:05 superbonaci