good idea THXYou can change the bat file. Modify the input files and the output name if you want. Just make sure the output name is modified in all the lines.
You can also use a variable so you only have to set the output name once. For example,
Code:@echo off set tarname="M919_FNB4_Modem" bin\tar --group=1 -H ustar -c NON-HLOS.bin modem.bin > %tarname%.tar bin\md5sum -t %tarname%.tar >> %tarname%.tar bin\mv %tarname%.tar %tarname%.tar.md5
tar --create --format=gnu -b20 --quoting-style=escape --owner=0 --group=0 --totals --mode=644 -f %%~nG.tar %%~nxG
tar -cvf output.tar file1.bin file2.bin file3.img file4.img.ext3 ...
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
Edit Runme.bat file and change tar command ustar to gnu, like this
bin\tar -H ustar -c recovery.img > recovery.tar
change it to
bin\tar -H gnu -c recovery.img > recovery.tar
save file and run it.
It worked for me and installed CWM img file like a charm....
I had som serious issues with this tool and i forced it to create tar.md5 it using the exact path to the bin\* and this worked for me. Edited Runme to look like this:
C:\aaa\bin\tar --group=1 -H ustar -c recovery.img > recovery.tar
C:\aaa\bin\md5sum -t recovery.tar >> recovery.tar
C:\aaa\bin\mv recovery.tar recovery.tar.md5
Hope this helps for any one
bin\tar --group=1 -H ustar -c recovery.img > recovery.tar
bin\tar -H ustar -c recovery.img > recovery.tar
bin\tar -cf recovery.tar recovery.img
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!