[How To] Fix md5 mismatch nandroid restore

CyberdyneSystems

Senior Member
Sep 25, 2012
50
9
0
atlanta
forum.xda-developers.com
so in the end to fix this md5 mismatch you have several ways

1. using the adb shell

2.using the app, 4EXT Recovery Control v2.4.4 ROOTED DEVICES ONLY
( it will attempt to scan and see what phone you have, me (SG2-boost) i chose, HTC Touch)

3. the simple one, delete the nandroid.md5 file
reboot into recovery then restore, creates a new md5 and restores...successfully ( ive done this several times)





about my device:
Samsung Galaxy s2 (Boost mobile)
REcovery: AGAT (uses CWM parts) "agat_recovery tREC_v0.3.4"
kernel: SXTP_Agat_GC01-v0.5.0

success/fails: 8/0
 

Abhy-Boy

Senior Member
Jul 6, 2010
97
21
0
PEKANBARU
Error : Permision denied

I do not have ABD on my Win 7 machine so I had to use CMD as well. I too received an error, however mine basically said that md5sum was not a recognized command. Not sure where you got md5sum for your win 7 machine, but I got mine at the following website... (fourmilab.ch/md5/) and this one worked just fine. Unzip and copy md5.exe to the system32 folder.

If you are still working through this... good luck. Hopefully it can be helpful to someone else either way. --Josh
Check file in your /system/bin/, in my device I can't find md5sum, but I find md5. So last command should be
md5 *img > nandroid.md5

not md5sum *img > nandroid.md5
 

Il Gerry

Senior Member
May 13, 2013
118
12
18
41
Udine
so in the end to fix this md5 mismatch you have several ways

1. using the adb shell

2.using the app, 4EXT Recovery Control v2.4.4 ROOTED DEVICES ONLY
( it will attempt to scan and see what phone you have, me (SG2-boost) i chose, HTC Touch)

3. the simple one, delete the nandroid.md5 file
reboot into recovery then restore, creates a new md5 and restores...successfully ( ive done this several times)





about my device:
Samsung Galaxy s2 (Boost mobile)
REcovery: AGAT (uses CWM parts) "agat_recovery tREC_v0.3.4"
kernel: SXTP_Agat_GC01-v0.5.0

success/fails: 8/0
Hello I tried the 3. (for convenience) .. and says MD5 Mismacht!
now I'll try adb ...
 

mutated_Droid

New member
Dec 15, 2013
2
1
0
it is very simple you just open the md5 file using notepad an delete all its content and then save...
now go to recovery and restore now you should have no error...this method works for almost phones

hit thanks if it helped
 
  • Like
Reactions: d4ndr0id

tealio

Senior Member
Dec 27, 2013
71
32
0
THANKS!

Signed up for XDA just to thank you! I totally fried my Nexus 7 and had a nandroid backup on my PC. I kept getting MD5 errors and found this thread. The only thing is, the command
Code:
md5sum
did not work. i used the command
Code:
md5
and it worked no problem. Is this an error or was the command changed in more recent versions of ADB / Android?

And BTW, THANKS!!!

EDIT::: Seemed to flash correctly, but ended up in a boot loop... I think i may flash CM11 (the base of the backup) first and them try reflashing the backup... We'll see...
 
Last edited:

sheaky

Senior Member
Dec 5, 2010
73
7
0
hi i want to say a more quick way is to install/flash CMW or TWRP with ODIN , that helped me a lot,
samsung s4

---------- Post added at 01:07 AM ---------- Previous post was at 12:57 AM ----------

hi i want to say a more quick way is to install/flash CMW or TWRP with ODIN , that helped me a lot,
samsung s4
 

AGKdrOId

Member
Sep 11, 2013
18
1
0
Verde Valley, AZ
how to navigate using adb on extsdcard?? all of my back up is there..

im new on adb.
either use "adb shell" in teminal and then navigate with cd like any terminal, or use a root browser like ES file explorer if you can get into ROM...also TWRP has file manager, as well as terminal emulator that you can use from recovery.
 

vulturext

Senior Member
Dec 5, 2012
303
43
58
Worked like a charm, thanks a bunch OP. Had a recent backup generate this md5 mismatch error, you saved me a lot of work.

For noobs: ADB commands are entered via an ADB shell.

1. Download the Android SDK here, and the Java SE Development Kit here. Install Java kit FIRST, then Android SDK.

2. Ensure you have the Android USB drivers installed, which you should if you have already rooted and performed a nandroid backup, whether you used Amon RA or ClockworkMod Recovery.

3. On your device, enable USB debugging and when you plugin your phone to your PC, make sure you select 'Charge Only'.

4. In the Android SDK, you will have to select and download the latest SDK Platform-tools, and you can safely ignore the other software packages for the purposes of this issue.

5. Once you've done that, open a command prompt, browse over to the directory where you installed the Android SDK, and in the current version, you will have to browse to the \Android\android-sdk-windows\platform-tools folder. Once you are there, type in 'adb shell' without quotes.

6. You can now enter adb commands. You are entering commands as root if your cursor is a pound sign '#'. If it isn't, type in 'su' without quotes, which requests superuser access. Your phone's screen will prompt you to allow or deny root access to the command shell. Allow it, and you are good to go.

***This is all from memory, so if I've missed something, feel free to correct.
i've done all the step, connect the phone in storage mode, but is says clockworkmod directory is not found in cmd.what did i miss?
 

Pons

Senior Member
Sep 2, 2010
3,933
2,067
0
i've done all the step, connect the phone in storage mode, but is says clockworkmod directory is not found in cmd.what did i miss?
Care to do a screenshot of the command prompt, or cut and paste what you typed (and received) here (please use CODE tags if you do this option)?
 
  • Like
Reactions: Neo

askpcguy

Senior Member
Aug 8, 2010
1,952
189
0
Care to do a screenshot of the command prompt, or cut and paste what you typed (and received) here (please use CODE tags if you do this option)?
Let me Google that for you. Or, let me Bing that for you.

Seriously a simple command is easily found online with a little research.

Sent from my SAMSUNG-SGH-I727 using XDA Premium 4 mobile app

---------- Post added at 07:39 PM ---------- Previous post was at 07:37 PM ----------

I searched for Nandroid Md5 command. http://www.ikevinshah.com/fix-how-to-recover-from-md5-mismatch-cwm-backup-nandroid-backup.html

Sent from my SAMSUNG-SGH-I727 using XDA Premium 4 mobile app
 

Pons

Senior Member
Sep 2, 2010
3,933
2,067
0
Let me Google that for you. Or, let me Bing that for you.

Seriously a simple command is easily found online with a little research.



---------- Post added at 07:39 PM ---------- Previous post was at 07:37 PM ----------

I searched for Nandroid Md5 command. http://www.ikevinshah.com/fix-how-to-recover-from-md5-mismatch-cwm-backup-nandroid-backup.html
Umm, *I* know the commands, believe it or not. I was asking for what he did to verify he's doing it right, and to see his exact error. And even if I didn't know the commands, I wouldn't trust any link you provided due to you binging it. Never liked them. But it looks like you're new around the inc threads, so you probably don't know me.

Edit: Out of sheer curiosity and boredom, I actually clicked on the link you provided, and it's more or less identical to the OP, but the OP is roughly 2 years older. Seriously a simple command is easily found in a [How To] thread with a little OP reading. And better luck next time at being a smart alec. ;)
 
  • Like
Reactions: Neo and Pkt_Lnt

Neo

Senior Mod / MC Committee - The One
Staff member
Aug 4, 2011
13,377
30,848
263
The Matrix
Let me Google that for you. Or, let me Bing that for you.

Seriously a simple command is easily found online with a little research.

Sent from my SAMSUNG-SGH-I727 using XDA Premium 4 mobile app

---------- Post added at 07:39 PM ---------- Previous post was at 07:37 PM ----------

I searched for Nandroid Md5 command. http://www.ikevinshah.com/fix-how-to-recover-from-md5-mismatch-cwm-backup-nandroid-backup.html

Sent from my SAMSUNG-SGH-I727 using XDA Premium 4 mobile app
I sure have learned something here today! If I wanted to find out what sequence of events transpired on a specific user's device, which quite possibly deviated from the original instructions, in the sole effort to help them out, all I simply need do is Google it and magic Google will tell me exactly what that specific member did on their device! :D Thanks buddy.

Forum Moderator
 
Last edited:

Dhanukaprr

New member
Oct 17, 2013
3
2
0
Easier Fix!

Its easier t if u Followed the following method. It doesn't require any advanced knowledge.

1- Open your corrupted Nandroid Backup or the nandroid backup you just what to skip the MD5 checksum while restoring it.
2- Under your Nandroid Backup look for Nandroid.md5 file.
3- Open the Nandroid.MD5 file with any text editor.
4- Delete everything in the nandroid.md5 file.
5- Save your changes to the files.
6- Now go back to recovery and restore your Backup.
7- Done.

BTW THIS IS NOT MY FINDING, I CAN'T POSTS LINKS AS IM A NEW USE. I GOT THIS FROM ;

androidforums .com /galaxy-s2-boost-mobile-all-things-root/720978-how-remove-md5-checksum-nandroid-backup.html
 
  • Like
Reactions: Hypocritus and Neo