Convert IMG to TAR (zip to tar.md5) Odin Flashable Files

August 29, 2023

Convert IMG to TAR.MD5 Odin flashable files. Using an easy online converter tool, turn image recovery files or zip files into Odin files. As you know, it is impossible to flash IMG extension files on the Odin tool. Therefore we need to convert these IMG files into Odin flashable tar files.

Odin is a major tool used for flashing official or unofficial Samsung firmware with .tar or .tar.md5 extension. It is also used for rooting Samsung phones. In this easy step-by-step guide, we’ll discuss three different methods or ways to convert the IMG to a tar file. You can refer to any one of the three methods mentioned below.

How to Convert IMG to TAR Odin Flashable files?

In this tutorial, we’ll use three simple methods to convert the image or ZIP files into TAR or TAR.MD5.

Disclaimer

If your phone gets damaged during/after following this guide, then only you will be liable for that. Hence, perform the steps carefully and at your own risk.

Method 1: Convert IMG to tar using Script Bat Tool

One of the talented developers named mkh.mourad from the XDA community has recently developed a handy tool that lets you automatically create Odin flashable versions of IMG files. The tool takes the IMG file as an input and generates tar.md5 at the output. Let’s check out the steps involved in this process.

Downloads

tar-Tool_by_mkh.mourad.zip

Steps to convert IMG to TAR

  • Download and extract the zip file on your PC.
  • After extracting, you’ll find the following files in the script folder:
Convert IMG to TAR using Script Bat Tool 1
  • Now copy the .img file which you want to convert to tar.md5 in this script folder.
Convert IMG to TAR using Script Bat Tool 2
  • Whatever may be the name of that IMG file, just rename it to recovery.img file.
Convert IMG to TAR using Script Bat Tool 3
  • Look for ImgToTar.MD5 batch file present in that folder and double click it.
Script Bat Tool 4
  • As soon as you open it, the cmd window will appear.
Script Bat Tool 5
  • That’s it! This simple batch file will show its magic and create a tar.md5 file in that same folder.
Script Bat Tool 6
  • Finally! This way you can easily convert zip to tar using a scripted batch file.

Method 2: Convert IMG to tar using Odin Packager

In this method, we’ll use the Odin packager app and convert image files into TAR. Let’s get straight into it.

Downloads

Odin Packager app

Steps to convert IMG to TAR

  • Download and install the Odin Packager app on your Samsung mobile.
  • Also, copy the .img file on your phone.
  • Launch the app and click on the text area where the cursor is flashing.
Convert IMG to TAR using Odin Packager App 1
  • This will launch your file manager. Just open the .img file which you’ve copied earlier.
Convert IMG to TAR using Odin Packager App 2
  • Tap on the Make Odin flashable option. This will start the conversion process.
Convert IMG to TAR using Odin Packager App 3
  • This will create a tar.md5 file in your device.
Convert IMG to TAR using Odin Packager App 4
  • This way you can easily convert the image files into tar using the Odin packager app.

Method 3: Convert zip to tar using Cygwin

Cygwin Tool is a command-line interface for Microsoft Windows. Using this tool, we can easily convert Image to TAR files.

Downloads

Cygwin

Steps for Conversion

  • Download and install the Cygwin tool on your PC.
  • Launch the Cygwin terminal.
Convert IMG to TAR using Odin Packager App 4
  • On your PC, navigate to local disk (C:) » Cygwin » Home.
  • You’ll find these four files in it: .bash_profile, .bashrc, .inputrc, and .profile.
  • Now copy the .img file (which you want to convert to tar.md5) here.
Convert Zip to tar.md5 using Cygwin 2
  • Rename it to recovery.img.
Convert Zip to tar.md5 using Cygwin 3
  • In the Cygwin terminal window, type the following commands and press the enter key.

    tar -H ustar -c recovery.img > recovery.tar
    md5sum -t recovery.tar >> recovery.tar
    mv recovery.tar recovery.tar.md5
Convert Zip to tar.md5 using Cygwin 4
  • This will create a recovery.tar.md5 file.
Convert Zip to tar.md5 using Cygwin 5

Conclusion

Great! This is how you can convert IMG to TAR or TAR.MD5 Odin files. Now you can go ahead and use this tar file for flashing with the Odin tool. If you have any questions about this guide, kindly comment below.

Leave a Comment

5 thoughts on “Convert IMG to TAR (zip to tar.md5) Odin Flashable Files

You Might Like
No data was found