[Motorola Droid RAZR] Ohmster:
Hello [MENTION=1472623]d.casper.b[/MENTION].

Before anyone gets on a crusade to "prove me wrong", I am not trying to prove *anything*! This is just what I know, what I have tested, and the results that I am sharing with all of you. If someone has a particular need to "be right", fine, I will say "I am wrong and Joe Blow is always right". Will that help anyone here feel better? :laugh:

I never had much luck with these downloaded md5sum files. And md5sum file should contain two things:

The actual md5sum of the file it was made for.

The name of the file that is to be checked against the md5 contained in the md5sum file.

MD5sum files are just text files, as you can see below.

[paul@PPC-WORKS bench]$ file cm-11-20150405-UNOFFICIAL-spyder.zip.md5sum

cm-11-20150405-UNOFFICIAL-spyder.zip.md5sum: ASCII text

[paul@PPC-WORKS bench]$

I looked inside of the md5sum files that come with the roms. The actual md5sum number it contains IS the right md5 for the zip file it was made for. BUT, the md5sum file that does come with the rom file contains path info.

Let's make this simple with a short example:

My rom file is on my sdcard. The file is /sdcard/myrom.zip

The md5sum is also on my sdcard. The file is myrom.zip.md5sum

Inside the myrom.zip.md5sum is the md5sum and the myrom.zip file with full path. Like this...

Contents of myrom.zip.md5sum:

DC01C6FEB769FF30B2D70B0197520E40 /build/Android/cm-11.0/out/target/product/spyder/myrom.zip

Notice the path to file in RED. If it were to say /sdcard/myrom.zip as in my example, then the file could be found, right on the sdcard. But I do not have nested folders called /build/Android/cm-11.0/out/target/product/spyder/. Any attempt to find myrom.zip in that location will fail.

The PATH and md5 sum in the above example are from the 04/05 cm11 rom. Because of this conflicting path issue, these md5sum files never worked for me, IMHO.

This is like you and I in my bedroom. I want to give you a cupcake. So I tell you to get the cupcake from the backyard, garage, red Craftsman toolbox, bottom section, middle drawer. You try to find the cupcake but I do not have a garage in the backyard, let alone any toolbox to look in. You cannot find the cupcake.

Now I try it again and say go take the cupcake. (Without telling you a location where to look for the cupcake.) We are both in the same room. There is a cupcake on the table. You find it, take it, and eat it. Yum yum!

Testing md5sum in Linux. The information on how to do this is on this web page:

How to create MD5 Checksums and validate a file in Linux

This is my point. Since md5sum is a build in Linux command and these roms are build on Linux and Linux can make the md5sum files. I just ran the md5sum test on the orignal 04/05 files, both rom and md5sum files. This is the Linux output:

[paul@PPC-WORKS bench]$ ls -lh

total 213M

-rw-r--r-- 1 paul paul 213M Apr 7 10:25 cm-11-20150405-UNOFFICIAL-spyder.zip

-rw-r--r-- 1 paul paul 120 Apr 7 10:26 cm-11-20150405-UNOFFICIAL-spyder.zip.md5sum

[paul@PPC-WORKS bench]$

[paul@PPC-WORKS bench]$ md5sum -c cm-11-20150405-UNOFFICIAL-spyder.zip.md5sum

md5sum: /build/Android/cm-11.0/out/target/product/spyder/cm-11-20150405-UNOFFICIAL-spyder.zip: No such file or directory

/build/Android/cm-11.0/out/target/product/spyder/cm-11-20150405-UNOFFICIAL-spyder.zip: FAILED open or read

md5sum: WARNING: 1 of 1 listed file could not be read

[paul@PPC-WORKS bench]paul@PPC-WORKS bench]$ md5sum cm-11-20150405-UNOFFICIAL-spyder.zip

dc01c6feb769ff30b2d70b0197520e40 cm-11-20150405-UNOFFICIAL-spyder.zip

In Purple Color: The md5sum command on the rom file, cm-11-20150405-UNOFFICIAL-spyder.zip, shows the underlined md5sum number and filename. NO PATH.

I can make an md5sum file the same way as reading the md5sum from the rom zip and outputting it to a file. Like this:

md5sum cm-11-20150405-UNOFFICIAL-spyder.zip > md5sum cm-11-20150405-UNOFFICIAL-spyder.zip.md5sum

...or txt, or md5, or md5sum, or whatever named text file I want for the md5sum file. But the Linux created md5sum file created this way will contain 2 items. The md5sum number and the filename without path to file. How [MENTION=3457922]stargo[/MENTION] is making these md5sum files with path to file, I don't know. They would be useful to a developer that keeps the md5sum files away from the rom zips, but not useful to us. Again, IMHO. :)

But wait! These md5sum files DO work on the phone, Ohmster. Just put the md5sum file and the rom file in the same folder, flash in Safestrap, and it will work. Maybe. I looked in the Advanced Settings in Safestrap. "Skip MD5 generation during backup" and "Enable MD5 verification of backup files". No option for MD5 for rom install files.

Okay, I will try it again next time. Right now I got 04/05 installed and it is working very well. Nice discussion with you fellows! :D