[TUTORIAL] How To Extract Files From a TAR.MD5 Stock ROM (SPH-L900) - Sprint Samsung Galaxy Note II

I recently did this for the E4GT and have been asked to do it here as well.
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 S3 (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.ext4 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 system.img.ext4 (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 at www.rwilco12.com.
- 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!

Reserved.

Do you sleep?! Another great RW production!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

fryingpan0613 said:
Do you sleep?! Another great RW production!
Click to expand...
Click to collapse
Sleep is overrated!

Great Work Buddy!!!!
This will make things easier for Devs!!!
Sent from my SPH-L900 using JellyBombed Tapatalk 2

Related

[Q] Extracting Stock ROM from HTC WWE RUU

Hey guys,
I've decided I've had enough of not knowing anything of cooking up a ROM, so, for my first project I've decided to make a ROM from the latest HTC_WWE RUU. Lots of people have been asking for a completely stock ROM without extras and not ruining the recovery and root access etc. at the same time. If it's good, I'll publish it . I've copied and extracted the rom.zip from the %TEMP% folder in Windows, and have found the following files. But extracting the "system.img" file doesn't work - it gives me the following error using 7zip:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So I'm wondering how to find the flashable-zip like folder structure that you get inside a ROM. E.g with /data, /system, /lib, /mnt, /proc etc. Then I will add root permissions and remove the recovery image. How can I find this structure? These are the only files inside the rom.zip:
Anyone have an idea of how to get this? I've looked in many places and just can't seem to find it.
Thanks in advance
look for a guide on using unyaffs, pretty sure I have it in my dropbox if you can't find it using Google.
I think you just extract the unyaffs zip into a folder then drag n drop the system.img onto it. not sure though its been a while.
Sent from my HTC Wildfire using xda premium
Scratch0805 said:
look for a guide on using unyaffs, pretty sure I have it in my dropbox if you can't find it using Google.
I think you just extract the unyaffs zip into a folder then drag n drop the system.img onto it. not sure though its been a while.
Sent from my HTC Wildfire using xda premium
Click to expand...
Click to collapse
Thanks a heap Scratch! If only I didn't have Norton Security, it wouldn't keep thinking the file was a virus!
What would we do without you Scratch....

[CWM-APP][1.00] AROMA Filemanager :: 120512-002 :: Open Source Soon [amarullz]

[MODS PLZ MOVE TO PROPER THREAD IF YOU HAVE TOO]
With PERMISSION from AMARULLZ to post in our thread
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The World's First ANDROID Recovery Based Filemanager​
Android Recovery was powerfull system. But it was pain when it come to managing your filesystem
But now AROMA Filemanager is available for everyone to do this common tasks.
Have you ever rebooted your device into recovery, only to find that you forgot to do some basic file management before embarking on your flashing journey? Perhaps instead you shut down your device, but would like to delete or copy some files without having to fully boot your device into the Android OS. Whatever the case, there are dozens of use-cases for being able to manage your files from recovery, and now it is possible.
XDA Recognized Developer amarullz has created AROMA File Manager, which lets users on any standard recovery manage their files in full GUI glory. You may assume that installing a recovery-based file manager would be quite complicated. However, it is quite simple. To run AROMA File Manager, all you have to do is “install” the update.zip, as you would with any other update.zip. Rather than physically installing onto your device, AROMA will instead be launched and allow you to cater to your file management needs. According to the developer:
How To Use?​
Copy the zip into your sdcard, then reboot your device into recovery mode. Choose install from sdcard, then select the AROMA Filemanager ZIP. The file manager will starting, and you are ready to managing your filesystem (copy, cut, delete, make new folder, etc) while you are in recovery.
---------------------A-R-O-M-A---F-i-l-e-m-a-n-a-g-e-r-----------------------​
DOWNLOAD:
ORIGINAL THREAD FOR DOWNLOAD​
I saw this yesterday and tried it. Pretty freaking awesome stuff.
I'll give it a go, I'm always flashing tests.
Just wondering, can you moun the sd card to the computer?
This is amazing.
Not bad at all. I give this app a 9/10

[TUTORIAL] How to make a flashable Zip for your Stock ROM

Well hello!
The tutorial below is quite handy and if you ever want to restore to Stock ROM (for whatever reason) you can do it really easily. I decided to write this down since I've seen quite a few people having problems restoring the Stock ROM from the RUU or PG76IMG.zip. Here we go!
Requirements:
A Rooted Phone
ClockWorkMod or any other recovery
dsixda's kitchen (Tutorial to set it up is here
The RUU/PG76IMG.zip of the Stock ROM you need.
About dsixda's kitchen, I suggest you go for the "Cygwin" method, as that's what I'm going to go with. VirtualBox is good too, but it takes too much RAM.
If you have the PG76IMG:
Extract the system.img and boot.img.
If you have the RUU:
Run the RUU till the "I Acknowledge, etc. etc" screen comes.
Start Task Manager.
Hit the processes tab.
Find ARUWizard.exe. Right click and go to location.
You will see a zip called rom.zip. Open it up and extract system.img and boot.img from it.
Copy the two .img files to your kitchen's img_files folder.
Now, open up Cygwin and navigate into the kitchen folder like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You will see a list of options there like this:
Type 1 to create a working folder from the two .img's.
OPTIONAL:
You can try out the other options like Root, Zip Aligning,etc. in the kitchen for your Stock ROM if you want. But if you're restoring back to it for Warranty Purposes, then I suggest you don't.
Once the working folder is created, type 99 and let the kitchen create the flashable zip for you.
Put the zip onto your SD Card and flash away!
Great TUT :thumbup: but i still hate you
Sent from MARVEL JellyScream
asdot said:
Great TUT :thumbup: but i still hate you
Sent from MARVEL JellyScream
Click to expand...
Click to collapse
Thanks a lot hater
Sent from my HTC Wildfire S A510e using xda premium
Tyr Fifteen said:
Thanks a lot hater
Sent from my HTC Wildfire S A510e using xda premium
Click to expand...
Click to collapse
Inside Joke?:silly:
wat is update script and updater script?
How can i make a flashable zip without system.img but with the folder system
Can u make stock ROM of Motorola firmware into twrp flashable zip plz ?

removed "firmware" files in z1c-44-uk.system.flashable.zip?

i'm currently trying to make a flashable zip with my "own" firmware "D5503_14.3.A.0.681_EURO LTE"
when i compared the the content of systems.tgz from the file z1c-44-uk.system.flashable.zip with the system.sin file of my firmware i noticed a bunch of files are missing in the tgz file.
so i looked at D5503_14.3.A.0.681_Generic UK.ftf and noticed the firmware files are there.
Different files in system
D5503_14.3.A.0.681_EURO LTE vs 1c-44-uk.system.flashable.zip
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
D5503_14.3.A.0.681_EURO LTE vs D5503_14.3.A.0.681_Generic UK.ftf
D5503_14.3.A.0.681_Generic UK vs 1c-44-uk.system.flashable.zip
why were these files removed in the flashable zip?
Are you talking about the z1c-44-uk.system.flashable.zip from my guide here: http://forum.xda-developers.com/showthread.php?t=2688933 ?
I didn't remove any files, I built it directly from the system.sin (mounted it in ubuntu).
All those files in your last picture are inside my system.tgz.
zxz0O0 said:
Are you talking about the z1c-44-uk.system.flashable.zip from my guide here: http://forum.xda-developers.com/showthread.php?t=2688933 ?
I didn't remove any files, I built it directly from the system.sin (mounted it in ubuntu).
All those files in your last picture are inside my system.tgz.
Click to expand...
Click to collapse
your right, seems like they are symlinks and winrar does not unpack them on my pc unless you start it as admin ?!?
TQuest said:
your right, seems like they are symlinks and winrar does not unpack them on my pc unless you start it as admin ?!?
Click to expand...
Click to collapse
No idea. I recommend to not use windows for stuff like that anyway. Just set up a ubuntu vm with VirtualBox. You also don't need any extra tools there. Just unpack the system.sin to system.ext4 with flashtool and mount it under ubuntu.
zxz0O0 said:
No idea. I recommend to not use windows for stuff like that anyway. Just set up a ubuntu vm with VirtualBox. You also don't need any extra tools there. Just unpack the system.sin to system.ext4 with flashtool and mount it under ubuntu.
Click to expand...
Click to collapse
i agree with you, i was just using windows for a filecompare because i thought it was more conveniant.
for everything else i'm using the same setup as your are: virtualbox with ubuntu :good:

Themes / Apps / Mods BEST ANDROID KITCHEN FOR SAMSUNG F62/M62 SO FAR...

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
KITCHEN FOR SAMSUNG F62/M62​**TESTED ON F62 FIRMWARE**​INTRODUCTION​Hello everyone so I just wanted to share this Android kitchen by CRB. I've been using this software for a while, and I have not encountered a single error or bug, and this is perfectly working in Windows 10 and windows 11. Below are the features of this software so that you people can use this software for the development purpose. Even though there are many Android kitchens are available in online, but this is specially designed for Samsung firmware so that you can easily compile or decompile the Samsung firmware. you can visit the official XDA THREAD over there but for now I have given the download link which I am currently using on my PC. You don't have to do anything you can use your windows itself to run this software. This is a tool for those who want to start learning how to make custom ROMs, or who just want to save some time with their ROM customization.
Thanks Note (THIS IS NOT MY WORK, JUST SHARING THE KITCHEN) :
ZonalRipper for tips and test.
Hyper.Alvi for tips and test.
fivanbe for tips and test.
and many, many others.
OFFICIAL LINK (CRB)
Features:​
Supports files format zip, 7z, jar, tar, ozip, md5, img, raw, ext4, lz4, bin, dat.br, dat, xz, ofp, tgz.
Multiple project support.
Delete single project.
Delete single partition.
ROM extraction automatically.
ROM extraction selectively.
Support for multiple customizable bash scripts.
Debloater for remove apps with only one click.
Unpack/Repack boot.img.
Unpack/Repack dtbo.img.
Dtb extraction.
Case Sensitive files supports.
SAMSUNG ROM DISARM by ZonalRipper.
Custom Image for build image with all the options available.
Build image bulk with all the options available.
Build super image with all the options available.
Converting file_contexts.bin to standard text.
Output formats img, new.dat, new.dat.br, lz4.tar.
Unpack super.img.
Supporting Android 11 and erofs.
log for all task.
Requirements:​Enabled WSL on Windows 10/11
Windows 10/11 64-bit Platform
GUIDES:
Off site promotion links removed.
Please refer to Telegram Chat Channels - Way Forward

Categories

Resources