• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Clockwork-mod Recovery MD5 mismatch! error FIX

Search This thread

carl1961

Senior Member
Dec 5, 2010
7,521
6,201
Tickfaw
For anyone who has had the Clockwork-mod Recovery MD5 mismatch! error.

Another way: for Example TWRP Cache.ext4.win

most recoverys now have a option to turn off MD5 checking

You can copy your backup folder to your computer, use attached app to check the md5 number , edit md5 file and check and verify and change

this thread is old so md5 file may not be named the same. the picture is TWRP custom recovery

example was with cache.ext4.win that has md5 file named cache.ext4.win.md5

another short cut to try ;)
----------------------------------------------------------------------------
@aeneas1 Thanks!!

i did another google search and found a very simple fix, at least it worked for me, on the first try, and i have tested it successfully with some of my other backups that were also getting the mismatch error.

1. using your phone, navigate to your backup folder using a root browser, i use romm tool box root browser.
2. locate and delete the nandroid.md5 file
3. create a new file and name it nandroid.md5
4. boot into recovery, select restore your backup, and watch the magic begin!

---------------------------------------------------------------------------
Update: thanks @Exca

If you have androids SDK ( ADB installed) try this easer method by Exca

This is a much easier way:

adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5

usually does the trick

DO NOT renamed your backup with spaces Thanks ltredbeard and those who verified

-----------------------------------------------------------------------------------------------------------------------------------------------------------
This is what I did to fix mine and get my backup working again after getting MD5 mismatch! error
I was trying to restore my backup after trying another Rom.


http://forum.xda-developers.com/showpost.php?p=11768066&postcount=2965
 

Attachments

  • Md5Checker.zip
    129.3 KB · Views: 4,790
Last edited:

crz6662

Senior Member
Jan 30, 2009
480
25
pgh, pa
  • Like
Reactions: AlbinKlein

ltredbeard

Senior Member
Apr 7, 2011
168
18
Using these methods fixed my error! Thanks.

BTW: I name my backup and it contained a space. I ended up having to rename the backup w/o the space. Ex. From - Backup Froyo To - BackupFroyo
 
  • Like
Reactions: palswim

Araf

Senior Member
Dec 12, 2010
258
86
Jakarta
This is a much easier way:

adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5

usually does the trick

After follow this easy procedure on my ASUS TransformerTF101, here's the result in my clockworkmod recovery (v3.0.2.8):
1. Checking MD5 sums is OK
2. Restoring system is OK
3. Restoring data is not OK, there is message: ".android_secure.img not found. Skipping restore /sdcard/.android secure.
4. Restoring cache is OK
5. Backup complete

Then after reboot, all my data on that backup file is not restore as expected. I am afraid my data is gone :-(
Can someone help me?
 
  • Like
Reactions: MuhammedRefaat

Whyzor

Senior Member
Jul 7, 2011
714
352
After follow this easy procedure on my ASUS TransformerTF101, here's the result in my clockworkmod recovery (v3.0.2.8):
1. Checking MD5 sums is OK
2. Restoring system is OK
3. Restoring data is not OK, there is message: ".android_secure.img not found. Skipping restore /sdcard/.android secure.
4. Restoring cache is OK
5. Backup complete

Then after reboot, all my data on that backup file is not restore as expected. I am afraid my data is gone :-(
Can someone help me?

I'm guessing by following the zip instructions, you deleted the ".android_secure.img" since it says it's safe to delete if there's a nandroid.md5 file already. But that .md5 file does not match the original. So the backup was likely messed up when trying to fix it with the .zip instructions.

I believe the easier method in post #4 should be tried first on a fresh backup dir.
 

dgsmith90

Senior Member
May 15, 2010
137
4
I'm guessing by following the zip instructions, you deleted the ".android_secure.img" since it says it's safe to delete if there's a nandroid.md5 file already. But that .md5 file does not match the original. So the backup was likely messed up when trying to fix it with the .zip instructions.

I believe the easier method in post #4 should be tried first on a fresh backup dir.

For future reference to all. What I do all the time is when I make a backup, I hook the tablet up to my pc and back the backup to my PC. This saved me from having to do those steps. I just rewrote the backup on my sdcard and it worked.
 

ummati

Member
Jan 3, 2011
5
0
Thanks that worked for my mytouch 4G.

Works like a charm, Thanks Again!

For anyone who has had the Clockwork-mod Recovery MD5 mismatch! error.

Update: thanks Exca

If you have androids SDK ( ADB installed) try this easer method by Exca

This is a much easier way:

adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5

usually does the trick



This is what I did to fix mine and get my backup working again after getting MD5 mismatch! error
I was trying to restore my backup after trying another Rom.


http://forum.xda-developers.com/showpost.php?p=11768066&postcount=2965
 

_Mephisto_

Senior Member
Sep 18, 2011
93
13
Mönchengladbach
For anyone who has had the Clockwork-mod Recovery MD5 mismatch! error.

Update: thanks Exca

If you have androids SDK ( ADB installed) try this easer method by Exca

This is a much easier way:

adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5

usually does the trick



This is what I did to fix mine and get my backup working again after getting MD5 mismatch! error
I was trying to restore my backup after trying another Rom.


http://forum.xda-developers.com/showpost.php?p=11768066&postcount=2965

he... good work, thanks very much.

it helps me
 

toonhead85

Senior Member
May 29, 2011
90
4
Virginia
For anyone who has had the Clockwork-mod Recovery MD5 mismatch! error.

adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5

usually does the trick

THANKS SO MUCH!!! I thought that I was going to lose a bunch of stuff after I formated my SD card (thankfully I had a backup on my computer) while watching Netflix. This really saved my life and I'll be bookmarking this!
 
  • Like
Reactions: thesebastian

bboy_201

Senior Member
Apr 12, 2009
470
14
37
thank you

i used your code now hopefully i will have my 4g back with the back up im restoring right now

UPadte:
I restored a backup from when my 4g was working and nothing changed I still can't get 4g to connect!
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 59
    For anyone who has had the Clockwork-mod Recovery MD5 mismatch! error.

    Another way: for Example TWRP Cache.ext4.win

    most recoverys now have a option to turn off MD5 checking

    You can copy your backup folder to your computer, use attached app to check the md5 number , edit md5 file and check and verify and change

    this thread is old so md5 file may not be named the same. the picture is TWRP custom recovery

    example was with cache.ext4.win that has md5 file named cache.ext4.win.md5

    another short cut to try ;)
    ----------------------------------------------------------------------------
    @aeneas1 Thanks!!

    i did another google search and found a very simple fix, at least it worked for me, on the first try, and i have tested it successfully with some of my other backups that were also getting the mismatch error.

    1. using your phone, navigate to your backup folder using a root browser, i use romm tool box root browser.
    2. locate and delete the nandroid.md5 file
    3. create a new file and name it nandroid.md5
    4. boot into recovery, select restore your backup, and watch the magic begin!

    ---------------------------------------------------------------------------
    Update: thanks @Exca

    If you have androids SDK ( ADB installed) try this easer method by Exca

    This is a much easier way:

    adb shell
    # cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
    # rm nandroid.md5
    # md5sum *img > nandroid.md5

    usually does the trick

    DO NOT renamed your backup with spaces Thanks ltredbeard and those who verified

    -----------------------------------------------------------------------------------------------------------------------------------------------------------
    This is what I did to fix mine and get my backup working again after getting MD5 mismatch! error
    I was trying to restore my backup after trying another Rom.


    http://forum.xda-developers.com/showpost.php?p=11768066&postcount=2965
    19
    This is a much easier way:

    adb shell
    # cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
    # rm nandroid.md5
    # md5sum *img > nandroid.md5

    usually does the trick
    2
    Please advise, the .android_secure image file is NOT irrelevant. Don't just delete it.

    Also, the md5sum command suggested will fail to create an md5 checksum for the .android_secure image file as it won't include hidden files (files that begin with a dot). It'll also fail to create checksums if your files aren't all called .img (depending on version CWMR may also create tar files).

    This is the 100% safe command to issue, it'll create checksums for ALL files in the directory:

    Code:
    md5sum .* * > nandroid.md5

    Ignore these warnings:

    Code:
    md5sum: .: Is a directory
    md5sum: ..: Is a directory

    It's just telling you that it's skipping the two "special directories" that exist in any directory, "." for "current directory", and ".." for "parent directory".

    Be aware that if a nandroid.md5 already exists, it'll also be checksummed when you do it this way, so always remove it first if you're recreating the nandroid.md5, i.e. do

    Code:
    rm nandroid.md5

    Or, everything in one line without warnings:

    Code:
    rm nandroid.md5 2>/dev/null; md5sum .* * > nandroid.md5 2>/dev/null

    EDIT: Don't forget to check if you've renamed the folder first - in my case, that was the real problem - I'd added " (Stock)" to the end of the folder name, and CWM didn't like it :)
    1
    For anyone who has had the Clockwork-mod Recovery MD5 mismatch! error.
    This is what I did to fix mine and get my backup working again after getting MD5 mismatch! error
    I was trying to restore my backup after trying another Rom.


    http://forum.xda-developers.com/showpost.php?p=11768066&postcount=2965

    Wished I'd have seen this before deleting 4 different backups. Can you tell me what exactly this zip does ?