for how want to use Odin to flash the ClockWorkMod Recovery img or any image files like "boot.img", this is a tool to create a tar.md5 file from the img file.
unzip the file tool, and put your img files into the same directory of the batch file.
if you have more than one file put each file in a separate folder.
launch the "ImgToTar.MD5.bat" to create files with the extension of tar.md5 for each img file.
Note: the script rename the each file starting by "recovery*.img" to "recovery.img" , and files named "boot*.img" or "kernel*.img" image to "boot.img". if your file has another name , don't forgot to rename a recovery image to recovery.img, and the boot image to boot.img.
hope that help some body how search a batch file to create tar.md5 file for using it in Odin.
******************** new version of the script:
in this new version you can combine multiple files ,img and bin files, all of them into one file tar.md5 bundle.
a "AllFiles" directory is created including this result pack file ready to use in new Odin version v3.10.7.
Thank you this worked fine on my 9505.
It creates a recovery.tar.md5 with 0 bytes on my Windows XP.. :crying:
Any suggestion?
SeaFargo said:
It creates a recovery.tar.md5 with 0 bytes on my Windows XP.. :crying:
Any suggestion?
Click to expand...
Click to collapse
i can't see what the problem on your system, the tool is very simple. send me a zip of your folder with all files, also the recovery image file, and the tar.md5 file 0b.
Solved!
I find out that Odin is perfectly able to flash a TAR file, even without md5 hash check.
So I've used the Official TAR for Windows and that's it. By the way, 7z tar are not compatible.
Yes odin accept tar file. The md5 sum is a check for the integrity of data on the file. It's more safe to use a tar.md5 instead of tar file.
Envoyé depuis mon GT-I9505 en utilisant Tapatalk 4
mkh.mourad said:
Yes odin accept tar file. The md5 sum is a check for the integrity of data on the file. It's more safe to use a tar.md5 instead of tar file.
Envoyé depuis mon GT-I9505 en utilisant Tapatalk 4
Click to expand...
Click to collapse
how to make odin flash tar without md5 hash?
The same ,you chose the tar file instead of the tar.md5. Odin accepte both extentions in the PDA editbox.
mkh.mourad said:
The same ,you chose the tar file instead of the tar.md5. Odin accepte both extentions in the PDA editbox.
Click to expand...
Click to collapse
but without md5 hash odin refuses to flash for safety reasons. its obvious that tar and md5 are just extensions... i meant how to force odin to flash ordinary tar without md5 hash in it.
Kriomag said:
but without md5 hash odin refuses to flash for safety reasons. its obvious that tar and md5 are just extensions... i meant how to force odin to flash ordinary tar without md5 hash in it.
Click to expand...
Click to collapse
odin accept all this extention PDA files:
*.tar, *.md5, *.smd, *.gz and *.tgz
but only *.md5 file has a hash to check data integrity.
a formatted MD5 checksum line is add at the end of the tar file to produce a file tar.md5
for exemple at the end of a tar file named "recovery.tar" we will find a line like this:
"53a1ee899d6f7b4b39c189739eee6294 recovery.tar"
mkh.mourad said:
odin accept all this extention PDA files:
*.tar, *.md5, *.smd, *.gz and *.tgz
but only *.md5 file has a hash to check data integrity.
a formatted MD5 checksum line is add at the end of the tar file to produce a file tar.md5
for exemple at the end of a tar file named "recovery.tar" we will find a line like this:
"53a1ee899d6f7b4b39c189739eee6294 recovery.tar"
Click to expand...
Click to collapse
when md5 checksum is does not match tar odin refuses to flash, but if there is no md5 at all it should work? i havent tried that lol
i will test it shortly... brb
i think it works, odin accepted kernel tar i used: "tar -H ustar -c boot.img > kernel.tar"
This tool doesn't work for you?
in the first post a have put a new version, it can create from any file with the extention *.img a *.tar.md5.
if any problem happend you can send me the log.txt file.
the latest recoveryclockmod image for odin:
Tried the tool .. didn't work the first time, saw a 'PATH NOT FOUND' in the command window. So I tried again using folder path without any space (i.e..: "D:\tar-tools\" instead of "C:\users\my name\desktop\tar tools unzipped\") and the tool works.
My conclusion, tool did not work if folder path contains space(s).
Thanks for the batch files.
TOPeX85 said:
tries the tool .. didn't work the first time, saw a 'PATH NOT FOUND' in the command window. So I tried using folder path without any spaces #i.e..: "D:\tar-tools\" instead of "C:\users\my name\desktop\tar tools unzipped\"# and the tool works.
My conclusion, tool did not work if folder path contains space#s#.
Thanks for the batch files.
Click to expand...
Click to collapse
thanks
I'll fix this problem in the future
update: the script accepts path and filename with spaces
Didnt work
I have downloaded twice the toll but when I try to decompress winrar send me errors, could you check this please?
Or do I have to use another program to decompress it?
Thanks in advance.
If i want to create a .tar.md5 from modem.bin there's some trick to do to create that?
pimentel07 said:
I have downloaded twice the toll but when I try to decompress winrar send me errors, could you check this please?
Or do I have to use another program to decompress it?
Thanks in advance.
Click to expand...
Click to collapse
I used 7zip rather than Winzip or winrar.
I updated the file by compressing it with WinRAR in zip extension.
sorry man.
bluflight said:
If i want to create a .tar.md5 from modem.bin there's some trick to do to create that?
Click to expand...
Click to collapse
I can not confirm, but I think it'll work.
the only thing is that it must have exactly as the filename: "modem.bin".
mkh.mourad said:
the latest recoveryclockmod image for odin:
Click to expand...
Click to collapse
After 2 hours of searching,this tar file gave me back my recovery, thanks a lot man! :good:
now i can go sleep :victory:
I want to flash a zip file from SP flash tool, but I cannot do so.
It wants a rar file with emmc file in it.
How can i convert a zip file into a rar file which will be accepted by SP flash tools.
This zip file I'm trying to flash is a Patch file of Turbo ROM.
And I do not want to flash it from CWM.
Kindly help friends..
cantor03 said:
I want to flash a zip file from SP flash tool, but I cannot do so.
It wants a rar file with emmc file in it.
How can i convert a zip file into a rar file which will be accepted by SP flash tools.
This zip file I'm trying to flash is a Patch file of Turbo ROM.
And I do not want to flash it from CWM.
Kindly help friends..
Click to expand...
Click to collapse
Same thing
Hello every one today I am posting a script which you
Can create tar to md5 odin flash.
You can easly make TAR from your iMG by using 7ZIP.
When you make TAR then you can make it to MD5 ODIN FLASH
By my script
Download tar-tool-odin .zip by ihsas and extrat it on your pc.
Copy your tar file into the tar tool folder and double click on
Tar to md5 scrip and after complete the process you have
A odin flash MD5 tar.
Say thanks and from me thnx to all... cheeer.
Download link below
https://mega.nz/#!mENEyLYA!wMeReYTked_mjtCF1GuY9FALwmBFxoTeQjwX3vFdnok
Thanks man this really worked out for me.
decompile and recompile stock rom and make odin tar md5 recovery
ihsas said:
Hello every one today I am posting a script which you
Can create tar to md5 odin flash.
You can easly make TAR from your iMG by using 7ZIP.
When you make TAR then you can make it to MD5 ODIN FLASH
By my script
Download tar-tool-odin .zip by ihsas and extrat it on your pc.
Copy your tar file into the tar tool folder and double click on
Tar to md5 scrip and after complete the process you have
A odin flash MD5 tar.
Say thanks and from me thnx to all... cheeer.
Download link below
https://mega.nz/#!mENEyLYA!wMeReYTked_mjtCF1GuY9FALwmBFxoTeQjwX3vFdnok
Click to expand...
Click to collapse
You can also extract stock rom and after making changes get back tar.md5 odin flash rom by this script tool
Its to use.
Sorry for bad english
Hit thnx.......
Tar to md5 scrip ... where? is it the ImgToTar.MD5?
Also any of the batch files when clicked dont do anything nothing shows up?
using : win7 x64
EwOkie said:
Tar to md5 scrip ... where? is it the ImgToTar.MD5?
Also any of the batch files when clicked dont do anything nothing shows up?
using : win7 x64
Click to expand...
Click to collapse
This script is for just make tar to md5 you can easly make img to tar by using 7zip.
I have another script which make img to tar.md5 but with that script you can only make 1 img file not sevral file like stock rom
Stock rom have many img file when you make several img file to tar by using 7zip then you can easly make that tar to md5.tar and then flash by odin
Such as I have update my galaxy s3 to kitkat 4.4.4 and then I have download jb 4.3 when I flash it then I have found error with sboot then I make this tool to delete the sboot and flash again and its work for me.
Thank you
Hello every one today I am posting a script which you
Can create tar to md5 odin flash.
You can easly make TAR from your iMG by using 7ZIP.
Open 7zip add your img file and go to file type select tar and save.
When you make TAR then you can make Tar to MD5 ODIN FLASH File
By my script
Download tar-tool-odin.zip by ihsas and extrat it on your pc.
Copy your tar file into the tar tool folder and double click on
Tar to md5 scrip and after complete the process you have
A odin flash MD5 tar.
Say thanks and from me thnx to all... cheeer.
Download link below
https://mega.nz/#!mENEyLYA!wMeReYTked_mjtCF1GuY9FALwmBFxoTeQjwX3vFdnok
can someone teach me how make flashable custom recovery file for sp flash tool?.. I already know how to port custom recovery, the problem is how to make it flashble to lsp flash tool ,, the img file.. thank you
Heremias said:
can someone teach me how make flashable custom recovery file for sp flash tool?.. I already know how to port custom recovery, the problem is how to make it flashble to lsp flash tool ,, the img file.. thank you
Click to expand...
Click to collapse
It isn't specific to your device but, try going to this thread and download ONLY the TWRP 3.0.0.3 for SPflashtool file.
https://forum.xda-developers.com/k3-note/general/sp-flash-tool-tutorial-to-install-twrp-t3346041
Then extract the file, then replace the scatter file and the recovery.img in that file with your scatter file and your recovery.img(make sure to rename your recovery .img to "recovery.img")
Then just follow the flashing instructions listed under the "Now, the flashing part" in that thread.
Sent from my LGL84VL using Tapatalk
Droidriven said:
It isn't specific to your device but, try going to this thread and download ONLY the TWRP 3.0.0.3 for SPflashtool file.
https://forum.xda-developers.com/k3-note/general/sp-flash-tool-tutorial-to-install-twrp-t3346041
Then extract the file, then replace the scatter file and the recovery.img in that file with your scatter file and your recovery.img(make sure to rename your recovery .img to "recovery.img")
Then just follow the flashing instructions listed under the "Now, the flashing part" in that thread.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
thanks droid. will that version of twrp 3.0.0.3 fit on my device huawei cun-u29?
Heremias said:
thanks droid. will that version of twrp 3.0.0.3 fit on my device huawei cun-u29?
Click to expand...
Click to collapse
You didn't understand anything about what I said
I did not tell you to use the recovery in the link that I posted.
I told you to download the file that is linked in the thread that I gave you.
Then extract the file that you download, open the folder that extracts from it then delete the scatter file that it contains and delete the recovery file that it contains.
Then you need to place a copy of the scatter file for your device and the recovery.img for your device in the extracted folder. Make sure that you change the name of your device's recovery file to "recovery.img", otherwise, the program will not recognize your recovery file. After placing YOUR files in that folder, you are ready to flash the device.
If you didn't understand that clearly then I can't help you.
Sent from my LGL84VL using Tapatalk
Heremias said:
thanks droid. will that version of twrp 3.0.0.3 fit on my device huawei cun-u29?
Click to expand...
Click to collapse
im sorry, okay ill try this