MD5? - Thunderbolt General

Can somebody explain MD5 to me in retard terms? How do I know what my phone needs? And how do i know if it's ok to flash?
I'm sorry I'm a retard... Lol
THUNDERBOLT

Seriously, has everyone forgotten what Google is? md5sum is a file's unique "fingerprint". It is posted to help downloaders ensure that they have the exact same file as what was uploaded.

Md5sum is essentially a digital fingerprint for a given file. The reason they are given is that it will give you a clue as to whether or not you have a complete and correct (exact) download. This is especially important in flashing a radio file. You will see them in rom threads too, but it is most important for a radio (PG05IMG.zip)
Flashing a bad radio in hboot can and will brick your phone. Flashing a bad rom or kernel in recovery is quite recoverable.
You can download an app called AFV (android file verifier) from the market and can calculate the md5 of any file and you just compare it to what is in generally the OP of any thread.

ridobe said:
Md5sum is essentially a digital fingerprint for a given file. The reason they are given is that it will give you a clue as to whether or not you have a complete and correct (exact) download. This is especially important in flashing a radio file. You will see them in rom threads too, but it is most important for a radio (PG05IMG.zip)
Flashing a bad radio in hboot can and will brick your phone. Flashing a bad rom or kernel in recovery is quite recoverable.
You can download an app called AFV (android file verifier) from the market and can calculate the md5 of any file and you just compare it to what is in generally the OP of any thread.
Click to expand...
Click to collapse
Thanks
THUNDERBOLT

Related

[Q] Can Someone Please explain MD5 ...Uses and how to Compare and Check

Can Someone Please explain MD5 ... The uses and how to compare and check?
Many thanks in advance
What it does, how it works:
en.wikipedia.org/wiki/Md5
Program to calculate checksums (for example):
en.wikipedia.org/wiki/Md5sum
http://implbits.com/Products/HashTab.aspx this puts a tab on your (right click -> properties) and you can compare it there. makes MD5 easy.
its a way of error-detecting to see if it verifies 100% without any errors. this is critical when updating radios and things. if you have a bad copy of it then you may brick your phone or cause damage because you received a corrupted version
zephiK said:
http://implbits.com/Products/HashTab.aspx this puts a tab on your (right click -> properties) and you can compare it there. makes MD5 easy.
its a way of error-detecting to see if it verifies 100% without any errors. this is critical when updating radios and things. if you have a bad copy of it then you may brick your phone or cause damage because you received a corrupted version
Click to expand...
Click to collapse
I sort of get it....just ....what are you checking it with....so say i download a radio.img , then i check its md5 against what ? how would i know that whatever md 5 it had generated is the right one.....sorry for the questions
menov321 said:
I sort of get it....just ....what are you checking it with....so say i download a radio.img , then i check its md5 against what ? how would i know that whatever md 5 it had generated is the right one.....sorry for the questions
Click to expand...
Click to collapse
the OP would include a MD5. once you download it, right click the file you downloaded and go to the hash tab and copy paste the one the OP pasted.. copy paste it into the box and if it matches a check will appear meaning its 100% identical
if OP doesn't include one then you cant check
zephiK said:
the OP would include a MD5. once you download it, right click the file you downloaded and go to the hash tab and copy paste the one the OP pasted.. copy paste it into the box and if it matches a check will appear meaning its 100% identical
if OP doesn't include one then you cant check
Click to expand...
Click to collapse
OP????
what happens though if it isnt identical......
When it isn't identical, then the file got corrupted.
This can happen in a variety of ways, including:
- There was an error during download
- There was an error during the original upload
- The file got corrupted during storage on the server
- The file got corrupted because of an write/read error on your hard disk
- Someone purposefully manipulated the file, for example including a virus or even changed the file so that it would brick your device if you install it.
In any case: If the md5 doesn't match, then installing it is a big NO NO.
Effects can range from no problems over occasional errors and crashes to a completely bricked device (especially, if the error happens to be in the bootloader).
Or if someone manipulated the file willingly, he could be spying on you or causing you costs by making your phone send messages or doing calls to special expensive numbers. Or he could use your phone as a proxy for various illegal things.
PS: OP = orginal poster = the person who posted the file on the first place
Thank-you very much I understand now ....nice comprehensive answer....thanks though to all who posted
Sent from my Nexus S using XDA Premium App

Trouble with Hack Kit.

I have downloaded the radio I want from the radio thread. I am putting the zip in the romzip folder and renaming it rom.zip. What am I doing wrong?
What error are you receiving? Make sure USB debugging is on.
An alternative is to name it PD98IMG.zip and flash the radio through hboot.
Make sure to verify the md5sum before flashing
Sent from my TARDIS using XDA App
volumnus said:
I have downloaded the radio I want from the radio thread. I am putting the zip in the romzip folder and renaming it rom.zip. What am I doing wrong?
Click to expand...
Click to collapse
So you're saying you dispossessed one of the radios from the inspire radio thread in the dev section, correct?
If so, it sounds like you are going through some unnecessary steps.
Once you download one of the radios from the above-mentioned thread, you put that file, which is already named correctly, PD98IMG.zip, into the root of your SD card.
Verify the MD5 of that PD98IMG.zip file, checking it against that posted for the radio.
If it is identical, proceed...
I have fastboot unchecked, reboot the phone and get into hboot.
Select bootloader (I think. I don't do it THAT often. )
After a second or two, it should look for the file, and scan it.
Push the corresponding volume button to confirm applying the update, let it do its thing.
Reboot.
Confirm baseband reflects the newly flashed radio.
Flash appropriate RIL for the radio, if necessary, via cwr.
WHAT'S MD5? Is it important for us? Im just flashing many radios to test which one works best for me.
Sent from my Desire HD using XDA App
MD5 checksum is a way to verify if the file has been corrupted in either download or transfer and yes it is important, especially with the radio if you flash a radio; at the least you will not be able to flash the radio, at worst with a bad file you have the opportunity to Brick you phone! When loading roms patches ect. using md5 ensures a proper file for install. If your in the us I would suggest sticking with the latest stock AT&T radio until you settle on a rom and then only change if you don't have the performance you think you should have.

[Q] How should my MD5 Checksum read

Ok I'm a "Noob" to the Android phenom happening. Don't scold me for asking plz.
I've got "S-OFF" on my Sensation 4G and am flashing ROM's to see which I like but I'm not sure my MD5 is right.
PYRAMID PVT SHIP S-OFF RL
HBOOT - 1.17.1011
RADIO - 10.13.9035.19_M
That's what my phone is showing but i keep seeing I need 10.54.9035.00U_10.13.9035.19_M
Being that the last is identical am I good or do I need to try some other method to update the RADIO?
MD5 is to check for files.. not for phones..
This is md5.
In regards to your question, yes, you have the correct radio. You will not see "10.54.9035.00U" if you are in the bootloader screen.
However, you will see it under settings->about phone->software.
MD5 sum checks integrity of the file. There should be an MD5 listed for the file you are downloading.
Download the file, then checksum. If it matches the MD5 listed, you're good to go.
If not, there's something wrong with the file, try to download again. If still no good, get on the thread and let somebody know. Big files (like ROMs) may take a minute or two to before sum appears, be patient.
P.
PaulGiz said:
MD5 sum checks integrity of the file. There should be an MD5 listed for the file you are downloading.
Download the file, then checksum. If it matches the MD5 listed, you're good to go.
If not, there's something wrong with the file, try to download again. If still no good, get on the thread and let somebody know. Big files (like ROMs) may take a minute or two to before sum appears, be patient.
P.
Click to expand...
Click to collapse
What file to download?
Just look around on the site you downloaded it from, there usually is a MD5 provided. You will just have to compare the numbers (you can do that when rebooting into recovery, then trying to find check MD5 of a file, then selecting the file you want to check).
I don't know about an automatic way to check it with recovery, with some ROM update mechanism it might.
This is an MD5 sum btw: 555d6458ed45e716eb22ced991393e35 and they must match exactly otherwise your download went wrong somewhere and you should download the files again.

[Q] What's MD5 checksum?

What is it? i read somewhere that if a radio and checksum don't match, it has a negative effect.
its pretty simple. its just a set of numbers and letters, if they match up perfectly with the one in the op of the radio or rom then your good to go. If they dont match you run the risk of bricking your phone. http://forum.xda-developers.com/showthread.php?t=706705
supraman89 said:
its pretty simple. its just a set of numbers and letters, if they match up perfectly with the one in the op of the radio or rom then your good to go. If they dont match you run the risk of bricking your phone. http://forum.xda-developers.com/showthread.php?t=706705
Click to expand...
Click to collapse
what if they don't match? how do you change it?
pranker98 said:
what if they don't match? how do you change it?
Click to expand...
Click to collapse
Download it again and check. No way to fix it if it's corrupt, i.e. MD5 sums don't match.
MD5 is a mathematical algorithm, used in encryption and other security applications.
When you run MD5 software on a file it performs the calculation and out comes a long hexedecimal number which is refered to as the MD5 checksum.
It's customary for this checksum to be posted along with the link to files such as ROMs and radios.
When you download, you can then run your own MD5 software on the downloaded file. It will perform the exact same mathematical calculation and give you the MD5 checksum of the file you have downloaded.
If your checksum matches the one posted by the dev, you can be sure you have an accurate copy of the downloaded file. If they don't match, then your download is either corrupt, or possibly some kind of trojan.
You should never install any software if the MD5 sum does not match the one provided by the dev. Instead, try downloading the file again, perhaps from a different mirror. If all else fails, contact the dev as it's possible they might have posted an incorrect checksum, or may have an alternate means by which you can obtain the file.
Tromador said:
MD5 is a mathematical algorithm, used in encryption and other security applications.
When you run MD5 software on a file it performs the calculation and out comes a long hexedecimal number which is refered to as the MD5 checksum.
It's customary for this checksum to be posted along with the link to files such as ROMs and radios.
When you download, you can then run your own MD5 software on the downloaded file. It will perform the exact same mathematical calculation and give you the MD5 checksum of the file you have downloaded.
If your checksum matches the one posted by the dev, you can be sure you have an accurate copy of the downloaded file. If they don't match, then your download is either corrupt, or possibly some kind of trojan.
You should never install any software if the MD5 sum does not match the one provided by the dev. Instead, try downloading the file again, perhaps from a different mirror. If all else fails, contact the dev as it's possible they might have posted an incorrect checksum, or may have an alternate means by which you can obtain the file.
Click to expand...
Click to collapse
how do you verify if they match or not?
crazyandroider said:
how do you verify if they match or not?
Click to expand...
Click to collapse
use any file manager you have and navigate to the zip file
tap and hold on it and select properties
somewhere it will say show md5 checksum or calculate md5 checksum
you will see a row of numbers and letters
then check it if it is the same withe one from the download link

[Q] Need basic help getting a recovery tool and loading a ROM

Ok, I've been installing custom ROMs on my phone for a while now, and that process was pretty simple after finding some good step by step instructions. I'm having trouble though finding similarly simple step by step instructions on how to load a recovery tool onto my TF101 and load a ROM onto it. Most threads seem to be recommending using TWRP over Clockwork (which was in the Cyanogen instructions), but I'm first stuck at the basic concept of the MD5 files. I have absolutely ZERO idea what the MD5 files are or how to use them. Is there a thread someone with general step by step instruction on how to get a good recovery tool on the TF101 and how to load a ROM? If so...maybe it should be stickied at the top of one of the main forums for the TF101?
Have a look here: http://www.transformerforums.com/fo...t/31927-frederuco-s-guide-root-rom-tf101.html
I have not posted it here, but perhaps I should...
MD5 sum are just computer generated numbers to match the file you download. I'm surprised that you never heard of MD5 before if you've been flashing ROM for a long time. Anyway when you download a file here on XDA, there's always an MD5 posted that is associated with the file. You have to check the MD5 of the file you download against the MD5 number posted.
-There are many program you can check on your PC (I use WinMD5.exe)
-There are many app in the Play Store to check MD5
-A lot of the popular file manager can do Md5 check (Asrtos, ES File Explorer, ect)
If your MD5 of the download file match the MD5 posted, it mean the file you download is good and not corrupted or incomplete.
I use ES File Explorer to check md5. Also, many downloads have a .zip.md5 to go with the .zip file and then TWRP can check the md5 sum itself.
frederuco said:
Have a look here: http://www.transformerforums.com/fo...t/31927-frederuco-s-guide-root-rom-tf101.html
I have not posted it here, but perhaps I should...
Click to expand...
Click to collapse
Thanks for that. I took a quick look at it and that looks like more in line with what I was looking for. I'll run through your instructions and see how it works out. If I find anywhere that needs to be updated, I'll let you know. Then maybe we'll see if we can get a post stickied on here somewhere to help other noobs like myself.
baseballfanz said:
I'm surprised that you never heard of MD5 before if you've been flashing ROM for a long time. Anyway when you download a file here on XDA, there's always an MD5 posted that is associated with the file.
Click to expand...
Click to collapse
I've been installing ROMs on my old Samsung Sidekick 4G. None of those ROMs have any MD5 anything associated with them.
frederuco said:
Have a look here: http://www.transformerforums.com/fo...t/31927-frederuco-s-guide-root-rom-tf101.html
I have not posted it here, but perhaps I should...
Click to expand...
Click to collapse
Ok, I went through following your instructions from the other post. Excellent instructions. Worked out great. The only small note I have is at the end when you get to actually flashing the ROM and gapps etc. TWRPs gives you the option of adding more zip files to the flash and it appears that you can simply do the ROM, gapps, and kernel all at once if you want. I wasn't sure if there was any reason to do them individually, so I just went ahead and tried adding all 3 zip files to the flash. When it rebooted, it just sat at the loading screen (the meerkat with the 4 colored circles) for a really long time. I tried again and just flashed the ROM, then flashed the gapps, and left out the kernel all together and all seems fine. Thanks a ton for the tip!
I have had issues with TWRP 2.3.2.3 when flashing multiple files at once. The newer versions I have not had an issue with.
I think I am going to re-do that guide but also use some different rooting methods and add a video for each method.

Categories

Resources