Already a MD5 mismatch-cant restore stock backup - HTC EVO 3D

just rooted my evo3d, everything went great and i even git CWM to install the first time correctly. heres where i think i went wrong-
i downloaded rom manager and i attempted to use it and it worked great. to me it seemed like it worked because i was able to choose my phone and even flashed the CWM over the original one i had. i made a backup of my stock rom and tried a rom from the dev forum, didnt like it and tried to switch back and got the MD5 mismatch error when i tried to restore my stock rom. now, i thought i would try to flash the original CWM which was blue over the CWM(orange) and then attempted to get the rom to restore. that was also a fail. what can i do? i read that installing busy box could effect this? any help would be appreciated.

sucks but it happens download the RUU from here and reroot if you need too

FIXING MD5 MISMATCH
adb shell
# cd /sdcard/clockworkmod/backup/name_of_backup
# rm nandroid.md5
# md5sum *img > nandroid.md5

gaaah i dont have ADB installed on my mac. is there not a simpler way? anyway to fix this?! i dont think i need to reroot honestly..

Nope sorry.

I may have found a way to fix the MD5 issue.
Well, it worked for mine.
I saved a backup of the stock ROM before I installed the needle kernel.
it was named 2011-08-01-23.53.47
The I saved another backup of the ROM with the needle kernel/
it was named 2011-08-02-19.06.28 w/ needlekernel
What happened was that on the sd card the backup folder was named 2011-08-02-19.06.28 w/ then inside that folder was another folder named needlekernel . And that folder contained the backup files.
It seems that putting the space in the name caused it to create another folder within the backup folder instead of just having the backup files in there. I kept getting the MD5 mismatch when I tried to restore that backup.
So I took the files out of the needlekernel folder and put them in the 2011-08-02-19.06.28 w/ folder. I then deleted the needlekernel folder. The last thing was to take the (space)w/ off of the end of the folder name so it was just as the program named it to begin with.. 2011-08-02-19.06.28
After doing that I was able to restore the backup through ROM Manager. So apparently it's best not to add anything to the backup name when saving it.
One other thing I'll mention. When I restored the backup with the needle kernel in it it put the stock kernel back in the ROM.
Hope this helps anyone with the MD5 issue.

Related

Restore file fails checksum verification...

I recently tried a new ROM and made a Rom Manager recovery restore file prior to changing. Things didn't work out as well as I had hoped and when attempting to restore, it fails at the checking MD5 sum process.
Any way to work around this? I really would like to restore to the previous ROM without starting over.
Anybody? I am not quite sure how the restore file can be created on this phone and then not pass verification?
Any ideas or am I stuck starting over?
sandiegopaneraiguy said:
Anybody? I am not quite sure how the restore file can be created on this phone and then not pass verification?
Any ideas or am I stuck starting over?
Click to expand...
Click to collapse
depending on the type of file format used to backup, the restoring could be done manually but a changed md5sum generally means the files are not the same as the original. this could result in corruption and generally it isnt recommended to restore corrupted files as you run the risk of nothing working.
if you're still wanting to proceeding with attempting to restore files which are different than the original and could be corrupted, off the top of my head, you can probably dd the .img files back and untar the .tar files back.
i would suggest starting over and perhaps copying the backup files over to your desktop instead of only leaving on the sdard. this should help ensure at least one of the copies maintains their integrity.
hope that helps!
You can boot into recovery, and run nandroid via adb shell command line, no md5 checksum file needed. Now if the image is bad, you of course get bad results, but if the checksum is just hosed for some reason, it will work fine.
Put the .win files for the partitions you want to restore in /sdacrd
then issue the command "tar xvpf /sdcard/data.win" or "tar xvpf /sdcard/system.win" from the adb shell while in /data or /system respectively. .win files are what TWRP creates for backups.
I had this happen with TWRP 1.01 or 1.02 once on a good backup that passed the checksum tests when I backed it up.
I was testing the reliability of the TWRP package's nandroid and first one failed.
Once I moved to the newer version, I've not had that issue.

Restore efs.autobackup.img from sdcard?

Hello,
Searched alot how to restore my efs, after checking my imi is a generic one with 0049...but didn't find any clear ones
I found this file efs.autobackup.img which most probably was generated by a custom rom with paulobrien script in link: http://forum.xda-developers.com/showthread.php?t=1223857
the date of file creation is just the same date of my phone purchase which is correct because I flashed in the first day so it should be a good backup (I hope)
Thanks,
Ok soo I used dd mode in terminal, waited a while until I got the message that the files were wrote but when I look in the efs folder it was only one file and ended up with no service phone. Copied back all the files and the phone is fine but the imei is still the generic 0049... Is there any way to check if the img file is ok?
Thanks again,

Clockwork Mod MD5 Error

Went to install a backup made with CWM today. This is the first time I've done a restore on this phone. Went to restore and am getting an MD5 mismatch on all 3 of my backups!
I have not moved the files or changed their names. They are right where CWM put them.
I've had trouble with the newer versions of CWM in the past that use the TAR files instead of an image file.
I deleted the MD5 file and through terminal did a md5sum *.* > nandroid.md5 to create a new MD5 file but it doesn't work. Is the *.* a proper way to wildcard all files in the directory under linux? Is this the correct way to do it or is it just one of the files I should be doing the MD5 for?
Thanks for the help!
Mike
Can't believe no one has an answer for this.
I did answer my question about the proper syntax for the MD5, it's: md5sum * > nandroid.md5 in case anyone wants to know.
I did finally get my phone to restore. I removed the RAZR bootstrap and reinstalled it and bang, it installed just fine.
Mike
Can you say exactly how you did it? Would be quite interested to know.

[Q] What files are expected from a NANDroid backup?

I'm running MIUI 2.1.20 , and made a backup of it using the backup option in CWM (recovery mode, not the app).
The files I got though where:
.android_secure.vfat.tar
boot.img
cache.ext4.tar
data.ext4.tar
recovery.img
system.ext4.tar
notice how there is no nandroid.md5 ? Is that normal?
Also I'm used to getting files like:
.android_secure.img
boot.img
cache.img
system.img
nandroid.md5
does it mean anything that some of the files are tar balled?
Cheers.
I ran a backup of 2.1.20 two nights ago before I flashed 2.2.1 & I have a nandroid.md5 file in that backup folder. I'd be surprised if the backup you made restores properly (or at all) given you don't seem to have that file in your backup (Have you tried to restore it ?).
There's a nandroid backup patch that works when you get a md5 checksum error when running a Nandroid backup on Galnet Miui. I attached it to a post I made a few hrs ago, it may/may not work for other builds/flavours of Miui. Obviously if you do use the patch you do so at your own risk (I doubt it would do anything "bad" other than make the backup you run after flashing it bork at worst).
Edit to add - In the backup I made of 2.1.20, I have - boot.img, nandroid.md5, android_secure.vfat.tar, cache.ext4.tar, data.ext4.tar & system.ext4.tar.
.android_secure.img
boot.img
cache.img
system.img
nandroid.md5
Thats what i have for yesterdays backup .
jje
I've too nandroid.md5 both on CM9 (01292012) and on MIUI (2.1.20) backups...
does that mean my clockworkmod is goofing?
After making another backup to check the log I saw this.
http://cl.ly/2v3s0v1423252o2o0e2J
Notice the "Error while generating MD5 sum" ? ...what would you suggest I do?
ps. should I open another thread now that the question has changed?
any ideas guys? Cheers.
In answer to your question, yes, it would seem CW is not working properly for you for whatever reason.
If you've got Rom Manager on your phone, you need to make a choice. Either have/use Rom Manager or CW Recovery. Both cause problems, Rom Manager tends to break recovery & can cause bootloops.
If not, reinstall your kernel (or whole rom if you're using the kernel supplied with Miui), or install a CFRoot kernel, then reinstall your rom.
Or...Do a search for that post I made last week or whenever it was & flash that Nandroid backup fix patch.
A couple of options there for you.
Thank you very much. I'll check them out. Cheers.

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