what is MD5. and how to i make it match - HTC Sensation

what is MD5. and how to i make it match

Md5 is the download number to ensure that the file was downloaded properly. You check md5 sum by using a file manager and checking the properties of the file. You can also check it in recovery mode (at least in 4ext)
Usually the download website (mainly ROMs) has the md5 sum, so you can write down your md5 sum and check it with the one on the website.
Sent from my HTC Sensation

And you don't 'make it match'. You check to see if it already matches. If it doesn't match, delete the file and redownload it.

Skipjacks said:
And you don't 'make it match'. You check to see if it already matches. If it doesn't match, delete the file and redownload it.
Click to expand...
Click to collapse
This. If it doesn't match it means that the file you downloaded does not match the original in some way. The file was either corrupted during download or you got a copy that somebody messed with, possibly for malicious reasons.

Tangent_ said:
This. If it doesn't match it means that the file you downloaded does not match the original in some way. The file was either corrupted during download or you got a copy that somebody messed with, possibly for malicious reasons.
Click to expand...
Click to collapse
Meaning if it doesn't match, don't flash!

AndroidSupporter318 said:
Md5 is the download number to ensure that the file was downloaded properly. You check md5 sum by using a file manager and checking the properties of the file. You can also check it in recovery mode (at least in 4ext)
Usually the download website (mainly ROMs) has the md5 sum, so you can write down your md5 sum and check it with the one on the website.
Sent from my HTC Sensation
Click to expand...
Click to collapse
do you know the MD5 file is located and what its ment to be

It's not a "location". Just go to file manager and view properties of the file. There should be an option to check md5 sum. Then check it on the website wherever you downloaded the file from
Sent from my HTC Sensation

This is how to check it
blitz100 said:
what is MD5. and how to i make it match
Click to expand...
Click to collapse
I didnt understand it either but SkipJacks explained it nicely to me so here is what he put :
Boot into your current rom.
Install any file explorer. ES File explorer is a great option from the Play Store.
Use ES File Explorer to check the MD5 sum.
Open ES File Explorer. Find the file (probably in your Downloads folder or whatever fold the app you used to download the file puts things in)
Long press the file. Little boxes will show up to the right.
Click MORE at the bottom of the screen. (Might be at the top. I'm looking at this on my tablet. It might be different on the phone version)
Then click PROPERTIES on the pop up menu
Then SHOW CHECKSUM
Select the MD5 checkbox.
Click CALCULATE
A long code shoudl show up under MD5 on that screen.
If the Md5 matches exactly with the file you have downloaded then flash the file.

Heloooo said:
I didnt understand it either but SkipJacks explained it nicely to me so here is what he put :
Boot into your current rom.
Install any file explorer. ES File explorer is a great option from the Play Store.
Download the firmware file. It will be called PM58IMG.zip
Use ES File Explorer to check the MD5 sum.
Open ES File Explorer. Find the PM58IMG.zip (probably in your Downloads folder or whatever fold the app you used to download the file puts things in)
Long press the file. Little boxes will show up to the right.
Click MORE at the bottom of the screen. (Might be at the top. I'm looking at this on my tablet. It might be different on the phone version)
Then click PROPERTIES on the pop up menu
Then SHOW CHECKSUM
Select the MD5 checkbox.
Click CALCULATE
A long code shoudl show up under MD5 on that screen.
If the Md5 matches exactly with the file you have downloaded then flash the file.
Click to expand...
Click to collapse
One thing I would change. When I was talking to you we were talking about firmware specifically, so I added that the file you needed to check would be called pm58img.
But md5 sums can be calculated on any file. It doesn't just apply to firmware.
Sent from your phone. You should be careful where you leave that thing.

Skipjacks said:
One thing I would change. When I was talking to you we were talking about firmware specifically, so I added that the file you needed to check would be called pm58img.
But md5 sums can be calculated on any file. It doesn't just apply to firmware.
Sent from your phone. You should be careful where you leave that thing.
Click to expand...
Click to collapse
Yep , I realised after i posted it but i couldnt edit it because of the 2 minute rule on new users. Its been edited now

Related

Question about MD5 Checksum

I see this everywhere, but what exactly is it and what does it mean? I rooted, flash cm7 rc2, flash back to stock Rom then re-flashed AR 4.0 b3.1 all without checking md5... Any negative effects to that? Also I am running stock kernel and whatever radio was pushed to my phone during the one click rooting process...
Sent from my Inspire 4G using XDA App
It's basically a file fringerprint. Verifies file intergrity.
Read more here:
http://en.wikipedia.org/wiki/MD5
Open up astro on the phone, navigate to where your file is. Click and hold, press details, and give it a minute, you'll see the checksum.
harlenm said:
Open up astro on the phone, navigate to where your file is. Click and hold, press details, and give it a minute, you'll see the checksum.
Click to expand...
Click to collapse
which file?
anyone care to chime in?
ogxku5h said:
anyone care to chime in?
Click to expand...
Click to collapse
Whichever file you download. If you downloaded the ROM, and want to check the ROM's MD5, open astro, long press the ROM, and check MD5.
If it's a radio you want to check, long press the radio file in Astro and check MD5
I actually didn't know Astro would do this. I found a free program for my computer that will check MD5 sums. Put the file on the SD, tell the program where the file is, it gives me an MD5

how to rename CWM backups?

I have been palying around with various Zoom configuration. As I get one close I do a nandroid backup with CWM Recovery. I would like to be able to rename them with discriptive names so that I can find a specific backup when needed. Every time I try I get an MD5 sum error.
Does anyone know how to rename a backup and fix the MD5 sum?
REHolt218 said:
I have been palying around with various Zoom configuration. As I get one close I do a nandroid backup with CWM Recovery. I would like to be able to rename them with discriptive names so that I can find a specific backup when needed. Every time I try I get an MD5 sum error.
Does anyone know how to rename a backup and fix the MD5 sum?
Click to expand...
Click to collapse
You will need a file manager, such as Astro or what I use, Super Manager. Your nandroid back ups will be under folder "external 1" , clockworkmod, backup.
It's all in the file manager
I use root explorer. One thing to remember is that you can't use certain characters. I don't know exactly what they are, but if you only use what are in the original as far as punctuation you should be all set.
REHolt218 said:
I have been palying around with various Zoom configuration. As I get one close I do a nandroid backup with CWM Recovery. I would like to be able to rename them with discriptive names so that I can find a specific backup when needed. Every time I try I get an MD5 sum error.
Does anyone know how to rename a backup and fix the MD5 sum?
Click to expand...
Click to collapse
Use a md5 checker and check the whole folder, find the md5 file and open a text editor and add the md5 you just got in place of the old one
And if you put any special characters in the name or spaces you will get a md5 sum error
Sent from my ADR6400L using Tapatalk
the easiest way is use root explorer and stick to numbers and alphabet characters as much as possible. it will handle the md5 for you. just renaming the files with a file manager will ruin the backup.. DONT DO IT. I found out the hard way unfortunately.
As a test, I copied a CWM backup folder from my phone to my Windows PC. I renamed the folder without spaces or special characters and then copied the entire folder back to the phone. Upon restoring using CWM 5.0.2.7, it successfully passed md5 test and restored. I then rebooted with no problem.
I also compared the md5 sums in the nandroid.md5 files from the original folder (before renaming) and after renaming and they are identical.
The key is to avoid spaces or special characters; use underscore "_" instead of spaces in the folder_name.
I hope this helps!
you can use - instead of space
md5 fail with space, if rename again it will re-work, data is NOT ruined if you rename

clockwork-recovery MD5 mismatch FIX!

HEY GUYS I JUST FOUND THE KEY TO THE PROBLEM---clockwork-recovery MD5 mismatch IS VERY SIMPLE...
1.OPEN SD CARD IN WINDOWS.
2.DOWNLOAD 2 SOFTWARES ( MD5 CALCULATOR AND NOTEPAD++) JUS GOOGLE THEM AND INSTALL.
3.OPEN CLOCKWORK FOLDER IN SD VIA COMPUTER->BACKUP->(YOUR BACK).
4.NOW RIGHT CLICK ON NANDROID.MD5 AND EDIT WITH NOTEPAD++
5.GREEN HIGHLIGHTED PHRASE IS A KEY.
6.RIGHT CLICK ON REST EVERY FILE IN BACKUP FOLDER INDIVIDUALLY->MD5 CALCULATOR
7.MATCH THE KEY TO THAT OF NOTEDPAD++ FILE
8.IF THEY DONT MATCH COPY KEY FROM MD5 CALCULATOR AND PASTE IN NOTEPAD
9.SAVE AND EXIT.
10.NOW TRY RECOVERY IT;LL WORK.
MD5 is there for a reason...
Sent from my GT-S5670 using XDA App
Aspire said:
MD5 is there for a reason...
Sent from my GT-S5670 using XDA App
Click to expand...
Click to collapse
what reason??
can you share??
(and why did you change the name?)
Wikipedia said:
MD5 digests have been widely used in the software world to provide some assurance that a transferred file has arrived intact. For example, file servers often provide a pre-computed MD5 (known as Md5sum) checksum for the files, so that a user can compare the checksum of the downloaded file to it. Unix-based operating systems include MD5 sum utilities in their distribution packages, whereas Windows users use third-party applications.
Click to expand...
Click to collapse
Successful verification of the md5 file shows that the files are the same as at the time of packing and "not corrupted".
Consider this,
You flash a ROM which did not have a correct md5 checksum.
It may mean that the ROM was corrupted due to some reason and you may end up with a bricked phone.
though the chances of this happening are pretty low with a backup.. but better safe than sorry.
and i changed my username cause i liked it
arhant said:
HEY GUYS I JUST FOUND THE KEY TO THE PROBLEM---clockwork-recovery MD5 mismatch IS VERY SIMPLE...
1.OPEN SD CARD IN WINDOWS.
2.DOWNLOAD 2 SOFTWARES ( MD5 CALCULATOR AND NOTEPAD++) JUS GOOGLE THEM AND INSTALL.
3.OPEN CLOCKWORK FOLDER IN SD VIA COMPUTER->BACKUP->(YOUR BACK).
4.NOW RIGHT CLICK ON NANDROID.MD5 AND EDIT WITH NOTEPAD++
5.GREEN HIGHLIGHTED PHRASE IS A KEY.
6.RIGHT CLICK ON REST EVERY FILE IN BACKUP FOLDER INDIVIDUALLY->MD5 CALCULATOR
7.MATCH THE KEY TO THAT OF NOTEDPAD++ FILE
8.IF THEY DONT MATCH COPY KEY FROM MD5 CALCULATOR AND PASTE IN NOTEPAD
9.SAVE AND EXIT.
10.NOW TRY RECOVERY IT;LL WORK.
Click to expand...
Click to collapse
Or you can simply use the app root toolbox available in the market.
Sent from my Galaxy Fit @ 801Mhz- RazoDroid
Aspire said:
Successful verification of the md5 file shows that the files are the same as at the time of packing and "not corrupted".
Consider this,
You flash a ROM which did not have a correct md5 checksum.
It may mean that the ROM was corrupted due to some reason and you may end up with a bricked phone.
though the chances of this happening are pretty low with a backup.. but better safe than sorry.
and i changed my username cause i liked it
Click to expand...
Click to collapse
what's your real name, btw?? :curious:
and buddy, why don't you join us on fb? see my sig vvvv
Congratulations arihant you made FIT to appear on XDA Portal !!
invincible authority said:
congratulations arihant you made fit to appear on xda portal !! :d
Click to expand...
Click to collapse
thnx even i didnt knew that..thnx for telling..
You are GENIUS THX!!!
Aspire said:
MD5 is there for a reason...
Sent from my GT-S5670 using XDA App
Click to expand...
Click to collapse
Well yeah, MD5 is a great thing when it comes to checking consistency of a file, but for example, it bothers me because i have about 5-6 rom backups and they are all difrent roms, so i need to change the name of folder from date-time stamp to name of the rom, but when i do that i cant restore it any more because MD5 checksum apperantly checks the folders name also so i have to rename it again to date stamp... but sometimes it can be useful... just sayin'
I don't think cwm checks the backup names. I've got a couple of backups renamed to the ROM names and they work well.
well i dont know then, when i change their name back to the time stamp like 2012-03-15 11.12.32 then the restore will work, but when i leave a name like CM 7.2 rc5.5, when i chose restore, it prints out md5 checksum mismatched...
Same thing happens with me too..renaming the cwm backup file leads to the same mds mismatch error but sometimes it works..strange eh??
That never happens for me...
Sent from my GT-S5670 using XDA
Well I am an experienced hacker so ill explain. I do not have a brief knowleage about md5 but the md5 is calculated by the alphablet that it has lets say the name is ABHY then the md5 will be 1670 (This is an expamle) the other name is ZXDR the md5 will be 7304 now if you change the name the md5 does not change hence the error arises
Sent from my GT-S5670 using xda premium
yeah i know that, but i thought that he makes MD5 checksum of backup files, one by one, and not the whole folder...
slobo14 said:
yeah i know that, but i thought that he makes MD5 checksum of backup files, one by one, and not the whole folder...
Click to expand...
Click to collapse
Its assigned to the whole file
Sent from my GT-S5670 using xda premium
It looks like this is the case, I havejust spent the last hour trying to "repair" the Md5 checksums as described above only to find there was no problem with them, the problem was i had renamed the backup file. on checking in details when the file was created i renamed the file accordingly and voila the backup worked. I have renamed many backup files before and never had this problem but i did this time strange.
Informative post...
but MD5 checksum verification is useful...
I got md5 checksum error and it was caused by space in renamed folder name. After i remove space, restore worked.

[Q] MD5sum Help

I think I understand the principle of an MD5sum (check file for errors / corruptions), and that in a nandroid backup, the md5sum is based off the name of the backup. So that brings me to two questions:
1. How does one check an md5sum? (btw I am running Snow Leopard 10.6.8 on a macbook pro)
Look Here
2. Is there any way I can change the md5sum of a nandroid backup so that I can rename it to something I'll recognize? (Like stock ROM or SC5_V1 with the date) Is there anything special I need to do to change the name of a nandorid backup?
No
I've attempted to scour the internet for my answers, but have been unsuccessful =/
Thanks in advanced.
Md5 is based on the contents of the files. If one bit of data is different the resulting md5 will be different. It is not based on the filename. Android market has many md5 apps you could use
Sent from my AXI0M IONIC using XDA App
dagostin said:
Md5 is based on the contents of the files. If one bit of data is different the resulting md5 will be different. It is not based on the filename. Android market has many md5 apps you could use
Sent from my AXI0M IONIC using XDA App
Click to expand...
Click to collapse
+1 to this. md5sums are very useful when you download big files to make sure that it didn't get corrupted in the download.
Look here on how to easily get the md5sum of a file on a mac.
dagostin said:
Md5 is based on the contents of the files. If one bit of data is different the resulting md5 will be different. It is not based on the filename. Android market has many md5 apps you could use
Sent from my AXI0M IONIC using XDA App
Click to expand...
Click to collapse
Therefore changing the name of a nandorid backup shouldn't change the MD5sum right? So I should therefore be able to change the names to whatever I want right?
cowenby said:
Therefore changing the name of a nandorid backup shouldn't change the MD5sum right? So I should therefore be able to change the names to whatever I want right?
Click to expand...
Click to collapse
Correct. You can also use ROM Manager to automatically backup/restore/flash and you have to option to name it whatever you want.
cogeary said:
Correct. You can also use ROM Manager to automatically backup/restore/flash and you have to option to name it whatever you want.
Click to expand...
Click to collapse
Hmm I will have to experiment some then...

9.5.8 full zip file is not found in local upgrade section

Converted my 7pro to international from tmobile some time ago. Bootlader and sim unlocked, rooted, have custom kernel, and working on 9.5.7.. I want upgrade to 9.5.8, downloaded full zip multiple times for GM21AA, md5 checked, everything works.. Moved downloaded ZIP file to root folder (internal memory), but i can't see the update under settings > system > system updates > settings > local upgrade..
restarted, cleared cache.. etc.. tried all possible ways. Even oxygen updater app sees that there is an update zip in place. But what the hell happening in local upgrade section, am i missing a step here?
flayzeraynx said:
Converted my 7pro to international from tmobile some time ago. Bootlader and sim unlocked, rooted, have custom kernel, and working on 9.5.7.. I want upgrade to 9.5.8, downloaded full zip multiple times for GM21AA, md5 checked, everything works.. Moved downloaded ZIP file to root folder (internal memory), but i can't see the update under settings > system > system updates > settings > local upgrade..
restarted, cleared cache.. etc.. tried all possible ways. Even oxygen updater app sees that there is an update zip in place. But what the hell happening in local upgrade section, am i missing a step here?
Click to expand...
Click to collapse
Did you put the full zip file on the root of your internal storage? Meaning it has to be on /sdcard/ not /sdcard/downloads
Yes i did, its definitely on internal storage (root)
Also I notice something similar when I download a full zip and it was that after .zip it also had .jar so it looked like this( ? Name.zip.jar ) so I rename it and deleted jar and I was able to see under local update
HtcOnekid said:
Also I notice something similar when I download a full zip and it was that after .zip it also had .jar so it looked like this( ? Name.zip.jar ) so I rename it and deleted jar and I was able to see under local update
Click to expand...
Click to collapse
It definitely has no extension other than zip
Do you have renovate rom installed?
rickysidhu_ said:
Do you have renovate rom installed?
Click to expand...
Click to collapse
Its international 9.5.7 oos
flayzeraynx said:
Its international 9.5.7 oos
Click to expand...
Click to collapse
My best guess is to check the md5 hash of that zip and see if it matches the one on the OP website. If it doesn't match, you have a bad download. Also, can you open the zip with a file manager or does it TELL you it's corrupt? In any case, I'd say redownload the zip.
H4X0R46 said:
My best guess is to check the md5 hash of that zip and see if it matches the one on the OP website. If it doesn't match, you have a bad download. Also, can you open the zip with a file manager or does it TELL you it's corrupt? In any case, I'd say redownload the zip.
Click to expand...
Click to collapse
Thats the interesting part. Md5 is matching, and yes i can see the contents of zip file when i tap it. I downloaded 5 times already
In last 10 phones in my life, this is first time happening
flayzeraynx said:
Thats the interesting part. Md5 is matching, and yes i can see the contents of zip file when i tap it. I downloaded 5 times already
In last 10 phones in my life, this is first time happening
Click to expand...
Click to collapse
Yeah that IS weird, never seen that before.... So when all else fails, I'd use fastboot to boot TWRP and then install the zip that way. Is your bootloader unlocked? Use the command "fastboot boot [file name].img" then flash it there, if you're gonna install the TWRP zip to have it permanently, remember to install Magisk as well, it's needed for the phone to boot in that case.
Did you ever find a solution to this? I am having the same issue. .zip file is downloaded, not corrupt and in the root folder, but "system update / local upgrade" doesn't see it.
Some file explorers doesn't show the extension. It may be the case that your file is named "name.zip.jar", but when your looking at it, .jar is dropped, showing only "name.zip". This makes you believe .zip is the extension, while it's not, rather just part of the filename.

Categories

Resources