[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:
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!