Dragonmerlin, thanks for making this! I've been looking for a way to do this for awhile. I know how to get the contents of a regular .ab file, but I never knew what was different about Helium Backup's backups.
Although I'm getting an error. I haven't downloaded the source and stepped through it yet, but I wonder if anyone else gets the same message:
java -jar hbe.jar -tar com.estrongs.android.pop.ab
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Caused by: java.io.FileNotFoundException: Invalid file path
... 5 more
I realized that it works if I import the project to Eclipse and use the -force flag. I looked to see what Eclipse's execute command was. Turns out if I add "-Dfile.encoding=US-ASCII", then everything works fine. Not sure why, though.
Ex: java -Dfile.encoding=US-ASCII -jar hbe.jar -force com.topfreegames.bikeraceproworld.ab
Thank you so much for the update. I must say however, that files extracted from helium backup and put back in a adb backup may not work. Some file (sometimes a lot) have different size and checksum depending whether you extract them from adb or helium backup.
Restoration on the device with "adb restore" should work for both anyway.
I get the same error as above. Can dragonmerlin help us get this running? Is there a specific command we can use?
Why do you want to extract files inside helium backup? Can you post the exact error you are having? Maybe it looks identical to you but where there may be little differences.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.