[Tool][[windows] Make CWM Recovery .img's into .tar.md5 odin flash-able files 1 CLICK

Search This thread

TheromsMan

Member
Oct 2, 2015
43
4
didnt work for me.

i rename the recovery file to - "recovery img" and move the file to the foldor that i extrack for rar

and then i run the file- "RunMe.bat"

and it say me error somthing worng?
 

arcmanov

Senior Member
Jan 30, 2010
250
23
Script is invalid due to `tar` command

FIX :

1-right click "Runme.bat" and choose "edit" from menu.
2-convert second line which is
Code:
bin\tar -H ustar -c recovery.img > recovery.tar
to
Code:
bin\tar -cf recovery.tar recovery.img
3-save file and close notepad.
4-put recovery.img file in the folder and run "Runme.bat"

make sure to first remove the existent recovery.tar.md5 from the folder (I don't think it matters but prompt wouldn't come up for overwrite).

@cabloomi good effort and nice tool, saved me personally the trouble of rebooting every time I have to create a .tar.md5 from a .img, I don't know why you used the tar command in this way though, `man tar` clearly states command `tar -cf archive.tar foo` to create .tar files. Please clear that up for me. Same thing with `md5sum`, if you look up man for it, the command is different.

EDIT: I attached a file with the script fixed.

Worked perfectly for me. Thanks.

Can I use this for ROM files, or only recovery files?
 

Jack Mayerz

Member
Jan 27, 2012
25
33
Worked perfectly for me. Thanks.

Can I use this for ROM files, or only recovery files?

I don't see why not. ROM images are bigger though so it'll take longer for the script to finish, so just run it and wait for the .tar.md5 file to appear. It won't show any progress but it'll run in the background.
While it should work, It could mess up the signature especially that image roms are usually factory. If that happens Odin flash will fail before the process even starts.
 

codex101

New member
Apr 3, 2016
1
0
didnt work the program seems to be limited based on the gid_t ranges my mod exceeded that range by far.
 

mrsim

Senior Member
Mar 10, 2014
812
217
london
www.china-devices.com
how to convert these types of files back the other way...from tar.MD5 to .img files...need to extract a recovery file from a downloaded tar.MD5 file from samobile in order for a friend to create a custom recovery for me on a broken screen samsung which is screen locked and has no usb debugging enabled in order to get the data off of the device for a friends wife...she really wants the pictures in the phone
 

Shark5060

Senior Member
Jun 26, 2014
309
140
39
Hamburg
shark5060.net
how to convert these types of files back the other way...from tar.MD5 to .img files...need to extract a recovery file from a downloaded tar.MD5 file from samobile in order for a friend to create a custom recovery for me on a broken screen samsung which is screen locked and has no usb debugging enabled in order to get the data off of the device for a friends wife...she really wants the pictures in the phone

rename the tar.md5 into .tar and open with the zip-tool of your choice. Winrar for example, or 7zip or whatever.
The IMG file is inside.
 
  • Like
Reactions: mrsim

awadh730

Senior Member
Feb 23, 2015
77
6
can i modify in my samsung rom via android kitchen to edite some apps or add some language and thin use this tool to flash rom with it to my phone?
 

alzou

Member
Aug 21, 2013
18
3
tasikmalaya
Ok so i made this tool for personal use, but i saw a lot of people wanted this, so here it is

Step 1. Download it from ATTACHMENTS
Step 2. Decompress it to a folder
Step 3. Download your recovery for your SAMSUNG device from here
http://www.clockworkmod.com/rommanager/
Step 4. Rename it to "recovery.img" then move it to the folder you decompressed the tool at earlier
Step 5. Open the "Runme" file and theres your recovery.tar.md5 File ready to flash with odin

please if you used my tool give me some credit and relink to this page as the tool you used to make the file
Rate this thread and press the thanks button

it's not working
Untitled.jpg


:confused::confused::confused::crying::crying::crying:
 
  • Like
Reactions: Jamboozlez

slyzi

New member
Apr 25, 2021
1
0
Ok so i made this tool for personal use, but i saw a lot of people wanted this, so here it is

Step 1. Download it from ATTACHMENTS
Step 2. Decompress it to a folder
Step 3. Download your recovery for your SAMSUNG device from here
http://www.clockworkmod.com/rommanager/
Step 4. Rename it to "recovery.img" then move it to the folder you decompressed the tool at earlier
Step 5. Open the "Runme" file and theres your recovery.tar.md5 File ready to flash with odin

please if you used my tool give me some credit and relink to this page as the tool you used to make the file
Rate this thread and press the thanks button
hello, i have problem to find the "attachement" section. i am sorry, i'm newby dan new on this forum.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 324
    Ok so i made this tool for personal use, but i saw a lot of people wanted this, so here it is

    Step 1. Download it from ATTACHMENTS
    Step 2. Decompress it to a folder
    Step 3. Download your recovery for your SAMSUNG device from here
    http://www.clockworkmod.com/rommanager/
    Step 4. Rename it to "recovery.img" then move it to the folder you decompressed the tool at earlier
    Step 5. Open the "Runme" file and theres your recovery.tar.md5 File ready to flash with odin

    please if you used my tool give me some credit and relink to this page as the tool you used to make the file
    Rate this thread and press the thanks button
    82
    I had the same error that several others had when trying this out (out of gid_t range). I fixed it by editing Runme.bat and adding --group=1 to the tar line so that it looks like this:

    Code:
    bin\tar --group=1 -H ustar -c recovery.img > recovery.tar

    Great tool, once editing this it did exactly what I needed! Thanks!
    30
    FIX for script errors and not running

    Script is invalid due to `tar` command

    FIX :

    1-right click "Runme.bat" and choose "edit" from menu.
    2-convert second line which is
    Code:
    bin\tar -H ustar -c recovery.img > recovery.tar
    to
    Code:
    bin\tar -cf recovery.tar recovery.img
    3-save file and close notepad.
    4-put recovery.img file in the folder and run "Runme.bat"

    make sure to first remove the existent recovery.tar.md5 from the folder (I don't think it matters but prompt wouldn't come up for overwrite).

    @cabloomi good effort and nice tool, saved me personally the trouble of rebooting every time I have to create a .tar.md5 from a .img, I don't know why you used the tar command in this way though, `man tar` clearly states command `tar -cf archive.tar foo` to create .tar files. Please clear that up for me. Same thing with `md5sum`, if you look up man for it, the command is different.

    EDIT: I attached a file with the script fixed.
    11
    I had the same error that several others had when trying this out (out of gid_t range). I fixed it by editing Runme.bat and adding --group=1 to the tar line so that it looks like this:

    Code:
    bin\tar --group=1 -H ustar -c recovery.img > recovery.tar

    Great tool, once editing this it did exactly what I needed! Thanks!

    How do you do this excatly? Sorry such a noob question.

    Figured it out! Thanks!

    For those who don't know, you can right-click on the "recovery.img" file you moved into the folder you extracted the tool into and open it with cmd (command prompt)(browse for cmd if it's not listed) and then copy the code gIMpSTa wrote above and paste it in the cmd and press enter to send that command and then it's done. A TAR file called "recovery" shows up in the folder you extracted the tool into and you then just use that file in odin! ta-da!
    7
    Very useful, but for win 8.1 x64 the first line in the "runme.bat" will be
    Code:
    bin\tar --group=1 -H ustar -c recovery.img > recovery.tar
    not the
    Code:
    bin\tar -H ustar -c recovery.img > recovery.tar

    Thanks to gIMpSTa