Nandroid backup - can't access data.ext “Unexpected end of archive” - Android Q&A, Help & Troubleshooting

I have a nandroid backup and I want to get some of the files from "data". However, I have two separate files and an empty one: data.ext4.tar (0kb), data.ext4.tar.a (1gb), data.ext4.tar.b (700mb).
I figure I need to somehow combine these files, however I have no idea how.
Help?

Related

Restore file fails checksum verification...

I recently tried a new ROM and made a Rom Manager recovery restore file prior to changing. Things didn't work out as well as I had hoped and when attempting to restore, it fails at the checking MD5 sum process.
Any way to work around this? I really would like to restore to the previous ROM without starting over.
Anybody? I am not quite sure how the restore file can be created on this phone and then not pass verification?
Any ideas or am I stuck starting over?
sandiegopaneraiguy said:
Anybody? I am not quite sure how the restore file can be created on this phone and then not pass verification?
Any ideas or am I stuck starting over?
Click to expand...
Click to collapse
depending on the type of file format used to backup, the restoring could be done manually but a changed md5sum generally means the files are not the same as the original. this could result in corruption and generally it isnt recommended to restore corrupted files as you run the risk of nothing working.
if you're still wanting to proceeding with attempting to restore files which are different than the original and could be corrupted, off the top of my head, you can probably dd the .img files back and untar the .tar files back.
i would suggest starting over and perhaps copying the backup files over to your desktop instead of only leaving on the sdard. this should help ensure at least one of the copies maintains their integrity.
hope that helps!
You can boot into recovery, and run nandroid via adb shell command line, no md5 checksum file needed. Now if the image is bad, you of course get bad results, but if the checksum is just hosed for some reason, it will work fine.
Put the .win files for the partitions you want to restore in /sdacrd
then issue the command "tar xvpf /sdcard/data.win" or "tar xvpf /sdcard/system.win" from the adb shell while in /data or /system respectively. .win files are what TWRP creates for backups.
I had this happen with TWRP 1.01 or 1.02 once on a good backup that passed the checksum tests when I backed it up.
I was testing the reliability of the TWRP package's nandroid and first one failed.
Once I moved to the newer version, I've not had that issue.

how to tell if nandroid backup is complete

Hi
Back here....
http://forum.xda-developers.com/showpost.php?p=22413842&postcount=4299
I found my Nandroid backup may have been truncated due to a full sdcard. I've since flashed ics but want to check I can get back. There is no nandroid.md5 so I guess the process may have terminated.
Is there any way to find out if the backup files it did take are complete?
I have boot.img (8mb) data.ext4.tar (1.2GB) .android_secure.vfat.tar (89.2MB) and system.ext4.tar (454.95MB) files. no nandroid.md5 or cache (presumably not needed).
Is there a way to get a partial restore without say taking the data partition (which I suspect maybe incomplete)?
Thank you for any help you can provide
Cheers
Chris

Renamed Nandroid backup, can't restore

So, I wanted to rename my Nandroid backup folder name so it could be easier to know which file is what. However, I didn't knew this was going to cause MD5 mismatch problem.
So, there is anyway to me to recover my backup folder name and restore my backup?
EDIT: Forget i. I just had to put no spaces between the letters.
Felimenta97 said:
So, I wanted to rename my Nandroid backup folder name so it could be easier to know which file is what. However, I didn't knew this was going to cause MD5 mismatch problem.
So, there is anyway to me to recover my backup folder name and restore my backup?
EDIT: Forget i. I just had to put no spaces between the letters.
Click to expand...
Click to collapse
Didnt know that, good to know
Felimenta97 said:
So, I wanted to rename my Nandroid backup folder name so it could be easier to know which file is what. However, I didn't knew this was going to cause MD5 mismatch problem.
So, there is anyway to me to recover my backup folder name and restore my backup?
EDIT: Forget i. I just had to put no spaces between the letters.
Click to expand...
Click to collapse
If it happens again all you have to do is change de md5 values in the file nandroid.md5 (located in the backup folder) with the correct values for each file.
But only do that if you are sure that the backup files are not corrupted.
cafrocha said:
If it happens again all you have to do is change de md5 values in the file nandroid.md5 (located in the backup folder) with the correct values for each file.
But only do that if you are sure that the backup files are not corrupted.
Click to expand...
Click to collapse
In case anyone finds this off a search, I had the same problem. If manually rehashing the .img files (http://forum.xda-developers.com/showthread.php?t=714114) doesn't work, make sure the folder name you used doesn't have spaces. I renamed the folder with underscores, problem was fixed.

[Q] Access nandroid backup content (.win files)

hey guys,
I have made a nandroid backup of my nexus 7 (2012) and I need to get access to contents of the data partition without actually applying the nandroid backup to the device. I found this "unyaffs" tool, but it requires .img files if I understood it correctly. However, in my nandroid backup directory, I have a couple of files that end in ".win" or ".win000" etc (along with corresponding md5-files)...these must be image files of some sort I guess, but Windows describes them as "Adobe CMS Extensions" for some reason.
So...anyone knows how I can access this data? Any help appreciated!
cheers
brokaaa

Browse and extract contents of TWRP Nandroid backup on Windows PC?

Very simply, how do I browse and extract the contents of a TWRP Nandroid backup on my Windows PC?
I am trying to browse a TWRP backup but I have a feeling I need to do a bit more fussing around. The backup is split into data.ext4.win000 through data.ext4.win007 and each of the parts has an accompanying .md5 with the same naming structure (ie. data.ext4.win000 and data.ext4.win000.md5.) There's also a data.info file as well.
The system backup is the exact same as described above for the data, except it's only 2 parts (system.ext4.win000 and system.ext4.win001, with the accompanying md5 files and the info file.)
Can someone provide a bit of guidance? I'm using a Windows 7 Home Premium machine.
kwest12 said:
Very simply, how do I browse and extract the contents of a TWRP Nandroid backup on my Windows PC?
I am trying to browse a TWRP backup but I have a feeling I need to do a bit more fussing around. The backup is split into data.ext4.win000 through data.ext4.win007 and each of the parts has an accompanying .md5 with the same naming structure (ie. data.ext4.win000 and data.ext4.win000.md5.) There's also a data.info file as well.
The system backup is the exact same as described above for the data, except it's only 2 parts (system.ext4.win000 and system.ext4.win001, with the accompanying md5 files and the info file.)
Can someone provide a bit of guidance? I'm using a Windows 7 Home Premium machine.
Click to expand...
Click to collapse
Simply rename the file to data.ext4.tar and use winrar to extract it.
I'm revamping this thread because I'm...desperate!
I have a nandroid backup (TWRP 2.8.7.0) and I would like to browse it on my PC. I'm focusing on files with structure data.ext4.win000x (where x goes from 0 to 2).
I'm able to open with 7-zip (should be equivalent to winrar) every individual file but size is faulty: every file is nearly 1.5 Gb while the content of the zipped file that I see it's around 50 kb. If I concatenate the files with the command copy /b data.ext4.win000? outputfile regardless the extension I give to "outputfile" I'm no longer able to open it with 7-zip.
Any suggestion/hint please ????
Not finding entire folders/files while browsing backup
I find the same thing regardless of the mechanism I am using to browse the backup. I am looking in /data/data for my own apps' data. Here is what I have tried so far:
1. Nandroid Manager app
2. TWRP Explorer app
3. ZArchive app
4. In a terminal, cat data.ext4.win??? | tar -tv > less (and then searching for my apps' package names
I was looking inside my nightly full backup to extract and recover some files I accidentally deleted. Cannot even find folders for the package names (except for 1 app). However, when I do a full restore from the same backup inside of TWRP Recovery, the missing files are indeed restored. So I know they are in the backup.
Why can I not find them and get at them any way else? I must be missing something simple.
Thanks
BTW - in the recovery.log file in the backup folder, I see the folders/files in question being "added". Very odd.
BTW2 - at least with regards Nandroid Manager app, I noticed that I was seeing some files I know I had removed from my apps some time ago. How could that be? I decided to clear data/cache for Nandroid manager and try again. It took much longer to process the backup for exploring. But now at least that app seems to be doing the right thing and I can see all folders/files.

Categories

Resources