FORUMS

Convert TWRP .img to .tar (for ODIN)[Easy]

114 posts
Thanks Meter: 184
 
By HDxDaniel, Senior Member on 10th April 2016, 05:44 PM
Post Reply Email Thread
Sometimes the latest version of TWRP is in ".img", so some people use an older version instead, which is in .tar, so they can flash it with ODIN. The thing is that the ".tar" version is just the ".img" compressed XD, so I'm going to show you how to "convert" .img to .tar.

// TUTORIAL
1 - Download and install 7-zip
2 - Download the latest TWRP .img
3 - Open a file explorer, rename the downloaded file to: recovery.img
4 - Right click on the file > 7-zip > Add to archive...
5 - In this screen you can change the file name and, most important, in "Archive format" choose "tar"
6 - Open ODIN and flash the new file as always


Note: maybe other .img files (I mean other than the TWRP recovery) works too.

// SCREENSHOT
This is how the final file should look:




// Other stuff
[MOD] Centered clock in status bar [6.0.1][.ZIP][SM-N910C]
You can try this too to convert the .img to a "tar.md5": http://forum.xda-developers.com/show....php?t=2446269
The Following 18 Users Say Thank You to HDxDaniel For This Useful Post: [ View ] Gift HDxDaniel Ad-Free
10th April 2016, 09:42 PM |#2  
genova88's Avatar
Senior Member
Flag Turkey
Thanks Meter: 11
 
More
is this method for MM build? (N910C)
10th April 2016, 10:01 PM |#3  
erikalara's Avatar
Senior Member
Rome/London
Thanks Meter: 229
 
More
Edited.
10th April 2016, 10:29 PM |#4  
HDxDaniel's Avatar
OP Senior Member
Thanks Meter: 184
 
More
Quote:
Originally Posted by genova88

is this method for MM build? (N910C)

It doesn't matter the version I guess.
The TWRP that I show in the screenshot is the one I'm using right now on MM (SM-N910C).
13th August 2017, 08:03 AM |#5  
Junior Member
Thanks Meter: 0
 
More
Thanks
27th September 2017, 04:08 PM |#6  
Senior Member
Thanks Meter: 8
 
More
Quote:
Originally Posted by Zawnaiminn

Thanks

Is there a way to do the opposite direction, convert odin flashable tar to twrp flashable zip? Like to flash Samsung stock rom with twrp..
14th May 2018, 02:07 PM |#7  
Junior Member
Flag Dhaka, Bangladesh
Thanks Meter: 1
 
More
Quote:
Originally Posted by joe535

Is there a way to do the opposite direction, convert odin flashable tar to twrp flashable zip? Like to flash Samsung stock rom with twrp..


I have the same query. But seems that none exists!
27th July 2018, 08:30 PM |#8  
Clipless's Avatar
Junior Member
Flag Houston, TX
Thanks Meter: 3
 
More
Sorry for the resurrection but I wasted time trying to use this and wanted to say something.

I tried to use 7zip to create a .tar file for Odin and it didn't work for me personally. SeaFargo also says that 7zip .tars are not compatible with Odin.

SeaFargo's response is over at "[Script][Tool] how to create a tar.md5 file from img For Odin" by mkh.mourad. First page. New user here so I cannot post external links.
22nd June 2019, 06:34 PM |#9  
Member
Thanks Meter: 1
 
More
what about covert odin flashable files to twrp flashable files ?
Post Reply Subscribe to Thread

Tags
convert, flash, img, odin, tar

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes