Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[TUTORIAL] How To Extract Files From a TAR.MD5 Stock ROM (SPH-D710)

OP rwilco12

8th February 2013, 03:28 PM   |  #1  
rwilco12's Avatar
OP Forum Moderator / Recognized Developer / AndroidFileHost Rep
Thanks Meter: 11,788
 
3,343 posts
Join Date:Joined: Feb 2012
Donate to Me
More
I've received a TON of PM's and emails asking how to do this and I've decided to do a write-up for everyone. Now to start off, this does not automatically make you a Super Duper Developer, this does not show you how to make your own TAR ROMs, nor does it show you how to make your own Odin One-Clicks. What it does do is show you how to pull files from those stock leaked/official ROMs so that you can proceed to make yourself into a Super Duper Developer!

In essence if the Developer knows what they are doing they could use this method to extract all the files from the build and could then add them to a ZIP and have a stock odexed ROM within minutes and do it all through Windows! Depending on time I may or may not do a tutorial on that as well...

So let's begin!

We've all seen those pesky TAR.MD5 packages that we can flash through Odin. How often have you wanted to look inside them and see what is inside before flashing? There are several ways to do it and the most common answer requires Linux and Dsixda's Kitchen utility. This tutorial gives you the ability to do that through Windows and without having to extract the full ROM. These instructions are specific to the Samsung Galaxy S2 (all variants) but can be used on most Samsung Galaxy phones.

Each TAR.MD5 release contains multiple files. Each of these files corresponds to a specific partition on your device. These files are formatted to be mounted by your device but not by a computer. We will be converting them from a .img partition type to an ext4.img type partition so we can mount them and read them through Windows. For this tutorial we will be opening up the factoryfs.img (the system files partition).

Before you dive in there are a few things you'll need.
- A PC running Windows.
- A stock TAR.MD5 release. Several are available in the Stock ROMs Repo thread.
- DiskInternals Linux Reader (must be installed on the Windows PC). You can download DiskInternals Linux Reader here.
- SGS2toEXT4 Utility available here. *Be sure to extract the JAR file from the ZIP archive.
- 7-Zip available here.

For the rest of the tutorial please visit my site: www.rwilco12.com

Enjoy!
Last edited by rwilco12; 9th February 2014 at 09:11 PM.
The Following 58 Users Say Thank You to rwilco12 For This Useful Post: [ View ]
8th February 2013, 03:28 PM   |  #2  
rwilco12's Avatar
OP Forum Moderator / Recognized Developer / AndroidFileHost Rep
Thanks Meter: 11,788
 
3,343 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Reserved.
The Following 5 Users Say Thank You to rwilco12 For This Useful Post: [ View ]
8th February 2013, 03:35 PM   |  #3  
The Real Sitek's Avatar
Recognized Themer
Flag Detroit
Thanks Meter: 1,866
 
1,132 posts
Join Date:Joined: Apr 2012
Donate to Me
More
As always, RW coming with the tools to forward development! Thanks again Wilco!
The Following User Says Thank You to The Real Sitek For This Useful Post: [ View ]
8th February 2013, 03:35 PM   |  #4  
Senior Member
Brandon, FL
Thanks Meter: 39
 
197 posts
Join Date:Joined: Jun 2008
More
Re: [TUTORIAL] How To Extract Files From a TAR.MD5 Stock ROM
Sweet! Thanks a lot!

Sent from my SPH-D710 using Tapatalk 2
The Following User Says Thank You to cbernardo13 For This Useful Post: [ View ]
8th February 2013, 03:38 PM   |  #5  
fryingpan0613's Avatar
Senior Member
Flag Central Florida
Thanks Meter: 3,527
 
3,441 posts
Join Date:Joined: Jul 2010
Donate to Me
More
Re: [TUTORIAL] How To Extract Files From a TAR.MD5 Stock ROM
Rdubb is the man!

The Following User Says Thank You to fryingpan0613 For This Useful Post: [ View ]
8th February 2013, 03:39 PM   |  #6  
TrayLunch's Avatar
R.I.P.
Flag Houston
Thanks Meter: 1,830
 
2,225 posts
Join Date:Joined: Apr 2012
More
Re: [TUTORIAL] How To Extract Files From a TAR.MD5 Stock ROM
That's amazing, and incredibly generous of you to share it with the community! Thanks a lot for it, brother!

Bugging up my phone, so you don't have to!
The Following User Says Thank You to TrayLunch For This Useful Post: [ View ]
8th February 2013, 04:11 PM   |  #7  
mijjah74's Avatar
Recognized Developer
Flag Raymore
Thanks Meter: 11,362
 
3,152 posts
Join Date:Joined: Dec 2010
Re: [TUTORIAL] How To Extract Files From a TAR.MD5 Stock ROM
Great job on this. I know it will come in handy for lots of folks.

sent from Mijj
The Following 2 Users Say Thank You to mijjah74 For This Useful Post: [ View ]
8th February 2013, 06:09 PM   |  #8  
g_ding84's Avatar
Recognized Themer
Flag Rochester, NY
Thanks Meter: 8,109
 
5,288 posts
Join Date:Joined: May 2012
Donate to Me
More
Re: [TUTORIAL] How To Extract Files From a TAR.MD5 Stock ROM
This is awesome. Thank you very much.

Looks like I need to download a few tools.

Sent from my SPH-D710 using xda premium
The Following User Says Thank You to g_ding84 For This Useful Post: [ View ]
8th February 2013, 06:16 PM   |  #9  
Senior Member
Flag Nashville
Thanks Meter: 203
 
826 posts
Join Date:Joined: Feb 2008
More
Thumbs up Great Howto
I am suggesting that Mods sticky this one.
The Following 4 Users Say Thank You to alammori For This Useful Post: [ View ]
8th February 2013, 06:33 PM   |  #10  
elwood's Avatar
Senior Member
Flag Menasha, Wisconsin
Thanks Meter: 807
 
920 posts
Join Date:Joined: May 2011
More
Re: [TUTORIAL] How To Extract Files From a TAR.MD5 Stock ROM
Wowzers. Excellent job on the tutorial, very detailed and easy to follow. Thanks rw

Sent from my SPH-L710 using Tapatalk 2

The Following User Says Thank You to elwood For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes