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

Dr.Ghobar

Senior Member
Dec 8, 2014
181
5
38
Where to put recovery.tar.md5 ?

it goes in ONE PACKAGE
PDA will brick the phone..
Hello to you
I have converted recovery.img to recovery.tar.md5 (although, after editing runme.bat).
The recovery.img that I converted was for Galaxy Ace GT-S5830 (I downloaded it from http://forum.xda-developers.com/showthread.php?t=2691135).
I have two groups of questions:
1. Is it safe to flash the recovery via Odin? Won't it damage my phone? Is it reversible, i.e. can I return the phone to present condition?
2. Where should I put "recovery.tar.md5" in Odin (PDA, One Package, etc.)?

Please answer my questions if you are sure about your answer.

Thanks in advance
Dr.Ghobar
 
Last edited:

mark-1978

Senior Member
Jun 17, 2015
550
133
63
Hello to you
I have converted recovery.img to recovery.tar.md5 (although, after editing runme.bat).
The recovery.img that I converted was for Galaxy Ace GT-S5830 (I downloaded it from http://forum.xda-developers.com/showthread.php?t=2691135).
I have two groups of questions:
1. Is it safe to flash the recovery via Odin? Won't it damage my phone? Is it reversible, i.e. can I return the phone to present condition?
2. Where should I put "recovery.tar.md5" in Odin (PDA, One Package, etc.)?

Please answer my questions if you are sure about your answer?

Thanks in advance
Dr.Ghobar
thought to unbrick a phone you have to do 'one package' and put the tar file there. Further select 'ops. and put the ops file there.
 

TheromsMan

Member
Oct 2, 2015
43
4
0
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
242
22
0
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
0
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.
 

mrsim

Senior Member
Mar 10, 2014
818
224
0
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
315
141
0
36
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
5
0
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
0
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


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

ket19

Member
Oct 31, 2013
5
0
0
Very awesome, Thank you for the share!! This tool allows me solutions to some of my crazy ideas.

RootedXposedNote3_SM-N900P_5.0/Sprint