[Touch GSM ROM Development] kokotas:
Elfin Hybrid Kitchen

ELF(in) Hybrid Kitchen

(DISCONTINUED - NEWER KITCHEN @ 2nd POST)

INSTALLATION:

1. Install on your pc Microsoft Visual C++ 2008 Redistributable Package and Microsoft .NET Framework 3.5!

2. Remove any previous version(if any)of the kitchen(shortcuts too) before "installing" the newer!

3. The archive should be extracted directly to the Drive where Windows are installed (most cases C:\) , otherwise nothing will work!

4. Once you do that, go into C:\ELF(in)_Hybrid_Kitchen and double-click "First_Run_For_ELF(in)_Hybrid_Kitchen.bat"!

5. IF you're using Windows Vista, make sure USER ACCESS CONTROL is turned OFF!

Download through: Mediafire

********************************************************************************************************************

DESCRIPTION:

(Be patient and keep your eyes on the DOS window for additional help&instructions while using this kitchen)

Main Functions:

[a] Dump any ROM from Kaiser, Polaris, Diamond, Xperia, Raphael, Elf(in)...

You may use these formats:

****.nbh (eg: RUU_Signed.nbh, Blue_Elves.nbh, etc) ,

****OS.nb (eg: New-OS.nb, 19588-OS.nb, etc) or ***windows.nb (eg:Mobile_windows.nb, New_windows.nb, etc) ,

****imgfs.bin (eg: imgfs.bin, new_imgfs.bin, etc) .

****.payload (eg: OS.nb.payload, 20270_OS.nb.payload, etc) . <- NOT FOR ELF(in) !

****.raw(only Part01.raw & Part02.raw) .

You get new OEM, SYS and xip.bin(unless you used *imgfs.bin) into C:\ELF(in)_Hybrid_Kitchen\Extract_ROM\Temp .

If you used an ELF(in) ROM then you'll get a full dump, OEM, SYS and XIP, that you could move to C:\ELF(in)_Hybrid_Kitchen\ELFIN_DEV_v2.1_Build_19XXX\ and use it as a cooking base .

[b] Port any XIP from Kaiser, Polaris, Diamond, Xperia... You need xip.bin .

It requires:

NOT to change Ref_XIP folder inside C:\ELF(in)_Hybrid_Kitchen\Prepare_XIP and

If you have any problems in XIP Porting you have all the needed tools inside C:\ELF(in)_Hybrid_Kitchen\Prepare_XIP to try manually port the xip .

[c] Build your OS.nb (using the Ervius PkgToolsBuildos which can autofix & autorelocate SYS) .

You'll get the option to make a dumpable ROM using PkgToolsBuildos (by keeping unticked the box next to "All packages in one:") .

NOTE1: Inside ..\Build_ROM the OEM , SYS and ROM\XIP folders are empty . You may "fill" them with the required files .

NOTE2: Because Ervius PkgToolsBuildos is included in the kitchen, you could always use the functions that it provides apart from those described here .

NOTE3: If your xip_out.bin or out.bin is smaller than 2,49MB you could use the attached os.nb.payload (where imgfs start @ 0x280000)

[d] Flash any ROM to your device .

If you have a CID Locked device you have the option to flash a ROM using SoftSPL & your device remains CID Locked with the same SPL !

Additional Functions:

[1] Convert any cab to an OEM Package using Ervius Package Creator .

[2] Create a cab using IABovine's QuickCab 2.0 .

[3] Convert a bitmap to a Splash.nb (& reverse) using pof's nbimg .

[4] Convert files to modules & reverse using RecMod and reversmode . Not all files can be converted to modules.

[5] Convert 24 bit .bmp to .brn and reverse (for editing Cube gfx) .

[6] Compress executable files using UPX 3.03 .

Panel:

Easy access for many tools .

BASIC USAGE:

(Check out ayyu3m's great [PICTORIAL] COOKING YOUR 6.1 ROMS USING ELF(in) HYBRID KITCHEN)

1. Lets say you want to use a SHIPPED or DUMPED (NOT a COOKED!) ELF(IN) ROM as a Base.

--1.1.Double click the desktop-shortcut "Main Menu"

--1.2.Press [a]

--1.3.A window pops up beside the DOS screen. Place in there the RUU_Signed.nbh and close the window!

--1.4.Press [1]

--1.5.When the process is completed (& pressing any key returns you to main menu), you get another window opened with the files you want:

Packages(OEM&SYS)

XIP(folder)

xip.bin

--1.6.Keep that window open and double click the desktop-shortcut "Kitchen"

--1.7.Copy OEM and SYS to C:\ELF(in)_Hybrid_Kitchen\Build_ROM\

--1.8.Copy the XIP(folder) to C:\ELF(in)_Hybrid_Kitchen\Build_ROM\ROM\

2. The Base for cooking your ROM is set! Either clean up the OEM folder from things you wish to be removed or just (re)build the ROM.

--2.1.Double click the desktop-shortcut "Main Menu" (if you closed the main menu window)

--2.2.Press [c]

--2.3.PkgToolsBuildos starts

--2.4.Go to BuildOS Tab and click Load Rom.Select which Packages to include and press the green play button[Go]

--2.5.When this process is completed you'll have your OS.nb inside the "temp" folder and the (final product) RUU_Signed.nbh is generated in two places,

(i)..\CustomRUU\ <= For flashing CID Unlocked phones

&

(ii)..\RUU\ <= For flashing CID Locked phones using SoftSPL

NOTES:

A) Ref_XIP folder inside Prepare_XIP is the latest 3.10ROM's XIP

, but modified as follows:

-removed modules:

cachefilt.dll, hd.dll, mencfilt.dll, osaxst0.dll

-removed files:

boot_ms.rgu, bmui.nb0

-edited files:

boot.hv, boot.rgu,

REMOVED ENTRIES:
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\Filters\CacheFilt]
"Dll"="CacheFilt.dll"
"Order"=dword:2

[-HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\Filters\CacheFilt]
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\LSOMACORE]
"Index"=dword:00000001
"Prefix"="DRM"
"Dll"="lsomacore.dll"
[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\LsFilter]
"Order"=dword:00000001
"Dll"="LSFILTER.dll"
[HKEY_LOCAL_MACHINE\Init]
"Launch98"="TimeWizard.exe"

-edited modules:

nk.exe

RTC is enabled

-ALL MSXIPKernel modules are relocated to achieve better XIPPorting

**If you include LockStreamDRM PACKAGE in your ROM and you use the Ref_XIP as your \ROM\XIP(folder), ADD the removed (from boot.rgu) entries

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\LSOMACORE]
"Index"=dword:00000001
"Prefix"="DRM"
"Dll"="lsomacore.dll"
[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\LsFilter]
"Order"=dword:00000001
"Dll"="LSFILTER.dll"
[HKEY_LOCAL_MACHINE\Init]
"Launch98"="TimeWizard.exe"

in the PACKAGE's *.rgu.

B) Building your ROM

When you are building your ROM you need:

ROM\XIP(ALL FILES and MODULES) ,

ROM\romhdr.bin and

ROM\OS.nb.payload

This option builds the out.bin(buildxip.exe is used)from the XIP(folder).

C) PP Patching is included in the kitchen operation!

You just set your favorite pp size at the beginning(installing) and each Rom you build is already patched!

If you make the following hex change in nk.exe's S000

then the kitchen's PP Patching doesn't work!

You should use the suggested by Aman Multi-platform PP changer v2.21 which is included in the kitchen's panel!

NOTE: I don't have an ELF to test, but after the above change then I think that the pp size is the same for both ELF&ELFIN(not dynamic).