yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] magicman0:
Sorry guys, I'm a complete noob at this stuff, so if I say something stupid, please correct me.

I'm trying to make my first rom for my HTC Raphael. Something doesn't feel right about this process, so I just want to make sure I'm doing it correctly.

1. Download stock rom for att fuze(this is windows mobile 6.1)

2. Extract the RUU_signed.nbh

3. Run osKitchen.exe as admin(on win 7 32 bit)

4. Import the RUU_signed.nbh

5. Then download Build 23529 and place it in the correct folders

6. Select Build 23529 from the drop down menu and add my own packages and stuff.

Is that the correct way to make a rom for my raphael? I'm doubting myself because it feels wrong to dump a 6.1 rom and use 6.5.x sys and xip.

EDIT: When I tried to dump the stock Raphael ROM, I got a couple error messages for different files, but the same reason. The message is attached.
[Windows Mobile] secc123:
Hey magicman0, Try moving your kitchen to the root of your drive (ie: C:\Kitchen) instead of c:\users\***\desktop etc etc). If you have only a WM6.1 NK then you'll have to recmod your SYS files but there is a WM6.5NK available for the Raphael so put that in your kitchen and then you don't need to bother recmodding stuff.

FYI: You can still cook WM6.5 with a WM6.1 NK.

Secc
[Windows Mobile] magicman0:
can someone direct me to a Raphael WM6.5 NK please
[Windows Mobile] Wolde:
Hi guys, thx for this great looking kitchen.

I'm just another noob around here searching around hd2 forums to find myself a good looking and up-to-date rom. But since my taste seems abit different then others I can't really find anything that suits me perfect, and lets add the fact that Im swedish and it would be a nice touch to be able to have the rom in swedish aswell.

This brings me to one conclusion, to try cook something myself. Now I downloaded this kitchen and a latest sys packages, also download the new 2.10 rom t-mous for hd2.

Heres where the problem starts, first (dont know if this is a real error) the kicthen notifies me about some folders missing but since you could continue anyway I didt understand what the program was looking for.

Next issue, and this really is an issue (atleast for me that aint that hightech that I understand error codes and where the problem is). I get this message "System.ComponentModel.Win32Exception: cannot find file at ...." theres obviously a whole lot of files it cannot find. I google searched and found out that this was connected to .net framework and visual basic etc etc so i tried to reinstall it .net framework 3.5 sp1 still no progress. Oh almost forgott, this error is poping up after I choose Leo as modell and the new t-mous rom as ruu update file. So what can i do?

I'm running on a laptop with a vista x64 os and saw that i had a whole bunch of c++ runtime of different versions autoinstalled from windows update. Maybe thats the problem that they cant communicate and just gets crashing?

Anyway another note is that even if I gett this error i can proceed to the kitchen but without any model name or native kernel etc, it hasnt been loaded so my only option is the newest sys that I got and can change how ever i want to.

I've alot of questions I know but i just want to get it running so I can try different things when Ive got the time.

Thx in advance, urs sincerely Wolde!
[Windows Mobile] ivanmmj:
You're going to need some changes to be able to change the native 6.5 Hermes kernel's Pagepool. For some reason, normal pagepool changing tools don't work with it.

Here's the changes I made to EVK to make it work:

Original Code:

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

Modded Code for Hermes:

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

I attached osnbtool.

Sometimes, I wish you both gave me access to the code so I could upload changes. ^_^
[Windows Mobile] OndraSter:
Believe me, the changes aren't that easy as you might think:D.

I don't like sharing code because then there is somebody with some issues only one version from somebody, then somebody else with something different etc etc... And doing this is HORROR:D.

I can add it to oldGUI if anyone interested still in it :).
[Windows Mobile] ivanmmj:
How big is the source code? If it's not massive, you can set it up in a GIT or something similar then the changes can be done on the GIT and propagated among all the developers. But then you have to be careful that one guy doesn't screw up the whole tree.
[Windows Mobile] OndraSter:
Not sure how about the New UI one, but old GUI has about 5000 lines total splitted into about 30 files (mostly devices)..?
[Windows Mobile] ivanmmj:
How big is the whole code size wise in your hard drive? Sounds doable. The only thing would be that there are a lot of other files that you include that aren't code.

The other problem is that you have two different projects now since the new UI has changed so much. I suppose you could make two trees and set it to share certain files (device files) and keep everything else separate. So one change to a device on one kitchen would propagate to both.
[Windows Mobile] OndraSter:
Nope, even devices are different now.

The main problem is - I don't want to make the source public...:rolleyes:

The next kitchen I'm working on (having a pause because of another school project) will not be shared with anybody at all. It will be locked just like Apple's iPhone :D.
[Windows Mobile] ivanmmj:
You don't have to make the kitchen public. But it would have made things easier for you two when sharing code. But if even the devices are different now, there's no reason for it anymore.
[Windows Mobile] af974:
@ airextreme

since that "hide beam" is present in tweaks , is it possible to have " redirect owner setting" too?

It happens that when you cook a rom you dont have Input Method in Setting\Personal, only with a reg tweak you can have it again.

thanks.
[Windows Mobile] is_david:
Does anyone knows what might cause this error?

Some of files encountered inside project was not found:
.\FLASH\os-new.nb

Thanks.
[Windows Mobile] bobsbbq:
Still no response on Why I can't flash a Radio with the ROM for Leo?
[Windows Mobile] OndraSter:
Have you tried deleting FLASH\ferom.htcrtproj file to let kitchen generate new one?
[Windows Mobile] af974:
Use search next time Ondra :D http://xdaforums.com/showpost.php?p=5650948&postcount=372...sorry im jokking:)
[Windows Mobile] is_david:
Thanks OndraSter,

It helped... :)

Sorry if it was discussed before, i tried to search for my specific error with no results.
[Windows Mobile] Corias:
Thank you airxtreme, this kitchen is the best cooking tool i've seen ever for my Toshiba. Works perfectly, but i have some improvements to suggest:

1. CAB to EXT converter - clone app.dat to different MUI subfolders and substitute %Programs%, %Autorun% and other variables basing on values for specific locales. Otherwise, when you cook rom for any locale except 0409, it takes additional time to correct manually shortcut paths in all EXT packages.

Here i can help with text values for 0419 locale:

%Start menu%=\Windows\Главное меню

%Programs%=\Windows\Главное меню\Программы

%Games%=\Windows\Главное меню\Программы\Игры

%Autorun%=\Windows\Автозагрузка

%Fonts%=\Windows\Шрифты

2. Toshiba G900 specific - optional conversion for SD card upgrade after cooking. It's unsafe but the only way to upgrade ROM if USB is malfunctioning.

Such standalone tool, UpdateXLD, already exists. Here is its topic: portegeclub.com/forum/viewtopic.php?t=2268 and here you can download it: multi-up.com/205530

The tool has following command line interface:

updatexld.exe %original xld path% %source image path% %new xld path%

All paths can be either relative or absolute.
[Windows Mobile] airxtreme:
I think it's because some OEM/XIP files have to be removed but I have no idea of which ones, somebody else in this thread got the rhodium ROMs working so I think it's not a kitchen's problem. If you find something out let me know.

What do you mean?

Doing that is correct but usually there are incompatible drivers or applications that could cause trouble. Also remember that new wm6.5 wants a new initflashfiles.dat file (rom DA_G thread)

Please give me the link to that stock rom.

Please link me the download for the ROM you tried to import, I'm using win7 x64 too so the kitchen should work fine.

osnbtool is already included in the newer versions, I was looking to replace implantxip directly with osnbtool but I still have to figure out if what the -imgstart -uldr and -nocert switchs do is still needed and if it is how to replace those functions.

Those are two keys in controlpanel to delete right?

But CAB to EXT uses CAB2OEM and I'm pretty sure it leaves no variables to replace in the file.

I can't include a 50mb tool with the kitchen, it's too big also you can easily automate the XLD creation process by using a .bat file since it's almost instantaneous so I don't really see the point.
[Windows Mobile] Corias:
Well, i'll try to make some BAT executing after CAB2OEM for simple app.dat copy and in-file substitution by mask. When complete, i'll put here the source, maybe it will help.

Most of its weight is an original TF__ORCA.XLD image, the tool itself weighs 11.4 kB. Best to do is not to include it in tool and do a check if an image exists instead, if it doesn't exist - display a message with a hotlink to download an image, leading to some free FTP host (if it's unsafe, i can upload it to my own FTP).
[Windows Mobile] ivanmmj:
The ULDR removes the ULDR partition (used for windows updates that never come) and gives the ROM 3mb more free. The Opal is incompatible with the removal of it.

The imgstart has to do with moving the imgfs, but I forgot what it was for.

The nocert has to do with removing some certificate thing, I think. I really can't remember. (I JUST woke up and I'm still half asleep... maybe that's why I can't remember.)
[Windows Mobile] VistaX:
Is there any way I can make this (http://htcpedia.com/official_norwagian_rom_update_for_touch_diamond2/soft/htc-topaz-rom.html?page=1) ROM to WM6.5.3?

I tried to load this ROM but it came up that there was no os.nb present in the file.
[Windows Mobile] bobsbbq:
Yes I have tried this but the radio is still not being cooked in with Leo. I don't know about other devices but I can't include a radio in tweaks.
[Windows Mobile] rgb-rgb:
In order to get the Rhodium files to build a ROM properly, I had to recmod the files in the Concurrance_Mgr and Notification_Enhancement packages.

The dll modules are not getting dumped properly by one of the utilities from the nbh file. This happens In Ervius Visual Kitchen also.

If I did not recomd the files, one of the problems I had was the ROM would build and flash okay, but would get stuck at the autorun screen. Maybe the same problem as getting stuck at the "Touch Pro Screen".
[Windows Mobile] airxtreme:
So if you recmod Cuncurrence_Mgr and Notification_Enhancement everything works fine? The rom boots and autorun works? Also, wasn't Cuncurrence_Mgr already rec-moded during import. What ROM did you import?

Sorry for all the questions but this thread is flooded by people with the Rhodium, if I can know how to get an imported ROM working I'll add it to the next kitchen versions.
[Windows Mobile] af974:
Using it for restoring missing control panel icons

<wap-provisioningdoc>
<characteristic type="Registry">

<characteristic type="HKLM\ControlPanel\Owner">
<noparm name="Redirect" />
</characteristic>

<characteristic type="HKLM\ControlPanel\Buttons">
<noparm name="Redirect" />
</characteristic>

<characteristic type="HKLM\ControlPanel\Input">
<noparm name="Redirect" />
</characteristic>

</characteristic>
</wap-provisioningdoc>
[Windows Mobile] :
integrated radio rom

hello i want integrated a radio rom on my project but the kitchen don't insert him...

i have delete my ferom.htcrtproj but no change...i'm on blackstone

here you can see my ferom.txt

[Project]

Magic=kateiloveyou

Version=1

[Buildrom]

Device=Blackstone

ModelId=BLAC*****

CountryId=11111111

VersionId=v1.3

LanguageId=FRE

Sect_0x400=False,"OS.nb"

Sect_0x600=False,"splash.nb"

my splash insertion is ok but no radio on this .txt....have you an idea?

thanks a lot
[Windows Mobile] rgb-rgb:
Yes, If I recmod those two packages, ROM builds without problems and flashes okay and no problems with autorun or runcc which is What I actually use.

I have imported two ROMS. One from AT&T Tilt stock ROM and one from the HTC Europe ROM.

AT&T Stock ROM http://www.htc.com/us/support/tilt-2-att/downloads/ (3rd download on page - Original Stock ROM)

HTC Rhodioum Europe ROM http://xdaforums.com/showthread.php?t=632129

In Both ROMs I had to recmod both of the packages Concurrance_Mgr and Notification_Enhancement to get the ROMS to build and flash properly.

During the import into the Kitchen, the files do not appear to be recmoded. There are actually only a couple files in each package that have to be recmoded but I will have to go back through the process again to find out which ones exactly. I can try to do that later today.

But, I can tell you if those two packages are recmoded, everything works fine. I used the Kitchen version 1.13 when I imported and built the ROMs.
[Windows Mobile] af974:
Do we have something like this http://xdaforums.com/showthread.php?t=542081 in Kitchen?
[Windows Mobile] bobsbbq:
I'm having the same problem. With the new TMOUS Leo ROM's you have to have a specific Radio for the device to boot. And as you can imagine many users are used to just flashing without reading and causing lots of problems and this is why I want to include the radio.
[Windows Mobile] :
re radio rom

i think with nbhutils is possible whith the correct setting but i would like integrated directly in the kitchen...

i have test it and after extract my os.nb from my actualy rom (create by oskitchen) i have integred my radio rom in whith nbhutils....but i don't know why the kitchen don't take my radio.nb for build it directly....:(

peraps is just a setting in a .ini on the tools folder??

my settings for nbhutils is this and is work perfectly

<device name="BlackStone" chunksize="64">

<ModelID>BLAC10000</ModelID>

<CID>11111111</CID>

<Ver>1.00.BlackStone</Ver>

<Lang>FRE</Lang>

<Item value="0x100">IPL</Item>

<Item value="0x200">SPL</Item>

<Item value="0x300">Radio</Item>

<Item value="0x400">OS</Item>

<Item value="0x600">Splash</Item>

<Item value="0x601">SubSplash</Item>

<Item value="0x700">ExtROM</Item>

</device>

have you an idea for integrated this on os kitchen??
[Windows Mobile] af974:
Radio wont cook in Kaiser too.
[Windows Mobile] Raptordin:
No Radio in Blackstone too.
[Windows Mobile] Rataplan:
Hi all, ok this kitchen is really great but I have a similar problem as Lewy1 (post 333) about platformrebuilder, the message I get is the "platformrebuilder has chrashed due to some incompatible XIP or OEM modules etc etc.

I've checked my OEMXIPKernel in the sources folder and there is no nk.exe, so that should be ok, but when I take a look in the OEMXIPKernel in the build folder nk.exe is in it.

Can someone pointing me to the right direction which module is causing the error.

BTW I started with the 1.10 or 1.11 version and everything works perfect with those two builds, the problems started with the 1.12 and 1.13 version.

The only thing I changed in all the kitchens is the file htcrt_devices because in that the Niki is spelled Nike.

Regards
[Windows Mobile] airxtreme:
Was the radio cooked before or with the old kitchen?
[Windows Mobile] Raptordin:
I managed to cook radio in by modifying thge htc file itself. but the kitchen does not automate it.
[Windows Mobile] af974:
Honestly i never tried with old kitchen,and honestly i dont care so much of cooking radio in...was just my 2 cents.
[Windows Mobile] twisted:
Hi to cook radio for KAISER try 301 instead of 300.

taken from HTCRT.ini

[Kaiser]
ModelId=KAIS*****
SignMaxChunkSize=64
SPL=$200
SPLN=SPL
Splash1=$600
Splash1N=Splash
[color=blue][B]Radio=$301[/B][/color]
RadioN=Radio
System=$400
SystemN=System

regards,

twisted :D
[Windows Mobile] airxtreme:
nk.exe shouldn't go in OEMXIPKernel but in the NK folder instead as explained in the directory structure post.
[Windows Mobile] airxtreme:
1.14 is out
[Windows Mobile] :
hummm i look but in the htcrt.ini no blackstone settings...i test create it

i test directly :D

[edit] test ok all is good (lzx/xpr recmod etc etc)

not radio integration..i've test modify the htcrt.ini for insert in my Blackstone settings but no work..

this is my settings for htcrt.ini

[Blackstone]

ModelId=BLAC*****

SignMaxChunkSize=64

SPL=$200

SPLN=SPL

Splash1=$600

Splash1N=Splash

Radio=$300

RadioN=Radio

System=$400

SystemN=System

and i have integrated on the first "lines" [Devices] Blackstone=0

i have delete my ferom.htcrtproj for the kitchen create a new but no "Radio.nb" text in after creating by the kitchen...

the kitchen just create this:

[Project]

Magic=kateiloveyou

Version=1

[Buildrom]

Device=Blackstone

ModelId=BLAC*****

CountryId=11111111

VersionId=feROM

LanguageId=WWE

Sect_0x400=False,"OS.nb"

Sect_0x600=False,"splash.nb"
[Windows Mobile] airxtreme:
Radio integration doesn't work because the value of the radio tweak setting isn't used anywhere. If you manage to get it working please tell me where the value of the file has to be added so I can fix that feature.
[Windows Mobile] qball1616:
for an odd reason cooking for my Rhodium when I removed the nk.exe and put it only in the NK folder the kitchen crashes. When I have the nk.exe in both places the kitchens works like a charm, and by charm I mean a million times better/faster then any other kitchen I have used. (it's even fast on my ancient XP machine at home).

thanks for the rocking kitchen!
[Windows Mobile] airxtreme:
It's pretty weird, because the NK.exe is supposed to be copied in the OEMXipFolder during the cooking process. Are you sure the NK.exes you are using are exactly the same? The new kitchen version I released today has a much stricter behavior on files copying, if you can please try to see if you still have the crash when NK.exe isn't in OEMXipFolder.
[Windows Mobile] ivanmmj:
Did you see the blurb about the Hermes native nk?

Also, did you change anything on the Opal side of things? People are unable to use the kitchen lately with the Opal.
[Windows Mobile] qball1616:
I am 100% sure cause I had deleted it and then just copied the one that was in the NK folder to the OEMXIPKernel. I will cook again later and let you know my results. I would do it now, but I am getting ready to step into a meeting.
[Windows Mobile] airxtreme:
About the osnbtool for setting the pagepool? Yes, I think I've also answered to that, I'm looking to replace implantXIP entirely. If you can give me a list of the devices that need OsNbTool for the pagepool I can even add a workaround for that stuff right now. About the Opal I have no idea since I don't know one for testing, did it stop working with any osKitchen version in particular?
[Windows Mobile] :
i don't understend what you want...:(

but i arrived add my radio.nd whith an other soft (NBHUtil.exe) and this .xml

<device name="BlackStone" chunksize="64">

<ModelID>BLAC10000</ModelID>

<CID>11111111</CID>

<Ver>1.00.BlackStone</Ver>

<Lang>WWE</Lang>

<Item value="0x100">IPL</Item>

<Item value="0x200">SPL</Item>

<Item value="0x300">Radio</Item>

<Item value="0x400">OS</Item>

<Item value="0x600">Splash</Item>

<Item value="0x601">SubSplash</Item>

<Item value="0x700">ExtROM</Item>

</device>

if you want y can send you this archive to your PM for look

with this soft i extract my os.nb and insert splash.nb and radio.nb in my os.nb...after i re compil my rom to get a .nbh file

(i think is the same operation in your kitchen beacause the splash.nb insert is good and when i look the detail of your text during the "cook" i see "extract os.nb" and insert "splash.nb"

i can see on the "flash folder" this file "splash.nb" created on / i test directly inset in this folder "radio.nb" but don't work...

sorry for my english..:cool:
[Windows Mobile] af974:
Do you have the right tree folder?

NK\Your Device\native(or a choice name)\nk.exe
[Windows Mobile] af974:
Have used V1.14 and im really happy with this one,thanks airextreme.

Though,ive got a platform rebuilder error about access denied in a W^EXT file,solved it removing read only to all EXT dir.

LMAO to myself...ive never seen "sort to Kitchen" in tools :o
[Windows Mobile] ivanmmj:
Not sure which version it stopped working with. Do you still have it not to shrink the uldr partition on the Opal?

As far as osnbtool goes, I see what you're saying. Now that I remember, I think I responded to that post to some of your questions.

For now, OsNbTool is required for the Hermes's native nk only. (That I know off.)
[Windows Mobile] secc123:
Any chance....

Hey airxtreme, any chance you could change the EXT packages tab to resemble ondraster's original kitchen as in Pic1 here.

I have my EXT packages grouped (in EVK) for easiness and may/may not select individual packages in the groups as needed but if i use this kitchen i have to pull them all out of the groups and have them all in the 'top-level' which makes it very very messy and a loooooong list.

Thanks,

Secc
[Windows Mobile] Rataplan:
Yep, I know didn't have that problem with the older version of your kitchen now gonna test your V1.14 and keep you informed.

Thanks
[Windows Mobile] bobsbbq:
Actually I like the current list structure much better. But just my opinion
[Windows Mobile] af974:
and btw you can have multiple selections,just select all the package that you need ,like in windows explorer with,press and hold left mouse and select files then left click on the first selected package box.
[Windows Mobile] secc123:
Re

Hey guys, Let me explain a bit why this would be helpful (to me at least).... If i cook a ROM for my TP for MYSELF, i have folders like internet/GPS/system etc etc, inside these are apps i have purchased and so i own the license. If then i cook a ROM for a friend it would be so much easier to go to say the GPS, drop it down, deselect my sat nav app (as he hasn't bought it) and go to games, drop it down, deselect the stuff i have bought then cook a ROM and not have my bought software included.

This (obviously) can be done by scrolling down to the app and doing it but as you can appreciate the list is loooooong, just the manila stuff is several dozen packages then my app/games etc etc etc etc. Hope this makes things a bit clearer.

Thanks

Secc
[Windows Mobile] qball1616:
airxtreme,

I just cooked up a ROM with no issues have the nk.exe in both locations
[Windows Mobile] TheDeadCPU:
Sorry if this has been discussed.. But I can't bother reading through 40 pages..

---------------------------

Error while moving file

---------------------------

There was a problem (Could not find file 'C:\Kitchen\Temp\ROM_Dump\os-new.nb.payload'.) while moving the file "C:\Kitchen\Temp\ROM_Dump\os-new.nb.payload" to "C:\Kitchen\Temp\ROM_Dump\os.nb.payload".

Please verify that no applications are locking the file in question and click Retry to try again.

---------------------------

Retry Cancel

---------------------------

That pops up when I try to Import a ROM..
[Windows Mobile] af974:
there is no need to read all posts......just use "search this thread " for the magic word. http://xdaforums.com/search.php?searchid=34194887
[Windows Mobile] TheDeadCPU:
But it's an official ROM...
[Windows Mobile] af974:
uhmmm...then try to see if there are some files locked,use this or a similar ,i found it on Google.

http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

regards.
[Windows Mobile] TheDeadCPU:
No luck.. Maybe it's because of Win7 x64?
[Windows Mobile] rgb-rgb:
Yes, you need to turn off indexing of the folders.
[Windows Mobile] TheDeadCPU:
I have.. Isn't that under Properties->Advanced and the check box "Allow files in this folder to have contents indexed in addition to file properties"?
[Windows Mobile] hartv427:
osnbtool is also the way to go for the i910 and i900
[Windows Mobile] af974:
Yes it is,try also to run it as admin and disable UAC