Convert img to tar.md5 file using easy steps guide. Tutorial given below will help you convert image recovery files into tar Odin flashable files on Windows operating system. Cygwin is nothing but a command line interface for Microsoft Windows. This tool includes a dynamic link library (DLL) which serves as a Linux emulator and provides development similar to linux. It also allows the development and testing of Windows based apps on a Unix-like platform. In this guide, we’ll convert the img or zip files into tar using this tool. So without wasting any more time, let’s move to the actual tutorial given below.

How to convert IMG into TAR using Cygwin:

Downloads:

  1. Download Cygwin Tool.


Procedure:

Step 1: Download the Cygwin tool on your Windows PC.

Note: Download the Setup file as per your 32 bit or 64 bit operating system.

Step 2: Right click the setup file and run as administrator.

convert .img to .tar using Cygwin

This will launch the installation wizard.

Step 3: Click on Next option.

convert .img to .tar using Cygwin

As soon as you click on next, the new window will ask you to choose a download source. You can install or download from internet, or install from files in a local directory.

convert .img to .tar using Cygwin

Step 4: Here we will select the install from local directory option. And then click on Next option.

convert .img to .tar using Cygwin

On the next screen, you need to select the root install directory. That means you need to select the path for installation. You can either select all users to make it available for everyone or select just me for current user only.

convert .img to .tar using Cygwin

Step 5: Here we will select Just me option. That means it will be available to all users, but desktop icons, menu entries, and installer information will be for current user only. Also we will select Local Disk (C:) as the root directory. And then click on Next option.

convert .img to .tar using Cygwin

Now, you need the select a particular location where setup will look for downloaded installation files.

Step 6: Here we will select the path as C:\users\admin\Downloads. You can select any path you want. And then click on Next option.

convert .img to .tar using Cygwin

This will initiate the extraction of files in the local package directory.

convert .img to .tar using Cygwin

Step 7: On the next screen tick the select required packages option. And click on Next.

convert .img to .tar using Cygwin

This is initiate the actual installation process. Wait and be patient until it completes.

convert .img to .tar using Cygwin

As soon as the installation completes, the wizard will ask to create icons for convenient access to the software.

convert .img to .tar using Cygwin

Step 8: Click on Create icon on Desktop option and tap the finish button.

convert .img to .tar using Cygwin

That’s it! You’ve successfully installed the tool. Now let’s proceed to the conversion of img files into tar.md5 Odin flashable files.

Step 9: Open the Local Disk (C:) on your Windows PC.

convert .img to .tar using Cygwin

Step 10: Then look for the Cygwin folder which you’ve just installed and open it.

convert .img to .tar using Cygwin

Step 11: Next, open the Home folder.

convert .img to .tar using Cygwin

Initially you’ll find the Home folder to be empty.

convert .img to .tar using Cygwin

Step 12: Now minimize the folder and launch Cygwin terminal present on the desktop, by giving administrative privileges.

convert .img to .tar using Cygwin

As soon as you launch it, the following terminal window will appear.

convert .img to .tar using Cygwin

Also a folder will be created in the Home folder which was empty. It will be named as per your computer name. My PC name is HP hence the folder has HP name.

convert .img to .tar using Cygwin

Step 13: Open that HP folder and you’ll see these four files in it: .bash_profile, .bashrc, .inputrc, and .profile.

convert .img to .tar using Cygwin

Step 14: Now copy the .img file (which you want to convert to tar.md5) here.

convert .img to .tar using Cygwin

Step 15: Whatever may be the name of that img file, just rename it to recovery.img file.

convert .img to .tar using Cygwin

convert .img to .tar using Cygwin

Step 16: Then open the terminal window, type the following command and press enter key:

tar -H ustar -c recovery.img > recovery.tar

convert .img to .tar using Cygwin

Step 17: On the next line, type the following command and press enter key:

md5sum -t recovery.tar >> recovery.tar

convert .img to .tar using Cygwin

Step 18: Finally type the following command and press enter key:

mv recovery.tar recovery.tar.md5

convert .img to .tar using Cygwin

This will create the recovery.tar.md5 file.

convert .img to .tar using Cygwin

Note: If you want to convert your .img file into .tar and not .tar.md5 then just follow till step 17.

Awesome! Your .img recovery file has successfully converted into .tar.md5 Odin flashable file.

If you face any issues while going through the process, then do inform me using the comments section given below.

Till then keep smiling and peace out! 😊✌