Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unpacked tar only contains /apps/androidbackuptokenagent/_manifest #75

Open
plokipo opened this issue Aug 11, 2019 · 2 comments
Open

Unpacked tar only contains /apps/androidbackuptokenagent/_manifest #75

plokipo opened this issue Aug 11, 2019 · 2 comments

Comments

@plokipo
Copy link

plokipo commented Aug 11, 2019

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

@fastcat
Copy link

fastcat commented Nov 5, 2019

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...

@superbonaci
Copy link

A backup sample would help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants