yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] OndraSter:
OK. BenQ E72 can't be supported without touching any other tools. These older tools (BuildOS) doesn't know the new cool features like the new ones (platformrebuilder), but on the other hand, prb is oriented on HTC. The same applies to the iPaq!

I'm leaving it in my kitchen (deactivated, but with full sourcecode that works except external tools), maybe someday in the future I'll add some fallback for BuildOS.

Anyways, here goes version supporting Jade (1.4 RC2.4/29).:)

(No need to upload it for me, I already got it from another site.)
[Windows Mobile Software Development] af974:
Finally ive cooked a Kaiser Rom with Mega packages,but ive found a weird problem: Memory storage 90 mb....in use 89,5mb LOL....any advice on what i did wrong :confused:

ED: the strange thing is not the used mem, cuz ive cooked it with XPR, but the total memory...with the same build (21884) but different EXT packages i have 132 mb of total memory.
[Windows Mobile Software Development] hskeik:
Thanks.

It happens when I start the program,

what is the right tree structure ?
[Windows Mobile Software Development] Twincam:
Please add HTC JADE device to your kitchen. I like to cook CSY ROM and you're the only one who can help me .. Thanks in advance
[Windows Mobile Software Development] OndraSter:
Already done. I'm just not sure if it has record in htcrt_devices.ini
[Windows Mobile Software Development] Emrulez:
The ipaq uses .dio! here is the latest kitchen:

http://xdaforums.com/showthread.php?t=501822
[Windows Mobile Software Development] OndraSter:
Like I said, platformrebuilder is built for HTC's way of handling modules etc, so it will probably fail on this, just as it fails on nk.exe from that BenQ. I can add it without problem (flash.dio is renamed os.nb, the device is NOR always right?) but it probably won't work with these tools. But, who knows, it might :).
[Windows Mobile Software Development] KilZone:
There can be numerous causes for that, but I can't be sure at all. First the PagePool might be different, which is taken of your RAM (however 42MB PagePool is quite large). Also some modules only run in their own (kernel) space, also taking your ram, you can solve that by recmodding them back to WinMo 5.0 'files'. And last but not least, it might be just a bug in the registry... something has overwriten the total amount of RAM availabe. Not sure though, do you have a list of modules that differ from before?
[Windows Mobile Software Development] KilZone:
I already written this once for someone who asked the same question for the BlackStone specific.

_Compress

EXT

* Categories *

MSXIPKernel

* Build *

NK

BlackStone

* Native Kernels *

OEM

BlackStone

ROM

BlackStone

XIP

MSXIPKernelLTK

OEMXipKernel

Stuff

BlackStone

SYS

* Build *

0409

All

Common

If you are not using the BlackStone, just change everywhere it says 'BlackStone' to the name of your device.
[Windows Mobile Software Development] trinest:
Could work with some tweaking I imagine?
[Windows Mobile Software Development] OndraSter:
Only with using old BuildOS + WMReloc it might, but that's a long run, since it doesn't know EXT etc...
[Windows Mobile Software Development] af974:
Thanks for reply Kilzone,

PagePool is always set to 0 and ive Recmoded all the Mega EXT package.....so yes i was thinking the same as you , some Reg key are bugged or maybe a proxvml that ive added, but im not sure which one,lol.

Ill make some new test in this weekend.

Thanks
[Windows Mobile Software Development] Twincam:
[WM Kitchen] osKitchen - Easy Visual Kitchen - now added

JADE

[10 Dec]

Thanks, good work, you go into it full .. Really .. I'm going to cook a ROM there, so I hope it works out for .. thanks again :-) :-)

First observation: I had to add the following to htcrt_devices.txt

[Devices]
Jade = 1

[Jade]
Experimental = 1
ModelId = JADE100 **
SignMaxChunkSize = 64
RomSections = 4, "0x200, SPL, 262144, TRUE", "0x600, Splash, 262144, FALSE", "0x301, Radio, 17563648, TRUE", "0x400, OS, 0, FALSE"

I would like to ask you, add a new build (28xxx)? But I would like to be much :-)
[Windows Mobile Software Development] af974:
Im having a strange issue with osKitchen:

When i cook in LZX the phone won't boot....with the same Kitchen but in XPR all works fine.

Any suggestion?
[Windows Mobile Software Development] saurabh88:
Elfin also

Plz add elfin.............

Waiting eagerly..

Nice work....:d:d:d:d:d:d:d
[Windows Mobile Software Development] Raptordin:
Don't know why but Iam constantly getting platformrebuilder c++ erros although I do have c++ 2005 and 2008 installed.

I Wouldlove to know what is the problem.

Using Windows 7 x64 and had installed both x64 x86 versions and after All the errors I removed the x64 version and still to no evail.
[Windows Mobile Software Development] OndraSter:
What errors?

I have instaled MS C++ libraries both x86 and x64.
[Windows Mobile Software Development] OndraSter:
Send me latest 6.1/6.5 shipped ROM.
[Windows Mobile Software Development] jiri.cech:
Pleeeease add support for HTC Artemis. :)
[Windows Mobile Software Development] OndraSter:
I knew I should have written that to first post...

When you want to add any device, send me official WM6.1/6.5 shipped (preferably WWE) ROM so I can dump it and prepare it!
[Windows Mobile Software Development] af974:
Anyone has problem with LZX compression?

No visual error or some error code.....phone just wont boot.
[Windows Mobile Software Development] canojs:
Ok my Sprint TP2 won boot with LZX compression...
[Windows Mobile Software Development] theglen35:
Error

Hello everyone,

Can anybody tell me why i am getting these 2 errors. See attachments.

Thanks
[Windows Mobile Software Development] Raptordin:
I have this same error and another one where platformrebuilder Crashes.
[Windows Mobile Software Development] OndraSter:
Raptordin: which device?

For me LZX works fine, I have actually never tried XPR lol.
[Windows Mobile Software Development] af974:
Ive tried with another build and OEM but the phone wont up again.

I used TPC kitchen to compare and LZX gave me no problem the phone boot regolar,lol
[Windows Mobile Software Development] OndraSter:
weird

try these os.nb.payload and romhdr.bin
[Windows Mobile Software Development] Raptordin:
My Device is Blackstone.
[Windows Mobile Software Development] KilZone:
Judging from the two photos you uploaded your osKitchen crashes as soon as PlatformRebuilder runs, after which no os.nb is created and thus HTC Rom Tool can't build the NBH file. All this happends only if the modules you add are incomplete or incorrect. To fix this, which is quite easy, you need to correct all the packages you have!

Now this can be a lot of work so I'll save you some time and give you procedure that gives a relatively fast fix for this. You need to create a new ROM with ONLY the SYS and OEM activated (no EXT). If the PlatformRebuilder crashes your SYS contains the error, otherwise the EXT.

Now ass you have no 'PlatformRebuilder Log' in your kitchen when it crashes my guess is that it really is your SYS, so it should crash immidiatly again.

Anyway, now comes the 'hard' part, checking your SYS. Every SYS package should look like this:

* name * [_DPI* dpi *(_RESV_* resv *_RESH_* resh *)]

FileName.DLL

imageinfo.bin

S000

S001

S002

S003

S004

FileName.EXT

Where the 'FileName.DLL' is a module and 'FileName.EXT' is a file. Inside a SYS package multiple modules and files may be present. However the filenames may NOT differ from what is said above. It is likely you have (at least) one package in you SYS that looks like this (example BaseAppsModules):

BaseAppsModules

imagelib.dll

pimdlg.dll

pimgdll.dll

Folder

In other words you have a folder inside the SYS package that shouldn't be there, probably with content too. So PlatformRebuilder can't convert it to a module and so it crashes...
[Windows Mobile Software Development] saurabh88:
still waiting for elfin......:( :) :D
[Windows Mobile Software Development] OndraSter:
@saurabh88

Added right now into kitchen, I was having trouble getting romhdr.bin because xidump crashed on all RUUs I tried from Elfin lol. I got it from someone's kitchen hehe (thanks to him, I don't remember whose was it).

@af974

I'm sorry, I don't have any clue. Try setting up kitchen from basement.

You're cooking for Kaiser right? I'll dump some latest WWE ROM and get all payload, romhdr, OEM and XIP from it and upload it for you.

@Raptordin

It can cause almost any module, try removing SYS modules (let there just METADATA) and keep adding till it works. It can also be XIP, so try playing with it too.

I'm planning to prepare all OEM+XIP+all this for every device, I have currently uploaded to 4shared the few newer devices, MEGA, Leo (even though they don't have HSPL+SSPL ready yet) and Elfin are on their way.
[Windows Mobile Software Development] Raptordin:
Thanks, Can't wait for a ready package. :)
[Windows Mobile Software Development] annamanicomio:
Error

When i start the application on Win xp sp3 returnt error:

There was an error in osKitchen. application will be closed
[Windows Mobile Software Development] saurabh88:
thank u sir....waiting for the files to be uploaded...:):)
[Windows Mobile Software Development] theglen35:
Thanks for your reply and suggestion but i still have the same problem. I replaced all the lang,dpi and common files with ones i used in another kitchen and still the same. And i did not use EXT so i just don't know.

Any other ideas?
[Windows Mobile Software Development] OndraSter:
When it crashes go into BUILD folder and see if there are any problems like missing files in XIP etc.
[Windows Mobile Software Development] KilZone:
Right now only one, but that only happens if the other kitchen is either not using PlatformRebuilder or an OLD style kitchen (or in some extreme cases an older version of PlatformRebuilder I guess, but that did not happen to me). If can be that the modules are 'correct' but there is a slight variation in the imageinfo.bin and *.txt file which is incompatible with the current parameters used on PlatformRebuilder.

I'm not sure of this, but it might be helpfull if you upload the list of files in the 'Build' directory here, so we can take a look. You can do this by building a ROM and right after it crashes go into the 'Build' directory. Once there open command prompt (Windows Vista and up: Shift + Right Click, there should be an option 'Open command window here') here and enter the following line:

dir /s > folder.txt

This will create a file called 'folder.txt' containing all files and folders inside the 'Build' folder. This file can be quite large and it can take a while before the command finishes, but after that you can upload it here. It should contain some info about where it crashes on.
[Windows Mobile Software Development] KilZone:
At first glance the PlatformRebuilder crashes on your XIP rather than the SYS, since there is no evidence it's actually gettin there. It's not copied, however I need to check it a little further, will be the end of the day for me...

Directory of C:\Users\GLEN\Desktop\New Kitchen\osKitchen-v1.4-rc2.4\base\build\temp

13/12/2009 04:40 PM <DIR> .
13/12/2009 04:40 PM <DIR> ..
13/12/2009 04:40 PM <DIR> dump
13/12/2009 04:40 PM <DIR> xip
0 File(s) 0 bytes

Directory of C:\Users\GLEN\Desktop\New Kitchen\osKitchen-v1.4-rc2.4\base\build\temp\dump

13/12/2009 04:40 PM <DIR> .
13/12/2009 04:40 PM <DIR> ..
0 File(s) 0 bytes

Directory of C:\Users\GLEN\Desktop\New Kitchen\osKitchen-v1.4-rc2.4\base\build\temp\xip

13/12/2009 04:40 PM <DIR> .
13/12/2009 04:40 PM <DIR> ..
0 File(s) 0 bytes

Total Files Listed:
1790 File(s) 67,805,332 bytes
1757 Dir(s) 15,197,315,072 bytes free
[Windows Mobile Software Development] ivanmmj:
What do you need to create support for the following devices:

Herald

Hermes

Artemis

I want to mess around with it seeing as VK is dead as far as development goes, but you only support the Opal as far as devices that I currently make a kitchen package for.

Let me know with what I can help with.
[Windows Mobile Software Development] OndraSter:
I need shipped WM 6.1 Roms so I can dump them and adjust kitchen for them.
[Windows Mobile Software Development] saurabh88:
if u can please upload to mediafire....or

rapidshare
[Windows Mobile Software Development] annamanicomio:
May have a SYSes packed for kitchen for wm 6.5 build 28014.

Thanks
[Windows Mobile Software Development] bobsbbq:
Thanks for your kitchen, I was able to get it working after deindexing the folder of the kitchen.

I still have the error There is no Device found to meet the project configuration. Please try to update your device configuration file.

I was able to build it by renaming the OS.nb before clicking ok. If you click ok it deletes the file and you can not run htrc manually.

There are 2 comments or suggestions I would like to make in my early stage of use.

1. Don't delete the OS.nb if htrc device config is not found. This way the user can still flash it manually.

2. It would be nice and more friendly on the eyes for us older people to have a highlight on packages that are selected. Also maybe a font size configuration. And a full screen option.

I sent you a PM about i780 from some of the things reported in this thread it may not work.

I'm using a Blackstone WM 6.5
[Windows Mobile Software Development] bobsbbq:
I use Xtendir.dll which is located in OEMXipKernel but when I cook with your kitchen is does not get included.

Do you have any idea why it is not being included?
[Windows Mobile Software Development] ivanmmj:
I'll try to put some together this week. (Or how about already dumped shipped ROMs? Dumped with EVK.)
[Windows Mobile Software Development] KilZone:
I attached the htcrt_devices file I use for cooking (also BlackStone) and working perfectly. You need to rename it to INI as I uploaded it as TXT (since for some reason XDA doesn't allow INI files).
[Windows Mobile Software Development] jagan2:
I have got the following things installed in my pc:

1. Microsoft .NET Compact framework 3.5

2. visual c++ runtime 2008 downloaded and installed from the link http://download.microsoft.com/download/1/1/1/1116b75a-9ec3-481a-a3c8-1777b5381140/vcredist_x86.exe

3. MSXML 4.0 SP2 Parser and SDK

But when i try to run oskitchen in win 7 as well as in xp with and without run as administrator it gives the error that osKitchen has stopped working how to run it successfully plz tell i have downloaded rc2.2
[Windows Mobile Software Development] bobsbbq:
Thanks I'm trying it now. Do you include the .ROM from SYS in your build? I took out .VM

EDIT: Now it works Thanks.

Still don't know about Extendir.
[Windows Mobile Software Development] kane159:
hello :) grate work, ant chance to support Trinity??

I'll like to use it, I', using EVK for now
[Windows Mobile Software Development] OndraSter:
That should work too, but I also need if it is NOR device or how big are data chunk and extra chunk for NAND devices etc, which is what I get from dumping it myself (plus romhdr.bin and payload which I always resize) :).
[Windows Mobile Software Development] KilZone:
Your folder structure is not correct, it will crash the kitchen straight away if it isn't. Please read this about how your folder structure should be, but replace 'BlackStone' with the name of the device you have. Running with Administrator rights is only necessary at build time, since some tools require it.

I do not include .ROM and .VM in my builds, they are not really required, though I haven't noticed much difference. ExtenDir doesn't work here either, it once did for me in EVK. I haven't used it much, but I do like it very much, I need to take a look at that more closely as my FileSystem Performance is awfull (Graphics Index is great though!).
[Windows Mobile Software Development] theglen35:
Have you figured out anything yet my friend?
[Windows Mobile Software Development] KilZone:
Your kitchen's structure is correct, so that shouldn't be a problem at all. However I find it currious that none of your modules have any sort of imageinfo.bin or imageinfo.txt files. This makes me suggest that the modules are faulty and actually causing the 'crash' of PlatformRebuilder. Can you download a clean SYS from the topic in Windows Mobile Development? I think this should solve your problem... however the rest all seems perfectly fine, except for the crashing part.
[Windows Mobile Software Development] bobsbbq:
I have a fully working and stable XIP with Extendir. I have been working with it for months, well since the begining. I have used it in all my ROM's in the last 5 Releases. It just took some very careful editing and filter order arrangement, and removing some thing that were not needed and causing issues. I only use the XIP version. And the good new Version 2 should be in beta in the next couple of days.

I hope OndraSter can look in to it, and determine why it is not included.
[Windows Mobile Software Development] jagan2:
Thank you for ur guidance, before starting using this kitchen i just wanted to see the interface. Oups ok now i will do it once again thank you :)
[Windows Mobile Software Development] jagan2:
@kilzone according to ur guid i made a kitchen structure as follows (my device- opal) but still its not working why can u see whether its correct or not

Folder name: Kitchen-1.4-rc2

Folder contents:

_Compress (Empty)

EXT

Opal_External_Packages

MSXIPKernal

Build number

MSXIPKernal of new build

NK

Opal

old

define.txt

OEM

Opal

OEM

ROM

Opal

XIP, os.nb.payload, romhdr.bin

Stuff

Opal (Empty folder)

SYS

Build number

0409, All, Common (all folders are empty)

Tools

Contains tools

And last oskitchen

still not working solution?
[Windows Mobile Software Development] erups:
Hallo Ondraster.

I have one tiny (you bet!) request: would you please integrate an error handling layer in your kitchen?

Like saying "i am crashing because you're so stupid you didn't put file XXX in the folder YYY" :p

It's really frustraing not to know why the program crashed every time.

I know it's not a 2sec editing of the source, but imho it would be so much better.
[Windows Mobile Software Development] KilZone:
Oops, maybe I should have made the list more clear / complete. You forgot the basic structure of the kitchen itself, what I posted is just the content of the Sources folder, here is the complete structure (edited version for Opal, scroll down):

build

Flash

Kitchen

Projects

Sources

_Compress

EXT

* Categories *

MSXIPKernel

* Build *

NK

* Device Name *

* Native Kernels *

OEM

* Device Name *

ROM

* Device Name *

XIP

MSXIPKernelLTK

OEMXipKernel

Stuff

* Device Name *

SYS

* Build *

* Language Number *

All

Common

Tools

osKitchen.exe

Alright this should be the basic structure of your kitchen. All

underlined

folders you should avoid touching too much as they contain irrelevant information for you as ROM developer at this point (just required for the kitchen to run). The other type of folders bold face and italic ones you use more, but you might all know this.

Alright assuming you want to cook for the Opal, and you have Windows Mobile 6.5.3 build 28008 WWE, your folder structure should look like this:

build

Flash

Kitchen

Projects

Sources

_Compress

EXT

Opal Packages

Mega Packages

Custom Packages

MSXIPKernel

28008

NK

Opal

Default

Old

define.txt

OEM

Opal

ROM

Opal

XIP

MSXIPKernelLTK

OEMXipKernel

Stuff

Opal

SYS

28008

0409

All

Common

Tools

osKitchen.exe

The folder content should all be clear, however here is a small summary. MSXIPKernel\28008\ contains the MSXipKernel found in the dump of WinMo Build 6.5.3. OEM\Opal contains the OEM dumped from your device (altered the way you like). ROM\Opal\ contains twoo folders, OEMXipKernel with the dumped OEMXipKernel from your device and MSXIPKernelLTK which is required but empty. SYS\0409 contain all packages having Lang_0409 in their name, SYS\Common everthing without Lang|Resv|Resh|DPI in their name and SYS\All the rest.

Hope this helps!
[Windows Mobile Software Development] OndraSter:
I think I have it - you use Sources\ROM\<device>\XIP\MSXIPKernel instead of Sources\MSXIPkernel\<version> - it allows you to have more MSXIPkernels ;).
[Windows Mobile Software Development] OndraSter:
@jagan2

I put in post #2 prepared Sources folder for few devices including Opal. Download it, it has prepared ROM, NK and OEM with shipped ones (from OEM I took out default packages like Manila etc) and extract it to root of the kitchen. Then add your SYS and MSXIPKernel and EXTs and you are ready to cook.

@erups

Yes I can, these parts of loading are from the first versions, I haven't touched them till that day lol. I'll add it, you can still look into "Details" when it crahshes and it should trace the error and you'll see there like "loadOEM" method etc till I add it :).
[Windows Mobile Software Development] ivanmmj:
I included the following for the Herald, Artemis, and Hermes:

info.txt (which includes the chunk size among other things)

The payload

romhdr.bin

xip.bin (I don't know if you provide the OEMXIPKernel in your kitchens, so I included it, just in case.)

edit: Forgot to mention that the Hermes is a 6.5 nk. (The files that I have are 6.5, I don't remember if the files that I gave you are, though.)
[Windows Mobile Software Development] ivanmmj:
It looks like your htcrt.ini has to be updated to work with the newer devices. (Or does the main exe file take care of that?)
[Windows Mobile Software Development] bobsbbq:
That is another question I had the ferom.htcproj file is not visible to edit. How can I change the Version ID to what I want.

I will try the mention above for the Extendir tomorrow.
[Windows Mobile Software Development] ivanmmj:
I don't have an Opal to test with, but I tried building a ROM for the Opal with this and it failed at creating the os.nb.

In EVK, to get proper support for the Opal, I had to change:

..\TOOLS\implantxip.exe -xip xip.bin -payload OS.nb.payload -imgstart %imgstart% -%uldr% -pp %pp% -%nocert%

..\TOOLS\IMGFS\ImgfsFromNb.exe OS.nb.payload imgfs.bin

..\TOOLS\IMGFS\ImgfsFromDump.exe imgfs.bin imgfs-new.bin

..\TOOLS\IMGFS\ImgfsToNb.exe imgfs-new.bin OS.nb.payload OS-new.nb.payload -bigstoragemove

for

..\TOOLS\IMGFS\ImgfsFromNb.exe OS.nb.payload imgfs.bin

..\TOOLS\IMGFS\ImgfsFromDump.exe imgfs.bin imgfs-new.bin

copy nul xip0.bin > nul

"..\tools\nbwork" -b ..\tools\os-hdr.nb OS-new.nb.payload xip0.bin xip.bin +1 imgfs-new.bin

echo.
..\TOOLS\implantxip.exe -xip xip.bin -payload OS-new.nb.payload -pp %pp%

And to be able to change the Pagepool on the native 6.5 nk for the Hermes, I had to change:

..\TOOLS\implantxip.exe -xip xip.bin -payload OS.nb.payload -imgstart %imgstart% -%uldr% -pp %pp% -%nocert%

to:

..\TOOLS\osnbtool -ap xip.bin %pp%MB -y
..\TOOLS\implantxip.exe -xip xip.bin -payload OS.nb.payload -imgstart %imgstart% -%uldr% -%nocert%

I just ended up modifying the script to automatically detect which device it was working with and running the different commands depending on the device.
[Windows Mobile Software Development] bobsbbq:
Do you mean OEMXIPKernel? That is where I normally put it.

Are you saying I should change my OEMXIPKernel to outside the XIP folder?