View Single Post
Old November 10th, 2011, 08:22 AM   #1 (permalink)
El Presidente
Beware The Milky Pirate!
Thread Author (OP)
 
El Presidente's Avatar
 
Join Date: Jan 2011
Location: Scotland
Posts: 26,571
 
Device(s): Xperia Z1, Nexus 7 3G, HTC One X, SGS3 Mini
Carrier: EE

Thanks: 14,016
Thanked 15,805 Times in 8,479 Posts
Default MD5 Verification

Checking the integrity and completeness of a file that you have transferred to your Android device that you might flash or restore to your phone is a very good idea. Have you ever downloaded a 100MB file and tried to flash or unpack it only to discover that the file was incomplete or corrupted? Checking a file's published checksum (usually an MD5 digest) against its calculated value can give you peace of mind and save you valuable time and rework.

There are several options for doing this on your Android device:

- AFV (Android File Verifier), which was developed by an AF member for the rooting community, can verify MD5 and SHA1 checksums and can verify Nandroid backups. Additionally, if you have a signed .jar type file (signed ROMs, .apk app files, update.zip files, etc.), AFV can also do a "jarsigner -v" type of verification even if you don't know/have a published MD5 checksum.

- Astro File Manager (long-press filename, select Details, wait for checksum to be calculated)

- several other apps in the Android Market

If you need to check an MD5 checksum on your Windows machine, there are several utilities:

- Download MD5 Checker 2.31 Free - A utility that can verify downloads with an MD5 checksum - Softpedia

- Download the MD5summer

- HashTab tool to quickly find file hash information

To check the MD5 sum on a linux machine open a Terminal session and type "md5sum home/username/Desktop/filename.zip"

To create the MD5 sum on a linux machine open a Terminal session and type "md5sum home/username/desktop/filename.zip > home/username/Desktop/filename.md5"

When using either of these terminal commands be sure to change the path is specific to the file you wish to calculate the checksum for.

You can also use the following program:

- RHash | Free Development software downloads at SourceForge.net

From a Apple Mac: open a Terminal session and type "openssl md5 <filename>"
__________________
Site Rules & Guidelines / Staff List / Ask the Staff
Want to bring naughty posts to our attention? Use:
Be respectful to each other - That's what we're all about.
El Presidente is online now  
Last edited by scary alien; August 16th, 2012 at 05:28 PM. Reason: fix minor spelling issue
The Following 35 Users Say Thank You to El Presidente For This Useful Post:
13bret (November 21st, 2012), AndyOpie150 (December 1st, 2011), biggoog (February 2nd, 2012), bszaki (May 17th, 2012), CARL777TON (November 10th, 2012), Caveman419 (November 28th, 2012), cusjs (December 16th, 2011), D-U-R-X (March 14th, 2012), dawgwooddoes (June 26th, 2012), droidagnostic (December 31st, 2013), fullbloodedmut (November 23rd, 2012), Fuzzy13 (May 10th, 2012), g00dboy (January 31st, 2012), GalaxyNexus (February 25th, 2012), gbiggie (February 6th, 2012), goonsage (December 21st, 2012), handerson (March 9th, 2014), jmorozco (September 8th, 2013), JrossiX (July 13th, 2013), kittie292 (September 9th, 2013), Memo35 (August 7th, 2012), ninadchaudhari (March 27th, 2012), NUT_NUT (November 30th, 2012), PrinceCorwin (May 6th, 2013), rapskallyun (April 13th, 2012), redneck2u (October 30th, 2013), r_hippy (January 24th, 2013), sawnut (March 26th, 2012), scary alien (November 11th, 2011), Scur (November 28th, 2011), SinnerFTW (February 4th, 2014), Tattooedgod (September 6th, 2012), uminchu (December 6th, 2011), Yeahha (December 17th, 2011)