[Q] MD5 Mismatch when Restoring backup - Android Q&A, Help & Troubleshooting

Hello Everybody,
I'm new to this forum and I hope posted this in the right section.
I have a Coolpad F1 TD-SCDMA. Today I flashed a custom ROM but I want my original ROM back.
So I wanted to restore the backup I earlier made today. When I am in CWM and choose restore it gives me: MD5 Mismatch!
I went to check for it in the directory but i didn't see any .md5 file.
Here is a guide for a similair problem, but since I am new to this and as he said in the topic: he ported it for One V. I am not sure if it will work.
I hope someone can help me with this.
Thanks in advantage!

HarlemOrange said:
Hello Everybody,
I'm new to this forum and I hope posted this in the right section.
I have a Coolpad F1 TD-SCDMA. Today I flashed a custom ROM but I want my original ROM back.
So I wanted to restore the backup I earlier made today. When I am in CWM and choose restore it gives me: MD5 Mismatch!
I went to check for it in the directory but i didn't see any .md5 file.
Here is a guide for a similair problem, but since I am new to this and as he said in the topic: he ported it for One V. I am not sure if it will work.
I hope someone can help me with this.
Thanks in advantage!
Click to expand...
Click to collapse
Yea, that SHOULD work.

Just tried it when typing in: 'adb shell' in cmd I get: 'error: device not found'.
Drivers are installed I think, I can see the files on my phone of my SD and emulated SD card.
Any suggestions?
Edit: It WILL find my device when turing on Mass Storage (MTP) instead of charging only.

I tried this using MTP.
Code:
# cd /sdcard/clockworkmod/backup/2014-10-08.08.47.17/
# rm nandroid.md5
# md5sum *img > nandroid.md5
Then I went back to CWM to restore the backup but still the MD5 mismatch.
Edit:
I wonder how this MD5 mismatch error even started.

HarlemOrange said:
I tried this using MTP.
Code:
# cd /sdcard/clockworkmod/backup/2014-10-08.08.47.17/
# rm nandroid.md5
# md5sum *img > nandroid.md5
Then I went back to CWM to restore the backup but still the MD5 mismatch.
Edit:
I wonder how this MD5 mismatch error even started.
Click to expand...
Click to collapse
Did you start with adb shell while connected in MTP? Did you look with a file manager to see if it is creating the md5 file? Did you try Method 3 with busybox? As far as what causes it, it's explained in the first post of that thread.

es0tericcha0s said:
Did you start with adb shell while connected in MTP? Did you look with a file manager to see if it is creating the md5 file? Did you try Method 3 with busybox? As far as what causes it, it's explained in the first post of that thread.
Click to expand...
Click to collapse
Thanks for the response. First I started try with charge only. When that didn't work I start with adb shell whil connected in MTP.
Yes, but unfortunatly it isn't. No, did not try method 3 yet.
But I did try this. It is the same method but without adb. But as you can see in the other topic:
HarlemOrange said:
When I try the following command:
Code:
#cd /sdcard/clockworkmod/backup/2014-10-08.08.47.17
I get this:
Code:
No such file or directory
Did it like 3/4 times now and I'm pretty sure I did not make mistakes when typing.
Click to expand...
Click to collapse
Looks like this (third paragraph) is the problem: Not enough space to finish the backup. I will install the sotck rom shortly and try to restore the data.

Related

[Q] ClockworkMod restore failing:changed backup name!

I've got 3 CWM backups on the internal memory of my Samsung SG2.
I tried to restore one and it failed on md5 mismatch/error (or something to that effect...) - tried the others - all returned the same error, yet when I'd actually backed them up, they all completed successfully.
The one thing I did to them all, was give them a more recognisable name, rather than just the date & time so I knew which ROM they were...so out of interest, I backed up my existing (new) Cognito ROM while still in CWM, then when it had finished the back up, immediately tried to restore the newly backed up ROM....and it worked! Is it failing on the others because I've renamed the CWM backup folder?? I'm sure I've done this in the past on my old HTC Desire, and had no problems
Also, is there a way to rescue the backups I've done by generating a new md5 checksum for the renamed backups...or are they toast now??
Thanks for any help...
Willie_Heckerslyke said:
Also, is there a way to rescue the backups I've done by generating a new md5 checksum for the renamed backups...or are they toast now??
Thanks for any help...
Click to expand...
Click to collapse
Google and you will find:
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53 (Which is your clockwork mod backup folder)
# rm nandroid.md5
# md5sum *img > nandroid.md5
Do this from a terminal emulator or from adb...
Thanks karendar...but I'm afraid I'm a bit crap at adb and that kinda stuff
I've downloaded an emulator off the market and when I fire it up, I got a $ prompt; found out how to get # prompt but when I put all that in, it gives the following error:-
"md5sum: can't open '*Img': No such file or directory"
When I looked inside the backup folder, there are a series of img files so is the wildcard * is to be put for each file in the back up folder? (I tried one of them - the boot.img file in there, this time there was no error brought up....but I also never got any 'success' confirmation or anything
Help
(BTW....whenever I type the letter 'i' - it changes into a capital 'I' all the time... What's that all about??)
**Bump** anyone??
Rename your backups and make sure there are no spaces in the names. Or keep them to a maximum of one space.
That way there will be no problem with md5 mismatch.
Considering your issue with md5sum: turn off autocorrection in your keyboard settings, and then make sure the command you are typing is
Code:
md5sum *.img
Note that as Android is Linux, capitalisation matters, and *Img will return no results at all.
Thanks dude, i had the same problem on my P500, and your tip helped a lot!
Especially since my phone was stuck in a bootloop and my recoverys wouldnt work... You learn something every day!
Gasai Yuno said:
Rename your backups and make sure there are no spaces in the names. Or keep them to a maximum of one space.
That way there will be no problem with md5 mismatch.
Considering your issue with md5sum: turn off autocorrection in your keyboard settings, and then make sure the command you are typing is
Code:
md5sum *.img
Note that as Android is Linux, capitalisation matters, and *Img will return no results at all.
Click to expand...
Click to collapse
..

[Q] Clockwork-mod Recovery MD5 mismatch!

im trying to restore backup using Clockwork-mod Recovery
but MD5 mismatch!
im trying this method too
adb shell
# cd /sdcard/clockworkmod/backup/2012-02-13.35.59
# rm nandroid.md5
# md5sum *img > nandroid.md5
Click to expand...
Click to collapse
but after i type cmd # md5sum *img > nandroid.md5
i got the mcj
md5sum : permission denied
any ideas to fix this error?
problem fixed.
topic closed.
StereO_ said:
problem fixed.
topic closed.
Click to expand...
Click to collapse
Howdy mate.... I stumbled upon this thread by accident, so I don't have the issue you experienced, but might I suggest that you explain how you fixed your issue, or post a link to the pertinent info?
That way if someone with the same problem comes up here it won't be a dead-end and there will be a solution attached to this thread, making it useful.
Share the knowledge
yeah, what did you do???
i have experienced that too.. and havent got the answer.. so the only thing i could do was just restore my other backup but was a month after the latest backup.. how did you fix it?
StereO_ said:
im trying to restore backup using Clockwork-mod Recovery
but MD5 mismatch!
im trying this method too
but after i type cmd # md5sum *img > nandroid.md5
i got the mcj
md5sum : permission denied
any ideas to fix this error?
Click to expand...
Click to collapse
md5 *img > nandroid.md5
Because file in /system/bin is md5, not md5sum
Nice.. bumping a year old thread.
I have the same problem, I backup from cwm, then when I want to restore with the same version of cwm, the log sais md5 missmate,

MD5 checksum mismatch error

Question guys. I'm trying to restore a nandroid backup and keep getting the md5 checksum mismatch error. I have a few nandroids that work at the moment. I know this is a stupid question but I thought worth a try. If I replace the files from the nandroid backup that gets the md5 error and move all the files over to a nandroid thats working, is this possible? The only file I won't be replacing is the nandroid.md5 file. I've moved the boot, cache.ext4, data.ext4, system.ext4 files that I would like to restore. Thanks in advance guys!
Please close thread. Got it fixed!
stevehkim said:
Please close thread. Got it fixed!
Click to expand...
Click to collapse
Put [SOLVED] in the title and edit your post to reflect what you did.
Just for future reference there is a guide on how to fix this found here: http://forum.xda-developers.com/showthread.php?t=976453
# md5sum *img > nandroid.md5 not executing
Iam trying to execute the commands listed to fix mismatch error but on executing
# md5sum *img > nandroid.md5 an error comes saying "md5sum: not found"
what could be the reason.plz help?
coolboyforeva said:
Iam trying to execute the commands listed to fix mismatch error but on executing
# md5sum *img > nandroid.md5 an error comes saying "md5sum: not found"
what could be the reason.plz help?
Click to expand...
Click to collapse
Actually if you're trying to restore a backup and get that md5 mismatch error it usually means that there is characters in the backup's folder name that it won't recognize, try renaming the backup folder name with no spaces or hyphens, I usually only use letters and numbers with no spaces, try that and it should be ok at that point...
EDIT: Also I don't recommend moving the files into a working backup folder as the md5sum is generated for each specific backup and you could have problems if the md5sum doesn't match the files that they were created for...
goldeneagle1972 said:
Actually if you're trying to restore a backup and get that md5 mismatch error it usually means that there is characters in the backup's folder name that it won't recognize, try renaming the backup folder name with no spaces or hyphens, I usually only use letters and numbers with no spaces, try that and it should be ok at that point...
EDIT: Also I don't recommend moving the files into a working backup folder as the md5sum is generated for each specific backup and you could have problems if the md5sum doesn't match the files that they were created for...
Click to expand...
Click to collapse
I renamed the folder to abcdef123 and tried restoring the ICS backup (downloaded from a thread here) thru CWM but same result.. md5 mismatch.
I restore GB backup but it gets restored everytime.
Also i have checked the md5 checksum of each file thru a pc software.. and they are correct.. same as calculated by s/w
problem lies smwhere else..!?!?!?!?!?!???
does any1 knows some other location of ICS backup other that this http://forum.xda-developers.com/showthread.php?t=1888536
plzz share if you know !

**SOLVED** nandroid backup MD5 issues... desperate here :(

Hi guys,
I currently have a Zopo ZP300 phone
I have no issues getting CWM to install or work, but when trying to create a rom backup things start to go funny.
Firstly, the backup takes hours to complete.. 2~3 hrs.
- I end up with :
boot.img approx 3.8 Gigs in size
cache.ext4.tar approx 17kb
data.ext4.tar approx 334 MB
recovery.img approx 3.8 Gigs
system.ext4.tar approx 386 MB
Secondly, when the backup completes, i am greeted with "Error while generating md5 sum"...
I have factory reset the phone, i have wiped all caches, Dalvik etc, etc... no luck.
I have also tried Terminal Emulator to generate a MD5 and end up with nandroid.md5 of 0 Kb in size which is useless..
Anyone ??
Get 4EXT recovery and you will never have any sort of problems installing or updating custom roms. Its free, constant updates, touch based interface, and easier to use than clockwork.
Sent from my HTC Desire using xda app-developers app
chico1620 said:
Get 4EXT recovery and you will never have any sort of problems installing or updating custom roms. Its free, constant updates, touch based interface, and easier to use than clockwork.
Sent from my HTC Desire using xda app-developers app
Click to expand...
Click to collapse
Is it compatible with ZP300 ?
Can you make backup with it ?
Cheers
Not sure about compatibility but yes you can make backups everything you do with clockwork you can do with 4EXT and more
Sent from my HTC Desire using xda app-developers app
chico1620 said:
Not sure about compatibility but yes you can make backups everything you do with clockwork you can do with 4EXT and more
Sent from my HTC Desire using xda app-developers app
Click to expand...
Click to collapse
Thx for the help but app not compatible
cheers
Ok.
I tried again to make a backup, but again i get "could not generate md5 file" error.
So now i tried to make md5 using ABD and md5sum command, but i get "sh: md5sum: not found" error.
I also tried terminal emulator with same result..
Now what do i do ? Why do i get "not found" error ?
Is there another way to make md5 ?
I really need to make a reliable nandroid backup...
vvulture said:
Ok.
I tried again to make a backup, but again i get "could not generate md5 file" error.
So now i tried to make md5 using ABD and md5sum command, but i get "sh: md5sum: not found" error.
I also tried terminal emulator with same result..
Now what do i do ? Why do i get "not found" error ?
Is there another way to make md5 ?
I really need to make a reliable nandroid backup...
Click to expand...
Click to collapse
Recovery might be generating a corrupt md5.
Ok try this:
Code:
cd /sdcard/clockworkmod/backup/XXXXXX/
rm nandroid.md5
md5sum *.img > nandroid.md5
This should do the trick because the md5sum file must be named nandroid.md5
venoma333 said:
Recovery might be generating a corrupt md5.
Ok try this:
Code:
cd /sdcard/clockworkmod/backup/XXXXXX/
rm nandroid.md5
md5sum *.img > nandroid.md5
This should do the trick because the md5sum file must be named nandroid.md5
Click to expand...
Click to collapse
Thx so much for replying venoma....
Since posting this, i found another thread ( post #112 ):
http://forum.xda-developers.com/showthread.php?t=714114&page=12
It actually generated a MD5 file. :laugh:
Now, as i type, i started a recovery process to test, and so far so good.
Cheers :good:
**UPDATE**
Restore completed successfully !! Yay !! :good:
Big thank you to those that helped...
Where to find a working clockworkmod recovery for the ZOPO ZP300?
THank you!
blackspawn2 said:
Where to find a working clockworkmod recovery for the ZOPO ZP300?
THank you!
Click to expand...
Click to collapse
There ---> http://bbs.zopomobile.com/forum.php?mod=viewthread&tid=21332&highlight=卓普ZP300
The site is in Chinese but Google translate is your best friend. Also, you need to register in order to get the app.
ALso, the app is in Chinese, but the menu structure of CWM is the same as the english version of CWM.
Cheers
vvulture said:
There ---> http://bbs.zopomobile.com/forum.php?mod=viewthread&tid=21332&highlight=卓普ZP300
The site is in Chinese but Google translate is your best friend. Also, you need to register in order to get the app.
ALso, the app is in Chinese, but the menu structure of CWM is the same as the english version of CWM.
Cheers
Click to expand...
Click to collapse
Thank you for the answer.
I registered but i cannot download the app.
Can you please upload it on a file hosting server.
blackspawn2 said:
Thank you for the answer.
I registered but i cannot download the app.
Can you please upload it on a file hosting server.
Click to expand...
Click to collapse
Done..
http://www.4shared.com/rar/QkXmiU4j/zp300_120621_cmw_recovery.html
UPDATED 29/7/2012 with new download link
vvulture said:
Done..
http://www.4shared.com/rar/9-56_6Xx/zp300recovery-20120622__1_.html?refurl=d1url
Click to expand...
Click to collapse
Thank you so much!
blackspawn2 said:
Thank you so much!
Click to expand...
Click to collapse
Can you please explain to me how to flash it???
thanks
ya-big said:
Can you please explain to me how to flash it???
thanks
Click to expand...
Click to collapse
There is now an official english version of CWM for ZP300
http://www.4shared.com/rar/QkXmiU4j/zp300_120621_cmw_recovery.html
Use this to flash : http://www.zopomobileshop.com/download/SP_Flash_Tool_v3.1206.01.rar
Cheers
Ok, using spflash i have already upgraded the official rom to the latest version, but i cant install this recovery in my zp300...whats wrong? is there a proper procedure for flashing this recovery?
BROM ERROR: S_DL_GET_DRAM_SETTING_FAIL (5054)
[EMI] Obtain DRAM Failed!
[HINT]: Please check your load matches to your target which is to be downloaded
help please
venoma333 said:
Recovery might be generating a corrupt md5.
Ok try this:
Code:
cd /sdcard/clockworkmod/backup/XXXXXX/
rm nandroid.md5
md5sum *.img > nandroid.md5
This should do the trick because the md5sum file must be named nandroid.md5
Click to expand...
Click to collapse
i'm coming up with the same problem, md5 sum stuff..
i'm on xperia play.
and how to do this?
Code:
cd /sdcard/clockworkmod/backup/XXXXXX/
rm nandroid.md5
md5sum *.img > nandroid.md5
i have to do this with terminal emulator?
md5sum: not found
I installed busybox but can not install md5sum.exe
please help me Xperia play r800x

Nandroid backup restore error (md5 mismatch)

Hi friends i would like to share the problem that i faced and solved with other's help.
This thread is only for the people who have the md5 mismatch error while restoring nandroid backups. I created this thread since there were no similar questioned thread.
This error comes usually due to renaming the nandroid backup folders.
Try any one of the following fixes to solve this,
1. Use a program editor like notepad++ to open the nandroid.md5 file and remove all lines except the first line which would have some hex values follwed by boot.img.
2. run the following commands in terminal emulator of ur android:
#cd /sdcard/clockworkmod/backup/(name of backup)
#rm nandroid.md5
#md5sum *img > nandroid.md5
Hit the thanks button if u think the post to be helpful!
I've tried, but didn't generate a new checksum?!?
Tedo said:
I've tried, but didn't generate a new checksum?!?
Click to expand...
Click to collapse
Are you sure u typed the commands correctly. The command surely creates a nandroid.md5 file in the nandroid backup folder with the checksum values.
parkourkarthik said:
Are you sure u typed the commands correctly. The command surely creates a nandroid.md5 file in the nandroid backup folder with the checksum values.
Click to expand...
Click to collapse
all good and well...why step one though? if you're just rm'ing it...seems a little unnecessary....? sorry i just performed step one then looked at step 2 and thought..wtf! lol unless theres something im clearly missing....?
sinner99 said:
all good and well...why step one though? if you're just rm'ing it...seems a little unnecessary....? sorry i just performed step one then looked at step 2 and thought..wtf! lol unless theres something im clearly missing....?
Click to expand...
Click to collapse
I am sorry did i miss saying that u can use any one of the fixes!! That means it's not a step by step it's either this or that, u can use whatever u wish that would be easy for u aong the two methods..
Sent from my GT-S6102 using XDA
Files not found
where to find these nandroid backup files
rjawan said:
where to find these nandroid backup files
Click to expand...
Click to collapse
Hi,
Look on your sd card/clockworkmod/backup.
Missing backup files
Have an AT&T Samsung Galaxy S4 (SGH-i337) Have made a couple of backups with CM and they show up in the Backup and Restore when in CM app. The path shows /mnt/shell/emulated/clockworkmod/backup but when I use ES File Explorer or Explorer they are not to be found. I can open /mnt/shell but the shell folder says 'Empty Folder'.
The reason I want to open the backups is to fix the MD5 checksum errors I always get when trying to restore.
It must be something simple but I can't figure it out.
parkourkarthik said:
Hi friends i would like to share the problem that i faced and solved with other's help.
This thread is only for the people who have the md5 mismatch error while restoring nandroid backups. I created this thread since there were no similar questioned thread.
This error comes usually due to renaming the nandroid backup folders.
Try any one of the following fixes to solve this,
1. Use a program editor like notepad++ to open the nandroid.md5 file and remove all lines except the first line which would have some hex values follwed by boot.img.
2. run the following commands in terminal emulator of ur android:
#cd /sdcard/clockworkmod/backup/(name of backup)
#rm nandroid.md5
#md5sum *img > nandroid.md5
Hit the thanks button if u think the post to be helpful!
Click to expand...
Click to collapse
ems_pilot said:
Have an AT&T Samsung Galaxy S4 (SGH-i337) Have made a couple of backups with CM and they show up in the Backup and Restore when in CM app. The path shows /mnt/shell/emulated/clockworkmod/backup but when I use ES File Explorer or Explorer they are not to be found. I can open /mnt/shell but the shell folder says 'Empty Folder'.
The reason I want to open the backups is to fix the MD5 checksum errors I always get when trying to restore.
It must be something simple but I can't figure it out.
Click to expand...
Click to collapse
Have you granted ES File Explorer Root permission ? Have you looked on both the Internal, and External SD ?
Have looked everywhere but don't know about granting ES File Explorer root permission....... Thanks for the quick reply.
prboy1969 said:
Have you granted ES File Explorer Root permission ? Have you looked on both the Internal, and External SD ?
Click to expand...
Click to collapse
---------- Post added at 11:02 PM ---------- Previous post was at 10:30 PM ----------
Granted Su to ES File Explorer, was able to see my nandroid.md5 files, edited and now restoring backup... Thank you very much for your expert help.
Now I have to figure out how to move my apps to my SD card. Thanks again!
ems_pilot said:
Granted Su to ES File Explorer, was able to see my nandroid.md5 files, edited and now restoring backup... Thank you very much for your expert help.
Now I have to figure out how to move my apps to my SD card. Thanks again!
Click to expand...
Click to collapse
You can move them with Titanium Backup.
TEAM MiK
MikROMs Since 3/13/11
cant access MD5
i installed CWM & made a rom backup, it said "Backup completed" & wiped data & &dalvik cache. now when tried to install custom rom, in recovery mode it doesnt opens ext sd card(where my custom rom is) & also when i try to restore backed up rom it says MD5 mismatch. As a result i am stucked up in recovery mode. now how to access that rom backup? my phone doesnt starts so i cant get it through ES explorer. also backup is in internal sd card so cant open it in computer also
parkourkarthik said:
Hi friends i would like to share the problem that i faced and solved with other's help.
This thread is only for the people who have the md5 mismatch error while restoring nandroid backups. I created this thread since there were no similar questioned thread.
This error comes usually due to renaming the nandroid backup folders.
Try any one of the following fixes to solve this,
1. Use a program editor like notepad++ to open the nandroid.md5 file and remove all lines except the first line which would have some hex values follwed by boot.img.
2. run the following commands in terminal emulator of ur android:
#cd /sdcard/clockworkmod/backup/(name of backup)
#rm nandroid.md5
#md5sum *img > nandroid.md5
Hit the thanks button if u think the post to be helpful!
Click to expand...
Click to collapse
atulbuddy said:
i installed CWM & made a rom backup, it said "Backup completed" & wiped data & &dalvik cache. now when tried to install custom rom, in recovery mode it doesnt opens ext sd card(where my custom rom is) & also when i try to restore backed up rom it says MD5 mismatch. As a result i am stucked up in recovery mode. now how to access that rom backup? my phone doesnt starts so i cant get it through ES explorer. also backup is in internal sd card so cant open it in computer also
Click to expand...
Click to collapse
You can find any other ways to Mount the SD card in recovery, with the help of adb shell or any other methods to access the backup file.
Else with the help of externel sdcard flash any stable ROMs and then try the restore thing.
Else try flashing the stock firmware available for your model.
Hit thanks rather than typing it
Thanks for the info!! Still working in android 4.4. Just saved me, thank you.
hi guys. i tried all your steps but no success. when i try with android emulator i get /system/bin/sh:cd/sdcard..... not found
and i try to edit the file and i install notepad but i get just some symbols inside the file so i have no ideea where the first line ends
I dont have PC or ADB. any other way to fix the problem?
Hi friends i would like to share the problem that i faced and solved with other's help.
This thread is only for the people who have the md5 mismatch error while restoring nandroid backups. I created this thread since there were no similar questioned thread.
This error comes usually due to renaming the nandroid backup folders.
Try any one of the following fixes to solve this,
1. Use a program editor like notepad++ to open the nandroid.md5 file and remove all lines except the first line which would have some hex values follwed by boot.img.
2. run the following commands in terminal emulator of ur android:
#cd /sdcard/clockworkmod/backup/(name of backup)
#rm nandroid.md5
#md5sum *img > nandroid.md5
Hit the thanks button if u think the post to be helpful![/QUOTE]
I dont have PC or ADB. any other way to fix the problem?

Categories

Resources