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:
Convert .img file to .tar.md5 for use in flashing Odin ( with odin in it )...
INSTRUCTION:
1. Download and extract it.
2. Move the .img file in the folder
3. Click ''ImgToTar.Md5'' and the converting process should running
4. Click ''odin'' and odin will popup
5. Start your flashing process with ease....
Don't forget to say thanks...
****in A bro! Thanks a lot
Thanks a lot.
고맙습니다,
Translation: thank you,
can i flash ultra compression tar file? or normal compression file
salim7685 said:
Convert .img file to .tar.md5 for use in flashing Odin ( with odin in it )...
INSTRUCTION:
1. Download and extract it.
2. Move the .img file in the folder
3. Click ''ImgToTar.Md5'' and the converting process should running
4. Click ''odin'' and odin will popup
5. Start your flashing process with ease....
Don't forget to say thanks...
Click to expand...
Click to collapse
Thanks big time
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
hello hope you are fine
i have galaxy s6 sm -g920f
it was running on 5.1..1 G920FXXU2BOGE
tried to install marshmallow XEF-G920FXXU3DPAD-20160223100452 via odin
my fone stuck and dont boot
when i tried to flash 5.1.1 again with 4 files it fail to flash bootloader
in recovery mode it was still MM recovery and written dm-verify verification failed need to check dRK first ... ?
what the problem please any solution ???
sorry for my bad english
Hmm. Let's try this.
1. Go to recovery->wipe everything.
2. Reflash stock rom through odin.
2a. If it fails at cm.bin or any other .bin file or hidden.img file just delete them from the .tar file using 7zip.
3. If it still fails. Google "G920F pit file" and flash it with that file.
3a. If that STILL fails. Remove all files from the .tar file and just leave system.img and sboot.bin(or img not sure).
4. Now reflash and enjoy! . If anything fails after all my steps. Copy and paste the odin log and I will try to figure out something else.
ProtoDeVNan0 said:
Hmm. Let's try this.
1. Go to recovery->wipe everything.
2. Reflash stock rom through odin.
2a. If it fails at cm.bin or any other .bin file or hidden.img file just delete them from the .tar file using 7zip.
3. If it still fails. Google "G920F pit file" and flash it with that file.
3a. If that STILL fails. Remove all files from the .tar file and just leave system.img and sboot.bin(or img not sure).
4. Now reflash and enjoy! . If anything fails after all my steps. Copy and paste the odin log and I will try to figure out something else.
Click to expand...
Click to collapse
thx bro i'll try and give you feed back
Hi, I have this idea and can't seem to find how (if possible) to do it:
I got the stock firmware for my device and I'd like to mod the AP tar.md5 file so that I can either remove the stock recovery.img from it, or switch it with the TWRP img file? If I simply extract the files and repack them in a new tar file would it be flasheable in odin?