Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
djjonastybe
Old
(Last edited by djjonastybe; 2nd October 2011 at 05:52 PM.)
#1  
Senior Member - OP
Thanks Meter 329
Posts: 684
Join Date: Sep 2010
Location: Tienen

 
DONATE TO ME
Default [Samsung Galaxy Gio GT-S5660][Tutorial] Export ROM for use in Odin

This tutorial is about how to export your /system partition or your own ROM.

Requirements
- ADB Shell for Windows, Linux, Mac OSX or Android Terminal Emulator installed on your GT-S5660
- If you are using Windows use cygwin else use Terminal in Linux.

Process
1. Install Cygwin from here, skip this step if you use Linux
2. Connect the Gio to the computer.
3. a) Open windows command prompt and type:
Quote:
adb shell
3. b) If you use Android Terminal, open it
4. Whether you use option a or b from the previous step type this
Quote:
dd if=/dev/block/stl12 of=/sdcard/system.rfs bs=4096
5. Now you have a system.rfs file on your sdcard.
6. If you use cygwin place the system.rfs in this folder (where you installed it):
Quote:
C:\Cygwin\home\%yourusername%
If you use Linux I assume you have the skill to set the correct paths yourself...

7. Now we are going to pack it into a tarball:
Quote:
tar -H ustar -c system.rfs > thisismyrom.tar
if you have an additional moddified boot.img for example you could have typed this as well:
Quote:
tar -H ustar -c boot.img system.rfs > thisismyrom.tar
8. Add md5 hash to our tarball for security and integrity checks
Quote:
md5sum -t thisismyrom.tar >> thisismyrom.tar
9. Renaming our tarball with md5 extension:
Quote:
mv thisismyrom.tar thisismyrom.tar.md5
10. Happy flashing with odin!
The Following User Says Thank You to djjonastybe For This Useful Post: [ Click to Expand ]
 
Darkshado
Old
#2  
Senior Member
Thanks Meter 261
Posts: 710
Join Date: Apr 2011
Location: Montréal
Shouldn't stl12 be system? And stl14 cache?

Also, you could make a shell script to automate part of your process. Scripts can be run from Cygwin and Linux.

Regards,

Darkshado
My phones: Galaxy Note II SGH-T889V, Nexus S GT-I9020A
Previous phones: Galaxy Gio GT-S5660M (Arpeggiomod ROM / Discussion, stock rooted ROM).
Phones for which I play "tech support" for family and friends: Galaxy Nexus GT-I9250, Galaxy Q SGH-T589R, Galaxy 551 GT-I5510M, LG C-800G Eclypse
The Following User Says Thank You to Darkshado For This Useful Post: [ Click to Expand ]
 
djjonastybe
Old
#3  
Senior Member - OP
Thanks Meter 329
Posts: 684
Join Date: Sep 2010
Location: Tienen

 
DONATE TO ME
Sorry! Made a typing mistake. Corrected it!
 
cdesai
Old
#4  
cdesai's Avatar
Recognized Developer
Thanks Meter 3631
Posts: 2,209
Join Date: Jan 2011
Location: IN YOUR HEAD

 
DONATE TO ME
No need of cygwin, adb in windows cmd will do fine, and use total commander to tarball it on windows, other tools mess it up n can brick your device
CyanogenMod Maintainer | SGT7 | TeamBBQ

 
BBQLinux - An Arch based Linux distribution for Android developers
Website: http://www.bbqlinux.org | Downloads: [url]http://sourceforge.net/projects/bbqlinux/files//url]
IRC: #bbqlinux on freenode
 
ilumur
Old
#5  
Member
Thanks Meter 3
Posts: 42
Join Date: May 2009
Hi!
How can i export the CSC (or all the ROM) from Android 2.2.1?

thanks
 
Bakuron
Old
#6  
Bakuron's Avatar
Senior Member
Thanks Meter 80
Posts: 249
Join Date: Jan 2012
I may have got the wrong end of the stick here and this could be the wrong thread, but it does seem to be the most specific to my interest.

I'd like to be of service by exporting my own ROM (Stock Firmware) so others can use it themselves in case of disaster. I started a thread at Samfirmware.com here http://www.sammobile.com/forum/showthread.php?t=3420 because they don't have it on their list for Samsung Galaxy Ace, and I was surprised to see it got 64 views, so I presume there would be some modicum of interest in it.

I really don't have any experience with this but I am fascinated and keen to learn. I had assumed (and I know assumption is the mother of all f*** ups) that I could simply create a CWMrecovery backup and it could be zipped up and exported to other phones. But I read somewhere that this would include my google account details.

Anyway. If you can tell me a) how to be of some use regarding this b) tell me its not worth it but point me in the direction of a place where I can start to learn what to do or c) politely show me the exit sign and tell me not to darken your door again...I'd be most grateful
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more