MD5 mismatch?! - G2 and Desire Z Q&A, Help & Troubleshooting

When trying to restore my backup via CWM, it said MD5 mismatch!
Why?!

have u changed the name of the backup? i got an error once when i changed the name to something with spaces in it
Sent from a desire z

Like suggested above a name change or some other alteration to the file took place, possibly corruption.

renamed it to a name with no spaces...
still get the md5 mismatch error...

Make sure to have no spaces in the back up name
Go into the backup folder and remove nandroid.md5
Now, in that same directory, run this command:
Code:
# md5sum *img > nandroid.md5
Boot into recovery and try again.

Did you reflash CWM recovery after your backup?
Sent from a message in a bottle.

Related

help! deleted recovery.img

just wondering if anyone can help me out here, i was trying to flash the cyanogen hero recovery image to my phone using fastboot so i erased my stock recovery image, only to get the message "remote: signature verify fail" so im now stuck with no recovery image and dont know how to get it back, can anyone help me out please?
ok so i managed to mount my system as read write in fastboot and put the recovery.img from the wwe version in to system which has gave me my recovery back but when i boot it just stays on the hero screen and says fastboot usb at the top if i have it plugged into my pc. i have no idea how to reset the original files and i didnt back up, can anyone help me pleas?
Well after trying for hours to fix this, I give up. I can't install the system.img from wwe rom posted on here it says verify failed or something similar so I stupidly tried to flash the magic 32a heroski port hoping it would work and still nothing. Is there anyway someone could post there nandroid backup file and help me flash it to see if that works? Or should I just give up. I'm really stuck now lol
you can't flash anything from fastboot because the images need to be signed.
what version of hero do you have?
if you have the wwe hero(it's not needed ) i can send you (later, now i'm at work) my nandroid backup (system,boot,recovery, splash...) so you can restore them
I have the orange hero. I used fastboot to load cyanogens recovery image then flashed the heroski rom hoping it might work lol so I ended up using fastboot to erase system. Question is do you think your nandroid backup would work? I sure hope so it would be a great help!!! Thanks.
i have the unlocked wwe hero. i'm uploading now the system, boot and recovery to rapidshare . it'll be up in a couple of minutes. if you find a orange hero backup you can restore in the same way ;-)
restoring hero wwe
download the backup from(it's better if you verify the md5):
http://rapidshare.com/files/263636068/bkp.rar.html
MD5: BEAE167BCBB1FF6D3D2701FB64604203
Put the contents on sdcard (i'm assuming that you put the images in a folder named bkp on the sdcard)
so:
download the recovery from here: http://rapidshare.com/files/262621147/cm-hero-recovery.img.zip and extract it
put your phone in fastboot mode (with the phone off, press the back key then turn the phone on).
then:
boot with the downloaded recovery
Code:
fastboot boot cm-hero-recovery.img
0) mount the partitions
Code:
adb shell mount /system
adb shell mount /sdcard
1) do a wipe
select the wipe option from the recovery menu
2) restore boot
Code:
adb shell flash_image boot /sdcard/bkp/boot.img
3) restore recovery
Code:
adb shell flash_image recovery /sdcard/bkp/recovery.img
4)restore system
Code:
adb shell
cd /system
rm -rf * (ignore the errors)
unyaffs /sdcard/bkp/system.img
5) unmount the partitions
Code:
umount /system
6) reboot
Code:
reboot
hope it helps
Ok thanks. Have to wait 4 hours to try it as I'm in work lol, what is an md5 for, just out of curiosity?
A MD5sum is a checksum to verifiy that your downloaded file isn't corrupt.
maxisma said:
A MD5sum is a checksum to verifiy that your downloaded file isn't corrupt.
Click to expand...
Click to collapse
Ok dude makes sense thanks.
thanks
enlightener said:
download the backup from(it's better if you verify the md5):
http://rapidshare.com/files/263636068/bkp.rar.html
MD5: BEAE167BCBB1FF6D3D2701FB64604203
Put the contents on sdcard (i'm assuming that you put the images in a folder named bkp on the sdcard)
so:
download the recovery from here: http://rapidshare.com/files/262621147/cm-hero-recovery.img.zip and extract it
put your phone in fastboot mode (with the phone off, press the back key then turn the phone on).
then:
boot with the downloaded recovery
Code:
fastboot boot cm-hero-recovery.img
0) mount the partitions
Code:
adb shell mount /system
adb shell mount /sdcard
1) do a wipe
select the wipe option from the recovery menu
2) restore boot
Code:
adb shell flash_image boot /sdcard/bkp/boot.img
3) restore recovery
Code:
adb shell flash_image recovery /sdcard/bkp/recovery.img
4)restore system
Code:
adb shell
cd /system
rm -rf * (ignore the errors)
unyaffs /sdcard/bkp/system.img
5) unmount the partitions
Code:
umount /system
6) reboot
Code:
reboot
hope it helps
Click to expand...
Click to collapse
ok so i finally got time to fix my phone and just did what you said and can now happily say it worked. thanks enlightener you enlightened me lol. in future i will refrain from doing random terminal stuff without researching first lol.
Bad new : My hero is out of service area
Hello,
Sorry for my english, i'm french
I made a big mistake in my files system ... A too long story
My Hero :
HBOOT-1?76.0004
Radio-6.35.04.25
July, 3 2009
Well, now, my htc hero do not work 'first page, out of service area"... I would like to make your post, but i had error :
First, fastboot Ok, Adb shell mount system and sdcard ok, wipe ok
Second, when i do this code" adb shell flash_image boot /sdcard/bkp/boot.img", my hero "said" : "header is the same, note flashing boot". Same thing for restore recovery
Can you help me ?
pitou21 said:
Hello,
Sorry for my english, i'm french
I made a big mistake in my files system ... A too long story
My Hero :
HBOOT-1?76.0004
Radio-6.35.04.25
July, 3 2009
Well, now, my htc hero do not work 'first page, out of service area"... I would like to make your post, but i had error :
First, fastboot Ok, Adb shell mount system and sdcard ok, wipe ok
Second, when i do this code" adb shell flash_image boot /sdcard/bkp/boot.img", my hero "said" : "header is the same, note flashing boot". Same thing for restore recovery
Can you help me ?
Click to expand...
Click to collapse
in this case, you don't have to restore boot or recovery because they are the same as the images posted here.
proceed with system
Ok thanks, now it's goog !

[Q] Boot image backup

When I backup my boot partition with:
cat /dev/mtd/mtd2 > /sdcard/boot.img
The file I get is ~5mb and when I try to restore the image in an update.zip file it fails.
However,
If I take a look at an nandroid boot.img file I have from the same running state, the file is ~2.5 mb and when used in the update.zip file everything works fine.
Right now things are working but I am curious why mtd2 or mtd2ro are twice the size and don't work. I am currently running cm6 stable. Any clarification would be appreciated, I assumed cat mtd2 was supposed to grab the boot partition correctly.

[Q] is there anyway to manually make a md5?

i've backuped, but when I tried to restore, the md5 was gone..
Is there anyway I can cheat on cwm or make a md5 ?
You can copy the file on your computer and use tools like MD5summer to create the MD5 file and then copy the *.md5 to your phone.
I dont know for which file I need to make the md5.. there is 7 files..(boot, cache, system.. etc)
the MD5 file looks like this one:
XXXXXXXXXXXXXXXXXXXXXXXXXXX boot.img
XXXXXXXXXXXXXXXXXXXXXXXXXXX cache.yaffs2.img
XXXXXXXXXXXXXXXXXXXXXXXXXXX data.yaffs2.img
XXXXXXXXXXXXXXXXXXXXXXXXXXX recovery.img
XXXXXXXXXXXXXXXXXXXXXXXXXXX sd-ext.ext3.tar
XXXXXXXXXXXXXXXXXXXXXXXXXXX system.yaffs2.img
XXXXXXXXXXXXXXXXXXXXXXXXXXX .android_secure.vfat.tar
you have to calculate the MD5 for each img or tar file and the replace xxxx with the obtained MD5
---------- Post added at 02:50 PM ---------- Previous post was at 02:48 PM ----------
forget to tell that:
you can save the above text using notpad in a file named nandroid.md5 and put it in your backup folder
From a terminal emulator
Code:
cd /sdcard/clockworkmod/backup/backupname
Where backupname is the name of your backup and this is the location of your backup.
Then:
Code:
md5sum *img > nandroid.md5

MD5 sums

today i tried restoring a stock rom through cwm which was installed through odin.. while restoring it i got an error saying there is no MD5 files! So can i put the md5 files from other backups in this??
nope...you can't do that. what CWM was you used before? you should note that skin1980's or madteam's is work just fine. the one from merruk's kernel doesn't work. it still under development stage. please be wary of that
Just create an md5sums.txt using notepad++. And generate the md5sums yourself:
1. Download the md5sums-1.2.zip here. Extract md5sums.exe.
2. To generate md5 checksums for your .tar files, run md5sums.exe -u your_nandroid_backup.tar >> md5sums.txt
3. Edit the md5sums.txt in notepad++. Replace each asterisk (*) beside each filename with a space.
4. Save your file. Ensure it is encoded in utf8.
Your md5sums.txt should contain the following:
Code:
7e613b2d2d799aecad4d76931a80928b cache.rfs.tar
ff68ff227b91bb4ab5006df682d31d5f data.rfs.tar
02da391f4dfb511ffb69b7188174b3ee system.rfs.tar
7c294a7d02fcfb81ef79b258d02da705
.android_secure.vfat.tar
Source:
Bumslayer.
raolemo said:
Just create an md5sums.txt using notepad++. And generate the md5sums yourself:
1. Download the md5sums-1.2.zip here. Extract md5sums.exe.
2. To generate md5 checksums for your .tar files, run md5sums.exe -u your_nandroid_backup.tar >> md5sums.txt
3. Edit the md5sums.txt in notepad++. Replace each asterisk (*) beside each filename with a space.
4. Save your file. Ensure it is encoded in utf8.
Your md5sums.txt should contain the following:
Code:
7e613b2d2d799aecad4d76931a80928b cache.rfs.tar
ff68ff227b91bb4ab5006df682d31d5f data.rfs.tar
02da391f4dfb511ffb69b7188174b3ee system.rfs.tar
7c294a7d02fcfb81ef79b258d02da705
.android_secure.vfat.tar
Source:
Bumslayer.
Click to expand...
Click to collapse
cn u explain step 2?
Today i had the same problem on TermaRom with CWM restore failed MD5 missing.Greeeeetz

[How to] Fix md5 mismatch on nandroid backup/restore

Hi all,
Is anybody got stuck their nandroid recovery due to md5 mismatch ???
I have some solutions .Before that let's check why the mismatch came .
You are getting the MD5 mis-match error because the MD5 checksums in the nandroid.md5file do not match the checksums of one or more of the system.img,data.img, orboot.img etc. files in your Nandroid's backup directory.
Solutions :thumbup:
1 . Open Terminal emulator and put the following code
adb shell
_______________________________________________
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53//change this by your backup folder name .
# rm nandroid.md5
# md5sum *img > nandroid.md5
_________________________________________________
2 . Open nandroid.md5 using text editor .Just edit the values in nandroid backup by original value of each .tar or .zip files
Remember Changing values of nandroid.md5 will affect your backup .
It is something like
_________________________________________________
xxxxxxxxxxxxxxxxxx
recovery.img
xxxxxxxxxxxxxxxxxxx
boot.img
xxxxxxxxxxxxxxxxxxx
system.ext4.tar
xxxxxxxxxxxxxxxxxxx
_________________________________________________
Edit xxxxxx with the currect md5 value of each .
3 . Still the problem is there or there is no nandroid.md5 just clear the values of nandroid.md5 using text editor or create a empty nandroid.md5 .
Your problem is now solved . :sly:
Sent from my GT-S7562 using XDA Premium 4 mobile app
Still not working...
I tried the first an the third one and nothing worked... I can't try the second because i deleted my original md5 file and don't have those numbers.
The first solved that problem but created a "error while restoring /data" message every time so i replaced it with a blank file and now it says md5 mismatch
I have no idea, and need this backup
Thanks!
dmanmatt10 said:
I tried the first an the third one and nothing worked... I can't try the second because i deleted my original md5 file and don't have those numbers.
The first solved that problem but created a "error while restoring /data" message every time so i replaced it with a blank file and now it says md5 mismatch
I have no idea, and need this backup
Thanks!
Click to expand...
Click to collapse
Use advanced restore option and restore all files except data .
Hope I helped
Sent from my GT-S7562 using XDA Premium 4 mobile app

Categories

Resources