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

Unpack faild #78

Open
supercatreal opened this issue Apr 2, 2020 · 3 comments
Open

Unpack faild #78

supercatreal opened this issue Apr 2, 2020 · 3 comments

Comments

@supercatreal
Copy link

I use the command in the Powershell,but it faild.
command:java -jar unpack pack.bak pack.tar
Error info:
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Don't know how to process version 5
at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:420)
at org.nick.abe.Main.main(Main.java:128)
... 5 more
Caused by: java.lang.IllegalArgumentException: Don't know how to process version 5
at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:282)
... 6 more
Who can tell me the way to slove it?
Thank you a lot!

@gsgrippal
Copy link

There's a forked version of android backup extractor, try it and tell us.
https://sourceforge.net/projects/adbextractor/files/abe.jar/download

@chumaumenze
Copy link

You can download the latest binary of the Android Backup Processor. Once downloaded, extract the zip file and run:

java -jar abp.jar unpack <backup.ab> <backup.tar> <password>

Commands
Usage:
	info:		java -jar abp.jar [-debug] [-useenv=yourenv] info <backup.ab> [password]
	unpack:		java -jar abp.jar [-debug] [-useenv=yourenv] unpack <backup.ab> <backup.tar> [password]
	pack:		java -jar abp.jar [-debug] [-useenv=yourenv] pack <backup.tar> <backup.ab> [password]
	pack-kk:	java -jar abp.jar [-debug] [-useenv=yourenv] pack-kk <backup.tar> <backup.ab> [password]

@superbonaci
Copy link

@supercatreal close this issue since it's fixed.

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

4 participants