how to tell if nandroid backup is complete - Galaxy S II Q&A, Help & Troubleshooting

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

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.

[Q] What files are expected from a NANDroid backup?

I'm running MIUI 2.1.20 , and made a backup of it using the backup option in CWM (recovery mode, not the app).
The files I got though where:
.android_secure.vfat.tar
boot.img
cache.ext4.tar
data.ext4.tar
recovery.img
system.ext4.tar
notice how there is no nandroid.md5 ? Is that normal?
Also I'm used to getting files like:
.android_secure.img
boot.img
cache.img
system.img
nandroid.md5
does it mean anything that some of the files are tar balled?
Cheers.
I ran a backup of 2.1.20 two nights ago before I flashed 2.2.1 & I have a nandroid.md5 file in that backup folder. I'd be surprised if the backup you made restores properly (or at all) given you don't seem to have that file in your backup (Have you tried to restore it ?).
There's a nandroid backup patch that works when you get a md5 checksum error when running a Nandroid backup on Galnet Miui. I attached it to a post I made a few hrs ago, it may/may not work for other builds/flavours of Miui. Obviously if you do use the patch you do so at your own risk (I doubt it would do anything "bad" other than make the backup you run after flashing it bork at worst).
Edit to add - In the backup I made of 2.1.20, I have - boot.img, nandroid.md5, android_secure.vfat.tar, cache.ext4.tar, data.ext4.tar & system.ext4.tar.
.android_secure.img
boot.img
cache.img
system.img
nandroid.md5
Thats what i have for yesterdays backup .
jje
I've too nandroid.md5 both on CM9 (01292012) and on MIUI (2.1.20) backups...
does that mean my clockworkmod is goofing?
After making another backup to check the log I saw this.
http://cl.ly/2v3s0v1423252o2o0e2J
Notice the "Error while generating MD5 sum" ? ...what would you suggest I do?
ps. should I open another thread now that the question has changed?
any ideas guys? Cheers.
In answer to your question, yes, it would seem CW is not working properly for you for whatever reason.
If you've got Rom Manager on your phone, you need to make a choice. Either have/use Rom Manager or CW Recovery. Both cause problems, Rom Manager tends to break recovery & can cause bootloops.
If not, reinstall your kernel (or whole rom if you're using the kernel supplied with Miui), or install a CFRoot kernel, then reinstall your rom.
Or...Do a search for that post I made last week or whenever it was & flash that Nandroid backup fix patch.
A couple of options there for you.
Thank you very much. I'll check them out. Cheers.

[Q] Restoring backed up data to another device

Can I restore data that I have backed up in CWM form my device to another?
As long as the model is same, yes. What device exactly?
I don't think so, even if they're the same. i've done it once and the cwm log says 'md5sum mismatch!'
azzazelium said:
I don't think so, even if they're the same. i've done it once and the cwm log says 'md5sum mismatch!'
Click to expand...
Click to collapse
If you insist on restoring the backup file do this simple trick on md5 mismatch: open the md5 file in your CWM backup folder, erase its contents. Leave the file empty (0 byte) then restore in peace
Keep in mind md5 mismatch means something changed in the backup file, doesn't matter which device it previously on. Do this on your own risk.
Note: CWM will skip verifying the backup if md5 file is empty.

[Q] Need help restoring nandroid backup - Error while flashing boot image!

I have serious problems with my phone, INVALID IMEI, NO SIM, everything is described in my other thread: http://forum.xda-developers.com/and...tex-aqua-5-t3006568/post58266157#post58266157
Tried everything possible, but no luck. Now I'm turning back to my nandroid backup as my only hope... But I'm stuck with error :
Checking MD5 sums...
Erasing boot before restore...
Restoring boot image...
Error while flashing boot image!
Backup itself looks fine, it is Online Nandroid v9.52, and there was no errors in backup process (as I can see in recovery.txt) its located in folder clockworkmod - backup. It's made of these files:
boot
cache.ext4
data.ext 4
modem
nandroid.md5
recovery
system.ext4
Whats causing this error message, and what can i do about it?
Also in data.ext.4 among others there is nvram folder with these files: md, md2,dm,APCFG,Restore Flag (if anybody knows how to flash it maybe that is solution for my INVALID IMEI).
My phone is rooted, there is custom ROM on it. (MIUI V5 FOR INTEX AQUA I-5 ). And CWM recovery for this ROM. (CWM v5.5.0.4 )
IMPORTANT: Cant connect phone to PC, pins for data transfer are damaged. But can transfer files from PC to Phone - Wifi transfer.
Try to Flash stock rom ....
May be all problem are solved...?
Rajaks said:
Try to Flash stock rom ....
May be all problem are solved...
Click to expand...
Click to collapse
Not so easy without usb connection, there is just one version of stock rom for this phone on the Internet, It is made from two rar files, and as I see It's made for flashing SP Flash Tool. I even tried to make zip file from it, and flash via cwm but no luck, error pops out. Just started thread (http://forum.xda-developers.com/general/help/stock-rom-intex-aqua-5-t3007603) hoping someone will post new stock rom, until then looking for solution here.
Figured out why my nandorid backup cant be restored, and gives an error "error while flashing boot image". When I made a backup there was no boot.img file in it. (as you cant see below in log file) So I added a file from only stock rom found on the net (that stock Is not made for cwm and cant be flashed via cwm, just via SP Flash Too so I cannot use it). but my logic was that I can borrow missing boot.img and put it in my backup folder). So obviously its not solution.
Log file: (nandroid backup)
Backing up /boot...\c
02:18:25 Backing up /recovery...\c
02:18:25 Backing up /modem...\c
02:18:26 Backing up /system...\c
02:19:59 Backing up /data...\c
02:21:28 Backing up /cache...\c
02:21:30 Backing up /.android_secure...\c
02:21:34 Replacing old backup with new backup...\c
02:21:36 Generating md5sum...\c
02:22:04 Verifying md5sum...\c
02:22:05 Online Nandroid Backup Completed in 3 minutes 43 seconds!
###########################
But after this there is no boot.img at all in backed up files as you can see.
Files Backed-up:
"----rwxr-x 1 11264 Dec 8 02:21 cache.ext4.tar
----rwxr-x 1 530526720 Dec 8 02:21 data.ext4.tar
----rwxr-x 1 1024 Dec 8 02:18 modem.img
----rwxr-x 1 191 Dec 8 02:22 nandroid.md5
----rwxr-x 1 553781248 Dec 8 02:19 system.ext4.tar"
Why I dont have file boot.img in my backup and how can i fix it? :/
Someone said that I make another backup via cwm and keep just boot.img in it, then copy my old files in that new created folder , but i doubt it will work cause Im on custom ROM now (MIUI) and i want to restore stock (Andorid 4.2.1).

Nandroid backup - can't access data.ext “Unexpected end of archive”

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?

Categories

Resources