Md5 checksum - Android Q&A, Help & Troubleshooting

Hi this might be a stupid question .. but could anyone tell me what is md5 and how do I check it before flashing any ROM?? Because there are some custom ROMs which requires to check md5 checksum before flashing .. I am confused .. thanks in advance ...
Sent from my HTC Incredible S using Tapatalk

md5 is a hash function, you're using it to check that your image isn't corrupted.
A quick search will turn this up:
http://forum.xda-developers.com/showthread.php?p=17065076
Hint, use this command on your device:
`busybox md5sum [image location]`

rp_circ said:
md5 is a hash function, you're using it to check that your image isn't corrupted.
A quick search will turn this up:
http://forum.xda-developers.com/showthread.php?p=17065076
Hint, use this command on your device:
`busybox md5sum [image location]`
Click to expand...
Click to collapse
Thank you bro .. i found the location of the md5 file .. it was in system/xbin ..

Related

[Q] What is MD5 Sum?

I see this a lot here lately. What exactly is it and what do you use it for?
Very basically MD5 gives a value of the file it is referencing. If you see a file with a MD5 sum next to it you can download that file and check its MD5 sum to ensure the file downloaded properly. There are different programs for it.
Certain Odin and other files will be signed, for lack of a better word, with a MD5 sum. When Odin runs it checks for that signature and if found it runs a MD5 sum check. If the signature and check don't match Odin will fail.
Sent from my GT-I9000 using XDA Premium App
Thanks for the clarification.

[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

Verify the accuracy of ROM files CM droidbasement

Forgive me, but unfortunately my native language is not English ... So .. my research on this forum are very complicated.
After several attempts and with great difficulty I managed to download from droidbasemment "cm-10-20121030-EXPERIMENTAL-p4.zip."
At the same address I see that there is a file "cm-10-20121030-EXPERIMENTAL-p4.zip.md5sum" which I think is the MD5 of the ROM file of 152.52 MB.
If so, how can I verify the MD5 to make sure that the downloaded file is not corrupt?
Many thanks to those who want to answer. Hi
kRel said:
Forgive me, but unfortunately my native language is not English ... So .. my research on this forum are very complicated.
After several attempts and with great difficulty I managed to download from droidbasemment "cm-10-20121030-EXPERIMENTAL-p4.zip."
At the same address I see that there is a file "cm-10-20121030-EXPERIMENTAL-p4.zip.md5sum" which I think is the MD5 of the ROM file of 152.52 MB.
If so, how can I verify the MD5 to make sure that the downloaded file is not corrupt?
Many thanks to those who want to answer. Hi
Click to expand...
Click to collapse
most recoveries will verify the file automatically if that md5sum file is in the same place as the ROM when you flash it. If you want to make sure now, just open the md5sum file in any text editor to see the correct md5 and then look at the properties of the ROM zip file and look at the calculated sum there and confirm they match.
kRel there is a app just for this, I have it on my pc, give me some time and I will post it for ya. dill
Sent from my GT-P7510 using xda premium
PuckMercury said:
most recoveries will verify the file automatically if that md5sum file is in the same place as the ROM when you flash it. If you want to make sure now, just open the md5sum file in any text editor to see the correct md5 and then look at the properties of the ROM zip file and look at the calculated sum there and confirm they match.
Click to expand...
Click to collapse
Thank you for your quick response ...
The problem is that ... if I open the zip file "cm-10-20121030-EXPERIMENTAL-p4.zip.md5sum", inside there is nothing!
dillfever said:
kRel there is a app just for this, I have it on my pc, give me some time and I will post it for ya. dill
Sent from my GT-P7510 using xda premium
Click to expand...
Click to collapse
Thank you ... this applet I also have in my computer. It integrates in "explorer" and is called "HashTab v3.0.0"
But the problem is that inside the file: cm-10-20121030-EXPERIMENTAL-p4.zip.md5sum nothing!
If you have the Wifi 7510 tab that is the wrong md5, you want the p4wifi md5
Sent from my GT-P7510 using xda premium
---------- Post added at 08:35 AM ---------- Previous post was at 08:32 AM ----------
Do you have winzip or 7zip, you need a file extractor to open the md5 zip?
Sent from my GT-P7510 using xda premium
also...
search market for md5 and you'll find a ton of apps the will calc the md5 from a file you can compare that to the hash inside the md5 file posted by pershoot.
md5sum -c /path/to/file.md5
The *.md5 file and the file it corresponds to must be in the same directory together. This works from your device in a terminal as well.
I discovered the mystery ....
Opening the file from linux (ubuntu) shows a normal text file containing the MD5!
CWM is also able to read and verify the MD5. But I have not understand how to.
Maybe you need to copy the file to your tablet also MD5??

Categories

Resources