[Touch GSM ROM Development] kokotas:
B2 Kitchen

B2 Kitchen GUI

(LATEST VERSION 2.0.0.0)

Supported Devices:

Elfin

Leo

Diamond

? (Testers Needed for other devices)

INSTALLATION:

Prerequisites:

Microsoft .NET Framework 3.5 (Windows Vista / Windows 7 have it pre-installed)

If you're using Windows Vista / Windows 7, make sure USER ACCESS CONTROL is turned OFF!

DO NOT change the structure of the kitchen!

If you don't want to use ImDisk Driver, you should get another 3rd party software able to create a RamDisk in order to use the relevant feature.

Installation:

[YOUTUBE]_9BtBnPRXdM[/YOUTUBE]

Once you download the kitchen, install it following on screen instructions.

When you launch the kitchen for first time you'll get the chance to install ImDisk Driver if it isn't already installed.

(RECOMMENDED if you don't have another 3rd party software for Virtual Drive Management)

To get started, you should import a device by using an official_shipped_ruu.exe as a source.

Otherwise you could place your files manually.

(Be careful to put them in the correct way, respecting the kitchen's structure)

Download links:

Mediafire(For ALL users)

XDA(For XDA members)

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

DESCRIPTION:

(Video)

Dump any source

you want in almost any known format:

RUU_Device_HTC_Version_Signed_Ship.exe

RUU_Signed.nbh

Flash.dio

OS.nbf

OS.nb.payload

OS.nb

nk.fat

Imgfs.bin

xip.bin

Part01.raw and Part02.raw

Import a new device

by dumping the device's OFFICIAL Rom RUU_Device_HTC_Version_Signed_Ship.exe.

The kitchen will even create a CustomRUU.exe AND a Task29.exe for the imported device.

Import any new leaked build

just with one click.

When you

dump a rom

/

import a new device

the kitchen is able to:

Remove any empty packages if you select -EmptyPkgs.

Sort each registry file from your dump to make it more readable if you select SortRegistry.

Sort all Packages into the required style.

Sort all manila localization files by lcid.

Build your rom

according to your taste:

Set which packages will be included from the "Packages Selection" area.

Set Rom version, language, ModelID and CountryID that are required for generating the final flashable *.nbh. The Rom date will always be automatically set to current date.

Select among various builds and lcids which one to use for building your Rom.

Select whether to use a real 6.5 nk (if your device has a 6.5 nk) or not in your generated Rom by selecting 6.5nk.

Select whether to use ShaDrac's driver - Extendir - or not by selecting Extendir, without messing up (adding/removing Extendir.dll - editing boot.rgu) your XIP each time.

Select whether to reduce/remove ULDR or not at your generated Rom by selecting -uldr.

Select whether to increase the Storage Memory of your Rom or not by selecting -imgstart.

Choose your Rom's PagePool Size (0-20).

Select compression (XPR-LZX-None) method for building your Rom.

Add Radio and Splashscreen to your final flashable *.nbh.

Set the kitchen to take care the "SLOT 0 overfloating" issue when building a 6.5 Rom while your nk.exe is not a real 6.5 nk.exe by selecting Rec.Mod SYS

If you have used the above option and have recmodded some modules inside SYS/Shared in order to fix the "SLOT 0 overfloating" issue when no real 6.5 nk.exe is available, but now you want to use the same Build (= the same SYS/Shared) for building a new Rom for a device that has a real 6.5 nk.exe you can reversmode the same files by selecting Rev.Mod SYS.

Set the kitchen to search and find any duplicate items in your compilation that would cause crashing issues to PRB before starting the real building process by selecting DuplicateCheck.

Each time you build a rom a log file is created which you can easily see by clicking the "Process" Label.

Search for files or file's content

(i.e. Search for a certain registry entry among *.reg files) using the search engine of the kitchen.

Access fast and easy certain files

that are commonly used inside a Rom.

You can see lists of

*.txt, *.mscr , *.xml , *.provxml , *.cpr & *_manila

inside your kitchen by simply clicking the relevant button.

If you click on any file you see in those lists you open it for editing.

Flash any ROM

you selected from a list of your created Roms to your device.

You'll get the chance to perform task29 on your PDA - THEN manualy enter Bootloader and FINALLY update the ROM if you have that special CustomRUU inside the kitchen.

Use a RamDisk

(ImDisk Driver comes with this kitchen) for the building and dumping processes in order to gain speed and decrease hard disk fragmentation.

Cfc manila files

and convert any normal Manila_package to a compressed one just with one click.

Exploit the possibilities of MortScript

even during building your Rom:

Forget about app.dat - app.mscr is introduced in this kitchen.

Don't cook in hundreds of files that get copied to various locations but at the same time stay in your "Windows" directory slowing down your device - Create just one archive (app.xdaz) which extracts the files to the correct locations during boot leaving in "Windows" directory only one file with an unknown extension.

Convert

cabs--->EXT Packages

just with one drag n' drop on a button.

Convert

files<-->modules

just with one drag n' drop on a button.

Convert

rgu files<-->hives

just with one drag n' drop on a button.

Convert

provxml files<-->reg files

just with one drag n' drop on a button.

Convert

bmp<-->nb

just with one drag n' drop on a button.

Install any cab file to your pda

just with one drag n' drop on a button.

Manipulate each package

from the "Packages Selection" area just with one click:

Double click on the package to open its folder

Right click on the package to:

Edit directly the package's app.reg.

Edit directly the package's app.dat.

Edit directly the package's app.mscr.

UPX one/all package's executable(s).

Optimize package's png(s).

Optimize package's bmp(s).

Repack package's *.mui files.

Recmod one/all package's module(s).

NosplitMod one/all package's module(s).

Revmod one/all package's file(s).

Install the package to your pda.

Edit directly the initflashfiles.dat

of the selected language just by right clicking inside the "Locale" box in the "Configuration" area.

Edit directly the boot.rgu

of the selected build just by right clicking inside the "Build" box in the "Configuration" area.

If you want to edit directly the boot.rgu for the Extendir driver just right click the Extendir checkbox.

Read/Write directly the packages.cif and packages.sof

of the selected build just by right clicking inside the "Build" box in the "Configuration" area.

Optimize XIP & SYS

of the selected build just by right clicking inside the "build" box.

Build 3

different editions of your rom

just by selecting an "Edition" (Premium, Basic, Lite) in the "Configuration" area.

This is optional, so if you leave "Edition" blank, then the "P" , "B" , "L" selection in the "Packages Selection" area doesn't matter!

Keep the kitchen accessible at all time

. When you close the kitchen, it minimizes to tray from where you can access many functions and browse the kitchen's folders. By double clicking the tray icon you restore the kitchen's window.

If you want to really exit the kitchen while it is visible press F1!

Easily uninstall

the kitchen from your system.

Easily save/load your project

:

If you double click the "Save" icon then you'll save your current project (its name will be the Edition.build.locale.date&time of saving).

If you click the "Save" icon then you can select from a list of your projects which one to load.

Easily access all the tools

that come with the kitchen. Even assign your own favorites to ALL the bottom buttons.

Check existing registry files for errors

before building your Rom by right clicking the "Packages Selection" Label.

The time of this operation depends from the number of registry files, so you either give it enough time to finish if you have a lot of packages in your compilation or you click the Stop button to abort it.

Control your pda

from inside the kitchen:

Restart your connected pda without even touching it.

Enter BootLoader.

Watch a list of processes currently running on your device.

View/edit/dump your device's registry.

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

BASIC USAGE:

***Valid for any device - Just consider your device's name instead of the Elfin***

Packages Selection:

You can see all the SYS Packages from the BUILD & LOCALE you've chosen.

You can see all the EXT Packages you have in the kitchen's directories.

You can make sub-directories(

limitation

:up to 16!) to organize them better(i.e. EXT\Elfin\Tweaks , EXT\Elfin\TodayItems , EXT\Elfin\Apps , EXT\Elfin\Utilities , etc) and place your packages inside each sub-directory.

You can select which packages to include in your ROM by ticking the checkbox in front of the package's name. If you have it unticked then the package will be skipped.

If you

double click inside the selection cell

but not on the checkbox then you can select/deselect ALL packages.

You can see in the "Packages Selection" area that there are 3 columns "P" , "B" , "L" following the Package's name.

These will have an effect ONLY IF you select an Edition under "Configuration" area!

If you want "Package1" to be [COLOR="YellowGreen"]included[/COLOR]/[COLOR="Red"]excluded[/COLOR] in your [B]P[/B]remium edition then you must have the checkbox under "[B]P[/B]" [COLOR="YellowGreen"]ticked[/COLOR]/[COLOR="Red"]unticked[/COLOR].
If you want "Package1" to be [COLOR="YellowGreen"]included[/COLOR]/[COLOR="Red"]excluded[/COLOR] in your [B]B[/B]asic edition then you must have the checkbox under "[B]B[/B]" [COLOR="YellowGreen"]ticked[/COLOR]/[COLOR="Red"]unticked[/COLOR].
If you want "Package1" to be [COLOR="YellowGreen"]included[/COLOR]/[COLOR="Red"]excluded[/COLOR] in your [B]L[/B]ite edition then you must have the checkbox under "[B]L[/B]" [COLOR="YellowGreen"]ticked[/COLOR]/[COLOR="Red"]unticked[/COLOR].

There is also a ZIP Column. That Column is used to "mark" which EXT Packages you wish to convert to "Mscr_Packages" when you click "ExtToMscr" option.

If checkbox = unticked then nothing will change.
If checkbox = ticked then Selected Package will be converted to a Mscr Package (this is useful ONLY for applications that get installed to Program Files)
If checkbox = greyed then Selected Package will be converted to an Extendir Package (this is useful ONLY for applications that get installed to Windows and you're cooking Extendir in your Rom)

Main Functions:

Obligatory routine:

Select device.

Select build.

Select locale.

Clicking the "Dump" button presupposes that you have placed a Rom file inside BaseROM folder.

When the process finishes you'll get a full dump of that Rom.

Drag n' drop a Rom file on this button works the same way!

Right Click on "Dump" button will show you two options:

Import New Device

meaning use another device's official rom to dump&prepare everything that is required by the kitchen to operate.

When everything is completed you'll be asked whether to auto move files or not!

Import New Build

meaning use any archive with the new leaked build to import the included SYS and XIP packages to the kitchen.

Next to the "Dump" button is 1 icon :

The folder-icon is a menu that includes shortcuts to various kitchen's folders.

Clicking the "Build" button starts the building process.

Next to the "Build" button are 3 icons :

The first one is a menu that includes :

ImDiskGui

ExtToMscr

RomTools

RePackOEM

CFCManila

The second one opens the below window. From there you can turn on/off the RamDisk feature, uninstall the kitchen, set your custom (build) commands, etc.!

The third one opens the Search utility of the kitchen.

Clicking the "Stop" button you stop the process you've started.

Clicking the "Phone-icon" button you have the options to:

Select from a list with your created Roms which rom to flash.

Restart your connected pda without even touching it.

Enter BootLoader.

Watch a list of processes currently running on your device.

Launch CeRegEdit

Double clicking the "Phone-icon" button you access the RELEASE\Elfin folder.

Clicking the "Flash" button you minimize the kitchen and start the CustomRUU (ElfinCustomRUU) in order to flash the ROM you selected to your device.

Right Click on "Flash" button will show you the option to Format&Flash, meaning that you'll get the chance to FIRST perform task29 on your PDA (ElfinTask29) - THEN manualy enter Bootloader and FINALLY update the ROM.

Right Click on "Configuration" label will show you the Advanced PRB Settings panel.

Clicking on "Radio" label opens the radio sub-folder.

Clicking on "Splash" label opens the splash sub-folder.

Addons:

You can easily access all the extra tools that come with the kitchen. - Drag n' Drop works for every dark-GRAY button.

You can assign your favorite links to ALL the buttons you see at the bottom!

Those links can be applications, folders, batch files or urls.

In order to set your own you should edit the file myaddons.ini under TOOLS\addons\ keeping the format addon#|Name|Path :

(Just right click on the button you want to change)

addon1|CFF Explorer|C:\Program Files (x86)\Explorer Suite\CFF Explorer.exe
addon2|Tiny Hexer|C:\Program Files (x86)\mirkes.de\Tiny Hexer\mpth.exe
addon3|Icon Editor|C:\Program Files (x86)\Icon Editor\IcoFX.exe
addon4|Manila Kitchen|C:\Program Files (x86)\Manila_Kitchen
.
.
.

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

TO DO:

Any suggestions are welcomed!

Any bug reports are appreciated!