[CWM RECOVERY] Can't restore backed up ROM! - Galaxy S II Q&A, Help & Troubleshooting

Okay so, after hours of searching I've resorted to starting a thread about this. I made a backup of 2.3.5 Official ROM using CWM before installing CM-7.1-Nightly116. After that, I backed up this ROM & installed MIUI. My problem starts here. I can't restore any of the backed up ROMS using Recovery Mode. It gives me a "MD5 Checksum Mismatch" error.
I'd like to add: I once restored my Official 2.3.5 for a day or so, before going to MIUI. The restore process was okay then. But now I just can't restore to either the Official ROM or the CyanogenMod 7.1 Nightly.
Same error for both: MD5 Checksum Mismatch
HELP ME OUT!
<<< EDIT >>>
Most recent backups of MIUI & CM7.1 run successfully. Only the 1st two are out of order. CWM, in general, is working fine!
Sent from my GT-I9100 using XDA App

Did you rename your backup? Remember not to leave any spaces
Sent from my DROID X2 using XDA App

Yes. None of my backups contains spacs in the name. I just named them as: "Official_2.3.5" & "CM7.1_Nightly116"
Do you think the latest CWM update via ROM Manager caused this?
Sent from my GT-I9100 using XDA App

You should use the same CWM version when doing a nandroid backup and nandroid restore to avoid problems.

I dunno how my CWM got messed up.. Now everytime I backup, it just can't generate MD5 Checksums!
Sent from my GT-I9100 using xda premium

Boot into the recovery.
Use advanced restore. Then restore everything that appears on your screen. That would probably solve your problems.

in case you are unaware CWM4 and CWM5 are not cross compatible i.e CWM5 will not restore 4 backups
at least so I have read

michael7168 said:
Did you rename your backup? Remember not to leave any spaces
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
Ok, this work. Remember no spaces and this symbols "-" "_"

Related

MD5 Mismatch when restoring

Hi guys.
I have a little problem. I took backup of FreeX10 ROM with xRecovery before I installed a new custom ROM. Before I installed the new ROM i checked the backup files to see if there was a file that was broken with file size 0MB (experience before that some backup files is 0MB and it won't restore then). Everyting was OK.
So when I installed the new custom ROM and trying to restore the old ROM I get "MD5 Mismatch!". Sometimes before I've just removed the spaces in the name, but that does not help now. I have to get this recovery worken!
Do you guys know what to do? Can u help me?
Thanks.
Have u checked your busybox version is correct.
Not sure if this is the answer but i do remember it being mentioned else where.
Kieron
Sent from my X10i using XDA App
Uhm, how do I check that? I don't have the BusyBox app installed. Only SuperUser (if that is the same).
I have manage to restore maaaany times before without problems
Just checked on my restored rom and there is no busybox there either. Sorry for that. Have u renamed your backups at any time. If yes there must be no spaces in the name.
Kieron
Sent from my X10i using XDA App
But according to Titanium Backup, I have BusyBox 1.15.3 (from system).
Yes, I have checked the name and there is no spaces there
I just looked through all 117 pages of the xrecovery thread on my phone as i am sure it was posted there. If u on pc try a search of x10 forum and xrexovery thread.
My busy box version is the same. So guess it not that
Sorry cannot be of more help. Hopefully some clever persons will come to assist you more.
Kieron
Sent from my X10i using XDA App
Its because you renamed it. I had the same problem so your gonna have to reinstall whatever rom you backed up
Sent from my X10i using XDA Premium App
Or you did a full wipe before restoring.
Sent from my X10i using XDA Premium App
Lion3494 said:
Its because you renamed it. I had the same problem so your gonna have to reinstall whatever rom you backed up
I always rename my backups as to keep track of what rom it is. And no problems so far but always check that there is no spaces in the file name.
Kieron
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Just one more thing .
Have you used any characters in your filename ie / as this would also cause problems from what i have read.
Kieron
Sent from my X10i using XDA App
Guys! I got it working now!
I just removed the ( ) in the file name and just had text and a . in the file name.
Thanks for the help guys
Had the same problem myself - I rename my backups so I know which ROM version they're related to...
Usually I keep the date, but change what I assume it the time stamp to detail the ROM:
e.g. 11-04-12.11.33.06 to 11-04-12 - CM7 vJ013
now doing something like 11-04-12.CM7.vJ013 (which now works)

[Q] MD5 mismatching issue.

I recently just tried to restore one of my backups of a different rom and got an MD5 mismatch error. I understand that that can come from errors during a download of a rom but why would I get that error now? Could it be because I renamed the file after it was backed up? Thanks in advance....
Sent from my SAMSUNG-SGH-I717 using xda premium
If your file name has spaces in it, it may cause the MD5 mismatch error.
Or the backup was moved to a pc then moved back to the phone. Windows adds a few bytes to a file so the sum is a little different.
rangercaptain said:
Or the backup was moved to a pc then moved back to the phone. Windows adds a few bytes to a file so the sum is a little different.
Click to expand...
Click to collapse
I hate windows....it bites! I mean ":cyclops:bytes"
I did it all on my phone using a file manager. So if I change the name to something without spaces it should be fine?
Sent from my SAMSUNG-SGH-I717 using xda premium
I had the same problem the other day - a known good backup wouldn't install. After much searching and asking I ended up considering the backup scrapped and moved on. Then the next day I tried again and it worked fine.
Do you have another backup?
Did you change the name of the backup?
rangercaptain said:
Or the backup was moved to a pc then moved back to the phone. Windows adds a few bytes to a file so the sum is a little different.
Click to expand...
Click to collapse
I have had this issue since I like to store my older nandroids on my Win 7 PC. Do you know of any way to identify or remove the extra bytes? It would have to be after the file is transferred back to the Note I imagine.
Your should try renaming your file.
tmb993 said:
I recently just tried to restore one of my backups of a different rom and got an MD5 mismatch error. I understand that that can come from errors during a download of a rom but why would I get that error now? Could it be because I renamed the file after it was backed up? Thanks in advance....
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
Hi
if you did your backup using CWM and you renamed it after doing the backup I suggest you use "." instead of spaces; example if you rename it "CM9 ROM" try "CM9.ROM" or if you backup your stock rom and rename it "stock android rom" tried "stock.android.rom"
Cheers from DFW
Ok well I did that and I thought it would fix the problem but now I keep getting this error message in my recovery. Got it when I tried to reflash the recovery that I properly named and then again when I tried to flash on PA's 4.1 CM10. What in the heck does this mean??
Sent from my SAMSUNG-SGH-I717 using xda premium
I think that means that your version of CWM is not compatible with the zip you're trying to flash.
lactardjosh said:
I think that means that your version of CWM is not compatible with the zip you're trying to flash.
Click to expand...
Click to collapse
Aw man. Well I just had the newest version but reverted back to 5.5.0.4 because it game me a lot of issues. Strange but I also got the same error when I tried to restore from that one backup.
Sent from my SAMSUNG-SGH-I717 using xda premium
I could be wrong, I don't know for sure.
But, you could see what recovery other people are using in the ROM thread.
I copy my backups from SD to computer and back and have run into this issue. I followed the instructions in this link, http://forum.xda-developers.com/showthread.php?t=714114 and it fixed the MD5 mismatch issue. I guess these commands "clean" the backup of whatever windows does to it when copied. Worked like a charm! Also, I always change my backup names and am sure not to leave spaces. This works even if the name is not what CWR generated.
Bigjoe, can you please add this to your Super Everything page -- probably in the CWM section? Thank you.
http://forum.xda-developers.com/showthread.php?t=714114

Nandroid backup problem

I made a nandroid backup and went flashing. Didn't like something decided to go back to mybakup which is actually stock rooted. But it says md5 missing so it won't flash. How do I get this done.....
Sent from my SGH-I717 using xda app-developers app
Did you move it or rename it?
You may have either renamed it and added a space, or made a backup without enough space which means it didn't back up all your data. If it'd the first one, remove the space. If its the second one, your boned.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
One other option ...
If you made a backup using CWM, then changed to another recovery ....it won't restore.
Recovery files cannot be mixed between different types..
(Learned that from rangercaptain)
Thanks brother ....g

"Md5 mismatch!"

Hi this is my first post on xda so bear with my n00biness.
I've flashed Entropy's ClockworkMod and a couple of ics roms and it was really nice and getting better every new release. However, my occasional need for my camera and flash player brought me to do a restore back to stock rom (which I backed up on cwm).
Unfortunately, when cwm checks its md5 sum it ends up with an error saying there's a mismatch.
Is there a problem with my version of cwm? Or would I have to wipe my data beforehand?
Sent from my YP-G70 using xda app-developers app
well what i do when i flash back my recovery i factory reset and then clear cache and wipe dalvik cache then i flash my recovery
Did you rename the backup? Sometimes this causes CWM to mess up. If you did rename it then name it something like 'stock' and try restoring again
Sent from my Nexus 7 using XDA Premium HD app
try this,enter terminal emulator and use this commands ..offcourse chage directory with yours
su
cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
rm nandroid.md5
md5sum *img > nandroid.md5
Sent from my S7 using xda app-developers app
thank you so much the bit of time you've given for me, guys.. even after answering questions that you may have said already
Well now this smart guy decided to see if he has the md5 file inside the recovery file, and, pretty surprisingly, there were no nandroid file except for one of my newer backups. (But that apparently doesn't have the md5 file included in that nandroid file either )
Oh well. Renaming the backup won't bring back the file, will it? are all md5's unique per backup? And, just making sure, there needs to be a nandroid file in the recovery folder, right...?
Sent from my YP-G70 using xda app-developers app
umm i think they are different and yes there has to be a nandroid file in the backup folder or else if you screw up the backup wont help either way
create an empty text file and name it nandroid.md5 in the backup folder
then use my script which is located in sig
I have a similar issue with not being able to locate the backups in a folder. Not in cwm folder where they should be. I went through every file I could think of to locate with no prevail, but yet in recovery - there they are! Is this because the cwm recovery is pushed in with the kernel and not through rom manager? Also, has anybody messed around with selecting a different device in rom manager because galaxy player is not listed?
Sent from my SCH-I535 using xda premium

TWRP + TiBu Update.zip

Hi all, question about creating an update.zip of my apps in TiBu and flashing it using TWRP. I backed up all my user apps and then generated the update.zip file. Booted into recovery, erased, installed CM 10.1, Google Apps, then flashed in the update.zip. I booted up my phone and CM loaded just fine. When I went into my app drawer, however, none of my apps were there. Anyone know what's going on?
Thanks for the help.
I had a similar issue but found that just backing up and restoring through TiBu was far more effective than using the zip method. I am not exactly sure why. Are you able to restore the apps through TiBu without the zip? Also, does the issue persist if you install the rom that the apps were backed up on and then restored using the zip? That may help narrow your issue.
Sent from my SCH-I545 using xda app-developers app
Checkm8 said:
I had a similar issue but found that just backing up and restoring through TiBu was far more effective than using the zip method. I am not exactly sure why. Are you able to restore the apps through TiBu without the zip? Also, does the issue persist if you install the rom that the apps were backed up on and then restored using the zip? That may help narrow your issue.
Sent from my SCH-I545 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the reply. I haven't tried installing through TiBu. I just flashed the nandroid backup which brought me back to the previous version (stock Android). I read somewhere that the update may not work because TWRP doesn't allow for file sizes over 2gb or something.
I managed to get the zip file to work (the first zip I made was only 3mb), and I flashed it. However, for a lot of apps I had problems. The window would pop up and the circle would spin, but eventually I would get an error. So I had to restore my backups through TiBu anyway.
stickperson said:
Hi all, question about creating an update.zip of my apps in TiBu and flashing it using TWRP. I backed up all my user apps and then generated the update.zip file. Booted into recovery, erased, installed CM 10.1, Google Apps, then flashed in the update.zip. I booted up my phone and CM loaded just fine. When I went into my app drawer, however, none of my apps were there. Anyone know what's going on?
Thanks for the help.
Click to expand...
Click to collapse
I would install the rom and gapps, let it boot, then boot back in to recovery to install the update.zip (I always rename mine to apps.zip)

Categories

Resources