PDA

View Full Version : [PICTORIAL] COOKING YOUR 6.1 ROMS USING ELF(in) HYBRID KITCHEN (kokotas) [ONLINE]


ayyu3m
25th September 2009, 05:53 AM
CREDITS:
kokotas, bepe, ervius and for all the members for their individual tools used in this kitchen. Noonski, for being my guru!!!

BASED ON:
ELF(in) Hybrid Kitchen

PICTORIAL HIGHLIGHTS:
- To cook your own ROMS based on 6.0 or 6.1 builds
- Porting XIP and SYS from newer builds to your ELF(in)
- Add / Remove APPS or COMPONENTS from OEM and SYS structure

WHERE CAN I GET THIS KITCHEN
[HERE] (http://forum.xda-developers.com/showpost.php?p=2326150&postcount=2)

INSTALLATION [As guided by kokotas]
1. Install on your pc Microsoft Visual C++ 2008 Redistributable Package (http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&DisplayLang=en) and Microsoft .NET Framework 3.5 (http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en)!
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!

A. THE BASICS
- Download any shipped roms for elfin. Do your homework on searching!!!
- As an example i m using the "RUU_Elfin_hTC_Asia_India_3.07.720.03_4.1.13.71_03. 34.90_BLUE_Ship.exe"
- Download this file on your desktop or anywhere you want and RIGHT CLICK on the file and extract the contents of this file (WinRar is needed)
- You will get lots of files including RUU_signed.nbh. Keep this file in mind and lets move to Cooking

B. COOKING

1. Extracting the ROM.

a. Start the kitchen by Clicking Main Menu on your Desktop
b. Select the option "a" and hit ENTER.

http://img197.imageshack.us/img197/8562/ayyu1.png

c. As shown, this folder opens automatically. Place the RUU_signed.nbh extracted previously in this folder and CLOSE the folder.

http://img21.imageshack.us/img21/5646/ayyu2.png

d. Once you close the above folder, the following menu below will appear. Select the option "1" and hit ENTER.

http://img10.imageshack.us/img10/6274/ayyu3.png

e. Please wait for a while as the ROM is extracted as shown by the following screen below.

http://img197.imageshack.us/img197/7605/ayyu4.png

f. Once the extraction is done, the following screen will appear and the folder below will open.

http://img18.imageshack.us/img18/5343/ayyu5.png

This folder contains the Packages [OEM + SYS] and XIP folders (files) needed only to build your CUSTOM rom file. Go back to the menu screen and hit any key to continue...

http://img197.imageshack.us/img197/3706/ayyu6.png

Now the extraction of your SHIPPED ROM is finished. Lets move to cook your first CUSTOM ROM...

ayyu3m
25th September 2009, 05:54 AM
ROM Structure:
You need to understand and know that a ROM consist of three main elements or folder structure as highlighted below.

OEM - This part is specific to the device manufacturer and consist of applications and programs made from their side. An excellent example is the Manilla 2D and 3D made by HTC for the HTC Devices

SYS - This is the Operating System by Microsoft. This is the part along with XIP, which gets updated and modified every now and then and is referred to as newer Builds whenever an update is released.

XIP - The kernel part of the Operating System by Microsoft which handles all the executions and memory management of your device.

In Short: Without these three structures in place, dont even think about playing with a kitchen..so lets move on to build the rom

2. Rebuilding the ROM Structure.

a. so this is the folder where you ended up after your ROM was extracted. Or just remember this is the path or folder where you need to be...(\Extract_ROM\Temp)

http://img197.imageshack.us/img197/3706/ayyu6.png

b. Open the PACKAGES folder and COPY the SYS and OEM folder as they are. At this stage DO NOT try and mess around with the contents inside them. Remember this is your first cooking...

http://img18.imageshack.us/img18/6718/ayyu7.png

c. Go to the Path as shown below (\Build_ROM) and PASTE and REPLACE the existing SYS and OEM folder inside (\Build_ROM). Besides if you have freshly installed the kitchen SYS and OEM folder are empty anyways..

http://img18.imageshack.us/img18/9157/ayyu8.png

d. Come back to (\Extract_ROM\Temp) and COPY the XIP folder ONLY!!!

http://img19.imageshack.us/img19/5388/ayyu9.png

e. Now go to the path as shown below (Build_ROM\ROM) and PASTE and REPLACE the existing XIP folder inside (\ROM). Dont worry or play with the extra 2 files inside (\ROM). These will be explained to you later on...

http://img21.imageshack.us/img21/8061/ayyu10.png

GOOD!! Now you have completed the stage of relocating the SYS, OEM and XIP folder after an extraction, into their relevant places and where the kitchen will do the rest of the work. So relax and enjoy the break and come back to Creating the ROM if you are still good to go...

ayyu3m
25th September 2009, 05:55 AM
http://img10.imageshack.us/img10/7286/ayyu11.png

http://img196.imageshack.us/img196/1504/ayyu12.png

http://img197.imageshack.us/img197/4732/ayyu13.png

http://img14.imageshack.us/img14/7793/ayyu14e.png

ayyu3m
25th September 2009, 06:26 AM
There will be changes once editing is done....just keeping you all informed...

this tutorial is courtesy to heartsurfer008 who seems very keen on learning how to cook. wish him all the best and the rest of you..get cracking at your kitchens....

ayyu3m
25th September 2009, 06:32 AM
i feel i just had to take this post too

htcfreak
25th September 2009, 10:50 AM
The BEST COOKIN THREAD EVER..!!!:D:D:D

Thanx "ayyu3m"..!!!:D:D:D

Luckily I am the 1st to reply..!!!:p

DuffBeer
25th September 2009, 11:13 AM
Don't work for WM 6.5 ? :confused:

magawa
25th September 2009, 11:32 AM
thank you very much


ya m3lem enta khater

harsh verna
25th September 2009, 11:33 AM
definately best toutorial fo an newbbie

magawa
25th September 2009, 11:38 AM
the best
the best
the best
the best

now I can cook my own rom

make it sticky
make it sticky
make it sticky

thank you

kancrutt
25th September 2009, 02:18 PM
congratz bro :D and welcome for all chef's :p

fcukmayank
25th September 2009, 02:30 PM
thankx for posting this

now i will have less pm asking me how to cook 6.1 and 6.5

bobnaldo
25th September 2009, 03:13 PM
Great post ayyu3m. Congratulations...

ayyu3m
25th September 2009, 03:57 PM
Hello kancrutt bro. Havent seen you around for quite a white. Hope you are doing okay man. Thankx for the support...

and fcukmayank (http://forum.xda-developers.com/member.php?u=1455323), you are welcome bro. i had one persistent lil fella who kept on pm-ing me too...and thus this tutorial to him and to all others who are having a hard time GETTING started...

and to the rest of you...thankx for the support in such a short span of time. once i m done with this pictorial i will make a pictorial for 6.5 kitchen as well...

daeinnor
25th September 2009, 06:58 PM
Sir,

I hope your WM6.5 builds testing with Mega OEM is successfull so we can have a WM6.5 ROM kitchen as well. :)

After 2 months of playing around with this Elfin, I came into the conclusion that the only way to get a speedy ROM with all our applications installed is to cook our own ROM. All the ROMs (most of the WM6.5 available) I tested are initially fast but after some customizations and installation of programs, they all slow down significantly. To verify, check how many revolution it takes for the wait cursor to open the \Windows directory using the file manager just after flashing and after fully installing your programs! :(

Thanks for your recent contribution to the HTC Touch community!

kancrutt
25th September 2009, 11:29 PM
Hello kancrutt bro. Havent seen you around for quite a white. Hope you are doing okay man. Thankx for the support...

and fcukmayank (http://forum.xda-developers.com/member.php?u=1455323), you are welcome bro. i had one persistent lil fella who kept on pm-ing me too...and thus this tutorial to him and to all others who are having a hard time GETTING started...

and to the rest of you...thankx for the support in such a short span of time. once i m done with this pictorial i will make a pictorial for 6.5 kitchen as well...
im just fine bro :D lil' bit busy celebrate Ied Mubarak

magawa
26th September 2009, 01:08 AM
im just fine bro :D lil' bit busy celebrate Ied Mubarak

we waiting your new rom but make it with fully programs and app

Ied Mubarak to you bro (are you muslim?)

Am using your 6.1 Rom but it have a problem when I soft rest my device taking to long to run and sometimes hang and didn't work soo i have to soft rest again and again (any fix)

ــــــــــــــــــــــــــــــــــــــــــــــــــ ــــــــــــــــــــــــــــــــــــــــــــــــــ ــــــــــــــــــــــــــــ
to any chef:
when i started to cook the ROM and BUILD IT
GIVE ME A MESSAGE FILE NOT FOUND

PUT OEM AND SYS ONLY IN THE BUILD ROM FOLDER (DONE)

THANKS FOR ALL CHEFS

htcfreak
26th September 2009, 03:52 AM
Hey add this too..!!!
"Microsoft Visual C++ 2008 SP1 Redistributable Package (x64)"

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=ba9257ca-337f-4b40-8c14-157cfdffee4e

svprm
26th September 2009, 04:50 AM
Nice work.
It will help all newbie.

magawa
26th September 2009, 06:36 AM
Hey add this too..!!!
"Microsoft Visual C++ 2008 SP1 Redistributable Package (x64)"

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=ba9257ca-337f-4b40-8c14-157cfdffee4e

i have add this programs from long time ago

because my brother learning c++ and he have all these programs

kancrutt
26th September 2009, 09:34 PM
we waiting your new rom but make it with fully programs and app

Ied Mubarak to you bro (are you muslim?)

Am using your 6.1 Rom but it have a problem when I soft rest my device taking to long to run and sometimes hang and didn't work soo i have to soft rest again and again (any fix)

ــــــــــــــــــــــــــــــــــــــــــــــــــ ــــــــــــــــــــــــــــــــــــــــــــــــــ ــــــــــــــــــــــــــــ
to any chef:
when i started to cook the ROM and BUILD IT
GIVE ME A MESSAGE FILE NOT FOUND

PUT OEM AND SYS ONLY IN THE BUILD ROM FOLDER (DONE)

THANKS FOR ALL CHEFS
yes im Moslem
please post ur problem in ELF SX thread, I dont have a problem with it, as well as other user

dsixda
27th September 2009, 08:00 AM
Good work, ayyu3m!

As someone has already said, the only way to get a fast ROM with *your own* programs and customizations is to cook them into your own ROM. Programs run much faster in the ROM section of flash memory, rather than in the regular user portion of the flash (e.g. Program Files).

gabba82
27th September 2009, 02:45 PM
great work!!!
I want to add my programs....how do it?Thanks

daeinnor
27th September 2009, 07:10 PM
Good work, ayyu3m!

As someone has already said, the only way to get a fast ROM with *your own* programs and customizations is to cook them into your own ROM. Programs run much faster in the ROM section of flash memory, rather than in the regular user portion of the flash (e.g. Program Files).
I second both: Good work ayyu3m and the way to get a fast ROM.

After playing with the device for 2 months, I learned that adding customizations involving placing files in the \Windows directory or populating the device with programs slows down the device significantly.

Workarounds:

As you suggested: cook your own ROM (tough for me)
Find a cooked ROM that suits your taste and install minimal customization & programs (limited choice as I love WM6.5 & Manila 2D)
As much as possible install big programs in SD/MMC, install reg hack to speed up SD/MMC access (wasted program storage)


My two cents!

daeinnor
5th October 2009, 05:34 PM
Hi ayyu3m. Any updates to your pictorial cooking instruction? I'm trying my luck into cooking as well but having a hard time finding instructions on going about it using just the ported XIP & SYS files like the ones posted & routinely updated by Da_G.

I think I'm getting some ideas based on your pictorial instructions. Hope you follow this up with rebuilding ROM instructions based on XIP & SYS files only.

Note:
Posted this not just to learn but to get it back up in the front page as it's not a sticky yet! :D

ayyu3m
5th October 2009, 05:58 PM
Hi ayyu3m. Any updates to your pictorial cooking instruction? I'm trying my luck into cooking as well but having a hard time finding instructions on going about it using just the ported XIP & SYS files like the ones posted & routinely updated by Da_G.

I think I'm getting some ideas based on your pictorial instructions. Hope you follow this up with rebuilding ROM instructions based on XIP & SYS files only.

Note:
Posted this not just to learn but to get it back up in the front page as it's not a sticky yet! :D
thankx man...i think i shud follow up this thread with windows 6.5 cooking eh??

will do man....jus busy these days...

daeinnor
5th October 2009, 06:36 PM
No rush & pushing from here! We all have priorities ... busy here too & taking out the pressure from work by playing around with this gadget. :D

Cero92
5th October 2009, 10:01 PM
A question:
When i press the C key, the menu opens Ervius PkgToolsBuildOs, after that i go to the BuildOS schede and i click on Load Rom, but i get this error:Error, cannot find \ROM\XIP\Boot.rgu File!!
Of course that file doesn't exist... But i've extracted the ROM as described, maybe should i download this file from another location?

ayyu3m
6th October 2009, 01:44 AM
no need man...but did you copy the XIP folder to \ROM??

check again...

honcorrd
6th October 2009, 02:42 AM
Congrats ayyu3m on this pictorial thread for us the beginer on cooking :cool:

Cero92
6th October 2009, 07:09 AM
no need man...but did you copy the XIP folder to \ROM??

check again...
Yes, if i go to C:\ELF(in)_Hybrid_Kitchen\Build_ROM\ROM\XIP i can see lots of directories called *.dll, a file called buildx and another called mxip_lang.vol...

kokotas
6th October 2009, 11:34 AM
Hi guys!
First of all ... GREAT job ayyu3m!!!
Hi ayyu3m. Any updates to your pictorial cooking instruction? I'm trying my luck into cooking as well but having a hard time finding instructions on going about it using just the ported XIP & SYS files like the ones posted & routinely updated by Da_G.

I think I'm getting some ideas based on your pictorial instructions. Hope you follow this up with rebuilding ROM instructions based on XIP & SYS files only.

Note:
Posted this not just to learn but to get it back up in the front page as it's not a sticky yet! :D
In order to use the new builds by Da_G in hybrid kitchen , you must change their structure to the old-style one that hybrid uses.
Or you could try the newer kitchen(here (http://forum.xda-developers.com/showpost.php?p=2326139&postcount=1)) , but that is off topic:D.
Of course that file doesn't exist... But i've extracted the ROM as described, maybe should i download this file from another location?
What do you mean by saying "it doesn't exist"?
That file should be there!
If you haven't already, please make sure that HIDDEN & PROTECTED files are shown (Folder Options)!

Regards!

daeinnor
6th October 2009, 12:20 PM
Hi guys! First of all ... GREAT job ayyu3m!!!
In order to use the new builds by Da_G in hybrid kitchen , you must change their structure to the old-style one that hybrid uses.

Or you could try the newer kitchen(here (http://forum.xda-developers.com/showpost.php?p=2326139&postcount=1)) , but that is off topic:D.
Regards!
Thanks kokotas. I had tried using your latest B2 kitchen but had errors during build process which I think is PC related (.Net Framework error?!) so I strayed away from your thread & instead used ayyu3m's guide based on your Elfin Hybrid Kitchen where I had the success of building a WM6.1 ROM.

I will be going back to your B2 kitchen once I get the knack of cooking or had any success with building a basic WM6.5 ROM. I like the design of your kitchen's folder structure - suits Da_G's XIP & Sys uploads.

Sorry ayyu3m for the off-topic. Just keeping your thread 'alive' until it becomes sticky. :)

Cero92
6th October 2009, 02:51 PM
What do you mean by saying "it doesn't exist"?
That file should be there!
If you haven't already, please make sure that HIDDEN & PROTECTED files are shown (Folder Options)!

Regards!

It's not there...
http://img156.imageshack.us/img156/6227/immagineov.th.jpg (http://img156.imageshack.us/i/immagineov.jpg/)
This is with hidden and system files shown... There's a file called boot_ms.rgu, i made a copy and renamed it as boot.rgu and now of course i don't get the error, but i don't think that's the way...

kokotas
6th October 2009, 06:21 PM
From which rom does the XIP come from?
I'm asking because I see a file "buildx" which is unknown to me!
Anyway, since you've got boot.hv you could convert it to boot.rgu and use that boot.rgu for building your rom!
Regards!

Cero92
6th October 2009, 06:49 PM
From which rom does the XIP come from?
I'm asking because I see a file "buildx" which is unknown to me!
Anyway, since you've got boot.hv you could convert it to boot.rgu and use that boot.rgu for building your rom!
Regards!
How can I convert it?

Do you suggest any ROM that's good to start? We will never have a vanilla ROM i think, what's the most similiar to the original one?

daeinnor
6th October 2009, 07:01 PM
Sorry, just realized that It's off topic, but not that much I guess. Anyway. moved full post to kokota's kitchen thread. :(

kokotas
6th October 2009, 07:17 PM
How can I convert it?
Put boot.hv inside this (http://forum.xda-developers.com/attachment.php?attachmentid=234826&stc=1&d=1254848713) and run boot.hv-2-boot.rgu.bat.

Using kokotas Hybrid Kitchen, was able to build my 1st WM6.5 ROM, however buggy it is.

I think the problem is with the old packages of the wm6.1 v3.07 ROM dump. I would like to know how to convert the file-based packages consisting of 0409 dir, files dir, & app.rgu to the format found similar to the dumped packages in the OEM dir of the Hybrid kitchen.

Tried using Ervius Package Creator but I'm not sure if I'm doing it right since although I can generate the dsm & xml files it doesn't move the files inside 0409 & files dir together with those files. Any clue on how to convert properly? I wanted to use TrueG's packages on his kitchen instead of my dumped ROM 3.07 packages.

Can't use TrueG, dsixda, & kokotas B2 kitchens due to incompatibility problems in my PC (Notebook) although kokota's Elfin Hybrid Kitchen works fine.

Thanks in advance for any help.
I'm not sure I understand correctly but try:
TotalFire - Package Converter 1.3 (http://forum.xda-developers.com/showthread.php?p=4554183)

Cero92
6th October 2009, 07:23 PM
Ty :)
I've found a boot.rgu file in the Prepare_XIP\Ref_XIP folder... It's related to my problem?

EDIT: Another error... When i press the GO button, it starts without problems, but after a while i get another error message:Cannot open file C:\ELF(in)_Hybrid_Kitchen\Build_ROM\temp\dump\.VM\ imageinfo.bin
If i ignore it, it continues but it seems to be stuck... From the task manager i can see that buildxip.exe is using the CPU, but the RAM usage doesn't change...

mesaj
7th October 2009, 11:15 AM
Good tutorial. Thanks ayyu3n :) . We needed it all. Prepare for a lot of new WM 6.1 ROMs :P
http://img199.imageshack.us/img199/7673/stickythisthread.jpg

a.fontenele
7th October 2009, 12:23 PM
ayyu3m (http://forum.xda-developers.com/member.php?u=654733) you´re the man! Thanks so much for your hard work and dedication!!!

Nullstring
10th October 2009, 06:55 AM
how do I remove Outlook Enhancements and HTC Message in PckToolsBuildOs kitchen?

Nullstring
10th October 2009, 06:58 AM
what to do and what happen why the PckToolsBuildOs stucked on
"executing CREATE_ROM_For_ELF.bat"

chota_shivaji
12th October 2009, 04:38 PM
Hey ayyu3m,

Nice initiative buddy !! Keep up the good work !!
This will surely help new-bies to get ramped up with ROM cooking !!

mrhieu
16th October 2009, 07:44 PM
Hey ayyu3m thanks for you post. But can you please show me how to Add / Remove APPS or COMPONENTS from OEM and SYS structure. These are the most important things for me to personalize my ROM. e.g I like ONYX 4.8ult the most, but I don't like M2D, so I want to replace it with Samsung goodie today plugin. That's what I keen on now :)

onlyankush_s
24th March 2010, 08:18 AM
hi, i m really interested in cooking rom, but i don know how to. your piture tutorial is one of the best but still i m getting error play i press the play button the message is " ERROR : CONVERSION OF STRING "C:\ELF(IN)_HYBRID_KITCHEN\BUILD_" TO TYPE 'DOUBLE' IS NOT VALID. "

PLEASE HELP ME WHAT TO DO KNOW.
thanks in adv

regards
-Ankush

saybron
6th May 2010, 11:50 PM
thanks man!

t2dk
8th May 2010, 01:15 PM
thanks , i need