yashsingh1/xdaforums huggingface dataset:
[Touch GSM ROM Development] ayyu3m:
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]

INSTALLATION [As guided by kokotas]

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!

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.

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

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

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

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

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...

Now the extraction of your SHIPPED ROM is finished. Lets move to cook your first CUSTOM ROM...
[Touch GSM ROM Development] ayyu3m:
Rebuilding the ROM Structure!

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)

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...

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..

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

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...

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...
[Touch GSM ROM Development] ayyu3m:
hehehe
[Touch GSM ROM Development] ayyu3m:
Do NOT follow this pictorial yet!!!

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....
[Touch GSM ROM Development] ayyu3m:
hmmmm

i feel i just had to take this post too
[Touch GSM ROM Development] htcfreak:
Thanx {Great Work}

The BEST COOKIN THREAD EVER..!!!:D:D:D

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

Luckily I am the 1st to reply..!!!:p​
[Touch GSM ROM Development] DuffBeer:
Don't work for WM 6.5 ? :confused:
[Touch GSM ROM Development] magawa:
thank you very much

ya m3lem enta khater
[Touch GSM ROM Development] harsh verna:
definately best toutorial fo an newbbie
[Touch GSM ROM Development] magawa:
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
[Touch GSM ROM Development] kancrutt:
congratz bro :D and welcome for all chef's :p
[Touch GSM ROM Development] fcukmayank:
thankx for posting this

now i will have less pm asking me how to cook 6.1 and 6.5
[Touch GSM ROM Development] bobnaldo:
Great post ayyu3m. Congratulations...
[Touch GSM ROM Development] ayyu3m:
Hello kancrutt bro. Havent seen you around for quite a white. Hope you are doing okay man. Thankx for the support...

and fcukmayank, 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...
[Touch GSM ROM Development] daeinnor:
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!
[Touch GSM ROM Development] kancrutt:
im just fine bro :D lil' bit busy celebrate Ied Mubarak
[Touch GSM ROM Development] magawa:
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
[Touch GSM ROM Development] htcfreak:
Hey add this too..!!!

"Microsoft Visual C++ 2008 SP1 Redistributable Package (x64)"

http://www.microsoft.com/downloads/...FamilyID=ba9257ca-337f-4b40-8c14-157cfdffee4e
[Touch GSM ROM Development] svprm:
Nice work.

It will help all newbie.
[Touch GSM ROM Development] magawa:
i have add this programs from long time ago

because my brother learning c++ and he have all these programs
[Touch GSM ROM Development] kancrutt:
yes im Moslem

please post ur problem in ELF SX thread, I dont have a problem with it, as well as other user
[Touch GSM ROM Development] dsixda:
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).
[Touch GSM ROM Development] gabba82:
great work!!!

I want to add my programs....how do it?Thanks
[Touch GSM ROM Development] daeinnor:
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!
[Touch GSM ROM Development] daeinnor:
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
[Touch GSM ROM Development] ayyu3m:
thankx man...i think i shud follow up this thread with windows 6.5 cooking eh??

will do man....jus busy these days...
[Touch GSM ROM Development] daeinnor:
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
[Touch GSM ROM Development] Cero92:
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:

Of course that file doesn't exist... But i've extracted the ROM as described, maybe should i download this file from another location?
[Touch GSM ROM Development] ayyu3m:
no need man...but did you copy the XIP folder to \ROM??

check again...
[Touch GSM ROM Development] honcorrd:
Congrats ayyu3m on this pictorial thread for us the beginer on cooking :cool:
[Touch GSM ROM Development] Cero92:
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...
[Touch GSM ROM Development] kokotas:
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) , but that is off topic:D.

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!
[Touch GSM ROM Development] daeinnor:
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. :)
[Touch GSM ROM Development] Cero92:
It's not there...

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...
[Touch GSM ROM Development] kokotas:
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!
[Touch GSM ROM Development] Cero92:
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?
[Touch GSM ROM Development] daeinnor:
Packages: Files to Module Conversion

Sorry, just realized that It's off topic, but not that much I guess. Anyway. moved full post to kokota's kitchen thread. :(
[Touch GSM ROM Development] kokotas:
Put boot.hv inside this and run boot.hv-2-boot.rgu.bat.

I'm not sure I understand correctly but try:

TotalFire - Package Converter 1.3
[Touch GSM ROM Development] Cero92:
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:

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...
[Touch GSM ROM Development] mesaj:
Good tutorial. Thanks ayyu3n :) . We needed it all. Prepare for a lot of new WM 6.1 ROMs :P
[Touch GSM ROM Development] a.fontenele:
ayyu3m you´re the man! Thanks so much for your hard work and dedication!!!
[Touch GSM ROM Development] Nullstring:
how do I remove Outlook Enhancements and HTC Message in PckToolsBuildOs kitchen?
[Touch GSM ROM Development] Nullstring:
what to do and what happen why the PckToolsBuildOs stucked on

"executing CREATE_ROM_For_ELF.bat"
[Touch GSM ROM Development] chota_shivaji:
Hey ayyu3m,

Nice initiative buddy !! Keep up the good work !!

This will surely help new-bies to get ramped up with ROM cooking !!
[Touch GSM ROM Development] mrhieu:
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 :)
[Touch GSM ROM Development] onlyankush_s:
getting error

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
[Touch GSM ROM Development] saybron:
thanks

thanks man!
[Touch GSM ROM Development] t2dk:
thanks , i need
[myTouch 3G, Magic Apps and Games] gunsuper:
Dear All,

I also tried to update the cyanogen kernel for certain times. I found that there is some packages I don't want.

Just like my previous post about keyboard issue. Does it possible for me to extract update.zip into folder, then check/remove/add apk I want, then compress it again ? like remove original android keyboard and add HTC_CIME and keyboard ???

But I tried before and error occur like failed with my signature if I do that.

Are there any example or procedures require to make update.zip like cyanogen provides ??

Thanks !!
[myTouch 3G, Magic Apps and Games] nephron:
you need to resign the zip file. Search for "resign apk made easy" or something like that on the dream forums. or like "resign reg".
[G1 Android Development] cacahahacaca:
Just to save you some time, Google Maps is already freely available from the Android Market:

http://www.cyrket.com/package/com.google.android.apps.maps

I don't know about the other apps though...
[G1 Android Development] jjcd51590:
Alright

Alright that's good but if there is no market it wont be easily updated i would think without other software.
[G1 Android Development] cacahahacaca:
Well, as far as I understand (and this is TommyPickles' theory) Google was pissed off because Cyanogen included a pre-release version of the new Android Market from Donut.

If that's the case, there would be nothing to prevent him from including the current Cupcake Market (or so I would hope).
[G1 Android Development] truthkilla:
F*** it who need those crappy Apps anyways. Just replace them with some that actually work better!
[G1 Android Development] jjcd51590:
Yea but...

That could be the case, however what is stopping them from doing it again we need to break the chains here.
[G1 Android Development] Freedomcaller:
i dont know if you need it or not but i working on a music player as a project for my projects class in school, maybe this can help in some way?
[G1 Android Development] jjcd51590:
Hey Every little bit helps im sure we can run it through some test and if we get an alternative store released we can put your project in there
[G1 Android Development] nephron:
Meebo IM is free and is much better then the google im app. It has Gtalk, AIM, MSN, Yahoo, Facebook Chat, MySpace chat and more :D
[G1 Android Development] cyanogen:
http://slideme.org/ looks like the best replacement for Market.

My concern is with the sync code. You can build the providers from AOSP, but you can't actually sync without doing the registration process, which requires the closed-source SetupWizard and Checkin applications.
[G1 Android Development] Freedomcaller:
edit: **** my distypesia kicked in...

cool it probably wont be done for a bunch of months tho, as its not due till the end of the simester and the android API has me totaly confused. but it has to get done otherwise i fail the class :-O
[G1 Android Development] jjcd51590:
lol

Well keep us updated no telling how long this is going to take :/

Well any ideas on the Setup or Check in apps what are thier purpose cant we just ditch them and use other methods of syncing?
[G1 Android Development] cacahahacaca:
eBuddy is supposed to be very good as well.

What would *really* suck is if they force him to remove the Calendar, Gmail, and the Browser...
[G1 Android Development] testing567:
Gmail is easy enough to replace, and the other two you mentioned are both open source, so their safe.
[G1 Android Development] jjcd51590:
Alright that's good to hear but the main one now is going to be the set up... think we could implement the hero one? I am not sure if that's htc property or Google property any info on this?
[G1 Android Development] superg05:
the browser sucked compared to steel browser anyway
[G1 Android Development] testing567:
We should try to not rely on the Hero roms for anything because the entire thing is considered closed source. The only difference is HTC hasn't complained yet. I'm guessing it will hit the fan with HTC the second a hero rom is ported to a non HTC device.
[G1 Android Development] farmatito:
I vote for replacing the browser with steel

and email app with k9-mail.

We need also to patch the installer to be able to install apps to system.
[G1 Android Development] jjcd51590:
True True

Yeah your right about that how would a non-Google experience android phone work then anyone know? and i was just throwing ideas around lol thanks for clearing that up
[G1 Android Development] superg05:
i went to the google site http://productideas.appspot.com/ and left the idea leave him the hell alone or hire him
[G1 Android Development] doooshty:
Thank you. We are getting some structure set up for it now, stay tuned for details
[G1 Android Development] amlwaycooljr:
I'd be more than willing to help but sadly I can't code worth jack but I'd love to help anywhere else I can. I can't wait to see where this project ends up. Here's to an oss android!!
[G1 Android Development] ttabbal:
There's always documentation and testing to be done, not to mention getting the word out. Lots of stuff people can do to contribute other than coding. Let's face it, developers aren't usually the best doc writers. At least, I'm not. :D
[G1 Android Development] BoxyD:
I can do app related development. I've done some programming with the Android framework before. I don't know much about the system/infrastructure level though. If we need devs for that I'm going to have to do some hard crash course studying.

Somebody should probably make a list of all the devs that have volunteered for the project :)
[G1 Android Development] doooshty:
Lol, writing and testing I can do. I have a MyTouch 3g and a G1, so I am willing to assist on that front.

If you want to help, spread the word. Post, tweet, email...whatever you want.

We should get open android alliance to be a trending topic on twitter. haha

The ball is rolling people stay tuned.
[G1 Android Development] irrenhaus:
Oh I hate doc writing :D

Also my art is crappy programmers art.

There is always more to do than just developing :)

Or: Developing is much more than programming :)

And yah, maybe would be the best thing if we get something "quick and dirty" to work. Then we have the time to do something really nice :)

Let's say it directly: To create good and usefull alternatives to all the closed source things will take much time and will be hard work.

But I know that there are plenty of really talented developers out there. So if we can get some more people this project can become reality :)

[edit] And as said before. This is not google bashing. This is evolution :). This is making Android the system we all wanted to have when we bought an Android phone. With this in mind, this is a call for dev's :)

And also project managers.

And people who are willing to do anything else - whatever it might be :)

And... ah you know ;)[/edit]
[G1 Android Development] doooshty:
I agree...a list of developers and skills would be great. Eventually we can keep track of who's working on what.

We also need help with GUI and design.

For now I must sleep. I have to wake up in 5 hours for work. blahhhhh.

Give me good stuff to wake to.

Lets.Do.This
[G1 Android Development] doooshty:
ttabbal is setting up a google code right now to get things running as quick as possible. I am excited about this;)

Night
[G1 Android Development] amlwaycooljr:
I'm down for some document writing, idea proposing, website posting fun.

So about this quick and dirty release we need to get both a setup wizard and syncing correct? So are we going to just throw in temporary replacements for email, market, im etc while we work on building a true replacement?
[G1 Android Development] march7th:
looking forward to the peoples Android
[G1 Android Development] bthoma59:
Agreed

I think this is a fine idea. I've always loved the functionality of google apps but google's memory is a bit too good for comfort.
[G1 Android Development] BoxyD:
I feel ya. I was planning on catching up on some sleep tonight but instead I guess now I'll be looking over some code.
[G1 Android Development] ttabbal:
Alright everyone, here's the first place we can start tracking things.

http://code.google.com/p/open-android-alliance/

Yes, google code. :D

I chose it becuase it's quick to get running with a wiki, docs, and version control for the project source code. I'll be registering a domain name and I'll point it to that page for now. It's possible Google won't want to host our project. If that happens, I have a web hosting account I will donate space on.

Volunteers, please PM or email me (ttabbal (at) gmail.com) with your google account email address and what you want to work on. I was thinking of working on the sync stuff. I've done similiar stuff in Java before, so I should be able to get the base level stuff out reasonably quick. I'm actually better at low level library type code, so if a UI guy or two wants to work with me, that would be great. :)

I'd like to move most of the tracking type stuff over there. It's dificult to be really organized in a forum thread. But keep posting ideas and comments here. This is a great place to keep communication open.
[G1 Android Development] Kazan22:
So if all the "Closed Source" programs are illegal to distribute, how are HTC, Motorola, LG, ect... Able to do it? How is what the Devs here doing any different? Unless they license those apps through Google specifically.