5,600,292 Members 36,066 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
rwilco12
Old
(Last edited by rwilco12; 9th February 2014 at 08:11 PM.)
#1  
rwilco12's Avatar
Forum Moderator / AndroidFileHost Rep - OP
Thanks Meter 10414
Posts: 3,791
Join Date: Feb 2012

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

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!




The Following 56 Users Say Thank You to rwilco12 For This Useful Post: [ Click to Expand ]
 
rwilco12
Old
#2  
rwilco12's Avatar
Forum Moderator / AndroidFileHost Rep - OP
Thanks Meter 10414
Posts: 3,791
Join Date: Feb 2012

 
DONATE TO ME
Reserved.




The Following 5 Users Say Thank You to rwilco12 For This Useful Post: [ Click to Expand ]
 
The Real Sitek
Old
#3  
The Real Sitek's Avatar
Recognized Themer
Thanks Meter 1863
Posts: 1,757
Join Date: Apr 2012
Location: Detroit

 
DONATE TO ME
As always, RW coming with the tools to forward development! Thanks again Wilco!

..XDA Recognized Themer!..
..Hit Me On Talk! therealsitek@gmail.com..
..Visit RWilco12.com Here And Show That Man Some Love! Without Him, Samsung Development Would Be Boring!..
..Shout Out To fryingpan0613, My Partner In Crime!..
..On A Sprint Galaxy Note II? We Have Built A ROM! See What The Lab Rats Have To Offer, Here On The Lab Rats Rom!..
The Following User Says Thank You to The Real Sitek For This Useful Post: [ Click to Expand ]
 
cbernardo13
Old
#4  
Senior Member
Thanks Meter 38
Posts: 189
Join Date: Jun 2008
Location: Brandon, FL
Default 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: [ Click to Expand ]
 
fryingpan0613
Old
#5  
fryingpan0613's Avatar
Senior Member
Thanks Meter 3510
Posts: 3,955
Join Date: Jul 2010
Location: Central Florida

 
DONATE TO ME
Default 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: [ Click to Expand ]
 
TrayLunch
Old
#6  
TrayLunch's Avatar
R.I.P.
Thanks Meter 1821
Posts: 2,584
Join Date: Apr 2012
Location: Houston
Default 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: [ Click to Expand ]
 
mijjah74
Old
#7  
mijjah74's Avatar
Recognized Developer
Thanks Meter 11338
Posts: 4,191
Join Date: Dec 2010
Location: Raymore
Default 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: [ Click to Expand ]
 
g_ding84
Old
#8  
g_ding84's Avatar
Recognized Themer
Thanks Meter 5771
Posts: 4,588
Join Date: May 2012
Location: Rochester, NY

 
DONATE TO ME
Default 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: [ Click to Expand ]
 
alammori
Old
#9  
Senior Member
Thanks Meter 197
Posts: 805
Join Date: Feb 2008
Location: Nashville
Thumbs up Great Howto

I am suggesting that Mods sticky this one.
XDA is a great place for everyone who follow the three rules:
1. Read
2. Read
3. Read
The Following 4 Users Say Thank You to alammori For This Useful Post: [ Click to Expand ]
 
Elw00d
Old
#10  
Elw00d's Avatar
Senior Member
Thanks Meter 712
Posts: 1,066
Join Date: May 2011
Location: Appleton, Wisconsin
Default 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 Elw00d For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes