Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,806,211 Members 53,715 Now Online
XDA Developers Android and Mobile Development Forum

[TUTORIAL][GUIDE] How to extract your ***.tar.md5 ROM file (Samsung stock ROM) [EASY]

Tip us?
 
shikhar.smc
Old
(Last edited by shikhar.smc; 30th March 2014 at 12:46 PM.)
#1  
shikhar.smc's Avatar
Junior Member - OP
Thanks Meter 2
Posts: 17
Join Date: May 2013
Location: Anand, GJ, IN
Arrow [TUTORIAL][GUIDE] How to extract your ***.tar.md5 ROM file (Samsung stock ROM) [EASY]

Hello everyone,

I have been searching for the same thing since last 2-3 days but couldnot find a reliable guide as nothing was working for me. So, i just took a trial and VIOLA!!!! its done.
There are various guides for manual extraction of such files which utilizes a dozen of softwares like 7Zip, WinRAR, MagicISO etc etc but frankly speaking none of them worked for me.
So, I thought to make a simple guide for the needy like me (with screenshots).

GUIDE STARTS HERE:

Things you need:
1. A rooted Android device.
2. sgs2toext4 (a java based applet). Download here.
3. Linux disk reader. Can be downloaded here.

STEPS:

1. Download and extract your stock ROM. They are available on various servers like www.sammobile.com etc.




2. You will get two files as shown below:


We only need the one having .tar.md5 extension.

3. Now, remove the .md5 from the extension of the file so that only .tar will remain.


4. Copy this file to your rooted Android device.

5. Download RootExplorer in your device and run it. Explore your sdcard in it.


6. Open it and locate your copied ROM file.


7. Open the ROM file. It will have various files but we need only two files. system.img and boot.img.


8. Long press on the file and select extract. The file will be extracted to sdcard/SpeedSoftware/Extracted/[HERE]


9. Copy these files back to your PC.

10. Start sgs2toext4.jar utility. It will open a window named Drop .img. Drag and drop your system.img on the utility.




11. You will get a new file named system.ext4.img. This is the converted file.


12. Now, download, install and run Linux Disk Reader. Select 'Mount Image' from left pane and browse for system.ext4.img. Make sure you have Raw Disk Images selected as in image below.




13. You will see a new drive created in the reader named Linux ext volume.


14. Open the drive and you will see all the system files. Select all and select Save.


15. Select a folder for saving (Preferably name it as 'system').


16. Now, you have an extracted ROM. Modify, customize and publish it.


ENJOY!!!

Just Press [IMG][/IMG] to Show Your Appreciation
Attached Thumbnails
Click image for larger version

Name:	1.PNG
Views:	34
Size:	7.8 KB
ID:	2658436   Click image for larger version

Name:	2.PNG
Views:	39
Size:	9.9 KB
ID:	2658437   Click image for larger version

Name:	3.PNG
Views:	35
Size:	11.4 KB
ID:	2658438   Click image for larger version

Name:	4.PNG
Views:	38
Size:	11.8 KB
ID:	2658439   Click image for larger version

Name:	5.png
Views:	38
Size:	55.5 KB
ID:	2658440  

Click image for larger version

Name:	6.png
Views:	36
Size:	60.4 KB
ID:	2658441   Click image for larger version

Name:	7.png
Views:	41
Size:	45.1 KB
ID:	2658442   Click image for larger version

Name:	8.png
Views:	35
Size:	45.0 KB
ID:	2658443   Click image for larger version

Name:	9.PNG
Views:	42
Size:	21.1 KB
ID:	2658444   Click image for larger version

Name:	10.PNG
Views:	39
Size:	13.1 KB
ID:	2658445  

Click image for larger version

Name:	11.PNG
Views:	38
Size:	11.2 KB
ID:	2658446   Click image for larger version

Name:	12.PNG
Views:	33
Size:	16.9 KB
ID:	2658447   Click image for larger version

Name:	13.PNG
Views:	33
Size:	8.6 KB
ID:	2658449   Click image for larger version

Name:	14.PNG
Views:	33
Size:	16.9 KB
ID:	2658450   Click image for larger version

Name:	15.PNG
Views:	34
Size:	56.5 KB
ID:	2658451  

Click image for larger version

Name:	16.PNG
Views:	29
Size:	8.8 KB
ID:	2658452   Click image for larger version

Name:	17.PNG
Views:	35
Size:	18.7 KB
ID:	2658453  
Attached Files
File Type: zip sgs2toext4.zip - [Click for QR Code] (20.0 KB, 257 views)
File Type: zip Linux_Reader.zip - [Click for QR Code] (4.28 MB, 461 views)
Samsung Ace Duos S-6802

Android Version: 4.2.2
Kernel: 2.6.35.7 dpi@DELL169#1
ROM: G-DROID By Gesicleiton



Working on:
Custom ROM for ACE Duos S6802 (JellyBean based)

Don't Say. Just Press
The Following User Says Thank You to shikhar.smc For This Useful Post: [ Click to Expand ]
 
oracle01642
Old
#2  
oracle01642's Avatar
Senior Member
Thanks Meter 90
Posts: 701
Join Date: Nov 2012
Thanks for the tutorial, but it doesn't work. When I try to extract the system image file with root explorer, it seems to freeze and doesn't extract anything.

It extracts the boot image, but when you try to open it and view the files with linux reader, it says 'can't open disk: C:users\downloads\boot.img
Check the disk and try again'. Any idea what is going wrong?

I am trying to extract the files from a stock Samsung 4.4.2 ROM, if that helps. Cheers.
 
Hemantparmar
Old
#3  
Senior Member
Thanks Meter 26
Posts: 108
Join Date: Apr 2014
Location: Mumbai
how long does this take to extract because its 1 hr n its still awaiting drop>!!!!!!!!!!!
 
CoulFox
Old
#4  
Junior Member
Thanks Meter 1
Posts: 17
Join Date: Jul 2013
Quote:
Originally Posted by Hemantparmar View Post
how long does this take to extract because its 1 hr n its still awaiting drop>!!!!!!!!!!!
Same issue i am getting no speed in extraction
 
Jersey.
Old
#5  
Jersey.'s Avatar
Member
Thanks Meter 22
Posts: 42
Join Date: Jun 2013
Location: Rotterdam
I am definitely going to try this! Thank you shikhar for this tutorial
<a href=http://imageshack.us/photo/my-images/28/7qju.png/ target=_blank rel=nofollow >http://imageshack.us/photo/my-images/28/7qju.png/</a>

Devices: Vodafone Smart Mini - Samsung Galaxy Young - Samsung Galaxy Core


 
Abumohammad
Old
#6  
Junior Member
Thanks Meter 0
Posts: 11
Join Date: May 2014
not work

Sent from my SM-N9005 using XDA Premium 4 mobile app
 
orbitA13
Old
#7  
orbitA13's Avatar
Junior Member
Thanks Meter 7
Posts: 29
Join Date: Dec 2013
Location: Taguig City

 
DONATE TO ME
Wont work on my phone either my phone says "No Application Available" so i cannot extract it.
My Phones: SGP GT-S5300 & SGP GT-S5301
MY WORK

 

ROM: DarkOrbit ROM v 4.5 By: Me (orbit)
DarkOrbit ROM is a Modified STOCK ROM (S5300XXLJ4) for the SGP GT-S5300
Kernels Used: vM00Kernelv1.10 By vM00| Getux_Kernel_v1.5 By:cleverior.ipul | Infuzion#2 By: _pxD.aa
Full Credits: To be given once DarkOrbit ROM v4.5 has been officially posted and released!
Hit The Thanks Button If I Helped, It's 100% FREE!
The Following User Says Thank You to orbitA13 For This Useful Post: [ Click to Expand ]
 
Abumohammad
Old
#8  
Junior Member
Thanks Meter 0
Posts: 11
Join Date: May 2014
this not work

Sent from my SM-N9005 using XDA Premium 4 mobile app
 
Abumohammad
Old
#9  
Junior Member
Thanks Meter 0
Posts: 11
Join Date: May 2014
is any other way

Sent from my SM-N9005 using XDA Premium 4 mobile app
 
Abumohammad
Old
#10  
Junior Member
Thanks Meter 0
Posts: 11
Join Date: May 2014
can you tell our any other way

Sent from my SM-N9005 using XDA Premium 4 mobile app

Tags
extract firmware.zip, extract stock rom, md5, tar
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Submitting a Patch to Gerrit – Featuring XplodWild – XDA Developer TV

Not every developer specializes in every area of … more

Learn How to Make a Live Wallpaper all by Yourself

Stillimages can bebeautiful, but some of you prefer to see animations on your screens. … more

Google Play Services Updated to Version 6.1

In addition to Android operating system proper, Google is focusing hard on giving the developers … more

CyanogenMod 11 M10 Available for Supported Devices

Summer vacation isover for most students out there, and it’s the time to get back to … more