I did it an hour ago and with a Nexus 7 Android 4.3. And no, I didn't include the sd-card.
I did it an hour ago and with a Nexus 7 Android 4.3. And no, I didn't include the sd-card.
Please, post the exact command you used, and I'll test it tomorrow on my own Nexus 7.I did it an hour ago and with a Nexus 7 Android 4.3. And no, I didn't include the sd-card.
Please, post the exact command you used, and I'll test it tomorrow on my own Nexus 7.
There is nothing wrong with the ab backup, the problem lies with the tar file itself.
Guess what? The tar file generated by your adb backup has a corrupted/incomplete header.
The files 'checksum' was incomplete thus making all tar program to 'think' it's not a valid tar even though all data was there.
The tar file can be fixed by updating all header 'checksum' with the correct value. (by recalculating header sum - with script).
But i think it's better to cure instead of fix later. But i am not sure whether adb backup use system 'tar' binary, if it does that could be the problem.
You can try creating a sample tar file on your system & try to see whether you can unpack it properly.
My Nexus 7 with Android 4.3 does not have the above problem.
It looks like a corrupt tar was generated. Try rebooting the Nexus 7 and then this command:First of all, thanks for your help!
I tried a tar recovery tool and it worked. I have no idea, why the genereted tars are broken.I have a normal 4.3 + rooted + latest superSU and busybox. I also tried it on my Galaxy Nexus and there everything works fine.
adb backup -apk -f com.king.candycrushsaga.ab com.king.candycrushsaga
It looks like a corrupt tar was generated. Try rebooting the Nexus 7 and then this command:
Code:adb backup -apk -f com.king.candycrushsaga.ab com.king.candycrushsaga
Let's see if there is any difference when you include the apk.
So it appears root or busybox messed up something. Glad it works now.Hmm strange...I rebooted my device but no difference, then I reinstalled busybox and rebooted again and now it works
Thanks!
well, I try to do it, I think I have some problems with my laptop
it said can't access the abe.jar file
well, anyone would help me in unpacking my .ab file ?
well, yes I do. But may be i do something wrong with cygwin...
I want to extract the file cus when restorig it end b4 finish ! So, I want to restore the left
Type it where abe.jar and your backup are in the same dir. If not working can't help you anymore unless you post an screenshot.
Hello!
Either there is something wrong with abe.jar or with .ab and .tar files.
.ab were created using Helium and uploaded to dropbox, then downloaded locally
When I unpack it - resulting .tar files is wrong for some reason.
Then I get another backup .tar.gz using ultimate backup, unpacked gz to tar and tested that .tar to check if it is ok.
It was ok with /data/data structure and files in it.
When I pack it - resulting .ab has header and garbage after that. And Helium can't restore it.
What can be wrong?
Either Helium is creating an invalid archive or dropbox corrupted it. Try generating the ab file yourself using the debugging bridge to see if is ok.
Probably there is something wrong with the /data/data backup in Helium.
Coz when I try to backup APK using helium abe.jar unpacks it correctly to .tar which has apk inside.
How do i create /data/data backup using adb backup manually?
java -jar abe.jar unpack nexus7.ab nexus7.tar <password>
tar -xvf nexus7.tar
tar -tf nexus7.tar > nexus7.list
cat nexus7.list | grep com.rockstar.gta3 > gta3.list
cat gta.list | pax -wd > gta3.tar
star -c -v -f gta3.tar -no-dirslash list=gta3.list
java -jar abe.jar pack gta3.tar gta3.ab <password>
dd if=nexus7.ab bs=24 skip=1 | openssl zlib -d > nexus7.tar
dd if=nexus7.ab bs=24 count=1 of=gta3.ab ; openssl zlib -in gta3.tar >> gta3.ab
Read the guide. 7z is not compatible, you have to use star or equivalent and meet the requirements.I have tried similar attempt to restore my save of another game but that doesn't work.
How did you replace the files in the .tar file? I am using 7z to replace the .tar file but nothing happen after i restored.
Thanks.
Maybe I'm missing something.
I've installed Java, ran cygwins setup.exe and I think it installed everything. Also downloaded the Android Backup Extractor. I try running a windows command prompt with:
java -jar abe.jar unpack nexus7.ab nexus7.tar
All I get is "java is not an internal or external command". I'm running the command prompt in the android backup extractor folder. Does everything have to be in the same folder? Where do I dump everything?
which java
$ which java
/cygdrive/c/Windows/system32/java
Because i am using windows, so does it mean that i couldn't modify the .tar file in any way?
thanks.