[How To] Fix md5 mismatch nandroid restore

D

droidpr0

Guest
:)

all i did was change my folder that help all my backed up files that were in Folder named Stockrom to 2010-06-29.20.22.53 just that setup like when u first do a backup.. im sure u could change the numbers a bit but it passed md5 check right away and worked!!! hope this helps. If this helps please thanks me!! im glad to help anyone

---------- Post added at 09:20 PM ---------- Previous post was at 09:16 PM ----------

And no you dont have to fix the md5 through ADB... u can do it just by hooking ur phone up..!!
 

Mix3d

Senior Member
Feb 24, 2008
572
936
0
Amherst
Thanks a TON~

Turns out I also had the issue with spaces... (boot manager lite broke my rom by backing up a corrupt boot.img, and then I ran into this problem)

I made a backup of the nandroid.md5, rather than just deleting it, so I could compare and see which file was not matching, and oddly enough, the md5sums were the same, so I dove further into the thread, and lo and behold, I WAS USING SPACES IN THE FOLDER NAME!

hooray!

CWM should fix that, imo.
 

simple man

Senior Member
Dec 25, 2010
761
260
0
Missouri
I just type su ,(to get superuser rights)then the return key, then copy and paste the commands in the OP , leaving out the # in front of each line. But you need to change the backup name to your exact backup name, date, etc..,then return key. Then use a file explorer to make sure you have a md5 checksum file in the backup folder.

Sent from my SGH-I897 using Tapatalk
 

KodeRiter722

Member
Mar 6, 2011
27
11
0
Boston, MA
when i follow the guide in the first post, everything goes okay untill it gets to the last step, then i get the error:

md5sum: not found

i'm running win 7 x64, do i need to put the md5sum.exe (downloaded a random version i found googlin) into a specific folder? i tried putting it into all of the android-sdk directories and still no luck... any help greatly appreciated

EDIT: nevermind, solved it by using busybox :)
Just to elaborate on this, if folks are also seeing this same error (md5sum: not found) when they get to the last step in the guide, just repeat the process, but this time on the last step, use the command:

Code:
# busybox md5sum *img > nandroid.md5
this worked for me
 
Last edited:

whitetigerdk

Senior Member
Jun 1, 2010
1,057
59
68
Odense
www.dkmdesign.dk
Just to let you know.. didn't work for me.. however.. when doing an advanced restore and making checksum file image by image it worked.. it took some more time - but it worked.. wife got her phone back.. my life is saved :) THANX A LOT!!!
 

crz6662

Senior Member
Jan 30, 2009
480
25
58
pgh, pa
Wondering if moving from an internal to an external SD card would affect the backup? Rooted/Flashed TMO SGS2. Moved from internal 16GB to external 32GB card and couldn't flash the backup. MD5 mismatch. As I recall I attempted to switch back to internal and it still wouldn't work. Never changed the name, and was able to locate the backup via ClockWorkMod on the external card.
 

KodeRiter722

Member
Mar 6, 2011
27
11
0
Boston, MA
Wondering if moving from an internal to an external SD card would affect the backup? Rooted/Flashed TMO SGS2. Moved from internal 16GB to external 32GB card and couldn't flash the backup. MD5 mismatch. As I recall I attempted to switch back to internal and it still wouldn't work. Never changed the name, and was able to locate the backup via ClockWorkMod on the external card.
I have had issues moving backups between internal and external storage. Once you move it back to your internal sd, try this process again, and it should work.
 

LegionCmndr

Member
Feb 5, 2011
29
1
0
started adb shell and navigated to the folder where the backup was stored

md5sum *img > nandroid.md5

created a successfull md5, and no less then 3 days after i tried this she somehow got the phone to go into a boot loop. i booted it into recovery and restored the phone and all was well


directions worked for my daughters samsung vibrant
MIUI with CWM 5.0.?.?