Originally Posted by TechShui
When I run the commands in CygWin terminal it just hangs.
Is there a newer version of tar that I need to install, or what am I missing
Hi. Right now I really don't know how I did v CygWin, because I don't have I9505 for a long time. But I made tutorial in my own language and here is the translation of that.
This is tutorial how to make .tar & .md5 file with bootloader files:
Make a new folder on C: disk and copy there .md5 and .dll file.
Run CygWin and write this command:
3) Another 2 commands (the second one takes a little bit more time):
rm -rf SS_DL.dll
tar -xvf name_of_your_file.tar.md5
This command is that long, not 2 commands!
tar -H ustar -c rpm.mbn tz.mbn aboot.mbn sbl1.mbn sbl2.mbn sbl3.mbn > new_name_of_file.tar
And the last 2 commands where you make from .tar file, new .md5 file.
md5sum -t new_name_of_file.tar >> new_name_of_file.tar
mv new_name_of_file.tar new_name_of_file.tar.md5
P.S.: The "new_name_of_file" is one name which is used multiple times.
If you want to make .tar package from other files of that firmware here is the command, then just use step 5 if you want to .md5 file. But for this step you have to use another name, not the same which is in step 5:
tar -H ustar -c boot.img cache.img.ext4 hidden.img.ext4 modem.bin NON-HLOS.bin recovery.img system.img.ext4 > new_name_for_firmware.tar