If any of the following is gibberish to you, it’s better to stop reading. Not everything I post is useful to the general public ;-)
If you’re trying to restore a backup of your Android and you get the error message “MD5 mismatch”, then here’s the solution. I was searching for this and found so much bad information. I feel that the correct information needs more publicity, so here’s my contribution to this.
First, here’s the typical problem that you’d experience:
ClockworkMod Recovery v22.214.171.124
Checking MD5 sums…
Now, follow these steps to fix this problem:
- You should already have the Android SDK installed on your computer (Windows, Mac, Linux – doesn’t matter).
- Connect your phone to the computer with the USB cable.
- In a shell or command prompt, enter “adb shell”.
- Enter “cd /data/media/0/clockworkmod/backup”
- Enter “ls” to see the name of your backup. “cd” into that.
- Rename the bad md5 file with “mv nandroid.md5 nandroid.md5.bad”.
- Create a new md5 file with “md5sum *img > nandroid.md5”.
- Now you can reboot into recovery if you didn’t already (the above steps in the adb shell work from recovery as well) and start the restore again. It should work this time!
Come to think of it, I should perhaps write a post about how to create the backup in the first place :-)