I have tried to restore some Nandroid Backups that I made via Clock Work mod. I get an error
Checking MD5 Sums...
MD5 Mismatch!
Why does it not work? I had copied it to my PC then back to my phones internal SDCARD. I did rename the Directory. Are these things not allowed?
I decided to see if I can bring back 1 I never touched. I made a backup then restored it and it worked so Clock work mod seems to be fine but perhaps its because I changed to folder path?
No clue perhaps someone can educate me on Nandroid backups do's and don'ts. Please note I have the 5X version of CWM.
dudejb said:
I have tried to restore some Nandroid Backups that I made via Clock Work mod. I get an error
Checking MD5 Sums...
MD5 Mismatch!
Why does it not work? I had copied it to my PC then back to my phones internal SDCARD. I did rename the Directory. Are these things not allowed?
I decided to see if I can bring back 1 I never touched. I made a backup then restored it and it worked so Clock work mod seems to be fine but perhaps its because I changed to folder path?
No clue perhaps someone can educate me on Nandroid backups do's and don'ts. Please note I have the 5X version of CWM.
Click to expand...
Click to collapse
Placed the files exactly as they were backed up and it worked. No renaming of directories and no placing in another folder. Apparently this is all taken into account with Nandroid backup.
Related
hey guys.
i've gone through a lot of searching and still no solution. PLEASE READ THIS SO YOU DONT RECOMMEND SOMETHING I ALREADY TRIED!
i tried to restore a nand backup from yesterday and i'm getting "run nandroid-mobile.sh restore from adb!"
battery is fully charged. sd card is there and all the files are there. i already fixed the md5sum and still get the same issue.
it seems it's not a problem with the backup itself because i can't backup or restore, or even use the ms-usb toggle. for every command i get the error to do it in adb?
i only had that one backup and i really dont want to start from scratch! nothing has happened to have corrupted the backup, so i'm strongly holding to the view that its not corrupted, something else happened.
everything was working fine. i tried changing a file in framework-res.apk, that put me into a bootloop. so i wiped data/cache/dalvik like always and went to restore and bam...error...
any ideas guys? need to fix this ASAP.
EDIT: i just reflashed amonra recovery to make sure it wasnt messed. was able to make a backup (of what i dont know, phone is wiped) and restore it....ms-usb toggle worked now....but still get the .sh error when trying to restore my backup. damn!
EDIT 2: got it working. after reflashing amonra i was able to do a backup (of the empty phone)...i had changed the name of the folder for my backup (no spaces though) and it looks like this was throwing amonra off. i renamed the folder to match the structure of the backup i had just made and was able to restore!
thanks me!
Hi,
I recently decided to install the N1 partition table, it ended up going very smoothly apart from being able to restore the most recent nandroid backup, MD5 error (or words to that effect).
Not worying too much I just reinstalled CM6.1 from scratch, again all went smoothly.
I then did a nandroid backup and then rebooted then restored the nandroid backup, everything worked perfectly.
I then installed a cooked zip file from http://circle.glx.nl/.
That failed to boot after installing, no prob I thought, just recover from the nandroid backup.
I got another MD5 error from the one that I previously restored from.
So another reinstall, nandroid backup and recovery later it's all ok again.
Unfortunately I'm losing confidence in nandroid now.
Any thoughts ??
Colin
Md5 is a checksum, it makes sure the images your trying to restore are the same as when backed up! Maybe theres a problem with your recovery, flash it again from fastboot, only takes a second
Sent from my HTC Desire using Tapatalk
Aye I know what MD5 is, I just couldn't remember the exact words when the MD5 check failed.
The thing is though that I'd already tested the nandroid image by recovering it, all OK. Then made a change to the ROM tried to restore the same (previously working nandroid backup) which failed with the checksum error.
gol_n_dal said:
Aye I know what MD5 is, I just couldn't remember the exact words when the MD5 check failed.
The thing is though that I'd already tested the nandroid image by recovering it, all OK. Then made a change to the ROM tried to restore the same (previously working nandroid backup) which failed with the checksum error.
Click to expand...
Click to collapse
It can also happen of your Sdcard is failing and the files on it are getting corrupted. Since MD5 is a checksum, a change in even a few bytes could cause issues
I too have faced MD5 checksum issues.
1.copy the files to the sd card via the phone mounted as Disk drive mode
2.Safe remove the device from windows
3.Once you unplug, the device will shortly show "Preparing SD card" in the notification bar. Wait for a full minute
4.Switch off device to boot in recovery.
For me, if i dont wait a minute after unplugging the device, clockworkmod will report the files as corrupt. Maybe the device is updating the inode tables and switching the device off immediately after copying and unplugging causes it to corrupt filesystem tables.
I had a backup of my main ROM and did a nandroid backup. I booted into my main ROM and went into Root Explorer and renamed the backup to include UD (as in the ROM it was). I didn't take note of what it was before and now when I try to restore it gives me an error for MD5 Sums. I want to restore the ROM but don't know how to bypass it. Any ideas?
I renamed it because it's annoying trying to figure out which ROM you had when you did that backup.
**** I renamed the file but took out any spaces or special characters and it did the trick**** restoring to ud as we speak.
hi, i used clockworkmod for a while now backed-up, but never really tried to restore from those back-ups....
i just tried to restore a nandroid backup, i went on the PC and re-named backup as something i`d remember put it back on the Desire, and nandroid just fails instantly at `MD5 mismatch`
could this be because the folder name changes after the backup has been made??, thanks.
also i thought i was being thorough by doing a wipe, from nandroid 1st.
Luckily I went advanced `restore sys only`, this went back to basic stock, logged into myy acc on market, downloaded My Backup PRO, restored the apps/dATA i did with that app.
restarted phone, all is good
whats up with md5 missmatch ?
cheers
Don't move the file around next time. Probably induced an error.
_Dennis_ said:
Don't move the file around next time. Probably induced an error.
Click to expand...
Click to collapse
not sure if its moving the file around so much, as the characters in the filename itself
i did a quick backup this morning, left the filename alone,restored it fine.
booted phone, went into Rom manager and renamed the original back-ups with that instead of PC, they now restore ok.
what i did notice though was when renaming from Rom manager it automaticly replaces spaces with _ seems a bit sensitve to certain characters.
must be filenames (or _+ - spaces etc)the are accepted ok on windows creates, arent freindly when nandriod comes to read them?
So heres the situation. I made a backup of my phone using rom manager because I wanted to try out the new cyanogen. I got done playing with it and I went to revert back to my restore I had just created. During the restore I got an md5 mismatch error.
I used the instructions here to repair the restore
http://www.droidforums.net/forum/droid-hacks/40428-checking-md5-sum.html#post430944
su
cd /sdcard/clockworkmod/backup/*rom name (date and time usually)/
md5sum *img > nandroid.md5
reboot recovery
The procedure worked in the sense that I was able to restore the image. The problem is after the restore I am stuck at the white "HTC Incredible" screen. I tried wiping caches and running the restore again but I am unable to get the phone to reboot.
I was able to restore to a much older restore that I had previously created but it lacks alot of updates and changes that I have made since then. Not to mention my Angry Birds saved game.
Looking at the restore files it looks like the folder for the restore contains a hand full IMG files. What i'm wondering is since it appears that the boot process is damaged I'm wondering if I could make a backup of the phone as it is now then take lets say the data.img file (or whatever file i need to recover installed apps and saved games) and overwrite the img files for the restore i just created. I could then use the same procedure I just performed to recreate the md5 hash and run the restore. My home is that will allow me to get my data back and still allow the phone to boot.
What do you guys think? Is it doable or am I going to be in a world of hurt if I start messing with this?
Something else you might try is to restore the latest backup, then do an advanced restore of just the boot partition from your older backup. It's worth a shot I'd think.
Did you put spaces or special characters when you named your backup? This can cause MD5 mismatch errors.
s197 said:
Did you put spaces or special characters when you named your backup? This can cause MD5 mismatch errors.
Click to expand...
Click to collapse
NO, I didn't. I used the default setting. I think it was 2010-12-29.01.34.10 or something like that.
setexascustoms said:
Something else you might try is to restore the latest backup, then do an advanced restore of just the boot partition from your older backup. It's worth a shot I'd think.
Click to expand...
Click to collapse
Thanks man, This worked perfectly. Restoring the boot.img didn't fix the problem but restoring the system.img did. I have all my data back and my phone is fully functional again. Thanks again.