Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,728,117 Members 47,522 Now Online
XDA Developers Android and Mobile Development Forum

[How To] Check MD5 sums

Tip us?
 
nmyeti
Old
#1  
Senior Member - OP
Thanks Meter 117
Posts: 287
Join Date: Jun 2010
Default [How To] Check MD5 sums

I've seen a large number of posts in the various ROM/Radio threads that indicate to me that many of our users do not know how to check MD5 sums. I wrote this post in the BAMF sense 3.0 thread, but it will be buried there in a matter of minutes. Moderators, i understand this isn't strictly thunderbolt development related, but given the number of questions about this in this forum, I thought this might be appropriate, if you disagree, please move.

On windows use

http://download.cnet.com/MD5-Checker...-10410639.html

Unzip and launch md5.exe

Copy the MD5 hash sum of the rom you downloaded to your clipboard


Hit the paste button in the MD5.exe program


Browse to the file you downloaded


If the codes match the box goes green and the text tells you that the codes match.

On Linux;
cd Downloads (assuming Downloads is the path of the file)
md5sum BAMFROMYOUJUSTDOWNLOADED.zip

Check the output of the md5sum command against the has posted in the thread. Also note that the md5sum command on Linux doesn't like special characters such as () / or anything in the rom name. You can rename a file without changing the MD5 hash, so keep this in mind.
The Following 101 Users Say Thank You to nmyeti For This Useful Post: [ Click to Expand ]
ad0131065 Old
#2  
Guest
Thanks Meter
Posts: n/a
Just figured I would mention that if you are doing it on your device you can download hash Droid from the market and do it that way also

Sent from my ADR6400L using XDA App
The Following User Says Thank You to For This Useful Post: [ Click to Expand ]
 
dhemke17
Old
#3  
dhemke17's Avatar
Recognized Developer
Thanks Meter 734
Posts: 1,701
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by nmyeti View Post
I've seen a large number of posts in the various ROM/Radio threads that indicate to me that many of our users do not know how to check MD5 sums. I wrote this post in the BAMF sense 3.0 thread, but it will be buried there in a matter of minutes. Moderators, i understand this isn't strictly thunderbolt development related, but given the number of questions about this in this forum, I thought this might be appropriate, if you disagree, please move.

On windows use

http://download.cnet.com/MD5-Checker...-10410639.html

Unzip and launch md5.exe

Copy the MD5 hash sum of the rom you downloaded to your clipboard

Hit the paste button in the MD5.exe program

Browse to the file you downloaded

If the codes match the box goes green and the text tells you that the codes match.

On Linux;
cd Downloads (assuming Downloads is the path of the file)
md5sum BAMFROMYOUJUSTDOWNLOADED.zip

Check the output of the md5sum command against the has posted in the thread. Also note that the md5sum command on Linux doesn't like special characters such as () / or anything in the rom name. You can rename a file without changing the MD5 hash, so keep this in mind.
On a mac, from the home directory in terminal, you can just type

md5 [drag-and-drop the zip file you downloaded] and hit enter. It will give you your md5sum

Verizon Droid DNA
Current Rom:C-Rom 6.2 nightly
Current Kernel: CM Kernel
Current Theme: Black infinity
The Following 8 Users Say Thank You to dhemke17 For This Useful Post: [ Click to Expand ]
 
SF Bolt
Old
#4  
SF Bolt's Avatar
Member
Thanks Meter 4
Posts: 33
Join Date: May 2011
Location: San Francisco
Also AFV in the market Android File Verifier works like a charm!

Sent from my ADR6400L using Tapatalk
iPhone> Droid Inc.> HTC Thunderbolt> GNEX> RAZR
The Following 3 Users Say Thank You to SF Bolt For This Useful Post: [ Click to Expand ]
 
lrs421
Old
#5  
lrs421's Avatar
Senior Member
Thanks Meter 462
Posts: 3,710
Join Date: Sep 2010
Location: New York
Great guide OP , you're right, this one comes up a lot.

I personally use astro file manager. Navigate to the file, long press and select "Details". Give it a few seconds and it will give you the MD5 checksum .
The Following 3 Users Say Thank You to lrs421 For This Useful Post: [ Click to Expand ]
 
major_works
Old
#6  
Senior Member
Thanks Meter 78
Posts: 393
Join Date: Mar 2011
The previous two posts mentioned AFV and Astro. I had been using AFV with good success. Recently I learned of Astro's ability to extract the MD5 sum in the manner lrs421 mentions. That's the way I've been approaching it of late.

I've not been doing this rooting/flashing thing for long and have yet to have a download come up bad, but when one does, I want to know before I screw up my Bolt with it. So checking MD5 sums is, for me, an essential step.

Thanks to the OP for a good tutorial thread!
The Following 3 Users Say Thank You to major_works For This Useful Post: [ Click to Expand ]
 
avlfive
Old
#7  
avlfive's Avatar
Senior Member
Thanks Meter 27
Posts: 345
Join Date: Jul 2010
Location: 253
Quote:
Originally Posted by SF Bolt View Post
Also AFV in the market Android File Verifier works like a charm!

Sent from my ADR6400L using Tapatalk
Yup. This is the way to go. Astro too but I prefer AFV.
The Following User Says Thank You to avlfive For This Useful Post: [ Click to Expand ]
 
xcrazydx
Old
#8  
xcrazydx's Avatar
Senior Member
Thanks Meter 2195
Posts: 6,304
Join Date: Feb 2012

 
DONATE TO ME
Thanks for this, I've been trying to figure out how to do this.
 
Jc8206
Old
#9  
Jc8206's Avatar
Member
Thanks Meter 5
Posts: 85
Join Date: Apr 2011
I've flashed so many roms my buttons are wearing out, and I have never once checked an md5....

Sent from my HTC ThunderBolt using Tapatalk
 
nitsuj17
Old
#10  
nitsuj17's Avatar
Recognized Developer
Thanks Meter 17052
Posts: 10,100
Join Date: Aug 2010
Location: PA

 
DONATE TO ME
step 1: get linux, cuz windows sucks

step 2: open a terminal

step 3: type

md5sum (file name) (path to file name) or just drag in the zip to the terminal

step 4: hit enter

theres the md5sum

The Following User Says Thank You to nitsuj17 For This Useful Post: [ Click to Expand ]
Tags
how to, md5, md5sum
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes