i have just tried to restore a backup (gb) but when i try it says 'md5 mismach' i have checked and all the files are there
I had that problem before... That usually means that u didn't have enough memory on your memory card when u made the backup,,. There is a way around it but if you do get around it won't work u will have a messed up phone
Either that or it means that you changed the backup files, which changed the md5. Even something simple such as changing a file name also alters the md5.
However, you might still be able to restore your backup. Take a look at the OP of this thread right here to generate an md5 file for your backup as it stands right now. This method would also be useful if CWM for some reason fails to create it's own md5 for your backup.
Related
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.
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.
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.
Pls help.
I recently backup my Gnex using Touch CWM before flashing custom kernel. The backup process is successful, but when I tried to restore it, it said MD5sum missmatch. What does it mean and any idea how to solve it?
Thanks in advance.
here's another thread about the matter: http://forum.xda-developers.com/showthread.php?t=1835914
in short, if you have nandroid.md5 then the backup image is corrupt. if, however, you don't, the error you see is due to CWM not being able to find nandroid.md5, then you have to create it yourself as mentioned in the thread.
Woah. I had this problem too, but I didn't have to do any of that to resolve it.
One reason for MD5 mismatch is renaming of the backup folder - apparently you are allowed to append letters at the end of the folder name, but special characters, like space for instance, aren't allowed. (I might be wrong about exactly how you can modify - it depends on the CWM Touch version you're using).
I just removed the changes I'd made to the folder name (the format is yyyy-mm-dd.hh.mm.ss ), and rebooted - presto, CWM restore worked without any hitches