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

failed extraction: exception in thread "main" java.lang.reflect.InvocationTargetException #61

Open
lanresmith opened this issue Feb 8, 2018 · 5 comments

Comments

@lanresmith
Copy link

I'm getting this while trying to extract. PLEASE HELP

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)
?l?=?±ô?y: java.lang.RuntimeException: java.lang.IllegalArgumentException: Invalid Magic xÄè?
at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:502)
at org.nick.abe.Main.main(Main.java:128)
... 5 more
?l?=?±ô?y: java.lang.IllegalArgumentException: Invalid Magic xÄè?
at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:332)
... 6 more

@lanresmith
Copy link
Author

@nelenkov can you PLEASE look into this? Thanks.

@nelenkov
Copy link
Owner

nelenkov commented Feb 9, 2018

Looks like an invalid archive?

@lanresmith
Copy link
Author

@nelenkov Sorry, I don't understand what you mean by 'invalid archive'. Backup was done this way:

  • Went to command interface using Power key + volume up
  • Scrolled to backup
  • Selected it and it notified me when it was done

Phone is Infinix hot 4 pro

Thanks for your swift response.

@nelenkov
Copy link
Owner

What you have is most probably a full partition dump, not an ADB backup.
ADB backups are created using the 'adb backup' command while Android is running.

The format of your backup depends on the recovery of your phone. It could be compressed, or a just a raw ext4, etc. image.

@lanresmith
Copy link
Author

lanresmith commented Feb 15, 2018

@nelenkov Oh! OK...

Now I have separate '.backup' files after the exception was thrown - the original '.ab' file no longer exists. What would you advise I do to recover my original files?

Thanks a lot for your support.

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

2 participants