PDA

View Full Version : [KITCHEN][04/Jan/11]ELF(in) Kitchen(s)[ONLINE]


Pages : 1 [2] 3

humrod
11th January 2009, 12:50 PM
Hi Kokotas, I'm trying to cook a spanish rom on the kitchen, but it doesn't boot. I make tha translation on Neokit and works fine. Is possible that i need to change somethings on the kitchen to work in 0C0A system lang? or it is indiferent?
Tell you what i did: Tried to make the translation in you kitchen as usual, bu don't boot. Starting with the same OS.nb, work on the other kitchen, and works fine. The problem is that kitchen doesn't keep the SYS/OEM structure.
I took the OS.NB from that kitchen and dump with your kitchen, fix the missing files and bluid: Doesn't work.
Can you give me some clue?
Thanks in advance

kokotas
11th January 2009, 03:29 PM
Hey humrod!
Tell you what i did: Tried to make the translation in you kitchen as usual, bu don't boot. Starting with the same OS.nb, work on the other kitchen, and works fine. The problem is that kitchen doesn't keep the SYS/OEM structure.
I took the OS.NB from that kitchen and dump with your kitchen, fix the missing files and bluid: Doesn't work.
Can you give me some clue?
Thanks in advance
I don't find something wrong in what you did, so it is a bit strange that the rom doesn't boot:confused:
Well, the truth is that I've been using this kitchen to build WWE roms ONLY.
I am going to try something different and
dump a non english rom
rebuilt it
flash it
and see what happens...
Hi Kokotas, I'm trying to cook a spanish rom on the kitchen, but it doesn't boot. I make tha translation on Neokit and works fine. Is possible that i need to change somethings on the kitchen to work in 0C0A system lang? or it is indiferent?
I haven't heard about the Neokit kitchen, so when I saw your post I searched for it and this is what I found:
NeoKit easy2use rom cook/modding tool (http://forum.xda-developers.com/showthread.php?t=357893)
Is this what you used(but with some modifications)?

Regards!

humrod
11th January 2009, 04:24 PM
Yes my friend....That's what I use..
I learn about it since i was on Prophet...!What a surprise¡ it works on elfin
It's not complete (about a elfin I mean) cause is not made for all devices, but you can dump an OS.nb and obtain an OS.nb
Just it don't manage the SYS/OEM system, but it's really powerfull.
If you found something about the lang i?ll be waiting

Demo[95]
11th January 2009, 05:47 PM
Kokotas, Humrod,

I don't think it's related with the kitchen, as i'm currently using this kitchen for my WWE, FR and ITA Rom...

kokotas
11th January 2009, 05:49 PM
Here is what I tried in detail:

1. I went and got myself a foreign Rom
RUU_Elfin_TMO_NL_2.26.114.52_4.1.13.52_03.08.90_BL UE_Ship_SPL2.26.exe (http://rapidshare.com/files/134427652/RUU_Elfin_TMO_NL_2.26.114.52_4.1.13.52_03.08.90_BL UE_Ship_SPL2.26.exe)
Device: ELF030050
CID: T-MOB003
Version: 2.26.114.3
Language: NLD
IPL/SPL: 2.26
2. Dumped it
3. Moved OEM & SYS to \Build_ROM and XIP to \ROM
4. Started PkgToolsBuildos and rebuilt it with no modifications
5. Flashed it ===> NO BOOT!
6. :confused: for a couple of minutes:D

What I did to solve this:
1. Renamed the OS.nb from the Rom I dumped (OS.n inside \Extract_ROM\BaseROM) to OS.nb.payload and moved it to \ROM overwriting the old one.
2. Went into \Build_ROM\TOOLS and edited the CREATE_ROM_For_ELF.bat:
Replaced the line
..\TOOLS\msflshtool OS.nb.payload -r ..\ROM\out.bin -p 0
with
..\TOOLS\insert.exe -i ..\ROM\out.bin -o OS.nb.payload -d 0x00310000 -s 0x00340000
and removed this one
goto :pppatch

SO you should try and edit the CREATE_ROM_For_ELF.bat @ those lines having in mind that insert.exe takes the following parameters:
-i <file> Source file.
-o <file> Destination file.
-d <hex> Destination address.
-s <hex> Full size to fill up with 0xff.
If you need to find the Destination address [-d] in your OS.nb.payload try:
1.Open the Os.nb.payload with a hex editor
2.Search for this pattern "FE 03 00 EA 00 00 00 00"
3.Note the address for the first byte "FE" and use it in insert command for -d <hex> parameter.
(If you find it twice, then the second address is the one we need)

Now you need to find the size of xip "section" [-s] in your OS.nb.payload
1.Open the Os.nb.payload with a hex editor
2.Search for this pattern "FF F8 AC 2C 9D E3 D4 2B 4D BD"
3.Note the address for the second byte "F8" and use it in finding the -s <hex> parameter for insert command:
(F8 hex-address) - (-d <hex>) = -s <hex>

Hope this helps a bit...
Regards!

humrod
11th January 2009, 08:11 PM
I start using as base the Asia_3.07.720.03_4.1.13.71_03.34.90_BLUE_Ship
Ok: I edit the Create_ROM_For_Elf.BAT
But the secuence FE 03 00 EA 00 00 00 00 is one time only....

!Aman!
11th January 2009, 08:22 PM
did u remove the ULDR partition? if yes, then thats the reason it is only once.

humrod
11th January 2009, 09:02 PM
No I don't remove it. I use the rom as is published here in the forum
But thinking in the coments of kokotas: I dump the RUU_signed.nbh andthen change the 0409 lng files for the 0C0A lang files from Diamond, adjust the Initflashfiles and some registry keys, like the mui and the nui.
I don't change the XIP (it was dumped from the same rom)

kokotas
11th January 2009, 09:22 PM
No I don't remove it. I use the rom as is published here in the forum
If you use this (http://forum.xda-developers.com/showpost.php?p=2862969&postcount=1) rom's OS.nb as your OS.nb.payload then the cmd is:
..\TOOLS\insert.exe -i ..\ROM\out.bin -o OS.nb.payload -d 0x00310000 -s 0x00350000
and the secuence FE 03 00 EA 00 00 00 00 is found twice!
There is something wrong if you find it only once! Maybe you should redownload the Rom?
I don't change the XIP (it was dumped from the same rom)
If your problem is that you get stuck at "Smart Mobility" Screen then it's possible that XIP is the cause!
Use the XIP which is dumped from that ROM without any changes and see if it boots..

humrod
11th January 2009, 09:49 PM
Well, some advance: now boot but stck in the windows mobile green screen..
Actually the kitchen is with your changes in make a rom bat, the original XIP nd change the OS.nb.payload from the OS.n file.

humrod
11th January 2009, 10:27 PM
To confirm that all is OK I dump the original rom and rebulid, but this is stuck on the green screen too.....

kokotas
12th January 2009, 12:32 AM
To confirm that all is OK I dump the original rom and rebulid, but this is stuck on the green screen too.....

I did the same thing with that rom and even though it seemed to get stuck at Green Screen,
it just took a loooong time to boot...
Even the screen went off before it decided to boot - lol:D
Don't know why this has happened, but since it boots I think it's ok!
Here is what I used in order to get it done.

Regards!

humrod
15th January 2009, 03:30 PM
Hi Kokotas. after some probes, i detect the following:

I build a spanish rom in Neokit and it flash ok.
I took this OS.nb and dump in Hybrid. I need to put the missing files in correct place (neokit don't keeps the packages) and check that the default.hv and the user.hv in metadata has 3082 (or 0C0A) spanish lang as default language.
I build with ervius keeping the packages.
The device boots untill the first splash (WM 6.1 green).
I dump the RUU_signed.nbh (from Hybrid Flash ROM) OS.nb and dump this, and analyce the default.hv and user.hv the registry langs is in 0409 (english).....(after bluid!!!!)
Of course, I check the default.hv and user.hv in metadata (in Hybrid Build ROM) and it keeps the 3082 lang.
I rename the OS.n as OS.nb.payload (I thougth is possible that this file change the lang) and nothing: boot until green screen.
I'm confused.

kokotas
20th January 2009, 12:35 PM
Hi Kokotas. after some probes, i detect the following:

I build a spanish rom in Neokit and it flash ok.
I took this OS.nb and dump in Hybrid. I need to put the missing files in correct place (neokit don't keeps the packages) and check that the default.hv and the user.hv in metadata has 3082 (or 0C0A) spanish lang as default language.
I build with ervius keeping the packages.
The device boots untill the first splash (WM 6.1 green).
I dump the RUU_signed.nbh (from Hybrid Flash ROM) OS.nb and dump this, and analyce the default.hv and user.hv the registry langs is in 0409 (english).....(after bluid!!!!)
Of course, I check the default.hv and user.hv in metadata (in Hybrid Build ROM) and it keeps the 3082 lang.
I rename the OS.n as OS.nb.payload (I thougth is possible that this file change the lang) and nothing: boot until green screen.
I'm confused.
Hi humrod!
Sorry for the delay:)
The thing is that the kitchen's tools don't use the default.hv and user.hv in metadata but it builds them from your *.rgus.
I don't know why your phone doesn't want to boot!
If you still have this problem, I could try to help if you want to upload somewhere your OEM,SYS&XIP to take a look.
You could also try bepe's platformrebuilder - @ 2nd Post;)

Regards!

humrod
20th January 2009, 06:34 PM
Thanks Kokotas. I was thinking about that and I'm cooking the rom same way, but changing the rgu, especially the one in SYS/Base Lang 0409. There's the NLS, MUI and curlang keys, basic for the translation. when finish I post the result here....

humrod
23rd January 2009, 01:13 PM
Well Kokotas, that's the key....
Basically the diference (in the topic of translation) betwen neokit and Hybrid, is in the form that rebuild the registry. The first uses the default.hv and user.hv, and hybrid uses the rgu's. That's the way neokit can manage the "protected" roms build with ervious and beep's.
Now I have a base rom in spanish (0C0A) but with the packages....
Thanks for your support and indications

c2b2
26th January 2009, 08:43 PM
The first page says that we can modify Dumped and not cooked ROM.

Is there any tool that lets us modify Cooked ROMs? Checked out the pages of a few kitchens. They were not very clear. Can someone please suggest one.

I'm a newbie. I've only CID unlocked my phone and flashed a few ROMs. Thats my level of knowledge.

humrod
27th January 2009, 09:58 PM
Usually we refer to Cooked roms a rom that was cooked with protection process. If you dump it you obtain a "Dump" carpet with all the files without packages. You can't recook it with this kitchen. A dumped rom is a rom that you can dump an obtain the OEM/SYS carpets.

dsixda
28th January 2009, 04:45 PM
;3238583']
but do not except much help from those who accepts/demand donations.

Where do you have proof of such a statement?
Those who "accept" donations are not hiding anything from anyone. 99% of the cooks in the Elf forum are the friendliest and most helpful people in xda. I wouldn't have gotten started without the help of people like Noonski, Kokotas, Ababrekar and Htctouchp.

dsixda
28th January 2009, 05:32 PM
as much as i know dsixda, he won't mind sharing his source :). i hope i'm not wrong, but his ROMs are properly dumpable (at least his old ROMs used to be).

Yeah I have protected my ROMs since 4.1.2 because it runs much faster now (around 300 less files in Windows) ;)

But if you try to dump it with Bepe's kitchen or other kitchens you'll get the message "Contact me" :-)


BTW htctouchp... where have you been hiding!! Hi!!!

!Aman!
28th January 2009, 05:48 PM
Yeah I have protected my ROMs since 4.1.2 because it runs much faster now (around 300 less files in Windows) ;)

But if you try to dump it with Bepe's kitchen or other kitchens you'll get the message "Contact me" :-)


BTW htctouchp... where have you been hiding!! Hi!!!
yeah, the so called "protection" reduces the load on \windows folder and makes the ROM better ;)

i've been hiding coz i'm not much needed nowadays with the kind of support u provide :) u have left nothing for me to do here now :D

Demo[95]
28th January 2009, 05:53 PM
You can ask a couple of people who have asked me and are using my OEM/SYS all the time. I think someone else asked for my code to do a Spanish translation but I was away on holiday. In fact, I share my own OEMs in the Diamond ROM Development forum.

But I do understand why some people will not share their ROM. Sometimes people may use it, change it, release it, and then use it under the context of the originator's name - thus discrediting them and/or causing them trouble if something goes wrong.

So our friend c2b2, can choose at least between Onyx and AEther OEM and SYS folders to modify and cook is own ROM...

Ameet
28th January 2009, 07:02 PM
Feels great to post in here after a long time :D Hey koko. How you been?

Just cleaned up the last few "donation statement" posts. Looking good now as always :)

dsixda
28th January 2009, 10:07 PM
yeah, the so called "protection" reduces the load on \windows folder and makes the ROM better ;)

i've been hiding coz i'm not much needed nowadays with the kind of support u provide :) u have left nothing for me to do here now :D

Haha.. we always need you here man. We'll need all our minds together to get a fully working 6.5 for our ROMs in less than one month ;-)

dsixda
28th January 2009, 10:08 PM
Feels great to post in here after a long time :D Hey koko. How you been?

Just cleaned up the last few "donation statement" posts. Looking good now as always :)

Nice to see you back too!

kokotas
28th January 2009, 10:39 PM
Hey guys!
Is there any tool that lets us modify Cooked ROMs?
You've got it all wrong and it's not really your fault.
I believe that by "modify" you mean:
(1)"dump into Packages"
(2)"add/remove/edit stuff"
(3)"rebuild a flashable rom"
IF the first one (1) can not be performed then it is normal (logical) that this chain of events breaks and you can't "modify" the rom you are after.
In which case the first one (1) fails or works?
All the Official roms (Shipped and Dumped) include *.dsm(s), so they are "dumpable".
When a rom is cooked with all the *.dsm(s) included then it can be "dumped into Packages".
When a rom is cooked without *.dsm(s) aka "Protected_rom" then it can NOT be "dumped into Packages".
I disagree with the term "Protected_rom" but this is how it is known..
My opinion is that the case of a rom with no *.dsm(s) is not a Protected rom but an optimized rom!
Aman described much better what I mean:
yeah, the so called "protection" reduces the load on \windows folder and makes the ROM better ;)
And if you want to dump a "Protected_rom", you only have to do one simple thing: ASK the cook to share his ingredients and recipe...(but know that he/she has the right to deny)
Feels great to post in here after a long time :D Hey koko. How you been?
Hey Ameet!Nice to see you here!
I'm doing ok! But I'm getting ready to be away for some time(going in the army for a year).
Keep the forum clean and interesting brothers!;)

Regards!

c2b2
29th January 2009, 05:03 PM
Thanx Kokotas. Nicely explained.

I wanted to remove just a few apps that came preloaded in my ROM which I'm never gonna use.

But I dont mind leaving the ROM as it is. I though removing a few apps would be something very easy.

Thanx anyways.

Ameet
29th January 2009, 05:22 PM
Haha.. we always need you here man. We'll need all our minds together to get a fully working 6.5 for our ROMs in less than one month ;-)
Hopefully I'll be counted in it too.. Will be great to learn XIP porting for the new Win ;) Am sure even Noonski's gonna play a good part in this :D
Hey Ameet!Nice to see you here!
I'm doing ok! But I'm getting ready to be away for some time(going in the army for a year)
Hey koko. Wish ya all the best for the army thingy brother :) Going in the army as what buddy?

dsixda
29th January 2009, 05:49 PM
Koko,

Just want to say, your latest version of the kitchen is fabulous. I can just hit "Run" and it does the building, the CREATE_ROM.bat, and the htcrt.exe ROM creation all automatically without requiring my interaction! And the new os.payload.nb is so tiny that it's easy to move the kitchen to my laptop or other PCs (even my work PC.. just kidding ;))!

Where's your donation link? ;)

So is this mandatory army service in your country?

dsixda
29th January 2009, 05:51 PM
Hopefully I'll be counted in it too.. Will be great to learn XIP porting for the new Win ;) Am sure even Noonski's gonna play a good part in this :D



Yeah that will be awesome if the old crew comes out of Elf retirement ;)

I still have problems once in a while with XIP porting. I just rely on Koko's kitchen, close my eyes, and hope for the best. ;)

!Aman!
29th January 2009, 05:53 PM
Yeah that will be awesome if the old crew comes out of Elf retirement ;)

I still have problems once in a while with XIP porting. I just rely on Koko's kitchen, close my eyes, and hope for the best. ;)
well u should try bepe's new kitchen... its far better than the previous ones, u just have to place the new msxipkernel into the XIP :)

kokotas
29th January 2009, 07:36 PM
Thanx Kokotas. Nicely explained.

I wanted to remove just a few apps that came preloaded in my ROM which I'm never gonna use.

But I dont mind leaving the ROM as it is. I though removing a few apps would be something very easy.

Thanx anyways.
Glad that I helped a bit!
If you still want to cook a little, try this:
Dump one of the latest 3.xx roms and one of the 2.xx roms.
You'll see that something is different...
The latest 3.xx roms are very "cook-friendly", meaning that almost everything is Packaged.On the other side the old 2.xx roms were more difficult to customize.
i.e.: If you want to remove the "ZIP" from the 3.xx rom you just have to remove the folders PACKAGE_Elfin_ZIP & PACKAGE_Elfin_ZIP_0409.
If you wanted to do the same thing for a 2.xx rom you should find all the regarding-"ZIP" files in OEM and search through the registry for any keys that have to do with ZIP in order to remove them.
So what I'm trying to say is
use the latest official shipped rom as your base for cooking and you'll see that removing a few apps won't be something very difficult.
Hey koko. Wish ya all the best for the army thingy brother :) Going in the army as what buddy?
Hey Ameet!
It is a mandatory thing, as dsixda said! It is just a (precious)time loss(a whole year of our lives)...Thanks for your wishes!
Koko,

Just want to say, your latest version of the kitchen is fabulous. I can just hit "Run" and it does the building, the CREATE_ROM.bat, and the htcrt.exe ROM creation all automatically without requiring my interaction! And the new os.payload.nb is so tiny that it's easy to move the kitchen to my laptop or other PCs (even my work PC.. just kidding ;))!
I'm happy to hear that brother!
This kitchen of course is based on tools from real developers - I just combined them... and without all of you this couldn't have happened!
Btw, you should listen to Aman[He is the Man!;)]:
well u should try bepe's new kitchen... its far better than the previous ones, u just have to place the new msxipkernel into the XIP :)
Check the 2nd post @ 1st page. There is the link to bepe's new kitchen @ www.darkforcesteam.com and 2 examples by me.

Best Regards my friends!

dsixda
30th January 2009, 04:46 AM
Hey guys, in Bepe's Elfin kitchen, are the Page Pool values stored at 0x43E10 of nk.exe\S0000? The reason is, I see the following, which corresponds to the actual page pool values: "03 15 A0 03 02 15 A0 13"

I didn't touch these PP values, but when I flash the ROM on my Elfin, I get 10MB extra(!!!!!!) program memory with my Onyx Ultimate, but I wonder if it's the page pool being too low (like 2MB and not 12MB?? ha ha). The loading of M2D does take a while.

Also the file size of the ROM is 2MB higher than with Hybrid kitchen (with Ervius' build tool).

Any ideas?

Demo[95]
30th January 2009, 08:11 AM
Bepe kitchen do not autocmatically remove ULDR in the payload.... and you're right the pagepool is 2MB.
Ervius as updated his tool, and has integrated it with bepe new kitchen, so that it's even easier to use it.

kokotas
30th January 2009, 10:55 AM
Hey guys, in Bepe's Elfin kitchen, are the Page Pool values stored at 0x43E10 of nk.exe\S0000? The reason is, I see the following, which corresponds to the actual page pool values: "03 15 A0 03 02 15 A0 13"

I didn't touch these PP values, but when I flash the ROM on my Elfin, I get 10MB extra(!!!!!!) program memory with my Onyx Ultimate, but I wonder if it's the page pool being too low (like 2MB and not 12MB?? ha ha). The loading of M2D does take a while.
I have edited nk.exe's S000 so that the string "03 15 A0 03 02 15 A0 13 ..." is NOT responsible for the PagePool Size(link (http://forum.xda-developers.com/showpost.php?p=2933664&postcount=192))
Open CreateROM.bat and you'll see the right offset and some (hopefully) helpful comments in there;)
Also the file size of the ROM is 2MB higher than with Hybrid kitchen (with Ervius' build tool).
Any ideas?
Check which payload you used.
If you used to use the OS.nb.payload attached @ 1st post(where imgfs start @ 0x280000) with Hybrid Kitchen and now you use the supplied OS.nb.payload(where imgfs start @ 0x300000) then the increase of the rom size is normal:)
In my case
using the same payload in both kitchens, the same rom is built 0.6MB smaller than with Hybrid...
Regards!

dsixda
31st January 2009, 07:22 AM
I have edited nk.exe's S000 so that the string "03 15 A0 03 02 15 A0 13 ..." is NOT responsible for the PagePool Size(link (http://forum.xda-developers.com/showpost.php?p=2933664&postcount=192))
Open CreateROM.bat and you'll see the right offset and some (hopefully) helpful comments in there;)


Ok, so there are options in CREATE_ROM.bat for the different page pool sizes... but how do I set page pools for both Elf and Elfin at the same time (e.g. 4MB if flashed to Elf and 12MB if flashed to Elfin)? I tried setting the same way as in the Hybrid kitchen, but that didn't work.



Check which payload you used.
If you used to use the OS.nb.payload attached @ 1st post(where imgfs start @ 0x280000) with Hybrid Kitchen and now you use the supplied OS.nb.payload(where imgfs start @ 0x300000) then the increase of the rom size is normal:)
In my case
using the same payload in both kitchens, the same rom is built 0.6MB smaller than with Hybrid...
Regards!

Oh nevermind, I think I know the problem. This kitchen doesn't look at option.xml file in each OEM package.. I had several OEMs that had the "checked" option set to "False" but were still found in the flashed ROM. I guess I'll have to delete them instead of using option.xml.

!Aman!
31st January 2009, 07:26 AM
Ok, so there are options in CREATE_ROM.bat for the different page pool sizes... but how do I set page pools for both Elf and Elfin at the same time (e.g. 4MB if flashed to Elf and 12MB if flashed to Elfin)? I tried setting the same way as in the Hybrid kitchen, but that didn't work.
u can not set separate PPs for Elf and Elfin this way as both will be having default value of 2 MBs.

sjeph8je
1st February 2009, 12:17 PM
just downloaded this kitchen and when I installed it, my virusscanner (AVG) reported the file XIPporterex.exe as virus. After online virusscan there are abt 7 scanners reporting it as a supicous file. does anyone have similar results? :confused:

kokotas
1st February 2009, 02:04 PM
just downloaded this kitchen and when I installed it, my virusscanner (AVG) reported the file XIPporterex.exe as virus. After online virusscan there are abt 7 scanners reporting it as a supicous file. does anyone have similar results? :confused:

Check XipporterEx-ReadMe.txt!
But don't worry!It's not a virus.It's only a simple shortcut.
Regards!

sjeph8je
1st February 2009, 09:02 PM
OK, no worries

I actualy did read the txt file, but it is still strange it gets reported

txs for the explanation.

dsixda
2nd February 2009, 02:22 AM
u can not set separate PPs for Elf and Elfin this way as both will be having default value of 2 MBs.

How would you do it then with this kitchen?

!Aman!
2nd February 2009, 04:33 AM
How would you do it then with this kitchen?
u either need to change the 00 00 A0 E1 back to 00 10 83 E5 so that u can get 2 PPs, one for Elf and another for Elfin or u need to cook separate ROMs for Elf and Elfin by setting desired PP using PP changer.

dsixda
2nd February 2009, 07:06 AM
u either need to change the 00 00 A0 E1 back to 00 10 83 E5 so that u can get 2 PPs, one for Elf and another for Elfin or u need to cook separate ROMs for Elf and Elfin by setting desired PP using PP changer.

Bah, I'll just stick to Koko's Hybrid Kitchen then ;) It's much more simpler.

humrod
21st February 2009, 10:25 PM
Hi Kokotas, your last versión works very well. If you remember, I use it with a spanish rom with a ported hermes 21109 SYS and really work ok. In fact I use it in a "lite Cooking Class" in HTCSpain.
Just a question: how can I change the default setting "Use Payload yet..."?

zoko
25th February 2009, 02:58 AM
it´s possible to use this kitchen on stock 2.20 Official ROM, i wanna just modify some stuffs on original ROM!

dsixda
25th February 2009, 05:55 PM
I have a problem SOMETIMES when I try to port a new SYS/XIP to my existing OEM folder.

Whenever I try to select a new ring tone from the pulldown menu under the phone options, and then hit Ok, it will go back to the default ring tone and the window will not close.

The pulldown menu shows the following ring tones:
- All the ringtones (*.wma) that are under OEMDrivers
- All the ringtones (*.wma) that are under PhoneRedist_Lang_0409

I don't understand why it works for some SYS but not others... I even tried replacing PhoneRedist_Lang_0409 with a working SYS's folder but that didn't help either.

Any advice??

dsixda
25th February 2009, 05:56 PM
it´s possible to use this kitchen on stock 2.20 Official ROM, i wanna just modify some stuffs on original ROM!

You have to change the base ROM to one that is for 2.20 (I don't think the 3.xx base ROMs are compatible with 2.20 drivers or SYS), plus the create_rom.bat file may need to be changed. I may be wrong though, but some of my experiments in the past have shown issues when using 2.2x drivers/SYS/XIP with 3.xx base ROM.

zoko
25th February 2009, 09:31 PM
tks dsixda i´ve tried with RUU_Elfin_HTC_PTG_2.20.410.1B_4.1.13.51_03.07.90_B LUE_Ship_Reduced and don´t work stuck on welcomehead.96.png!! sad!! :-(

There are any ELFIN Kitchen to work with this type of ROM!?

dsixda
25th February 2009, 09:36 PM
tks dsixda i´ve tried with RUU_Elfin_HTC_PTG_2.20.410.1B_4.1.13.51_03.07.90_B LUE_Ship_Reduced and don´t work stuck on welcomehead.96.png!! sad!! :-(

There are any ELFIN Kitchen to work with this type of ROM!?

Use a base ROM for 2.20 (get the OS.nb) and try again.

dsixda
26th February 2009, 07:37 PM
I have a problem SOMETIMES when I try to port a new SYS/XIP to my existing OEM folder.

Whenever I try to select a new ring tone from the pulldown menu under the phone options, and then hit Ok, it will go back to the default ring tone and the window will not close.

The pulldown menu shows the following ring tones:
- All the ringtones (*.wma) that are under OEMDrivers
- All the ringtones (*.wma) that are under PhoneRedist_Lang_0409

I don't understand why it works for some SYS but not others... I even tried replacing PhoneRedist_Lang_0409 with a working SYS's folder but that didn't help either.

Any advice??


Nevermind, I think this is the answer:

http://forum.xda-developers.com/showpost.php?p=1932542&postcount=61

Need to add this:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\LSOMACORE]
"Index"=dword:00000001
"Prefix"="DRM"
"Dll"="lsomacore.dll"

This code is in the boot.rgu. Well, I had ported the XIP wrong and thus got the wrong boot.rgu. Bepe's new PlatformRebuilder kitchen will prevent stupid mistakes like this from happening again ;)

niceguy001
8th March 2009, 11:26 AM
after a long search i couldnt find any solution to this error msg:
----------------------------------------------------------------
...
ImgFs partition starts at 0x00300000 and ends at 0x00310000
Dumping IMGFS at offset 0x00300000 (size 0x00010000)

Done!


ImgfsToNb 2.1rc2
Using bigstorage mode
Input file imgfs-new.bin cannot be opened. Exiting.

ERROR! (errorlevel: 1)
---------------------------------------------------------------
i have followed the steps from this kitchen. i'm using OS.nb (RUU_Elfin_hTC_Asia_AUS_3.10.710.00_4.1.13.71_03.3 4.90_BLUE_Ship)

anyone can help me?

second thing is that i want to remove some application that i dont need. how can i achieve that? just deleting packages from OEM folder wont be the right way?!?!

thnx in advance

Timewolf
9th March 2009, 01:00 PM
Hi,

i've a problem:

Installed 2.07
Main Menu - A
Copied RUU_signed.nbh from a shipped rom to C:\ELF(in)_Hybrid_Kitchen\Extract_ROM\BaseROM

1) Dump ELF(in)'s ROM (*.nbh or *.nb or *imgfs.bin or *.raw)

I got now C:\ELF(in)_Hybrid_Kitchen\Extract_ROM\Temp these folders:

Packages
xip.bin
Xip

Launched Kitchen, moved C:\ELF(in)_Hybrid_Kitchen\Extract_ROM\Temp\Package s\OEM and SYS to C:\ELF(in)_Hybrid_Kitchen\Build_ROM

Moved C:\ELF(in)_Hybrid_Kitchen\Extract_ROM\Temp\xip to C:\ELF(in)_Hybrid_Kitchen\Build_ROM\ROM

Go back to Main Menu, C, than BuildOS - Load Rom...

The problem that in Packages to insert in ROM i've an empty list... what's wrong? :(

Thanks

Fabio

Shreyas
10th March 2009, 08:29 PM
I know its a wrong place to ask this question, but do u have any idea where i can find custom roms for Asus P527 mobile? If u dont mind can u plz reply me with the info in this id shreyasjagadeesh@hotmail.com

Thanks in advance

dsixda
11th March 2009, 05:59 PM
I know its a wrong place to ask this question, but do u have any idea where i can find custom roms for Asus P527 mobile? If u dont mind can u plz reply me with the info in this id shreyasjagadeesh@hotmail.com

Thanks in advance

Try this subforum -
http://forum.xda-developers.com/forumdisplay.php?f=259

I saw one for the P525.

bijugv
21st March 2009, 02:04 AM
Hi
Can anyone share the Elf(in) Hybrid kitchen files. The one here is infected by viruses.
:eek:

bububang
3rd April 2009, 04:11 AM
I have a problem.. when i trying to cook a shipped rom "RUU_Elfin_hTC_Asia_WWE_3.07.707.02_4.1.13.71_03.34 .90_BLUE_Ship"
the file that generated in "Temp" folder is
1.dump(folder)
2.XIP(folder)
3.dump_MemoryMap(text file)
4.xip(bin)

What wrong that i did?

humrod
10th April 2009, 07:09 PM
Hello again, in this case I'm trying to reloc the 5.2.2500 WM6.5 sys, but get an error "Integrer Overflow".

To experiment I insert the CHome packages in sys but get the same error

Where is the problem?

fcukmayank
11th April 2009, 12:04 PM
i have made a custom rom

but it is stuck at smart mobility screen


i have placed the boot.rgu at xip and sys

were i am going wrong

fcukmayank
12th April 2009, 05:57 PM
just bumping so dat i can find a solution

dsixda
13th April 2009, 02:52 AM
just bumping so dat i can find a solution

If you respond right away to your original post then people will just decide to ignore you. People have busy lives, and it is also Easter break this weekend. They will reply eventually, so have patience.

Anyways, from my cooking experience, there are 3 reasons for a device being stuck at splash screen after flashing a self-cooked ROM:

Reason 1) Your XIP is totally messed up. It looks like this is what you did. Make sure the OEMXIPKernel folder is the correct one for Elf and not for any other device - this folder gets re-used for your Elf whenever you cook a new XIP version; only the MSXIPKernel changes per new build. People already posted the Elf XIPs for 21040/21041 in this forum, so that could help you.


Reason 2) Your custom registry settings were defined under registry folders that were not defined before.

e.g.

You may have an entry like this:

[HKEY_LOCAL_MACHINE\Software\Crap\Newb]
"YouSuck"=dword:00000001

The problem above is that the "Crap" subkey (or registry subfolder) was never defined earlier, so your device will most likely hang at the splash screen after flashing.

This is the safest way to define a value:


[HKEY_LOCAL_MACHINE\Software]
[HKEY_LOCAL_MACHINE\Software\Crap]
[HKEY_LOCAL_MACHINE\Software\Crap\Newb]
"YouSuck"=dword:00000001

Note that I defined the Crap folder before defining the Newb one.


Reason 3) When you create a new OEM from a CAB using Ervius' Package Builder, you might need to enable the option for 'Prefix files for duplicate in package subfolders'. For example, when I added a new OEM for Esmertec Jbed, I didn't enable that option (I normally don't enable it for my OEMs), and then the device hanged at reboot. So after enabling this and flashing again, all was fine. This doesn't apply to all OEMs that are created, however. There is probably a reason for this, however, but I am too lazy to find out why.




Perhaps the best and easiest kitchen to use right now is Bepe's Platform Rebuilder kitchen, which Kokotas posted in the 2nd post. You can also visit www.darkforecesteam.com and view the tutorials on how to extract a XIP with his kitchen. There is no need to port SYS; this kitchen does everything automatically.

Anyways I hope this helps. Also, please don't PM me repeatedly regarding this question, I was out all day so I don't sit at a computer 24/7. Just post to the Cooking Class thread, but I advise you CAREFULLY read all the tutorials in that thread before asking a question. That is how I started.

pkoper
17th April 2009, 10:46 AM
Hello again, in this case I'm trying to reloc the 5.2.2500 WM6.5 sys, but get an error "Integrer Overflow".

To experiment I insert the CHome packages in sys but get the same error

Where is the problem?

Using G'reloc may be the problem, try WM'Reloc

humrod
18th April 2009, 04:37 PM
Using G'reloc may be the problem, try WM'Reloc


Thanks for your answer, i'm using it now

Ameet
18th April 2009, 05:45 PM
Using G'reloc may be the problem, try WM'Reloc
Hey pk.. Long time buddy :) Can you post this WM'Reloc? Cant find it anywhere :( Heard its better than G'Reloc

humrod
19th April 2009, 12:20 PM
Hey pk.. Long time buddy :) Can you post this WM'Reloc? Cant find it anywhere :( Heard its better than G'Reloc

Here is it. You have to put the g'reloc file in build and the wmreloc in bluid/tools and that's all

fcukmayank
22nd April 2009, 09:17 AM
Here is it. You have to put the g'reloc file in build and the wmreloc in bluid/tools and that's all

hey humrod bro

is it working for u now???


i m using xip 20924 and sys 21220

is this combination correct

i repalce the .vm and .rom folders from my working sys to the new sys

i don't include a wincell folder coz its already there

but still it is stuck at smart mobility screen wid the green led blinking

can anyone tell me where i am going wrong

i m using the sys posted in the nike section

humrod
23rd April 2009, 08:36 PM
When this happens to me, in 99% is about the xip. Why you use a diferent xip/sys?
You can do that, but is't easy to work with the same xip/sys.
About the wmreloc i'm using it when work on wm6.5 sys. For the wm6.1 roms the g'reloc it's ok.
Follow this steps:
1º use a working sys/oem with the new xip. if boot
2º add the new sys. if doesn't boot, look for a miss/mistake in the sys rgu's
Of course, better if use a cleanest oem (i think all the cookers have one for this)

fcukmayank
26th April 2009, 02:50 PM
When this happens to me, in 99% is about the xip. Why you use a diferent xip/sys?
You can do that, but is't easy to work with the same xip/sys.
About the wmreloc i'm using it when work on wm6.5 sys. For the wm6.1 roms the g'reloc it's ok.
Follow this steps:
1º use a working sys/oem with the new xip. if boot
2º add the new sys. if doesn't boot, look for a miss/mistake in the sys rgu's
Of course, better if use a cleanest oem (i think all the cookers have one for this)
ya man its working now

thankx

+ Que PPC
29th April 2009, 07:55 AM
Nice work here... this kitchen is easier to follow even for a jerk like me... :)

And the process to basics is so good, I understand all the steps (basics)

when i try to load the rom in buildRom form ervius it doesnt shows nothing to set or disable... I use the full shipped rom 6.1 that I found on the first sticky here on elf forum... I have an elfin and cause i cant see any packages to set or disable i just push the play button and there it goes.... it finish and at the end says everything seems to be fine PP to 12 MB for elfin and 8 for elf... last ruu signed file is near 83MB Am I ready to upgrade it..? im on HSPL 3.10.cmon.

(forget about it... i just need to know if the optionxml into the packages is the file that allows to set or not in bepe's build OS every package...) i must to read in other threads to learn on how a cab or how an OEM package works)

Sorry if I heard like an idiot its just that I was playing arround with many devices but when I starts to learn the cooking art i lost my devices... ( hope it dont happens again tomorrow :) )this is my first attempt on dump and redo the os... well the kitchen does everything... thanks in avdance :cool: im so excited!!! jajaja

Where can i get the last build for 6.5? if I had it, and download the WMreloc, put it into the tools folder and try to dump and build the rom... may I start to learn on how to change the packages I want to use, edit initflash files and many other things? i think I need to start with 6.1 :p

Thanks for all, i only read to the page 7 or 8 but its late i need to sleep Im an accountant and the numbers gives me a headache if i dont sleep fine.

kancrutt
25th May 2009, 09:34 AM
today i walk around in Prophet6, and found biggest Memory RAM
http://forum.xda-developers.com/attachment.php?attachmentid=165374&stc=1&d=1236756490
why ELF just have free memory RAM about 20mb?

Nixeus
7th June 2009, 04:19 PM
Hi,

Please help me my friend :)

I have cook a lot of wm6.1 rom whithout problem.
When i cook wm6.5 rom, my elf don't boot :( :(

Have you and idea ?
I use the .rom, .vm and wincelens folder issue to my working wm6.1 rom !

Anyone could share a kitchen with sys,rom,and oem folder in wm6.5 ?It's not to publish a rom, but just in order to understand why my rom don't boot !

It will be very nice to you,

Thanks a lot,

regards,

Nixeus

svprm
15th August 2009, 02:26 PM
By uisng this kitchen i have this error:

While i'm building a OS,When i click Go.

I have this error:
Microsoft (R) RGUComp Version 1.0.000
Registry file processor and hive builder.
Copyright (C) 2004 Microsoft Corporation All Rights Reserved.
built: Nov 19 2004 15:17:13
importing registry file ".\boot.rgu"...
(RGUComp) done!

Microsoft (R) Cabinet Tool - Version 5.00.2134.1
Copyright (C) Microsoft Corp. 1981-1999.

Creating new cabinet 'Packages\packages.cab.pkg' with compression 'MSZIP':
-- adding packages\723fb954-d931-4348-b672-82a188e587b5.dsm
-- adding packages\723fb954-d931-4348-b672-82a188e587b5.rgu
-- adding packages\d9fb78c0-668f-829c-cf46-76c440cd9048.dsm
-- adding packages\f5754f88-dd2d-448e-8640-9bd17639aeaf.dsm
-- adding packages\f5754f88-dd2d-448e-8640-9bd17639aeaf.rgu

Completed successfully
Microsoft (R) RGUComp Version 1.0.000
Registry file processor and hive builder.
Copyright (C) 2004 Microsoft Corporation All Rights Reserved.
built: Nov 19 2004 15:17:13
importing registry file ".\boot.rgu"...
importing registry file ".\Registry\723fb954-d931-4348-b672-82a188e587b5.rgu"...
ImportFromPackageListStrict: (RGUComp) !ERROR unable to find file "d9fb78c0-668f-829c-cf46-76c440cd9048.rgu"
wmain: (RGUComp) !ERROR failed building DEFAULT hives


Please help me.

Zagaulo
28th August 2009, 04:27 PM
Hello All developer,

Have any idea to get SD CID register in Hex. (32 bites) using .Net Framework 3.5 and C# or visual C++.

I'm looking to unbrick my phone: ELF010050 CID: Orang202

Thank you in advance

chota_shivaji
1st September 2009, 03:49 PM
Hi All,

- I have been using "ELFin_Hybrid_Kitchen_v2.0.7.exe" for few days now. However I want to bring in front an observation made by me.
- I dumped WM 6.1 3.10 official ROM. Used the same without any changes to build a ROM. This ROM is fine and works normally.
- Then I tried to build a few WM 6.1 ROMs. All seem to be fine (unfortunately could not check them all as my main AIM was to build WM 6.5 + M2D ROM).
- After this I switched to WM 6.5 XIP/SYS 23030 with the same OEM. I just removed the CHome* files from SYS. Build a ROM out of it.
- However the ROM was always stuck at "Smart Mobility Screen". I did all the required steps from scratch multiple times, but was unable to do get a working ROM.
- Since the kitchen works fine for WM 6.1, I am assuming it should work with WM 6.5 as is (the only difference I could find is : GReloc vs WMReloc).

Can somebody please tell me what could I be messing with? I did google search for this and found that this could be due to :
1. Messed up XIP : But what does this mean?
2. Incompatible OEMDrivers folder

fcukmayank
1st September 2009, 07:23 PM
I think u have ported the xip wrong

Do it again and u will suceed

chota_shivaji
2nd September 2009, 07:47 AM
I think u have ported the xip wrong

Do it again and u will suceed
- What do you mean by "ported the xip wrong"?
- Do you mean to say "ported the wrong xip"?
- Can you send me your steps of porting the xip if possible?

fcukmayank
2nd September 2009, 02:58 PM
first u tell me how u port the xip

den i will tell u whether it is correct or not

chota_shivaji
2nd September 2009, 03:19 PM
first u tell me how u port the xip

den i will tell u whether it is correct or not
Ok. That makes sense. I should have already done that. Sorry about that.

The steps I followed are :
1. Get the xip.bin from the required build.
2. Run the option (b) from the main menu shortcut from desktop.
3. Put it into "C:\ELF(in)_Hybrid_Kitchen\Prepare_XIP"
4. Follow the instructions on screen.
5. Get the new XIP from "C:\ELF(in)_Hybrid_Kitchen\Prepare_XIP\New_XIP".
6. Use it for cooking i.e start with option (c) from main menu.

fcukmayank
2nd September 2009, 05:03 PM
i assume everything is alrite

try to do it again

xip porting requires patience

zyn198835
7th September 2009, 08:30 AM
I am from china and I want to buil an english rom,but I do not have oem. who can give me a new oem or give me a kitchen. if you have a address please give me thank you

sendhiloo7
7th September 2009, 11:52 AM
Ok. That makes sense. I should have already done that. Sorry about that.

The steps I followed are :
1. Get the xip.bin from the required build.
2. Run the option (b) from the main menu shortcut from desktop.
3. Put it into "C:\ELF(in)_Hybrid_Kitchen\Prepare_XIP"
4. Follow the instructions on screen.
5. Get the new XIP from "C:\ELF(in)_Hybrid_Kitchen\Prepare_XIP\New_XIP".
6. Use it for cooking i.e start with option (c) from main menu.

i will try tio help you ....
above mentioned step only extract from XIp.bin from file and folders.

are you sure that XIP.bin for elfin?

chota_shivaji
8th September 2009, 12:04 PM
i will try tio help you ....
above mentioned step only extract from XIp.bin from file and folders.

are you sure that XIP.bin for elfin?
I think I had used xip.bin for Elfin. I also tried xip.bin for vogue i.e. vogue.bin (As it is similar to elfin).

mesaj
15th September 2009, 09:28 PM
Can anyone tell me on PrivMsg what's bad with my copy of that kitchen?
When I start Create OS: pkgtools BuildOs doesn't starts. In main menu there appears a blank scren for about 2-3secs and going back to Main Menu screen without any changes/running pkgtools BuildOs.
I have both installed .net framework 3.5 and vc redist 2k8..

kokotas
16th September 2009, 07:10 PM
Hi guys!
Been away for a long time but I'm back!
Seems that I have a lot of catching up to do...New devices are out,WM6.5 are here,new tools have been developed,etc...
Anyway...I 'm happy to be back!
I missed this forum and most of all cooking for my elfin(7 months with the same ROM:eek:)!

Good 2B Home @gain!
Best Regards!

!Aman!
16th September 2009, 07:15 PM
great to see you back bro :D

kokotas
16th September 2009, 07:25 PM
great to see you back bro :D

Feels good to be back!
Aman, my friend, it's great to see you here!
Now that I'm back I'l be around more often:)
I have so many interesting threads to read through...:D

!Aman!
16th September 2009, 07:28 PM
Feels good to be back!
Aman, my friend, it's great to see you here!
Now that I'm back I'l be around more often:)
I have so many interesting threads to read through...:D
great to see you too, after such a long time. you went into hybernation mode i guess :p
i've moved on to topaz in the meantime ;)

Nullstring
18th September 2009, 05:35 AM
hi, am new on this cooking stuff.

i'm in selecting a package in PkgToolsBuildOs, but I don't see any packages listed in BuildOS tab .. is this safe?

can anybody help me showing the packages please?

Nullstring
18th September 2009, 05:39 AM
trying to redo my work, some tools didn't work because of my system drive path .. retrying ..

Nullstring
18th September 2009, 06:01 AM
still an empty PkgToolsBuildOS

http://img242.imageshack.us/img242/9238/pkgtoolsbuildosempty.jpg

please help?

Nullstring
18th September 2009, 06:10 AM
got an error in PkgToolBuildOS

"Conversion from string "D:\ELF(in)_Hybrid_Kitchen\Build_" to type 'Double' is not valid"

dsixda
18th September 2009, 07:59 AM
Hi guys!
Been away for a long time but I'm back!
Seems that I have a lot of catching up to do...New devices are out,WM6.5 are here,new tools have been developed,etc...
Anyway...I 'm happy to be back!
I missed this forum and most of all cooking for my elfin(7 months with the same ROM:eek:)!

Good 2B Home @gain!
Best Regards!


Kokotas! Welcome back!!!! How was the army?

I am still around.. since you left I moved on to Diamond, Raphael and now finally Touch HD .. LOL.. But still active on this board..

Nullstring
18th September 2009, 09:59 AM
hi Kitchen, I just created my first Cooked ROM using your tools.

http://forum.xda-developers.com/showthread.php?t=561696

I want to ask for a brief description of this folders and what should I put in

OEM, SYS, & XIP

OEM - ok a Software Packages, correct?

SYS, & XIP ?

SYS - System files? Is it upgradable?

and XIP ? what's inside this folder?

gdsbalaji
18th September 2009, 10:36 AM
I want to ask for a brief description of this folders and what should I put in
OEM, SYS, & XIP
OEM - ok a Software Packages, correct?
SYS, & XIP ?
SYS - System files? Is it upgradable?
and XIP ? what's inside this folder?

Its all already there....you just have to look for it ;).. trueg has provided wonderful descriptions..start from this one http://forum.xda-developers.com/showpost.php?p=4370336&postcount=1223

mohitsapru
23rd September 2009, 01:29 PM
Its all already there....you just have to look for it ;).. trueg has provided wonderful descriptions..start from this one http://forum.xda-developers.com/showpost.php?p=4370336&postcount=1223

Hi... sorry i searched a lot for info, but can someone point me to very basics of ROM cooking. I want to jump into ROM cooking like u guys...I have used and tested a lot of ROMS and Onyx roms also.. :) now i want my own ROM...
Plz Help :D

gdsbalaji
23rd September 2009, 04:08 PM
Hi... sorry i searched a lot for info, but can someone point me to very basics of ROM cooking. I want to jump into ROM cooking like u guys...I have used and tested a lot of ROMS and Onyx roms also.. :) now i want my own ROM...
Plz Help :D

i learnt lots of stuff from this thread...http://forum.xda-developers.com/showthread.php?t=335631

Nullstring
24th September 2009, 06:59 AM
Here is it. You have to put the g'reloc file in build and the wmreloc in bluid/tools and that's all

G'Reloc exists in Build_ROM folder and so with WMReloc in Build_ROM/TOOLS.

Am getting this "not a valid integer value"

http://img132.imageshack.us/img132/3710/greloc.th.jpg (http://img132.imageshack.us/i/greloc.jpg/)

please, help? am cooking an extracted emulator rom "PPC_USA_GSM_VR.BIN"

kokotas
25th September 2009, 10:22 PM
Kokotas! Welcome back!!!! How was the army?

I am still around.. since you left I moved on to Diamond, Raphael and now finally Touch HD .. LOL.. But still active on this board..
Hey brother! The army was a difficult time but it's passed now..
So you've been very busy I see:)
I hope your next device will be the same I want...HTC_Leo:D
G'Reloc exists in Build_ROM folder and so with WMReloc in Build_ROM/TOOLS.

Am getting this "not a valid integer value"

http://img132.imageshack.us/img132/3710/greloc.th.jpg (http://img132.imageshack.us/i/greloc.jpg/)

please, help? am cooking an extracted emulator rom "PPC_USA_GSM_VR.BIN"

Try running G'Reloc, change "Unknown" to 00000000 and click Doit and then build again your rom as usual!

Regards!

daeinnor
4th October 2009, 09:23 AM
Thanks for the kitchens (kokotas, trueg & dsixda) in this thread. Dumping & re-building ROM's had never been easier ... that's what I thought.

Can I use those kitchens to build a ROM if what I have are the XIP & SYS of a WM6.5 build with same Elfin resolution?

I tried rebuilding a ROM based on a dumped WM6.1 build 3.10 and the SYS & XIP of WM6.5 replacing the 6.1 files with the donor folder & files, build the ROM and generate an ruu...nbh that doesn't boot & pass the 1st splash screen.

Thank you in advance for any reply and enlightenment to my noob queries. :o

svprm
4th October 2009, 04:54 PM
I think problem with your MSXIPkernel.
Put correct build of MSXIPKerenl.

daeinnor
4th October 2009, 05:33 PM
Thanks spvrm. I used the MSXIPKernel of the donor WM6.5 23060 ROM and overwrite the ones from trueg's kitchen.

I think I'm missing something during the build process. I used trueg's kitchen, dump WM6.1 ROM, customized the EXT ROM, transfer/overwrite SYS files-folders & MSXIPKernel from the 23060, and build the ROM. Is the procedure correct?

It could have been easier if I have a 23060 shipped ROM but most of the available around are SYS & XIP files from Da_G and some kind members who share the same at 96dpi resolution. Any other help you can share on a method to use to build a ROM using only SYS & XIP files? Thanks again.

daeinnor
6th October 2009, 07:13 PM
Using Elfin 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.

kokotas
6th October 2009, 07:26 PM
Using Elfin 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.
Hope the answer in the other thread will help you do what you want...
But why can't you use the latest kitchen on your notebook?
I made and used that kitchen on my netbook(Win XP) and I am now using it on my desktop pc(Win 7) without any problems!
If you want any help making it work just ask;)
Regards!

daeinnor
7th October 2009, 05:42 PM
Hope the answer in the other thread will help you do what you want...
Regards!
Right on target, exactly what I need. Thanks to you and course to TotalFire. :)
It would keep me busy converting until I'm able to use your B2 kitchen .....

But why can't you use the latest kitchen on your notebook?
I made and used that kitchen on my netbook(Win XP) and I am now using it on my desktop pc(Win 7) without any problems!
If you want any help making it work just ask
I'm a bit surprised too! I have XP Pro SP3 in this notebook & XP Home SP2 at the office installed with your prereqs but I can't run TrueG, dsixda or your B2 kitchen in any of the two setups. Error is as per attached.

I would be glad & thankful if I can make your B2 kitchen run as it makes transferring XIP & SYS files easier. Help please!

sasa66
9th October 2009, 01:35 AM
Right on target, exactly what I need. Thanks to you and course to TotalFire. :)
It would keep me busy converting until I'm able to use your B2 kitchen .....


I'm a bit surprised too! I have XP Pro SP3 in this notebook & XP Home SP2 at the office installed with your prereqs but I can't run TrueG, dsixda or your B2 kitchen in any of the two setups. Error is as per attached.

I would be glad & thankful if I can make your B2 kitchen run as it makes transferring XIP & SYS files easier. Help please!

Hi daeinnor
TrueG Kitchen works for me , B2 works but i cannot boot i think i miss in arranging folders in new visual style but it build roms no errors
YOU MAY TRY
1-install visaul C++http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&DisplayLang=en
2-Show hidden files including windows and system files
3-Disable antivirus nd firewall

daeinnor
9th October 2009, 05:34 PM
Hi daeinnor
TrueG Kitchen works for me , B2 works but i cannot boot i think i miss in arranging folders in new visual style but it build roms no errors
YOU MAY TRY
1-install visaul C++http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&DisplayLang=en
2-Show hidden files including windows and system files
3-Disable antivirus nd firewall
Thanks! TrueG's kitchen now works fine after reinstalling C++, problem was I deleted what I thought are garbage files of C++ Visual from the root dir C:\ which turned out is needed to run the kitchen(s)?! I will test tonight if I can initially boot wm6.1 and try later if wm6.5 works as well.

I'm still having problems with the B2 kitchen on the xip generation stage but since I can cook using TrueG & the Hybrid Kitchen, it would do for now. I was able to build a wm6.5 23060 on the Hybrid Kitchen but the problem is its using the old packages format. Kokotas link to TotalFire package conversion works excellent! ... can do batch conversion of old to new packages & vice-versa.

Will keep on trying & learning. Thanks a lot for your help.

Nixeus
11th October 2009, 10:52 PM
Thanks a lot for this update.

I would like to change PP.
I use the os.nb.payload attaching to this tutorial.

In my S000 (nk.exe) file, i have the good string.

Will be it possible to having the string for setting other value ( 4MB, 8, 12 ) ?

Thanks a lot :)

kokotas
14th October 2009, 02:19 PM
Thanks a lot for this update.

I would like to change PP.
I use the os.nb.payload attaching to this tutorial.

In my S000 (nk.exe) file, i have the good string.

Will be it possible to having the string for setting other value ( 4MB, 8, 12 ) ?

Thanks a lot :)

If you want to change your pp size in hybrid kitchen, edit the CreateRom.bat(you'll find instructions inside the batch file).
If you are using B2 Kitchen, either edit the UserConfig.ini or use the PagePoolChanger inside TOOLS on your RUU_Signed.nbh.
Regards!

Nixeus
15th October 2009, 06:03 PM
If you want to change your pp size in hybrid kitchen, edit the CreateRom.bat(you'll find instructions inside the batch file).
If you are using B2 Kitchen, either edit the UserConfig.ini or use the PagePoolChanger inside TOOLS on your RUU_Signed.nbh.
Regards!

OK, il will try to find the value in the bat because i cook with PlatFormRebuilder ;)

Tanks

firevsice55
16th October 2009, 09:57 AM
Hey
I have elf, and I am having trouble setting my kitchen... I have attached my error files..
I have installed MC Visual C++, do I have to install .net 3.5??
The first pic is after runnning dump-rom batch file from B2 kitchen.
The second picture is when I try to use the build rom option in the kitchen.
The third picture is after running the batch file in the hybrid kitchen as mentioned on the first page of this thread..

svprm
16th October 2009, 04:27 PM
Yes,you have to Install Microsoft .NET Framework 3.5.

Nixeus
30th October 2009, 05:39 PM
There are a lot and a lot of ELF/ELFIN user, do you think that Da_G will release a reall wm6.5 native kernel ?

It will be so fantastic :)

daeinnor
8th November 2009, 05:05 PM
Hi kokotas. I've tried B2 kitchen on the latest COM3 builds (2308x), the ROM boots and works fine except that I get this unable to change ringtone as well as can't exit the sound notification panel unless I soft reset. However, the same raw kitchen files work alright using trueg's kitchen which is also based on your older kitchen build.

Any take on what's happening? Ringtone problems seems to be related to file attributes during build as pointed out by joojoobee666 but it seems that the 'buildrom" batch file contains the necessary attrib changing. Is it just me or I'm the only one using the B2 kitchen having such problems? :confused:

kokotas
9th November 2009, 06:48 PM
Hi kokotas. I've tried B2 kitchen on the latest COM3 builds (2308x), the ROM boots and works fine except that I get this unable to change ringtone as well as can't exit the sound notification panel unless I soft reset. However, the same raw kitchen files work alright using trueg's kitchen which is also based on your older kitchen build.

Any take on what's happening? Ringtone problems seems to be related to file attributes during build as pointed out by joojoobee666 but it seems that the 'buildrom" batch file contains the necessary attrib changing. Is it just me or I'm the only one using the B2 kitchen having such problems? :confused:
hi daeinnor!
I assume you're using the OEMXIPKernel provided with the kitchen.
Try to use different boot.hv/boot.rgu and see the result.
best regards!

daeinnor
10th November 2009, 12:08 PM
hi daeinnor!
I assume you're using the OEMXIPKernel provided with the kitchen.
Try to use different boot.hv/boot.rgu and see the result.
best regards!
Amazing ... how easy for you to guess what I'm doing wrong! Basically transferred every directory into B2 Kitchen EXCEPT the OEMXIPKernel. Will test how it goes using other boot.hv/boot.rgu. Thank you Sir!

sasa66
13th November 2009, 01:03 AM
Hi Kokotas
i started using this kitchen its simple and easy but i faced the ring tone isssue and i followed your last post and i can change ring tone

but i had another bug i changed page pool to 4mb in userconfig.ini it worked for the old OEMXIPKERNEL but after changing it the pp in the rom is 8 mb not 4 although it is still set to 4 and when i tried pp changer in tools it sees pp as 4 but after flasing the uinversal pp changer reads 8:confused:

daeinnor
14th November 2009, 05:41 AM
hi daeinnor!
I assume you're using the OEMXIPKernel provided with the kitchen.
Try to use different boot.hv/boot.rgu and see the result.
best regards!

Hi Kokotas
i started using this kitchen its simple and easy but i faced the ring tone isssue and i followed your last post and i can change ring tone.
Confirm ringtone problem solved by replacing the MSXipKernel dir shared by dsixda in trueg's kitchen. Thanks to all of you guys!

daeinnor
14th November 2009, 05:54 AM
Hi Kokotas
....... but i had another bug i changed page pool to 4mb in userconfig.ini it worked for the old OEMXIPKERNEL but after changing it the pp in the rom is 8 mb not 4 although it is still set to 4 and when i tried pp changer in tools it sees pp as 4 but after flasing the uinversal pp changer reads 8:confused:
Hi sasa66, I'll try to replicate your problem of changing PP & report back when I reflash tonight. Universal PP reports alright in Elfin (default=12) but, I am interested to know too if replacing value in 'PagepoolSize' on the userconfig.ini gets cooked.

Btw, have you tried cooking build 21609 from HTC? It's like the COM3 builds we both are using and a bit faster I guess. Problem is WiFi, can't trigger it up.

daeinnor
14th November 2009, 10:59 AM
Hi Kokotas
....... but i had another bug i changed page pool to 4mb in userconfig.ini it worked for the old OEMXIPKERNEL but after changing it the pp in the rom is 8 mb not 4 although it is still set to 4 and when i tried pp changer in tools it sees pp as 4 but after flasing the uinversal pp changer reads 8:confused:
You're right sasa66, PP size change using OEMXIPKernel other than the one provided in the B2 Kitchen doesn't work - doesn't get cooked. I think I saw a message that says something like "PP sign not found!" during the ROM build process.

Changed PP to 16 (from 12) in UserConfig.ini, built ROM, checked RUU_signed.nbh PP which reported 12, flashed the ROM checked PP using Universal PP changer = 12.

At the moment, seems changing PP would be after flashing usnig universal pp changer. I'll try replacing the boot.hv & boot.rgu retaining the original directory & report back how it goes. Result: similar. Ringtone problem can be solved by replacing boot.hv & boot.rgu only.

csphyton
19th November 2009, 05:19 AM
when I extract the zip file symantec automatically delete customruu and nbos something..symantec says it contains trojans -.-

saurabh88
19th November 2009, 08:34 AM
after reading and downloading a shipped rom for elfin from forum....i done it step by step as given...but in the last step this error seen in building rom
CONVERSION FROM STRING "C:\ELF(IN)_HYBRID_KITCHEN\BUILD_" to type"DOUBLE"is not valid...
plz help

saurabh88
21st November 2009, 03:52 PM
no one is replying even after 3days?

daeinnor
22nd November 2009, 10:47 AM
.... CONVERSION FROM STRING "C:\ELF(IN)_HYBRID_KITCHEN\BUILD_" to type"DOUBLE"is not valid...
plz help
Based from my testing & using of Elfin Hybrid Kitchen, I think you can not use new style packages. Try to convert the new package (EXT packages) to old using the conversion tool attached. Thanks kokotas for this.

For additional info on the tool, search the XDA-Dev Development and Hacking thread. If you really want to use the Hybrid Kitchen please check (search) the Pictorial Cooking thread by Ayyu3m here.

For additional advice (specially in WM6.5 cooking), search for the cooking class thread in this forum. Priceless information from the gurus are available there for free!

saurabh88
22nd November 2009, 11:39 AM
Based from my testing & using of Elfin Hybrid Kitchen, I think you can not use new style packages. Try to convert the new package (EXT packages) to old using the conversion tool attached. Thanks kokotas for this.
For additional info on the tool, search the XDA-Dev Development and Hacking thread. If you really want to use the Hybrid Kitchen please check (search) the Pictorial Cooking thread by Ayyu3m here.
For additional advice (specially in WM6.5 cooking), search for the cooking class thread in this forum. Priceless information from the gurus are available there for free!
oh my dear friend even though i have burden of my final
MBBS EXAM till i manage to read this info.but i love it.thanx

daeinnor
27th November 2009, 07:47 PM
Finally, a Visual Kitchen from miky6682. Grab it HERE (http://forum.xda-developers.com/showpost.php?p=5031873&postcount=20) and happy cooking.

saurabh88
28th November 2009, 04:12 AM
Finally, a Visual Kitchen from miky6682. Grab it HERE (http://forum.xda-developers.com/showpost.php?p=5031873&postcount=20) and happy cooking.
thanx to miky6682

kokotas
1st December 2009, 07:53 PM
A quick Update for B2 kitchen is up on 1st post!
1.Now even if you use another OEMXIPKernel there shouldn't be any problem with the pp size!
2.If you use the provided OEMXIPKernel the Ringtone problem is fixed!
3.Added bepe's XIDump v1.0 BETA in the kitchen's dump process so it's quite faster now!(I know that it can be even faster , but since bepe is still working on this tool & on a new PRB , we can only wait patiently for him to finish...)
4.Added RecModFolder for easy and fast module conversion in case of having SLOT 0 overfloating with modules.
5.Added TotalFire's Package Converter.

Also added link to miky6682's VK!! Nice going bro!

Best Regards!

saurabh88
1st December 2009, 08:29 PM
A quick Update for B2 kitchen is up on 1st post!
1.Now even if you use another OEMXIPKernel there shouldn't be any problem with the pp size!
2.If you use the provided OEMXIPKernel the Ringtone problem is fixed!
3.Added bepe's XIDump v1.0 BETA in the kitchen's dump process so it's quite faster now!(I know that it can be even faster , but since bepe is still working on this tool & on a new PRB , we can only wait patiently for him to finish...)
4.Added RecModFolder for easy and fast module conversion in case of having SLOT 0 overfloating with modules.
5.Added TotalFire's Package Converter.
Also added link to miky6682's VK!! Nice going bro!
Best Regards!
thanx so much

saurabh88
2nd December 2009, 03:50 PM
attention trojen/win 32 virus found by nod 32 in v1.5...:eek::eek::eek::eek::eek:

daeinnor
2nd December 2009, 05:58 PM
attention trojen/win 32 virus found by nod 32 in v1.5...:eek::eek::eek::eek::eek:
BitDefender reports the same also on ElfinCustomRUU.exe! No big deal though as you can use any of the floating CustomRUU.exe in the forum.

daeinnor
2nd December 2009, 06:09 PM
A quick Update for B2 kitchen is up on 1st post!
Also added link to miky6682's VK!! Nice going bro!
Best Regards!
Glad to hear from you again. Will test new B2 later, even the old version is still the fastest way to build an Elf(in) ROM. Thanks for the update and fixes.

Wish list ... if only there is a way to implement "_skip" switch as in EVK, but it may not be needed as we now have miky6682's VK for Elf(in). But still, B2 speed is unbeatable specially for testing purposes.

saurabh88
2nd December 2009, 07:07 PM
ext package rebuilder is nit working both on xp and w7...plz...are the packages in the bepes kitchen differenrt from EVK??

saurabh88
4th December 2009, 04:12 AM
I able to make rom but every time it stuck at smart mobility screen...what am i doing wrong??

miky6682
4th December 2009, 03:12 PM
I able to make rom but every time it stuck at smart mobility screen...what am i doing wrong??

do you added wince_nls oem to sys?

saurabh88
4th December 2009, 03:40 PM
do you added wince_nls oem to sys?
no but will try today..thanx for fast reply

saurabh88
6th December 2009, 10:05 PM
when i change yhe build from 19972 to 21055 ktchen create only 48mb .nbh file while on set 19972 it create 86mb .nbh..
what am i doing wrong?:(:(:(:(:(:(

daeinnor
7th December 2009, 06:01 PM
Can you upload your 'build_log.txt' located at the kitchen root? Maybe it will shed light to what you are missing.

saurabh88
8th December 2009, 01:15 AM
Can you upload your 'build_log.txt' located at the kitchen root? Maybe it will shed light to what you are missing.

this time i able to make rom but want boot..plz help..

saurabh88
8th December 2009, 05:53 AM
finaly i can make rom using stock rom in bepe 1.5..but when i change the version from 19972 to 21055it create only 48 mb .nbh file and say invalid siz:confused::confused::confused:e size when i flash it...can some one tell me how to config that to change buidl in this kitchen...d

daeinnor
8th December 2009, 05:23 PM
I checked your log.txt and everything seems ok. You're almost there!

After successfully building 19972 ROM, the only things you need to change in the EXT, ROM & SYS folders are as follows:

In the ROM folder:

only thing you need to do is copy 19972 subfolder and all its contents (OEMXIPKERNEL and files), rename it to the new ROM build; in your case 21055
in the Shared folder, create a new dir corresponding to the new ROM build = 21055, place the downloaded 21055 MSXIPKERNEL inside it
Don't touch: xip.bin, romhdr.bin & os.nb.payload!!!


In the SYS folder, create the 21055 dir and subdir or copy the 19975 paste it there and rename to 21055. If you chose to copy paste, erase all files in the subfolders and replace with the 'new' 21055 files.

In EXT, might be good idea to create a new empty dir inside the Elfin dir: 21055 without any files. But you may select 19975 in EVK instead of creating a new one.

In EVK:

Select (reselect) Elfin, lang, dpi, SYS, EXT, etc.
Replace ROM build 2.00.00.00 to something else higher than the default or anything like 5.2.21055
Leave uldr & nocert as it is
Change pp
Unlock Folder, in my case doesn't matter at all if ticked or unticked
Don't tick/select any other thing else


I advise you not to overwrite your working 19975 but rather create a new dir like 21055.

Happy cooking!

saurabh88
8th December 2009, 05:38 PM
I checked your log.txt and everything seems ok. You're almost there!
After successfully building 19972 ROM, the only things you need to change in the EXT, ROM & SYS folders are as follows:
In the ROM folder:

only thing you need to do is copy 19972 subfolder and all its contents (OEMXIPKERNEL and files), rename it to the new ROM build; in your case 21055
in the Shared folder, create a new dir corresponding to the new ROM build = 21055, place the downloaded 21055 MSXIPKERNEL inside it
Don't touch: xip.bin, romhdr.bin & os.nb.payload!!!

In the SYS folder, create the 21055 dir and subdir or copy the 19975 paste it there and rename to 21055. If you chose to copy paste, erase all files in the subfolders and replace with the 'new' 21055 files.
In EXT, might be good idea to create a new empty dir inside the Elfin dir: 21055 without any files. But you may select 19975 in EVK instead of creating a new one.
In EVK:

Select (reselect) Elfin, lang, dpi, SYS, EXT, etc.
Replace ROM build 2.00.00.00 to something else higher than the default or anything like 5.2.21055
Leave uldr & nocert as it is
Change pp
Unlock Folder, in my case doesn't matter at all if ticked or unticked
Don't tick/select any other thing else

I advise you not to overwrite your working 19975 but rather create a new dir like 21055.
Happy cooking!
i just leave hope for evk for a while and tried bepes latest 1.5 kitchen..finally i create rom of21055 but it always stuck at smart mobility...if u can guide me plz help here....

daeinnor
8th December 2009, 06:01 PM
Could be anything like missing SQM, FWUPDATE, WINCENLS or AUTOUPDATE in SYS\SHARED\COMMON. Or you could be including both OSFiles & OSModules at the same time.

Check first page of Da_G's Latest Release .... thread for what dir's are required in the SYS dir in building a working ROM. You'll be getting mad at me by continuously nagging you to read ... read ... read ... but I did just that coz if you noticed, not so many are replying to this thread. Sorry.

I've gone through ALL the pages and took notes on: the elfin cooking thread here, QUE PPC+ visual kitchen thread, ivanmmj's SuperJustKitchen thread, and most of the cooking tutorials and asked sparingly only if and when I deem required. :)

saurabh88
9th December 2009, 08:50 AM
Could be anything like missing SQM, FWUPDATE, WINCENLS or AUTOUPDATE in SYS\SHARED\COMMON. Or you could be including both OSFiles & OSModules at the same time.
Check first page of Da_G's Latest Release .... thread for what dir's are required in the SYS dir in building a working ROM. You'll be getting mad at me by continuously nagging you to read ... read ... read ... but I did just that coz if you noticed, not so many are replying to this thread. Sorry.
I've gone through ALL the pages and took notes on: the elfin cooking thread here, QUE PPC+ visual kitchen thread, ivanmmj's SuperJustKitchen thread, and most of the cooking tutorials and asked sparingly only if and when I deem required. :)
thanx but miky made it..he help me whenever i needed.

sasa66
10th December 2009, 09:07 AM
finaly i can make rom using stock rom in bepe 1.5..but when i change the version from 19972 to 21055it create only 48 mb .nbh file and say invalid siz:confused::confused::confused:e size when i flash it...can some one tell me how to config that to change buidl in this kitchen...d

Some times the new builds contain in some packges a hidden file called _skip
so the packages are ignored during cooking unless you are building a premium rom if you remove this _skip files from packages it will be cooked

saurabh88
10th December 2009, 11:48 AM
Some times the new builds contain in some packges a hidden file called _skip
so the packages are ignored during cooking unless you are building a premium rom if you remove this _skip files from packages it will be cooked
thank but i have now my own...

saurabh88
25th December 2009, 09:00 AM
error "s".....

kokotas
25th December 2009, 10:07 AM
error "s".....

Does your keyboard have only 6 keys?:p
Come on... be more specific please, cause I don't understand your point here!

saurabh88
25th December 2009, 12:08 PM
Does your keyboard have only 6 keys?:p
Come on... be more specific please, cause I don't understand your point here!
ok when i dump stock rom relcate sys.rom and bla.bla.bla...then i use sys and rom of 21055...
i was able to create rom before v1.0.6 but last from few uodates when i start build rom
it say error....s...
error...s..not found
plz backup your sys/21055
buildingrom....press any key to cont...
then it stopped..
i have tried 5times with no success....
i gone through every possible step....

kokotas
7th January 2010, 10:04 AM
ok when i dump stock rom relcate sys.rom and bla.bla.bla...then i use sys and rom of 21055...
i was able to create rom before v1.0.6 but last from few uodates when i start build rom
it say error....s...
error...s..not found
plz backup your sys/21055
buildingrom....press any key to cont...
then it stopped..
i have tried 5times with no success....
i gone through every possible step....
Hi saurabh88!
Sorry for the delay.I was away for the holidays.
About the "error...s..not found" I have to apologize because I uploaded a batch file with an error in it(a simple space did cause that error).
The uploaded files (with or without a GUI) are the correct ones.I hope this works for you too in case you use this kitchen.
Regards!

saurabh88
7th January 2010, 12:32 PM
Hi saurabh88!
Sorry for the delay.I was away for the holidays.
About the "error...s..not found" I have to apologize because I uploaded a batch file with an error in it(a simple space did cause that error).
The uploaded files (with or without a GUI) are the correct ones.I hope this works for you too in case you use this kitchen.
Regards!

thank u sir.

sasa66
7th January 2010, 02:54 PM
Hi Kokotas i used to cook by this kitchen and as you said it is easy and simple but since 1.0.9 the kitchen crashes after running it gives this messege "ROM Kitchen Executable Has stopped working
but if i copy every thing back to 1.0.7 every thing works fine with the same OEM, SYS, and Ext and a bootable rom is created
Iam confused i dont know what i am missing

kokotas
7th January 2010, 05:18 PM
Hi Kokotas i used to cook by this kitchen and as you said it is easy and simple but since 1.0.9 the kitchen crashes after running it gives this messege "ROM Kitchen Executable Has stopped working
but if i copy every thing back to 1.0.7 every thing works fine with the same OEM, SYS, and Ext and a bootable rom is created
Iam confused i dont know what i am missing
The batch files, the structure of the kitchen and the tools which are used have been changed from 1.0.7 and above. I'll have a look and hopefully I'll see what's wrong.
Thanks for the feedback man!
BTW the new gui seems to have a problem when executing more than two times a command...:confused:...so I will work on that one too.
Regards!

kokotas
9th January 2010, 02:37 AM
the new gui seems to have a problem when executing more than two times a command...

A revised version is uploaded that hopefully fixes the crashing issue.

saurabh88
9th January 2010, 04:11 AM
A revised version is uploaded that hopefully fixes the crashing issue.
i m not able to create rom..
i dump stock rom and relocate the packages.
then i insert 21056 require tgings and when i click on build it is dumping those packages???instead of building rom??????
what is wrong?
now able to buikd rom with cmd kitchen.but pro..still persist in gui kitchen

kokotas
9th January 2010, 03:22 PM
I. Once you download the archive from rapidshare extract it's content (a folder named B2_Kitchen) to any location you want. Avoid extracting the Kitchen to your Desktop - Advisable location is \Program Files or C:\ .

II. Before continuing respect some prerequisites :
Microsoft Visual C++ 2010 Redistributable Package (x86) (http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84) or Microsoft Visual C++ 2010 Redistributable Package (x64) (http://www.microsoft.com/downloads/details.aspx?FamilyID=bd512d9e-43c8-4655-81bf-9350143d5867&displaylang=en) ,
Microsoft Visual J#® 2.0 Redistributable Package (http://www.microsoft.com/downloads/details.aspx?FamilyId=E9D87F37-2ADC-4C32-95B3-B5E3A21BAB2C&displaylang=en) &
Microsoft .NET Framework 3.5 (http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe) (Windows Vista / Windows 7 have it pre-installed)
are required!
IF you're using Windows Vista / Windows 7, make sure USER ACCESS CONTROL is turned OFF (http://www.howtogeek.com/howto/windows-vista/disable-user-account-control-uac-the-easy-way-on-windows-vista/)!
DO NOT change the structure of the kitchen (see below)!

|___[Autorun.mscr]
| |_[Elfin]
|
|___
|
|___[EXT]
| |_[Elfin]
|
|___[OEM]
| |_[Elfin]
| |_[0409]
| |
| |_[COMMON]
| |
| |_[dpi_96]
| |
| |_[Pkgs]
|
|___[RELEASE]
| |_[Elfin]
| |_[Myroms]
| |
| |_ElfinCustomRUU.exe
|
|___[ROM]
| |_[23545]
| | |_[MSXIPKernel]
| |
| |_[Elfin]
| |_[6.1Kernel]
| |
| |_[6.5Kernel]
| |
| |_[Extendir_OEMXIP]
| |
| |_[OEMXIP]
| |
| |_OS.nb.payload
| |
| |_romhdr.bin
|
|___[SYS]
| |_[23545]
| |_[dpi_96]
| | |_[0409]
| | |
| | |_[COMMON]
| |
| |_[dpi_96_resh_240_resv_320]
| | |_[0409]
| | |
| | |_[COMMON]
| |
| |_[SHARED]
| |_[0409]
| |
| |_[COMMON]
|
|___[TOOLS]
|_[addons]
|
|_[CORE]
| |_[Saved]
| |_[Elfin]
|
|_[mod]
|
|_[mytools]
|
|_[opt]
|
|_[pkg]
| |_[EXT.bak]
| |
| |_[EXTPackagesCreator]
| |
| |_[SYS.bak]
|
|_[Radios]
| |_[Elfin]
|
|_[rgu-hv]
|
|_[rgu-xml]
|
|_[splash]
|_[SplashScreens]
| |_[Elfin]
|
|_nbimg.exe
23545 is just an example (all folders are empty) I provide with the kitchen as shown above in order to help you put your files in the correct way.

III. When you enter for first time into the kitchen's folder you'll see something like this :
http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/b2.png

Autorun.mscr\Elfin is the folder where you can put your mortscript file that runs at first boot(i.e. ARMS.mscr).
This mscr must include a line "#INSERTPOINT" !!!
This line is required so that all "app.mscr" (read below) will be added at that exact point of your script!
If you want to use another name for your ARMS.mscr then you should edit the build_rom.bat @ line :
TOOLS\CORE\all_mscr_2_one.exe -ext EXT\%DEVICE% -mscrpath Autorun.mscr\%DEVICE% -mscr ARMS -out %EXTPath1% -%ARType%
and replace ARMS with your file's name.

BaseRom is the folder where you can put any rom you want to dump. You are able to use almost any format, meaning
RUU_SomeDevice_HTC_SomeVersion_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

EXT is the folder where you store all your EXT Packages that you want to try in your ROM.
Here you can put any application,utility,todayitem,etc. and choose whether to include it or not, having in mind if it is or not essential for the windows to work!
You must place those Packages inside the subfolder Elfin!

OEM is the folder where you have OEMApps, OEMDrivers and other OEMFolders (Device Specific). Check out trueg's posts (http://forum.xda-developers.com/showthread.php?t=335631&page=123#1223) for more information about these folders.
You must place those OEMFolders inside the subfolder Elfin like it is shown below otherwise the kitchen will not work :

http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/oem1960.png

*If you are cooking a rom in a different language than WWE, then create that subfolder.
For example if I want to cook a greek rom I'll create a subfolder 0408 along with 0409 inside OEM\Elfin and place my local.files in 0408.

*If you are using the kitchen in OEM mode (read below) you can put inside the "Pkgs" subfolder your old-style packages (with *.dsm , *.rgu , etc.). You'll be able to choose whether to include or not each of those from the kitchen's packages selection!

RELEASE(\Elfin\MyRoms) is the folder where your custom ROM (i.e.Elfin_ROM_Lang_0409_Build_21056.nbh) will be placed after cooking in order to flash it to your device using the included ElfinCustomRUU.

http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/b2_release.png

That RUU is a SFX archive and no trojan or virus is secretly implanted in it! If your are alerted for this file , ignore the warning!
If you have any problems running this RUU , then extract its contents , delete the ElfinCustomRUU.exe and rename the RomUpdateUtility.exe to ElfinCustomRUU.exe

ROM is the folder where the XIP is placed.
If you enter this folder you'll see :

http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/b2_rom.png

Elfin folder has essential content (see below) and you shouldn't mess with it.

http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/b2_rom_dev.png

23545 is again an example (all folders are empty) I provide with the kitchen as shown below in order to help you put your files in the correct way*.

http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/b2_rom_build.png

*Here you place the MSXIPKernel from the Build you wish to use in your ROM.

SYS is the folder where all the OS Packages (Not device Specific , but I'd say Screen Resolution Specific) are stored categorized by build number.

http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/b2_sys.png

*As you can see above you can have various folders named after the build numder.

The OS Packages are placed inside the "Build" folder . Check out trueg's (http://forum.xda-developers.com/showpost.php?p=4416400&postcount=1276) and Da_G's (http://forum.xda-developers.com/showpost.php?p=4268166&postcount=5) posts for more information about these Packages.
You must place those OS Packages inside the subfolders dpi_96 , dpi_96_resh_240_resv_320 , SHARED like it is shown below otherwise the kitchen will not work :

http://i279.photobucket.com/albums/kk145/k0k0tas/sys171.png

23545 is again an example (all folders are empty) I provide with the kitchen as shown above in order to help you put your files in the correct way.

TOOLS is obviously the kitchen's "engine". (Each time you build a rom you should find in here a log file from the building process which you can access by clicking on the Process label of the main application :http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/Captureprocess.png)

http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/b2_tools.png

Inside Radios(\Elfin) folder (see below) you can store any %radio%_0x300.nb in order to use in your Rom:

http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/b2_tools_radios_dev.png

03.34.90_0x300.nb and 03.39.90_0x300.nb are just an example I provide with the kitchen as shown above in order to help you put your files in the correct way. You can find all Elf(in) Radios here (http://rapidshare.com/files/360125264/Radios.7z).

Inside splash(\SplashScreens\Elfin) folder (see below) you can store any
%##splash%_0x600.nb in order to use in your Rom.
%##splash%_0x600.bmp is required for previewing!

http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/b2_tools_splash_splashscreens_dev.png

00Splash_0x600 and 01Splash_0x600 are just an example I provide with the kitchen as shown above in order to help you put your files in the correct way. You can find more SplashScreens here (http://rapidshare.com/files/360125425/SplashScreens.7z) or you could make your own with the kitchen tools(See Addons below).

BUT, the most important part is
the CORE folder where all the (simple but brilliant) tools are placed.

http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/b2_1970_Core.png

In there you should find my batch files:
*. dump_rom.bat and build_rom.bat - which are responsible for combining all the tools in order to make all the necessary operations,
along with UserConfig.ini which holds all the necessary parameters for the kitchen to be able to build a rom.
*. prepare_new_device_from_nbh.bat is a batch file that will prepare all the required files and device.list entries from another device's official rom.
Things you could edit(CAREFULLY) are Devices.list , AutoRecMod.list , OptimizeSYS.list & OptimizeXIP.list . Don't change anything else!
Here is a peek inside devices.list :
$DEV=Elfin
<1 for device that has only wm6.1kernel , 2 for device that has wm6.1kernel AND wm6.5kernel , 3 for device that has only wm6.5kernel>
KERNEL=1
dpi=96
resh=240
resv=320
ModelID=ELF0*****
CID=11111111
chunksize=1024
GSMHeaderType=0x300
<" -s" Switch if device's Splash.nb requires smartphone signature , leave blank if device's Splash.nb DOESN'T require smartphone signature>
SplashSwitch= -s
SplashHeaderType=0x600
<Size of device's Splash.nb>
SplashSize=196608
<" -t 0" for 0x00 or " -t 255" for 0xFF>
SplashPaddingType= -t 0
OSHeaderType=0x400
<hermes for Sectorsize=0x208 , kaiser for Sectorsize=0x808 , titan for Sectorsize=0x800 , leave blank for Sectorsize=0x200>
NBMerge=
<reduce for device that ULDR can ONLY be reduced , remove for device that ULDR can be totaly removed>
ULDR=remove

B2_Kitchen_GUI is the Graphical User Interface I created in order to make things easier, faster and more friendly.

http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/b2_1970_Main.png

I have to say that I am not a programmer but I tried my best to make a shell for the kitchen that works fast and is SIMPLE! There is no need to make things more complex.
So all this application does is:
[Packages Selection]
a. Shows all the SYS Packages from the BUILD & LOCALE you've chosen.
b. Shows all the EXT Packages that are placed inside the EXT\Elfin folder:
You can either have your packages DIRECTLY under EXT\Elfin
[B]or
make subdirs(limitation:up to 16!) to organize them better(i.e. EXT\Elfin\Tweaks , EXT\Elfin\TodayItems , EXT\Elfin\Apps , EXT\Elfin\Utilities , etc).For this to work you have to go to EXT Paths and edit them(Read below).

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

If you double click the name of the package you will open that package's folder.

If you double click inside the selection cell but not on the checkbox then you can select/deselect ALL packages.

If you right click the package then you can directly edit (*if included*) the package's *.rgu , app.reg , app.dat , app.mscr.
Besides that you can upx any included executables , compress any included pngs and recmod any included modules.

You'll also see in the Packages Selection 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 Settings!
If you want "Package1" to be included/excluded in your Premium edition then you must have the checkbox under "P" ticked/unticked.
If you want "Package1" to be included/excluded in your Basic edition then you must have the checkbox under "B" ticked/unticked.
If you want "Package1" to be included/excluded in your Lite edition then you must have the checkbox under "L" ticked/unticked.

There is also a ZIP Column. That Column is used to "mark" which EXT Packages you wish to convert to "Mscr_Packages".
It has three states:
1. If checkbox = unticked then nothing will change.
2. 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)
3. If checkbox = greyed then Selected Package will be converted to an Extendir Package (this is useful ONLY for applications that get installed to Windows)
When you hit the "ExtToMscr" the kitchen creates an archive(with the extension *.xdaz) from the Package's files and writes the necessary "app.mscr" (something like the equivalent of "app.dat").
For this it needs the "app.dat" inside the EXT Package so that it translates it to "app.mscr".
(This operation doesn't take place each time you hit the build button)
Your (original)EXT Packages will be copied to TOOLS\pkg\EXT.bak as a backup and only the (converted)Mscr Packages will be kept inside EXT[folder].
These new packages will be used ONLY IF you select "mscr" for ARType( = AutoRun Type).
[Main Functions]
FIRST of ALL select device.
Since this is about Elfin you'll be able to see only the "Elfin" in the List!<==Check out Devices.list inside CORE!

a. By clicking the "Dump" button you call the dump_rom.bat from the CORE folder and you can see the output in the "Process" window.
Drag'n'Drop a file on this button works the same way!
Right Click on this button will show you the option to Prepare 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!
(Next to this button are 2 icons : http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/dumpbutton.png
* The folder-icon is a shortcut to BaseRom(folder)
* The first one opens the below form. Drag n' drop works for every button you see there!
http://i279.photobucket.com/albums/kk145/k0k0tas/b2rt2.png
)

b. By clicking the "Build" button you call the build_rom.bat from the CORE folder and you can see the output in the "Process" window.
(Next to this button are 2 icons : http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/b2_1970_Bbutton.png
* The folder-icon is a menu that includes "ExtToMscr" button and shortcuts to EXT, OEM, SYS and EXT.bak(folders)
* The first one opens the below dialog. From there you can select the operating mode of the kitchen!
http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/b2_1970_mode.png
If in OEM mode the ROM will be built using only Packages from "Pkgs" subfolder!No EXT packages will be used!
If in EXT mode the ROM will be built using only EXT Packages!No packages from "Pkgs" subfolder will be used!
)

c. By clicking the "Stop" button you stop the process you started.

d. By clicking the "Flash" button you exit the kitchen and start the ElfinCustomRUU in order to flash the ROM you selected to your device.
(Next to this button is a phone-icon : http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/flashbutton.png
* If you click this icon you can select from a dropdown list which rom to flash.
* If you double click the icon you open the RELEASE\Elfin(folder))

e. If you tick RecModSYS then during the building process the kitchen will check if SLOT 0 is overfloating with modules and it will try to rebuild the ROM after "RecModing" some modules.<==Check out AutoRecMod.list inside CORE!

f. If you tick -imgstart then the imgfs start-address will be moved up right after xip's end. This is like setting -ImgStart 0 to implantxip's parameters!
If you want to set your own hex address right click the checkbox and enter in the box that will appear what you want for imgfs start address!

g. If you tick -uldr then ULDR partition will be reduced (or if possible removed).
Of course you don't need this if you keep on using the provided OS.nb.payload file.

h. If you tick Extendir then you will be using ShaDrac's driver (Extendir v2) to build your rom. Here (http://forum.xda-developers.com/showthread.php?t=530710) is his thread for getting an idea about this driver. Respect the licence agreement! (http://forum.xda-developers.com/attachment.php?attachmentid=284561&d=1266866108)
Any package that is going to be used along with extendir should start with the prefix "Extendir_" (eg: Extendir_Arcsoft_MMS_5_0_70_24_B6_0)
For anything having to do with the driver itself post in the original thread (http://forum.xda-developers.com/showthread.php?t=530710)! In this way you'll have better chance in getting help from the developer himself and also help in testing the driver!

i. If you tick -SYSDuplicates then ONLY when you build your rom the kitchen will search and remove any duplicates found inside SYS only.

j. If you tick -EmptyPkgs then then ONLY when you dump a rom the kitchen will remove any empty packages found.

k. If you tick SortRegistry then ONLY when you dump a rom the kitchen will sort each registry file from your dump to make it more readable.

l. The configuration panel lets you choose through locales and builds that you have in your kitchen.

*. If you right click inside the "Locale" box you have the option to edit the initflashfiles.dat of selected language.

*. If you right click inside the "build" box you have the options to :
1. Optimize XIP of selected build. <==Check out OptimizeXIP.list inside CORE!
2. Optimize SYS of selected build. <==Check out OptimizeSYS.list inside CORE!

*. Additionally you can choose PagePool Size(0-20) and Compression(XPR-LZX-None) method.

*. There is also the ability to have 3 editions of your rom (Premium, Basic, Lite).
Selecting an edition is optional, so if you leave "Edition" blank, then the "P" , "B" , "L" selecting doesn't matter!

*. If you are a fan of MortScript like me and you use an "Autorun.mscr" then the following may come in handy. You can put inside Autorun.mscr[folder] your AutoRun.mscr[file] and when you decide to build your rom
with ARType = mscr the Mscr packages inside EXT[folder] will be used and each package's "app.mscr" will be added to your AutoRun.mscr[file] at #INSERTPOINT(this line is required in your script!!!).
If ARType = other then none of these Mscr packages will be used and the rom will be built normally (assuming that you have another way of "AutoRun things"(eg: AutoRun.exe or RunCC.exe ,etc).

*. Finally you can enter some info related to your rom version,language,MID and CID that are required for yang to generate the flashable *.nbh.

*. Adding Radio and Splashscreen during building is supported too.

*. When you close the kitchen, it minimizes to tray from where you can access many functions and browse the kitchen's folders.
If you want to exit the kitchen while it is visible press F1 !
[Addons]

http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/b2_1970_Addons.png

From this set of buttons you can access all the extra tools that come with the kitchen.
I added in place of htc Rom Tool a new Interface I made based on Da_G's NBHImageTool (http://forum.xda-developers.com/showthread.php?t=671743).
http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/nbhit.png

Additionally:
Drag'n'Drop works for
"Modules Tools" button (if you drag a module it will be converted to file - if you drag a file it will be converted to modulle),
"splash" button (if you drag a *.bmp it will be converted to *.nb - if you drag a *.nb it will be converted to *.bmp),
"EXT Packages Creator" button (drag your cab(s) and convert it(them) to EXT Package(s)),
"txtEditor" button (If you set a default path for txtEditor then by clicking that button that file opens automatically)

You can see lists of *.mscr , *.xml , *.provxml & *.cpr 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.

Finally you can assign 4 favorites links to the 4 buttons at the bottom!
Those links can be applications, folders, batch files or urls.
In order to set your own you must edit the file TOOLS\addons\myaddons.ini and add 1-4 lines in this format : addon #|Name|Path
For example :
addon 1|CFF Explorer|C:\Program Files (x86)\Explorer Suite\CFF Explorer.exe
addon 2|Tiny Hexer|C:\Program Files (x86)\mirkes.de\Tiny Hexer\mpth.exe
addon 3|Icon Editor|C:\Program Files (x86)\Icon Editor\IcoFX.exe
addon 4|Manila Kitchen|C:\Program Files (x86)\Manila_Kitchen
[EXT Paths]

http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/b2_1970_Paths.png

If you leave the paths empty then by default your EXT Packages should be DIRECTLY under EXT\Elfin folder.
If you make subdirs(i.e. EXT\Elfin\Tweaks , EXT\Elfin\TodayItems , EXT\Elfin\Apps , EXT\Elfin\Utilities , etc) and place your EXT Packages inside them then you should edit the paths accordingly (i.e. EXT\Path1 : Tweaks , EXT\Path2 : TodayItems , EXT\Path3 : Apps , EXT\Path4 : Utilities , etc)
[ Help]
Some URL links that have a lot to do with cooking and customizing roms.
[SAVE_icon]
If you double click this icon then you'll save your current project(its name will be the Edition.build.locale.date&time of saving).

If you click the icon then you can select from a dropdown list which saved project to load.
donation is a URL link that bepe's PRB generates each time you run it. Clicking it is supposed to be a nice way to say thanks to a great developer like him, but unfortunately it gives a "404 Not Found". So the kitchen fixes that URL link too in order to point to bepe's donation link.

VI. This kitchen has started and has been continued for the Elfin, but now can (in theory) support other devices too.
If anyone wants to try this kitchen for another device then she\he should:
1. Place an official rom (Preferably of type RUU_%%%_Signed.exe) for her\his device inside BaseRom folder.
2. Right click the [Dump] button >> Click [Prepare New device].
3. When the process finishes you have the option to let the kitchen do the rest automatically OR you can do them manually, meaning:
a) To edit the (TOOLS\CORE\)devices.list (I have added a couple of devices as examples) and add the generated %DEV%_Entries.
b) Then move the generated folders and files:
-EXT\%DEV%\
-OEM\%DEV%\
-ROM\%DEV%\
-ROM\%DEV%\6.1Kernel\
-ROM\%DEV%\6.5Kernel\
-ROM\%DEV%\Extendir_OEMXIP\
-ROM\%DEV%\OEMXIP\
-ROM\%DEV%\OS.nb.payload
-ROM\%DEV%\romhdr.bin
-TOOLS\CORE\Saved\%DEV%\
-TOOLS\Radios\%DEV%\
-TOOLS\splash\SplashScreens\%DEV%\
c) Only thing left will be to create the folders:
-Autorun.mscr\%DEV%\
and put inside your ARMS script
-RELEASE\%DEV%\
-RELEASE\%DEV%\MyRoms\
and grab your device's CustomRUU from xda and place it correctly:
-RELEASE\%DEV%\%DEV%CustomRUU.exe
(Name is sensitive : i.e. Elfin => ElfinCustomRUU.exe , LEO => LEOCustomRUU.exe , Diamond => DiamondCustomRUU.exe , etc.)

VII. Points that require ATTENTION:
1. In order to add a new build you must add the necessary folders to the correct locations.
(i.e. To add Build 23545 you must add the folder 23545 with the SYS Packages under SYS\
and
the folder 23545 with the MSXIPKernel Package under ROM\)
2. In order to add a Language you must add the localization's files under each required location.
(i.e. To add Greek Language in Build 23545 you must add the folder 0408 with the corresponding files to various locations:
under OEM\Elfin\
under SYS\23545\dpi_96\
under SYS\23545\dpi_96_resh_240_resv_320\
under SYS\23545\SHARED\)
3. Each Radio(*.nb file) and each Splash(*.nb file) must be named like the provided with the kitchen examples.
Meaning that the name of each radio file must end with "_0x300" and the name of each splash file must end with "_0x600" (This is for Elfins!)
4. Converting EXT Packages to MortScript Packages is useful for two types of applications:
(a) Applications that are installed to Program Files\
(b) Applications that are installed to Windows\
Converting type (a) to Mscr_Package has the following result:
Instead of having the application's files inside Windows and then copying them with a *.dat file to Program Files\,
you just have one archive inside Windows which gets extracted to Program Files\.
This way:
(i) You avoid having duplicates files in your rom,
(ii) You avoid having too many files inside Windows that slow down your device,
(iii) In some occasions you have faster booting
Converting type (b) to Extendir_Package has the following result:
Instead of having the application's file inside Windows or in a cab file that gets installed during booting
you just have one archive inside windows which gets extracted to Extendir\Windir\
and gain all the benefits of the Extendir driver.

This is free to use or edit but at your own risk, I take no responsibility for any damage caused to your phone!

saurabh88
9th January 2010, 04:11 PM
sir all i have done is perfact match to your step as shown above...
but still instead of making rom it dump the rom in the temp folder and release folder remain empty even when i click on build..plz help me......:confused::confused::confused::confused::c onfused:

kokotas
9th January 2010, 04:21 PM
"ROM Kitchen Executable Has stopped working"
Hey sasa66!
I looked into your problem and here is what I've found:
This kind of error happens in two occasions:
A. If you put B2_Kitchen on your desktop
B. If you change the structure of the kitchen
And just in case if you downloaded the kitchen and you only took the batch files and used them in the previous version then they shouldn't work.
The advisable way of "upgrading" the kitchen is to move your files from the previous version to the newer as follow:
your (previous)EXT\IncludedPackages to (newer)EXT\
your (previous)OEM\%LOCALE% to (newer)OEM\%LOCALE%
your (previous)OEM\COMMON to (newer)OEM\COMMON
your (previous)OEM\dpi_96 to (newer)OEM\dpi_96
your (previous)SYS\%BUILD% to (newer)SYS\%BUILD%
and
your (previous)ROM\%BUILD% to (newer)ROM\%BUILD%

Regards!

kokotas
9th January 2010, 04:29 PM
sir all i have done is perfact match to your step as shown above...
but still instead of making rom it dump the rom in the temp folder and release folder remain empty even when i click on build..plz help me......:confused::confused::confused::confused::c onfused:
First of all ...
Please if you have the kindness to edit your last post so that all the quoting is gone, I'd be grateful! It makes reading through the thread a lot more difficult!
Now regarding your problem ...
If I get it right when you hit the "Build" button
instead of calling the build_rom.bat it calls the dump_rom.bat.
Try downloading the kitchen again and tell me what happens now.
I have to say that this is strange! I don't face this problem.
Regards!

saurabh88
9th January 2010, 05:01 PM
First of all ...
Please if you have the kindness to edit your last post so that all the quoting is gone, I'd be grateful! It makes reading through the thread a lot more difficult!
Now regarding your problem ...
If I get it right when you hit the "Build" button
instead of calling the build_rom.bat it calls the dump_rom.bat.
Try downloading the kitchen again and tell me what happens now.
I have to say that this is strange! I don't face this problem.
Regards!
i m using xp.
i havent any previous version
i havent install it n desktop.it is in d drive.
i havent changesd any rom structures...
plz help

kokotas
9th January 2010, 05:10 PM
Open up your UserConfig.ini and copy/paste what you see here.
Plus do you see the OS.nb inside temp?

saurabh88
9th January 2010, 05:45 PM
Open up your UserConfig.ini and copy/paste what you see here.
Plus do you see the OS.nb inside temp?
will try tomorrow..thank u sir.

saurabh88
10th January 2010, 07:17 AM
Open up your UserConfig.ini and copy/paste what you see here.
Plus do you see the OS.nb inside temp?

this is my userconfig.ini

REM ---User_Configuration---
::PRBSettings
set LOCALE=0409
set BUILD=21056
::RecModSetting(1=ON 0=OFF)
set AutoRecMod=1
set Warning=1
::PagepoolSetting
set PagePoolSize=12
::CompressionSetting(XPR_or_LZX)
set COMPRESSION=XPR
::YangSettings
set ModelID=ELF0*****
set CID=11111111
set Ver=
set Lang=




and yes therer is os.nb in the temp folder.
now i face strange probs..
plateformrebulder.exe encounter prob.. need to close.
error level 1:confused::confused::confused:

Skalda
10th January 2010, 08:06 AM
I had the same problem as sasa66 ("ROM Kitchen Executable Has stopped working"). I solved it using OEMXIPKERNEL from trueg`s kitchen. Now is your kitchen works, thank you for it.

saurabh88
10th January 2010, 09:08 AM
I had the same problem as sasa66 ("ROM Kitchen Executable Has stopped working"). I solved it using OEMXIPKERNEL from trueg`s kitchen. Now is your kitchen works, thank you for it.
true g have kitchen?i tgink he provide only source file??

Skalda
10th January 2010, 09:21 AM
true g have kitchen?i tgink he provide only source file??

Sorry, I don't know if is it his kitchen, but there is the post where I found it http://forum.xda-developers.com/showpost.php?p=4449610&postcount=1286

saurabh88
10th January 2010, 09:37 AM
Sorry, I don't know if is it his kitchen, but there is the post where I found it http://forum.xda-developers.com/showpost.php?p=4449610&postcount=1286
thanx i will try it.

saurabh88
10th January 2010, 09:38 AM
cmd version has now the same probs..

kokotas
10th January 2010, 09:07 PM
set Ver=
set Lang=


As I thought...:cool:
The OS.nb is generated correctly
but
since you don't fill in the above lines
then how do you expect to build the final nbh???
Enter your info in there and you should see the rom inside RELEASE!
And an advice: don't use autorecmod - I think it's not working as it's supposed to...

saurabh88
10th January 2010, 09:13 PM
As I thought...:cool:
The OS.nb is generated correctly
but
since you don't fill in the above lines
then how do you expect to build the final nbh???
Enter your info in there and you should see the rom inside RELEASE!
And an advice: don't use autorecmod - I think it's not working as it's supposed to...
sir but both the cmd and gui version has stopped working by plateformrebuilder.exe has encounterde a prob....

kokotas
10th January 2010, 09:25 PM
sir but both the cmd and gui version has stopped working by plateformrebuilder.exe has encounterde a prob....
I don't have this problem.
I don't know why you face this problem.
Maybe you are doing something else wrong,
but this is something you must find out by experimenting.

saurabh88
11th January 2010, 03:19 AM
i have working visual kitchen sir.i m using my own rom now..
but i still want to use your kitchen.
one problem in visual kitchen that whener i add any packages it make non bootable rom..
and can u help me how to make small icons of app.. in wm 6.5?....
they r too large and i have seen so beateful small icon of mr.makk and dsi rom

saurabh88
16th January 2010, 05:11 PM
thanx..now it working...i just install it in c drive..and yeeppy...

saurabh88
23rd February 2010, 01:48 AM
as always thanks....
waited too much for new one...

kokotas
6th March 2010, 05:28 PM
v.1.5.0.0 is up!
This is probably the final version.

I will update the relevant posts with info about new features when I get some rest.

Best Regards!

Edit1:
Posts Updated!

Edit2:
v.1.6.0.0 is up!
This is the final version.
Will release only bug fixes if you report any.

Edit3:
Link Fixed!

sasa66
8th March 2010, 07:23 PM
v.1.5.0.0 is up!
This is probably the final version.
Edit2:
v.1.6.0.0 is up!
This is the final version.
Will release only bug fixes if you report any.

The link is not working please check it:):):)
Thanks for the great work

EDIT : It works know thanks

ramakrishna
8th March 2010, 07:54 PM
The link is broken,thnx for your good work.

saurabh88
9th March 2010, 09:02 AM
The link is broken,thnx for your good work.
link is fine

touchofelfin
9th March 2010, 02:03 PM
Hi kokotas very very nice kitchen, i use it for cooking my rom and it's GREAT:D:D
The checkbox to create Premium or lite rom it's good !!!!
You're kitchen it's the only which works for me.
GREAT WORK
THANKS

saurabh88
10th March 2010, 04:35 PM
ok good work...
but u still miss txt,rgu,dat editor..
otherwise kitchen is very fast and only competitor to EVK...:D

waultc
12th March 2010, 08:15 AM
Would you please add new post :)
I Couldn't add post. Coz I'm a new member.

Elf / Elfin C.P. SUPER CLEAN WM6.5.3 28230.571.632 by efsane
http ://i47.tinypic.com/2jb01vb.jpg

Device : Touch 2 (Elfin-128x256 MB)
Rom date: 04.03.2010
Version: C.P. SUPER CLEAN ROM
OS: WM6.5.3

For Elfin : www .4shared.com/file/234437317/440cb1a2/RUU_Signed_CP_SUPER_CLEAN_ROM.html

For Elf : www .2shared.com/file/11862316/31c34/RUU_Signed_CP_SUPER_CLEAN_ROM_.html

And last..
This rom is the cleanest rom for Htc Elf & Elfin. No Extra programs and application in. Wi-fi and BT work very good. after setup done, calibration start. Rom very clean and very fast.
Orjinal rom any applications that come with more pictures, marketplace, MyPhone been removed from the system.

kokotas
12th March 2010, 08:30 AM
Would you please add new post :)
I Couldn't add post. Coz I'm a new member.

Elf / Elfin C.P. SUPER CLEAN WM6.5.3 28230.571.632 by efsane
http ://i47.tinypic.com/2jb01vb.jpg

Device : Touch 2 (Elfin-128x256 MB)
Rom date: 04.03.2010
Version: C.P. SUPER CLEAN ROM
OS: WM6.5.3

For Elfin : www .4shared.com/file/234437317/440cb1a2/RUU_Signed_CP_SUPER_CLEAN_ROM.html

For Elf : www .2shared.com/file/11862316/31c34/RUU_Signed_CP_SUPER_CLEAN_ROM_.html

And last..
This rom is the cleanest rom for Htc Elf & Elfin. No Extra programs and application in. Wi-fi and BT work very good. after setup done, calibration start. Rom very clean and very fast.
Orjinal rom any applications that come with more pictures, marketplace, MyPhone been removed from the system.
Hmm...:cool:
I have 2 things to say to you:
http://forum.xda-developers.com/attachment.php?attachmentid=292697&stc=1&d=1268378836
and
http://forum.xda-developers.com/attachment.php?attachmentid=292698&stc=1&d=1268378836

Nevertheless welcome to xda my friend:)

waultc
12th March 2010, 09:22 AM
Hmm...:cool:
I have 2 things to say to you:


Nevertheless welcome to xda my friend:)

Unfortunately I get this message...

The following errors occurred with your submission:
1.To prevent spam to the forums, new users are not permitted to post outside links in their messages. All new user accounts will be verified by moderators before this restriction is removed.

saurabh88
12th March 2010, 12:48 PM
Unfortunately I get this message...
The following errors occurred with your submission:
1.To prevent spam to the forums, new users are not permitted to post outside links in their messages. All new user accounts will be verified by moderators before this restriction is removed.
may be new policy..
let the mods do that

kokotas
16th March 2010, 07:35 PM
Here is version 1.7.0.0 with some more new features:

1.Support for other devices [Not tested]
(I only have an Elfin, so if someone wants to try this kitchen for another device and can't figure things out(i.e. how to place files or how to edit Devices.list) let me know so I can help)

2.Right Click on Package's name to open&edit included *.rgu , *.reg , *.dat [Tested]

3.Right Click inside Locale box to edit the matching initflashfiles.dat [Tested]

4.Right Click inside Build box to optimize (remove&clean some files from) XIP & SYS [Tested]

5.If -imgstart is ticked then Imgfs start address can be set to minimum through implantxip [Tested]

6.From Addons Tab you can see&edit through EditPadLite all *.provxml , *.xml , *.mscr , *.cpr that are inside EXT , OEM & SYS\%BUILD% [Tested]

7.New ElfinCustomRUU (Hope you don't get issues with antivirus alarms now) [Tested]

Later on I will update the 1st post!

Best Regards!

EDIT1:
First post updated!

srgudhka
30th March 2010, 02:26 PM
after i clicked the build button in you latest b2 kitchen... after 1-2 secs.... platformrebuilder crashes.

kokotas
30th March 2010, 04:19 PM
Maybe you have some duplicates files or something is not in the right place!
Do you place your files differently than required from the kitchen?

srgudhka
31st March 2010, 04:23 AM
Maybe you have some duplicates files or something is not in the right place!
Do you place your files differently than required from the kitchen?
have placed the files as it mentioned but will check again if anything is wrong. also will check for duplicates..

what does enabling zip in ext do?

kokotas
31st March 2010, 10:03 AM
have placed the files as it mentioned but will check again if anything is wrong. also will check for duplicates..
Do check also if you have placed any EXT package under SYS or OEM.
what does enabling zip in ext do?
This is something new. That Column is used to "mark" which EXT Packages you wish to convert to "Mscr_Packages".
It has three states:
if checkbox = unticked then nothing will change.
if checkbox = ticked then Selected Package will be converted to a Mscr Package (this is useful for applications that get installed to Program Files)
if checkbox = greyed then Selected Package will be converted to an Extendir Package (this is useful for applications that get installed to Windows)
I have added a tool to automatically convert them(TOOLS\CORE\ext_2_mscr_pkg.exe).
This tool requires Microsoft Visual J#® 2.0 Redistributable Package (http://www.microsoft.com/downloads/details.aspx?FamilyId=E9D87F37-2ADC-4C32-95B3-B5E3A21BAB2C&displaylang=en) to work!
It creates an archive(with the extension *.xdaz) from the Package's files and writes the necessary "app.mscr" (something like the equivalent of "app.dat").
For this it needs the "app.dat" inside the EXT Package so that it translates it to "app.mscr".
This operation doesn't take place each time you hit the build button, but only when you hit the "ExtToMscr".
Your (original)EXT Packages will be copied to TOOLS\pkg\EXT.bak as a backup and only the (converted)Mscr Packages will be kept inside EXT[folder].
If you are a fan of MortScript like me and you use an "Autorun.mscr" then this may come in handy. You can put inside Autorun.mscr[folder] your AutoRun.mscr[file] and when you decide to build your rom with ARType = mscr those packages will be used and each "app.mscr" will be added to your AutoRun.mscr[file] at #INSERTPOINT(this line is required in your script!!!).
If ARType = other then none of these packages will be used and the rom will be built normally.

Best Regards!

EDIT 1 :
If you want to place your AutoRun.mscr to another location and with another name then you should edit the build_rom.bat @ line :
TOOLS\CORE\all_mscr_2_one.exe -ext EXT -mscrpath Autorun.mscr -mscr ARMS -%ARType%
and replace Autorun.mscr with your location and ARMS with your file's name
EDIT 2 :
Also try this :
Extract and copy the attached tool to TOOLS\CORE\ .
Then open your build_rom.bat and right after the lines :
:: The following code combines all app.mscr from EXT(folder) and inserts them in your ARMS.mscr inside Autorun_Script (folder) at #INSERTPOINT , ONLY IF ARType(AutoRunType) is mscr
TOOLS\CORE\all_mscr_2_one.exe -ext EXT -mscrpath Autorun.mscr -mscr ARMS -%ARType%
add these lines :
:: The following code deletes any duplicates files found inside SYS
TOOLS\CORE\SYSduplicates.exe -p TOOLS\pkg\SYS.bak -b %ROMBUILD% -c %DEVICE% -l %LOCALE% -d %DPI% -r %RES%

This is supposed to remove any duplicates you may have in your kitchen from SYS(It won't remove them from any other location like EXT or OEM)

Ansfer
4th April 2010, 06:54 PM
In B2 Kitchen GUI: v.1.8.0.0 compression LZX is an error (errorlevel: -1073741819, how to fix it?:confused:

kokotas
4th April 2010, 07:16 PM
Do you have this error with XPR compression too or only with LXZ?
This is PRB's error, right?
I have to reproduce it, so could you tell me if have changed something at all?

Best Regards!
ps: I think I should add some error handling so that you can find the root of your problems on your own...

Ansfer
4th April 2010, 08:16 PM
Moved the kitchen to the root of drive C and everything works.:D
Sorry for the inattention.

kokotas
4th April 2010, 08:36 PM
Glad you figured it out!
There are some prerequisites!
If you have any questions read the post at 1st page and if something is still not clear I'll be round to help.

Best Regards!

kokotas
4th April 2010, 09:10 PM
Deleted ...

kokotas
7th April 2010, 09:13 PM
New version is up!
What's new?

OEM folder's structure changed!
Now under OEM must be a folder named Elfin and inside Elfin the usual subfolders:
\0409
\COMMON
\dpi_96
To make things easier if anyone would like to try this kitchen for another device I've added a batch file to prepare everything automatically.
(It will be accessed by Right Clicking the [Dump] button)
(Can't test it to see if it does work , but I'm pretty sure it does...)


The post at 1st page is updated!

Best Regards!

saurabh88
8th April 2010, 03:30 AM
yes..plz all members..install this in only c drive or where u have installed your system...:p:p

touchofelfin
9th April 2010, 01:54 PM
hi kokotas
The 6.5 kernel in your kitchen isn't for elfin ?
it's for other device, no ?

kokotas
9th April 2010, 02:01 PM
hi kokotas
The 6.5 kernel in your kitchen isn't for elfin ?
it's for other device, no ?

Yeah ... we wish to have 6.5 kernel :) but nope!
It just an empty folder for our Elfins :(!
It will be of use for another device that has 6.5 kernel.

Regards!

saurabh88
9th April 2010, 04:10 PM
still ruu dont send problem..

evk kitchen and ruu update utility in that kitchen works absolutely fine...
but in b2 kitchen no luck still..:(:(

kokotas
9th April 2010, 04:41 PM
still ruu dont send problem..

evk kitchen and ruu update utility in that kitchen works absolutely fine...
but in b2 kitchen no luck still..:(:(

If you have any problems running this RUU , then extract its contents , delete the ElfinCustomRUU.exe and rename the RomUpdateUtility.exe to ElfinCustomRUU.exe

Does the above work for you?

saurabh88
10th April 2010, 04:24 AM
Does the above work for you?

thank u for rely..
will try as soon as possible..

saurabh88
10th April 2010, 01:29 PM
now ruu works fine..but nbh image is courrupted..

kokotas
10th April 2010, 06:42 PM
now ruu works fine..but nbh image is courrupted..

Where exactly do you have the problem?
Building your rom or flashing it?

saurabh88
10th April 2010, 10:03 PM
Where exactly do you have the problem?
Building your rom or flashing it?
ok.can build rom with ur kitchen but image is courrepted

kokotas
11th April 2010, 08:44 AM
I guess this is what you're talking about:
ERROR 270 (Update Error - The image file is corrupted)
Are you able to flash other roms?
Or is it just the roms built with my kitchen?

saurabh88
11th April 2010, 10:14 AM
I guess this is what you're talking about:
ERROR 270 (Update Error - The image file is corrupted)
Are you able to flash other roms?
Or is it just the roms built with my kitchen?

yes..thats excatly,,
i can flash other roms///:eek::eek:
its only with your kitchen..
can u tell me how to use that png optimizer..coz it takes more then 20m..to optimize..i had to close it..:(:(

kokotas
11th April 2010, 10:24 AM
yes..thats excatly,,
i can flash other roms///:eek::eek:
its only with your kitchen..
What CID do you use for the roms you build with my kitchen?
You should keep on using "11111111"!
Do you have this problem with all builds or just a specific one?
can u tell me how to use that png optimizer..coz it takes more then 20m..to optimize..i had to close it..:(:(
Well the time depends on how many png files you have...so I guess you have plenty:)Nevertheless it is still a process that requires a lot time!

saurabh88
11th April 2010, 04:07 PM
What CID do you use for the roms you build with my kitchen?
You should keep on using "11111111"!
Do you have this problem with all builds or just a specific one?

i use "11111111" cid...
i did nothing..as before i was trying to make a new rom with23544..
but after getting those error..
i just dump stock rom and cook it as unedited..but no success..:(:(

kokotas
11th April 2010, 04:32 PM
i use "11111111" cid...
i did nothing..as before i was trying to make a new rom with23544..
but after getting those error..
i just dump stock rom and cook it as unedited..but no success..:(:(

Ok, open (TOOLS\CORE\)devices.list with a text editor and check the settings for Elfin.
Make sure it is chunksize=1024 and then go ahead and flash your rom;)
I made a mistake there and I uploaded wrong devices.list(was testing something).
I will reupload the kitchen with the correct file.
I believe this will solve your problem...waiting for your report
Regards!

EDIT :
The kitchen is updated with the correct devices.list
and I added in the 2nd post the required entries for elfins as an example.

saurabh88
12th April 2010, 01:45 AM
Ok, open up (TOOLS\CORE\)devices.list with a text editor and check the settings for Elfin.
Make use it is chunksize=1024 and then go ahead and flash your rom;)
I made a mistake there and I uploaded wrong devices.list(was testing something).
I will reupload the kitchen with the correct file.
I believe this will solve your problem...waiting for your report
Regards!

EDIT :
The kitchen is updated with the correct devices.list
and I added in the 2nd post the required entries for elfins as an example.

i have to go out of the town for work..so 3 days no net..no cooking..
man i will die without food..:o:p:p:D:D

saurabh88
15th April 2010, 09:13 AM
hey link is removed from rapidshare???:confused::confused:

kokotas
15th April 2010, 09:55 AM
hey link is removed from rapidshare???:confused::confused:

Sorry for that ... I moved my files to a new Premium account and I forgot to update the link.
It should be ok now:)

Regards!

saurabh88
16th April 2010, 01:35 AM
now everyhing works gooooooooooood..:p:p:cool:

raymondsky2
16th April 2010, 05:21 PM
I have this rom listed as below:


Touch version : Elfin
Device ID : ELF010050
CID : DOPOD601
IPL : 2.20.0002
SPL : 3.10.cmonex (Hard SPL)
ROM Version : 3.14.706.02
ExtROM Version : Cooked by dsixda
Operator Version: Onyx 6 Release 9
AKU Version : 5.5.0
Page Pool (MB) : 12
RAM Size (MB) : 128
ROM Size (MB) : 256
Model No. : ELF0100
Part Number : 99HEH062-00
SIM Unlock Code : 13788729

MCC+MNC : (No indication)


::::I tried out some hard to get compatible rom to flash my phone but still cannot sucess. Anyone can help on me to recommend best rom for me.

Thanks.

kokotas
23rd April 2010, 11:51 AM
New version is up!
It includes some bugfixes and a couple of new features(tools)...
1. DeleteDuplicates (tool : SYSduplicates.exe)
If you have this option enabled then when you build your rom the kitchen will remove any duplicates found inside SYS
Examples:
a. If you have webview.dll inside your EXT[folder] and at the same time under SYS, then the kitchen will remove the one inside SYS.
b. If you have webview.dll inside SHARED\COMMON\BROWSING and inside SHARED\COMMON\Webview then the kitchen will remove one of them.

2. SortRegistry (tool : RegistrySorter.exe)
If you have this option enabled then when you dump a rom the kitchen will sort each registry file(*.reg or *.rgu) so that it will be easier to read/edit.
(It takes a while to sort all the registry files so wait for the process to finish before you think it has failed;))

Both of these tools are on early stage of development.
If you find any bugs please report them here:)

kokotas
25th April 2010, 01:05 PM
v1.9.1.1 is up with a couple of bug-fixes!
Thanks miky6682 for helping with this update!;)

Regards!

miky6682
25th April 2010, 02:32 PM
v1.9.1.1 is up with a couple of bug-fixes!
Thanks miky6682 for helping with this update!;)

Regards!

Your kitchen is really good, you can do everythings you want with it :D:D

kokotas
26th April 2010, 06:34 PM
A new update is up!
I updated some tools but
the most significant change is the new structure of EXT Packages.
Meaning : Now you have to put your Packages inside EXT\Elfin,
either directly under EXT\Elfin or inside any subdirs under EXT\Elfin.
First post is up to date!

Regards!

kokotas
4th May 2010, 03:40 PM
Version 1.9.4.0 is up!
It includes :
1. Fixed a bug with the new Rom Tools window...
(when you dragged a file from a location which path's included space's it wouldn't work)
2. Added imginf tool to the dump process, so each time a rom is dumped you'll also get info for the modules!
3. Added option to delete empty packages when dumping a rom in order to leave a cleaner dump.
4. Reorganized the options you have on the Main Tab, so that
those that are for building a rom are distinguished from those that are for dumping.

Best Regards!

EDIT:
I re uploaded the archive on R/S cause there was a problem in the batch files(dump_rom).
I'm attaching here the correct ones for all of you who have already downloaded the kitchen.

saurabh88
6th May 2010, 01:19 PM
hey why we have to delete whole kitchen everytime for new one..
its take lots of time to rebuild and refill your new one...
i hope u will understand the problem...
we just wanna upgarde your new things...:p:p

kokotas
6th May 2010, 03:28 PM
hey why we have to delete whole kitchen everytime for new one..
Because since now except for updating the tools and apps there were occasionally some changes in the structure of the kitchen ... so if you kept the old kitchen and just updated the tools it wouldn't work!
But I think that the kitchen has taken its final form!
So maybe from now on, I'll update only the main application and the TOOLS[folder] and make our life easier:)

Regards!

saurabh88
7th May 2010, 05:44 AM
Because since now except for updating the tools and apps there were occasionally some changes in the structure of the kitchen ... so if you kept the old kitchen and just updated the tools it wouldn't work!
But I think that the kitchen has taken its final form!
So maybe from now on, I'll update only the main application and the TOOLS[folder] and make our life easier:)

Regards!

ohhhhhh thats good man....
thanx for your efforts..:p:p:D:cool:

saurabh88
18th May 2010, 05:43 PM
LONG TIME TO SEE AN UPDATE..:p:p

kokotas
23rd May 2010, 07:20 PM
v1.9.5.0 is up!
Changes:

1. If you close the kitchen it will minimize to tray.
From the tray icon you can access some kitchen's tools , browse the kitchen's folders and exit the app.

2. In order to EXIT the kitchen while it is visible just press F1!

3. If you want to check the log file which is created during building a rom click once on the Process label
http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/Captureprocess.png

4. Updated some lines inside the batch files.

5. Now the ARMS.mscr [file] must be placed inside Autorun.mscr\Elfin [folder].

6. Fixed a bug when creating a rom with ARType = mscr.

Regards!

crazy4tricks
27th May 2010, 12:25 PM
hey nice to see this update , I really appreciate your efforts to keep this kitchen updated. Because of your kitchen i am able to use my elfin with personalize roms thanks a lot :)

sasa66
27th May 2010, 10:42 PM
I was away for a while and the first thing i thought for is to look at this thread before resuming cooking

nice work and good to see it include other devices may be we can upgrade soon:)

kokotas
28th May 2010, 09:29 AM
Thank you guys for using this kitchen.
If you have any suggestions or new ideas, please post them.
Plus if you have a second device (except for Elfin) you could give it a try.
I know for sure that it supports Leos, but I just assume it works for others too.

Best Regards!

kokotas
2nd June 2010, 07:43 PM
Latest version 1.9.5.1 is up!
It is a minor update:
1. When the building process is finished it will try to delete the temp folder with a more brutal way and the size of the created rom will be displayed in MB.
2. Auto Fixing the donation.url which PRB generates each time you build a rom so that it points to : bepe's donation lnk (https://www.paypal.com/xclick/business=paypal@bepe80.de&item_name=bepe@xda-developers&no_shipping=1&currency_code=USD&country=US).:D
Check his signature here (http://forum.xda-developers.com/member.php?u=270777) for verification;)

Regards!

saurabh88
16th June 2010, 08:55 AM
hey bro what i see is only your kitchen gives me the power to extract .dio file from htc pedia by tomcodon..thanx a lot i searched a lot..
as now u can see that i have my touch diamond,i will give a shot to this great kitchen..
keep it up genius....

kokotas
19th June 2010, 02:31 PM
I've uploaded a new version (v1.9.6.0) which isn't tested yet, so be warned!
The only change is that if you "need" or want to use an old style OEM Package(with *.dsm , *.rgu , initflashfiles.txt & option.xml) you can now go ahead and put it inside the subfolder "Pkgs" under OEM\Elfin.
You should then see any packs you placed there at the kitchen's Packages Selection, from where you can select whether to include them or not, like all the EXT Packages.

Since I didn't test it yet, any bug report will be appreciated!

hey bro what i see is only your kitchen gives me the power to extract .dio file from htc pedia by tomcodon..thanx a lot i searched a lot..
as now u can see that i have my touch diamond,i will give a shot to this great kitchen..
keep it up genius....
If you need any help setting up the kitchen for your diamond just tell me:)
Regards!

kokotas
20th June 2010, 11:00 AM
I did some testings and there was a problem with v1.9.6.0 (application was hanging at startup) so I had to upload a revised version to deal with it.
v1.9.6.1 is up!
Regards!

kokotas
22nd July 2010, 12:18 PM
A new version is up!
Changes:

Bug-Fixes!
The kitchen works in two modes:
If in EXT mode then everything is as usual.
If in OEM mode then the kitchen won't use any EXT Packages!Instead it will use all the (old-style) packages you placed inside the "Pkgs" subfolder!
You may place them either directly under "Pkgs" or in various subfolders(limit=16).
(I will explain more if anyone wants to try this mode, but for now I'll stop here:))
Changed how the dump is done:
a)Instead of NBImageTool (http://forum.xda-developers.com/showthread.php?t=548315), NBHImageTool (http://forum.xda-developers.com/showthread.php?t=671743) is used to extract the NBs from the NBH.
b)I implemented my package sorter (http://forum.xda-developers.com/showthread.php?t=720741) in order to sort the xidump's dump.
Updated ImgInf (http://forum.xda-developers.com/showthread.php?t=674477), so now you can use it also to rewrite packages.cif and packages.sof!
Updated the batch files.
Updated some tools(Ext_to_mscr, SYSDuplicates).
Added right click options to packages selection:
(i)option to upx any included executables
(ii)option to compress any included pngs.
(iii)option to recmod any included modules.


Regards!

kokotas
24th July 2010, 08:53 PM
I have rewritten ext_2_mscr_pkg so now it should work for all LCIDs!
I also changed how the kitchen calls this tool.
That's why no new version number!
I just re-uploaded the entire kitchen and attached the revised files here...

Best Regards!

saurabh88
24th July 2010, 09:40 PM
Will it wirk for rhoduim?
what to do?

kokotas
24th July 2010, 10:06 PM
Will it wirk for rhoduim?
what to do?

Probably it will...
It works for my Leo, so why not for Rhodium?

Take your device's official rom(RUU_Signed.nbh or RUU_something_.exe) and place it in the BaseRom folder.
Start the kitchen.
Right click the [Dump] button & click [Prepare New Device].
Wait for the process to finish... When done, you'll have to manually move the necessary files:

Copy all generated folders (from BaseROM\) and paste them to the root folder (B2_Kitchen\) of the kitchen.
Open the generated Rhodium entries.list file with any text editor and copy all its contents.
Open the (TOOLS\CORE\) devices.list file with any text editor, and paste there the "Rhodium entries".

Only thing left will be to create the folders:
-Autorun.mscr\Rhodium\
and put inside your ARMS script(or if you don't have any just place there a dummy one)
-RELEASE\Rhodium\
-RELEASE\Rhodium\MyRoms\
and grab your device's CustomRUU from xda and place it correctly:
-RELEASE\Rhodium\RhodiumCustomRUU.exe

The kitchen should be set to go!

If you do try it, please tell me how did it go...

Regards!

kokotas
25th July 2010, 01:21 AM
I just made things easier for everyone who wants to try this kitchen for another device.
With v1.9.7.1 you can import a new device with a single click!
In fact IF you use an official ROM of type RUU_Something_.exe the kitchen will even build for you a new CustomRUU.exe!:D

EDIT:
I messed up the files and I included the wrong ones in v.1.9.7.1,
so v1.9.7.2 should be ok regarding Import of new device!

Best Regards!

saurabh88
26th July 2010, 10:03 PM
hey big brother..thanx for that.
i will try soon and tell u..

saurabh88
27th July 2010, 07:43 AM
i have done everything that is require.
extracted to c drive..
download all those c redis and netfra...
but it give me error when i press dump both ij xp and windows 7 x64.
error missing MSVCP100.dll not found try to reinstall..

i download from google and do exact to resolve the proble but stii same error.
any help plz.

kokotas
27th July 2010, 10:37 AM
Hi saurabh!
It seems that you're missing the required microsoft's Visual C++ runtime components in order to run successfully DaG's NBHImageTool, that's why when you try to dump a rom this error happens!
Try reinstalling the Redistributable Package, restart your PC and see what happens.

Regards!

kokotas
29th July 2010, 11:56 AM
An updated version is up which includes
1.Bug fix(app was crashing when [STOP] was pressed)
2.Updated ext_2_mscr_pkg to handle app.dat that is not in Unicode.

Regards!

kokotas
27th August 2010, 04:41 PM
New version is up!

1. I have included a customized RUU to perform task29 on your pda.
After selecting the Rom you want and 'Flash' button becomes active,
you can Right-Click on it and select 'Format&Flash'. This way you'll perform task29 on your pda and (IF you have entered Bootloader when task29 finishes) update the Rom image right afterward!

2. A revised version of the CustomRUU is also included.

3. Less memory leak and cpu usage.

4. New version of NbhIt!

5. Reorganized the layout:
http://i279.photobucket.com/albums/kk145/k0k0tas/B2_Kitchen_GUI/Capture.png

6. As it is shown above a Search Button is added!
You can search for files or file's content fast and easy.

7. The kitchen now comes prepared for two devices Leo and Elfin.
(Sorry for the size increase of the download but, after all, Leo is my main device so most of the features are tested on Leo)

Best Regards!

kokotas
15th September 2010, 11:46 PM
New version includes:
1. Fixed bug with list of files(mscr, xml, cpr, provxml)
2. Updated OSPS tool (a minor update)
3. Added a very simple PRB error check & report = In case of errors like overwriting or invalid registry entries you will be informed at the end of the building process.

Regards!

add2shaik
19th September 2010, 07:00 PM
I tried so many time making my own ROM. As many time I tried that many times I failed. :mad:

kokotas
24th September 2010, 03:39 PM
New version is up:
1. Changed -SYSduplicates option
Now if you tick DuplicateCheck box then the building process starts with the kitchen searching for duplicate items.
If duplicates are found the process will stop and you can see a list of them inside build_rom.log in order to manually find and remove them so that you can rebuild your rom without PRB errors.

Warning: If you don't download the entire kitchen but only the *.exe make sure to edit the build_rom.bat accordingly and delete the below lines:
:: The following code deletes any duplicates files found inside SYS
IF "%Duplicates%"=="1" (
echo.Removing any duplicates from SYS folder...
if "%pkgsort%"=="1" (
TOOLS\CORE\SYSduplicates.exe /p:TOOLS\pkg\SYS.bak /b:%ROMBUILD% /c:%DEVICE% /l:%LOCALE% /d:%DPI% /r:%RES% /s
) else (
TOOLS\CORE\SYSduplicates.exe /p:TOOLS\pkg\SYS.bak /b:%ROMBUILD% /c:%DEVICE% /l:%LOCALE% /d:%DPI% /r:%RES%
)
echo.
)
I tried so many time making my own ROM. As many time I tried that many times I failed. :mad:
What exactly did you do?
I mean what steps did you follow and which rom did you use for your base?

Regards!

kokotas
4th October 2010, 07:30 PM
New version is up @ 2nd post.
Change Log:

Updated some tools
Updated batch files
Added ability to use a RamDisk for dumping and building processes(meaning that you can have the BaseROM and temp folders on the RamDisk).
You can use your own 3rd party software or the driver that comes with the kitchen(ImDisk).
I have ONLY tested ImDisk under Win 7 Ultimate 64bit, but it should work ok with other Win distributions.
If you try this feature be careful with its settings:

The Letter that will be assigned to new Ramdisk shouldn't be in use by other drive.
The Size should be less than 50% of your FREE RAM but enough to hold all the files that get copied/created.
(i.e. For building a complete Leo Rom I use 1.5G RamDisk while my whole RAM size is 4G and I've got 3G FREE RAM)

It is a very helpful feature, because
firstly the speed is improved and
secondly the hard disk fragmentation is less.
Kitchen comes within a setup app and not in an archive.


**Don't update the old installation, but install the new one or else you'll get errors**

Regards!

EDIT:
1st Page is revised and totally changed in order to make things more clear!

kokotas
7th October 2010, 08:33 PM
New version is up!
TO DO:


Categorize SYS Packages by device to handle issues with recmodded modules when the same build is used for a device with 6.5 nk and for a device without a 6.5 nk.
Check *.reg files for errors before building.
When importing a new device create a Task29.exe along with the CustomRUU.exe.
Fix any existing bugs.

Instead of categorizing SYS Packages by device I have added an option to reversemod the same files that were recmodded if you have used the RecmodSYS option earlier.
If you right click the "Packages Selection" Label you have the option to check ALL included registry files for errors.
The time of this operation depends from the number of registry files, so give it time to finish if you have a lot of packages in your compilation.
When importing a new device a Task29.exe IS created along with the CustomRUU.exe.
Fixed a couple of bugs (a.Regarding AutoRecModSYS option, b.Regarding RamDisk, c.Regarding kitchen's behavior when changing selected device).
Total time of processing should be shown at the end of each building/dumping process.
So you could compare results with and without a RamDisk.
i.e. a complete Leo Rom (~230 MB) took on my machine (AMD Athlon 64 X2 3800+ @ 2GHz with 4096 MB Dual Channel RAM @ 200MHz)

3min & 33sec to be compiled WITHOUT a RamDisk
1min & 3sec to be compiled WITH a RamDisk


Regards!

propsia
11th October 2010, 07:14 PM
@kokotas
i have succesfully created the rom for htc elfin using your kitchen but there was problem with the OEM can you tell me that which files are neccesary for the rom in the OEM folder or can you upload only the OEM folder of the htc elfin please

or you can give me the list of files to be included in the OEM package necessary for the rom cooking

kokotas
13th October 2010, 12:18 PM
New version is up.

Changed the program's layout - No more Addons Tab! All the additional tools are more accessible from the main window.
ALL buttons that support Drag n' Drop function are paint dark gray to be distinguished from the others.
Added new option when you right click an EXT Package:
If your pda is connected you can install the selected package to it.
Added new option to easily install a cab to your pda just by dragging n' dropping the cab file on the [InstallCab-->PPC] button.
Added options for controlling your connected pda:

Reboot your device.
Enter Bootloader.
Display a list of processes currently running on your device.

Added new option when you right click inside the Build text box in order to read/write packages.cif/.sof.
Removed some of the addons(Duplicate Finder, PatchShell32).
Fixed the tray icon bug.
Added option to uninstall the kitchen in Advanced Settings Dialog.
Added OpenNETCF library and some of the itsutilsbin tools.

kokotas
13th October 2010, 12:36 PM
@kokotas
i have succesfully created the rom for htc elfin using your kitchen but there was problem with the OEM can you tell me that which files are neccesary for the rom in the OEM folder or can you upload only the OEM folder of the htc elfin please

or you can give me the list of files to be included in the OEM package necessary for the rom cooking

I think that the advisable process you should follow is:

dump an official shipped rom
rebuild it
flash it
check that everything is working

Then if everything is OK, you have found your Base Rom and you can start

adding/removing packages
updating build version

Common Rules:

Don't change too many things at once because if you have any problems you won't be able to track their cause
Create a backup of each successful Rom compilation before changing things all over you kitchen
Search in this site for any issue you might have with new builds. There are many fixes floating around


That being said, I'm attaching some files you might find useful, BUT have in mind that these were part of my OLD rom compilation (I don't cook for my Elfin anymore but when I cooked I preferred to build very lite versions=many files removed) and if you use them "as is", you might have problems.

Regards!

vasujahagirdar
15th October 2010, 11:45 AM
hi, everyone here,
im trying to my own rom on my elfin , i m new to cooking,im searching compatible mega package.i tried to dump 2 to 3 stock mega roms and extracted the ext.packages and used them.but few application like longpress end key,power.exe, poweroffwarning are not working so plz help ,where can i get the most compatible packages.
thanks

kokotas
17th October 2010, 06:32 PM
hi, everyone here,
im trying to my own rom on my elfin , i m new to cooking,im searching compatible mega package.i tried to dump 2 to 3 stock mega roms and extracted the ext.packages and used them.but few application like longpress end key,power.exe, poweroffwarning are not working so plz help ,where can i get the most compatible packages.
thanks

Hi,
If I remember correctly I think you should use the HTCUtil from an Elfin Rom in order to get some of the other packages to work.
Try and tell me if you still have those problems...

Regards!

vasujahagirdar
18th October 2010, 06:55 PM
Hi,
If I remember correctly I think you should use the HTCUtil from an Elfin Rom in order to get some of the other packages to work.
Try and tell me if you still have those problems...

Regards!

Hi thanks for replay.yes im using the same HTCUtil frm elfin though the power setting works when i open it frm taskbar,but power icon is not appearing in system folder.
and what about long press end key??how to set new HTC Calculator default and overwrite the one present in microsoft build??
and another one,im getting Managed programe,Display switch application in system,start menu section respectively which i dont want how to delete them?