[Touch GSM ROM Development] ayyu3m:
Follow these steps to DUMP the ROM (OEM, SYS and XIP)

Notes:

* Please be aware that most of this tutorial comes from Information written by others, but edited by me (ayyu3m) accordingly for Elf ROM Cooking

* Two types of ROM downloads are available: (i) Original\Stock ROM: Self extracting version that runs the updater automatically and (ii) Custom ROM: ROM and RUU contents zipped inside for extraction and manual updating via RUU.

Part A - Dumping the ROM (OEM and SYS part)

1 - Extracting the ROM Contents - To get RUU_signed.nbh

(*) Stock ROMs: Right click on the setup file and choose extract here/to desired location. (Use Winrar, Winzip or 7-zip)

(*) Custom ROMs: Simply Right Click and choose extract to desire location. (You know what to use)

2 - Copy the file "RUU_Signed.nbh" from the extracted folder and Paste it in "Desktop: \Hypercore\Extract\Source" folder

3 - Run 1. DumpRom from (\HyperCore\Panel\Extract\) and press ENTER from the DOS dialog box that appears.

!Wait till the Dumping is done as shown below!

4 - Once done, you get two options: "1. Start Package Tool" and "2. Move Os.NB to.."

(a) Press option 2 and wait till you get the options screen again.

(b) Next Press option 1, you will get a DOS screen about the Package Tool, then Press ENTER.

5 - Now you get 5 options. Press option "3. Manual". This starts the Package Tool as shown below.

(a) Click File > Open > Browse to "Desktop: \HyperCore\Extract\" and select the "dump" folder. Press "OK".

Note: You will get the package information. Ignore the Missing Manifests files for now. Stock roms usually give 3 *.dsm files. A Custom rom might result some more.

(b) Click Tools > Build Packages and wait a while.

(c) Rename the folder "Desktop: \HyperCore\Extract\dump" Folder into "Desktop: \HyperCore\Extract\Packages". Then click File > Exit from the Package Tool.

!"Desktop: \HyperCore\Extract\Packages"!

6 - Back to the DOS dialog window and from the 5 options available:

(a) Choose option "4. Move SYS & OEM..." (when it asks you if you want to make a backup folder choose whatever you want, I personally being confident enough always choose NO to this) wait a while till the DOS dialog box is back and gives the 5 option screen again.

!Wait a while till SYS and OEM folders are moved!

(b) Now choose option "5. Moving OS.NB..." and once moving is done press ENTER to Exit the DOS dialog Box.

Part B - Dumping the ROM (XIP part)

7 - Run 3. DUMP XIP from (Desktop: \HyperCore\Panel\Extract\)

Note: Running it the first time will open the folder that contains the "OS.nb", and you should already be able to see it since we moved it there. Close this folder to continue. If the Dump XIP DOS Dialog box doesn't show any option to continue, close it leaving the "Desktop: \HyperCore\Extract" open. Run 3. DUMP XIP again.

(a) You will get the option "Press [ENTER] when ready" so press ENTER.

!Wait till the XIP extraction is done!

(b) Once done, Press ENTER to continue, now you will get 2 options, choose "1. Copy XIP to....."

!When done Press any key to Continue!

(c) Now choose option "2. Move OS.NB to...." and wait a while. (If you get a warning mentioning wrong folder, just ignore the message)

!When DONE press ENTER to exit DUMP XIP DOS dialog!

You are now ready to start Cooking!!!

Thankx to:

*Anichillus for including the instruction on how to extract in the HyperCore Kitchen and modifying all the scripts.

*It'sme for the original extracting script

*Pof and theBlasphemer for making it more user friendly and Bepe for the Package Tool.

Lets move to Step 3. BUILDING the OS