Search code examples
androidfilemobilemd5-file

How to use the xxxx.md5 file or how to remove .md5 extension?


I get files like this below:

GT-I5500-CSC-SERJK1.tar.md5

This is what I want:

GT-I5500-CSC-SERJK1.tar 

How can I get it? Can I just remove the md5 file extension?


Solution

  • The file a.tar.md5 contains the MD5 hash of the file a.tar. The tar and the md5 files are totally different files. You can not get a tar file from a tar.md5 file.

    Edit: it turns out there are two types of .tar.md5 files:

    • Just MD5 sum. A file of 32 bytes. It is typically in a directory along with a .tar file, such as here. It is not possible to reconstruct the original tar file from the md5 file.
    • A tar archive with an appended MD5-sum. Several megabytes. Can be extracted by the standard tar tool, or it can be written to a phone with ODIN.