Today when doing the tutorial on how to install the CWM Recovery in Samsun Galaxy S3 with Odin I found a big problem because the custom recovery images in this format come. img that is not recognized by ODIN.
I quickly looked for ways to compress in tar for windows but all this was very complex, so I restarted my PC in the Linux partition and began looking for an alternative to the operating system of the penguin.
Fortunately I found it quickly in the XDA forums and I could create the .tar.md5 I needed for the tutorial by following these simple steps.
1. Download the recovery you need for your device from the official website here
2. Rename the file to recovery.img
3. From the console, run the following commands:
tar -H ustar -c recovery.img > recovery.tar
md5sum -t recovery.tar >> recovery.tar
mv recovery.tar recovery.tar.md5