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.
Related
Last week, when I tried to restore a Nandroid backup in Ra_hero 1.6.2 recovery, the process failed. After checking the recovery log, I found that the system stopped the restore process because the data.img md5 checksum is mismatched.
I then cross-checked the md5 of that data.img with the one in the nandroid.md5 in my PC and found them to be different. I then created another nandroid backup and the md5 is also mismatched.
There's no error message during the backup process. Anyone knows what's the problem?
(I'm currently using VillainROM 5.5)
Have the same problem here with Wildfire.Guess it's the problem because I made a backup from SD to HD ?
StratOS_HTC said:
Have the same problem here with Wildfire.Guess it's the problem because I made a backup from SD to HD ?
Click to expand...
Click to collapse
Actually, I've no idea of the cause of this problem. But I remember after upgrading to another VillainROM version, the MD5 checksums are correct again and it's been no problem ever since.
Are you using a custom ROM too?
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.
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.
I did a backup in ROM manager, I went to restore and it said "This does not seem to be a valid backup. The MD5 file is missing." Is there anyway to fix? I'd hate to lose the data .
do another back up in recovery,
I think the problem with doing another backup is he's already wiped.... Maybe.
sent from Incredible ViperDIX
Assuming you're using CWM or a compatible recovery, you can calculate a new md5 by running this command in a terminal emulator from the directory holding your backup files:
md5sum *img > nandroid.md5
Keep in mind, though, if the files were corrupted since the original backup, this will allow them to be flashed, since it's creating the verification md5 based on what's there now, not what was there originally. But it's pretty rare to have files become corrupted just sitting on your sd card. I've done this many times without issue.
Jizzylax said:
I think the problem with doing another backup is he's already wiped.... Maybe.
sent from Incredible ViperDIX
Click to expand...
Click to collapse
ChrisDDD said:
Assuming you're using CWM or a compatible recovery, you can calculate a new md5 by running this command in a terminal emulator from the directory holding your backup files:
md5sum *img > nandroid.md5
Keep in mind, though, if the files were corrupted since the original backup, this will allow them to be flashed, since it's creating the verification md5 based on what's there now, not what was there originally. But it's pretty rare to have files become corrupted just sitting on your sd card. I've done this many times without issue.
Click to expand...
Click to collapse
Sorry guys, I got busy irl. Forgot i posted this.
The file i looked at it on my comp, it was missing half of the files that a complete back up was. I assume it's corrupt. I already have most things back to the way they were, i'll be sure to make a back up in recovery next time.