Home > Samsung

How to Convert Samsung Recovery IMG to TAR

In this guide, we will show you the steps to convert the recovery IMG file to a TAR format for your Samsung device. Things are way too much deviated from the norms in the Samsung ecosystem, at least when it comes to the custom development. Whether it’s flashing ROMs, rooting the device, or installing a custom recovery, you cannot get the job done via the generic approach.

For instance, if we talk about installing a custom recovery like TWRP, then in most Android devices, you can easily install it via fastboot flash recovery recovery.img or fastboot boot recovery.img [in case there’s no recovery partition]. However, when it comes to Samsung devices, then you wouldn’t have to interact with the Fastboot Mode, instead, the entire flashing process will be taken care of by the Download Mode along with a third-party tool like Odin.

Making the matter more complicated is the fact that Odin requires the file to be in the TAR format whereas most custom ROMs have their recovery in the IMG format, which is not supported by Odin. So how could you then flash that recovery and subsequently the ROM? Well, there exists a nifty workaround using which you can easily convert the recovery IMG file to a TAR format for your Samsung device. And in this guide, we will show you how to do just that. So without further ado, let’s get started.

How to Convert Samsung Recovery IMG to TAR

YouTube video

  1. To begin with, download and extract the Android SDK Platform Tools on your PC.
  2. Then download the desired recovery.img file and transfer it to the platform tools folder.
  3. After that, type in CMD in the platform-tools folder address bar and then hit Enter.
  4. This will launch the Command Prompt window, so execute the below command:
    tar --format=ustar -cvf recovery.tar recovery.img

    Convert Samsung Recovery IMG to TAR

  5. Once done, you’ll get the recovery.tar file in the platform-tools folder.
  6. Now download and extract the Odin Tool on your PC.
  7. Once that is done, unlock the bootloader on your device.
  8. Now boot your device to Download Mode for flashing.
    Convert Samsung Recovery IMG to TAR
  9. Launch Odin and make sure your device is listed there.
  10. Now go to its Options tab and uncheck the Auto Reboot.
  11. Then click on AP, navigate to recovery.tar, and select it.Convert Samsung Recovery IMG to TAR
  12. Now hit Start. The recovery will be flashed to your device.
  13. Then reboot your device directly to this flashed Recovery.
  14. You may now flash the ROM via ADB Sideload, ADB Push, or the Install feature of TWRP.
  15. Once done, go to Reboot > System to boot your device to the new OS!

That’s it. These were the steps to convert the recovery IMG file to a TAR format for your Samsung device. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.


Share: