CWM Recovery - MD5 mismatch - Optimus One, P500, V Q&A, Help & Troubleshooting

Hey there,
since a few time I can't restore my recently made backups..
Everytimes I want to restore the CWM Recovery says
"Checking MD5 sums
MD5 mismatch" ..
I've already searched the forum and couldn't find a thread in here..
Also the solutions I found on google didn't help me..
Any tips?
Thanks in advance..
EDIT: Recoverysystem is 5.0.2.0

I've had this happen once when I went in and changed name of my backup from cwm's default date and time naming to something else. Other than that not sure why you'd be getting mismatch error except for a maybe a bad sdcard.
You could try reflashing the recovery to rule out a bad flash of the recovery
Sent from my LG-VM670 using XDA App

Well, I didn't change the name..
Reflashed the recovery, still got the Problem.. :/
Sent from my LG-P500 using Tapatalk

Could be a bug in the recovery. I'd try flashing another recovery and see if that helps. Lots of different recoveries out there so just make sure the one you try supports your phone.
Sent from my LG-VM670 using XDA App

Of course it supports my phone. I've installed it from ClockWorkMod and chose LGE Optimus One. And it worked a few time before without problems.. :/
Sent from my LG-P500 using Tapatalk

Found this you might try to rebuild your md5smd5s
http://forum.xda-developers.com/showthread.php?t=714114

Hi,
I also got the same problem some time ago. But for me this is because i deleted the ext partition on my phone after the backup has been taken. So i think any hardware changes may result this.

So this might be because I've changed SD-card for flashing another ROM in between?
@kwkbnk : Thanks, but I've already tried this before...

kwkbnk said:
Found this you might try to rebuild your md5smd5s
Click to expand...
Click to collapse
I had this problem on one of my phones. I had deleted one of the files. (an extra sd-ext backup file that I did not need). The first thing that recovery does is check the MD5 sum of all the files. If it can't find one, it just says MD5 does not match and stops. It tries to check all files even if you tell recovery you only want one restored. I fixed it by modifying the nandroid.MD5 file. It is a text file with one line for each file, listing each file's name and its MD5 sum. I just edited the file and removed the line for the missing file and all was well, I was able to restore all the other files with no errors. I also noted that I could remove all the entries so it was an empty file and recovery restored all files without checking MD5s at all. That's not a good idea in case there is a file error, but there may be times when it's necessary.

Where do I find the nandroid.MD5?
Couldn't find it anywhere..

unicycler said:
Where do I find the nandroid.MD5?
Couldn't find it anywhere..
Click to expand...
Click to collapse
Mine was in the same folder that had the img files. Clockworkmod/backup on your SD card. There is a folder inside that for each backup you have made.
EDIT: I just looked at that referenced post above and that script first removes the nandroid.md5 file and then rebuilds a new one. If you got an error and the script did not finish, then there would be no nandroid.md5 file. If you feel brave, you can create an empty nandroid.md5 text file and I believe recovery will skip the md5 check. At least it did for me. That's no worse than building a new one from the files you have with the script. If there was a bad file, recovery would try to install the file anyway since the new md5 sums match.

For me it happen when my memory card storage is low I did a backup.
Sent from my LG-P500 using Tapatalk

I built an empty nandroid.md5 with editor, then it worked again, thanks!!
Sent from my LG-P500 using Tapatalk

Same prob here help?
Sent from my LG Optimus One P500 using XDA App

WhatTheFlash said:
Same prob here help?
Sent from my LG Optimus One P500 using XDA App
Click to expand...
Click to collapse
Just go back and read my last few posts here. It tells you everything you need to know.

WhatTheFlash said:
Same prob here help?
Sent from my LG Optimus One P500 using XDA App
Click to expand...
Click to collapse
You can find the solution a view posts before, as already said.
I've uploaded an empty nandroid.md5 which causes the md5 sum is not checked.
Just copy it into your backup on SD (for example /clockworkmod/backups/2011-12-01.13.55.09).
You can find the MD5 here (xda-attechments don't support .md5-files).
Remember it could crash if your error is not caused by an missing nandroid.md5 .

OMG, helps alot
my eternal thanks

Thx unicycler! Saved me a lot of hours of frustration -I was just about ready to reinstall minicm7 on my X8 when I saw this thread! Your uploaded file fixed it all.
Thank you!!!

Leapinlar, please, can you reupload the MD5? The download link is broken

I will do this evening. Just forgot to do..
Sent from my LG-P500 using Tapatalk

Related

clockwork-recovery MD5 mismatch FIX!

HEY GUYS I JUST FOUND THE KEY TO THE PROBLEM---clockwork-recovery MD5 mismatch IS VERY SIMPLE...
1.OPEN SD CARD IN WINDOWS.
2.DOWNLOAD 2 SOFTWARES ( MD5 CALCULATOR AND NOTEPAD++) JUS GOOGLE THEM AND INSTALL.
3.OPEN CLOCKWORK FOLDER IN SD VIA COMPUTER->BACKUP->(YOUR BACK).
4.NOW RIGHT CLICK ON NANDROID.MD5 AND EDIT WITH NOTEPAD++
5.GREEN HIGHLIGHTED PHRASE IS A KEY.
6.RIGHT CLICK ON REST EVERY FILE IN BACKUP FOLDER INDIVIDUALLY->MD5 CALCULATOR
7.MATCH THE KEY TO THAT OF NOTEDPAD++ FILE
8.IF THEY DONT MATCH COPY KEY FROM MD5 CALCULATOR AND PASTE IN NOTEPAD
9.SAVE AND EXIT.
10.NOW TRY RECOVERY IT;LL WORK.
MD5 is there for a reason...
Sent from my GT-S5670 using XDA App
Aspire said:
MD5 is there for a reason...
Sent from my GT-S5670 using XDA App
Click to expand...
Click to collapse
what reason??
can you share??
(and why did you change the name?)
Wikipedia said:
MD5 digests have been widely used in the software world to provide some assurance that a transferred file has arrived intact. For example, file servers often provide a pre-computed MD5 (known as Md5sum) checksum for the files, so that a user can compare the checksum of the downloaded file to it. Unix-based operating systems include MD5 sum utilities in their distribution packages, whereas Windows users use third-party applications.
Click to expand...
Click to collapse
Successful verification of the md5 file shows that the files are the same as at the time of packing and "not corrupted".
Consider this,
You flash a ROM which did not have a correct md5 checksum.
It may mean that the ROM was corrupted due to some reason and you may end up with a bricked phone.
though the chances of this happening are pretty low with a backup.. but better safe than sorry.
and i changed my username cause i liked it
arhant said:
HEY GUYS I JUST FOUND THE KEY TO THE PROBLEM---clockwork-recovery MD5 mismatch IS VERY SIMPLE...
1.OPEN SD CARD IN WINDOWS.
2.DOWNLOAD 2 SOFTWARES ( MD5 CALCULATOR AND NOTEPAD++) JUS GOOGLE THEM AND INSTALL.
3.OPEN CLOCKWORK FOLDER IN SD VIA COMPUTER->BACKUP->(YOUR BACK).
4.NOW RIGHT CLICK ON NANDROID.MD5 AND EDIT WITH NOTEPAD++
5.GREEN HIGHLIGHTED PHRASE IS A KEY.
6.RIGHT CLICK ON REST EVERY FILE IN BACKUP FOLDER INDIVIDUALLY->MD5 CALCULATOR
7.MATCH THE KEY TO THAT OF NOTEDPAD++ FILE
8.IF THEY DONT MATCH COPY KEY FROM MD5 CALCULATOR AND PASTE IN NOTEPAD
9.SAVE AND EXIT.
10.NOW TRY RECOVERY IT;LL WORK.
Click to expand...
Click to collapse
Or you can simply use the app root toolbox available in the market.
Sent from my Galaxy Fit @ 801Mhz- RazoDroid
Aspire said:
Successful verification of the md5 file shows that the files are the same as at the time of packing and "not corrupted".
Consider this,
You flash a ROM which did not have a correct md5 checksum.
It may mean that the ROM was corrupted due to some reason and you may end up with a bricked phone.
though the chances of this happening are pretty low with a backup.. but better safe than sorry.
and i changed my username cause i liked it
Click to expand...
Click to collapse
what's your real name, btw?? :curious:
and buddy, why don't you join us on fb? see my sig vvvv
Congratulations arihant you made FIT to appear on XDA Portal !!
invincible authority said:
congratulations arihant you made fit to appear on xda portal !! :d
Click to expand...
Click to collapse
thnx even i didnt knew that..thnx for telling..
You are GENIUS THX!!!
Aspire said:
MD5 is there for a reason...
Sent from my GT-S5670 using XDA App
Click to expand...
Click to collapse
Well yeah, MD5 is a great thing when it comes to checking consistency of a file, but for example, it bothers me because i have about 5-6 rom backups and they are all difrent roms, so i need to change the name of folder from date-time stamp to name of the rom, but when i do that i cant restore it any more because MD5 checksum apperantly checks the folders name also so i have to rename it again to date stamp... but sometimes it can be useful... just sayin'
I don't think cwm checks the backup names. I've got a couple of backups renamed to the ROM names and they work well.
well i dont know then, when i change their name back to the time stamp like 2012-03-15 11.12.32 then the restore will work, but when i leave a name like CM 7.2 rc5.5, when i chose restore, it prints out md5 checksum mismatched...
Same thing happens with me too..renaming the cwm backup file leads to the same mds mismatch error but sometimes it works..strange eh??
That never happens for me...
Sent from my GT-S5670 using XDA
Well I am an experienced hacker so ill explain. I do not have a brief knowleage about md5 but the md5 is calculated by the alphablet that it has lets say the name is ABHY then the md5 will be 1670 (This is an expamle) the other name is ZXDR the md5 will be 7304 now if you change the name the md5 does not change hence the error arises
Sent from my GT-S5670 using xda premium
yeah i know that, but i thought that he makes MD5 checksum of backup files, one by one, and not the whole folder...
slobo14 said:
yeah i know that, but i thought that he makes MD5 checksum of backup files, one by one, and not the whole folder...
Click to expand...
Click to collapse
Its assigned to the whole file
Sent from my GT-S5670 using xda premium
It looks like this is the case, I havejust spent the last hour trying to "repair" the Md5 checksums as described above only to find there was no problem with them, the problem was i had renamed the backup file. on checking in details when the file was created i renamed the file accordingly and voila the backup worked. I have renamed many backup files before and never had this problem but i did this time strange.
Informative post...
but MD5 checksum verification is useful...
I got md5 checksum error and it was caused by space in renamed folder name. After i remove space, restore worked.

[Q] MD5 Mismatch error while installing Lithium v1.2

So I'm having trouble getting Lithium v1.2 to successfully install on my phone. I followed the steps exactly as they were written however when I go to click restore it gives me an error that says "MD5 Mismatch Error"
From my understanding of the nandroid.MD5 file, it's supposed to be created with the backup, and since Lithium ROM is supposed to be a CWM restore, I'm confused as to why I might be having this issue?
I think I may have fixed it. For some reason when I moved the file to my sd card, it created an extra file path so when I tried to restore it, there was nothing there. It's currently restoring so hopefully it works!
thezoolander said:
I think I may have fixed it. For some reason when I moved the file to my sd card, it created an extra file path so when I tried to restore it, there was nothing there. It's currently restoring so hopefully it works!
Click to expand...
Click to collapse
Also one thing to note... when you rename a backup DONOT have any spaces in the name. It will case a md5 mismatch error.
Sent from my Atrix 2 using XDA

[Q] help! can't install atrixsonyav4

I can't get atrixsonya v4 to install right. I keep getting md5 mismatch error. could really use the help.
Are they any spaces in the name of the backup?
Sent from my MB865 using XDA
No spaces in the back up
Sent from my MB865 using XDA
Are you downloading from your phone or computer? I was getting the same problem when I tried several times to download/extract on my phone. I downloaded and extracted on my computer and it worked first time.
Sent from my MB865 using XDA
da_rager said:
No spaces in the back up
Sent from my MB865 using XDA
Click to expand...
Click to collapse
Is there a file called "nandroid.md5" in the backup?
Sent from my MB865 using XDA
I'm downloaded it to my pc and extract multiple times n still get the same md5 mismatch error. i've never had is much of a issue on a rom. if anyone can send me a better link to download the rom that be great.
da_rager said:
I'm downloaded it to my pc and extract multiple times n still get the same md5 mismatch error. i've never had is much of a issue on a rom. if anyone can send me a better link to download the rom that be great.
Click to expand...
Click to collapse
Try redownloading it. The file may have corrupted as it was downloaded.
Use MD5_SHA-1 Utility to compare your MD5 with the MD5 code was provided
MD5 CHECKSUMS:
SonyaV4AtriXperia zip
a55f85d1ff1a17544402520cd96b814e
system.ext3.tar
8caaf900f90766a1e58b4819125af94d
AtriXperiaSonyaV4Update_1.zip
993b562adc2987340b35061599629a8c

MD5Sum mismatch

I dl'd the CWM Image of v21e GB off the Android development page, but when I restore it, I get MD5Sum mismatch.
help?
Have you tried to redownload it? Might be bad download.
I have mirrors here if you meant the v21e nandroid
V21E
Also what version of CWM are you using? I've had the least amount of issues with 5.0.2.0
Sent from my LG-P999
nitrogen618 said:
I dl'd the CWM Image of v21e GB off the Android development page, but when I restore it, I get MD5Sum mismatch.
help?
Click to expand...
Click to collapse
Don't rename directories or files, Nandroid MD5 has to match filepaths too.
I was messing with my keyboard layout bininaries the other day. I made a backup with cwm before hand. I went to restore and received this same message while restoring.
I did not mess with any file names, etc.
Sent from my LG-P999 using xda premium
Try the solution in this thread:
http://forum.xda-developers.com/showthread.php?t=976453
Whyzor said:
Try the solution in this thread:
http://forum.xda-developers.com/showthread.php?t=976453
Click to expand...
Click to collapse
Sure it'll flash now, but if there's a reason for the hash's mismatch then you could have a corrupted backup. No harm trying though.
Jufjufjuf said:
Sure it'll flash now, but if there's a reason for the hash's mismatch then you could have a corrupted backup. No harm trying though.
Click to expand...
Click to collapse
Could make a copy of the original backup dir, remove the .md5 checksum in the copy so it generates a new one and restore from there. If it doesn't work, you still have the untouched original dir.

[q] md5 help needed

Hello,
This is my first post here on xda and I have a problem that needs solved. I have a HTC Sensation XE with CWM 5.0.2.0 and i have the dreaded MD5 mismatch. I edited the folder name to Stock_Backup when I tried a new ROM, after flashing the rom I remembered that I forgot to install the gapps after I got stuck in a bootloop. I then tried to get back to stock and I got the words that have haunted me for the past 3 days MD5 mismatch. Of course I tried to rename the folder back to the time stamp, but that did not work. I tried editing the .MD5 file with Notepad++, that also did not work. I sorta need my phone as I use it for a number of different things, I also don't want to sent it to HTC for them to say I have to pay a fine out of my Nexus7 money jar. PLEASE HELP ME!!!
this should surely help you
EDIT: also this one only see solution "one"
thanks, I'll give it a try:highfive:
ganeshp said:
this should surely help you
EDIT: also this one only see solution "one"
Click to expand...
Click to collapse
DARN IT!!! DID NOT WORK!!!:crying:
GDcrazycommando said:
DARN IT!!! DID NOT WORK!!!:crying:
Click to expand...
Click to collapse
the script ran fine ?
also what all files are present in the backup folder ?
btw the phone should not bootloop just because you didnt have gaaps
EDIT: just had a look at the script ..it should be modified a bit (that is not made for sensation) ...just post all the file names I'll modify the script and will post it back
EDIT2: also if possible post the contents of the nandroid.md5 file inside the backup (for reference)
try this attached script instead of the other script and repeat the process as explained in the linked first thread

Categories

Resources