yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] twopumpchump:
you dont have the folder structure right....read what ervius said

if your package works in another kitchen, then if you put it in the right place in ervius kitchen it will work there too. before you said you put in EXT/Devicename/Common/

...you need to add another folder in "common", then your ext package inside that folder and make sure it is enabled in vk before you cook.

EXT/Devicename/Common/yournewfolder/yourextpackage
[Windows Mobile] svprm:
Yes,I done all thing.

First i Create a folder called packagegroup in

EXT\ELF01000\COMMON\

Next i put all my ext package in

EXT\ELF01000\COMMON\packagegroup\

Ex:

1) EXT\ELF01000\COMMON\packagegroup\CAMERA 6_13_32715_0

2) EXT\ELF01000\COMMON\packagegroup\TaskManager 2_1_35088_1
[Windows Mobile] twopumpchump:
well if you have done that it should work if you are using correct ext pkgs AND if they are enabled in ervius kitchen before you hit create rom. if you want to upload some i will take a look.

ps....also you could post your packages.txt from the same place as "packagegroup" folder
[Windows Mobile] svprm:
Yes,I enabled and then hit create a ROM

Ok,I uploaded here:
[Windows Mobile] twopumpchump:
those look fine now post your packages.txt from the common folder :)
[Windows Mobile] svprm:
I Uploaded here.

Next thing i forgot to tell,

After Windows Installation finished(on First Boot)didn't restart.

Why?
[Windows Mobile] twopumpchump:
ok maybe you have posted all of this before and i want paying attention lol but your packages look fine to me and they are enabled in vk so they must be in the rom when you cook it. my next question is, how do you know the packages arent in the rom if the rom isnt even booting? and what sys/xip/oem are you using? here is what i suggest you do.....

1. get stock rom for your device

2. dump it using ervius vk

3. use new kitchen created from dump to cook a rom that boots and works properly.

4. then start adding/deleting ext pkgs from that kitchen to yours you want to use.

i dont know what sys,xip, oem you are using now but you should start off with all stock and make sure it works before you try to cook new builds, ect.
[Windows Mobile] svprm:
Ok,I will try.

Thanks.

I tried that.

Now all working.

But,

In the first boot,there is no Windows Installation appeared.

But all files are installed.

How?
[Windows Mobile] dancer_69:
I want to copy some files in windows directory while cooking. How can I do this?
[Windows Mobile] RoryB:
One method is initflashfile.txt where you can tell it to copy files from one place to another. Only one file at a time, but multiple lines in the txt file can copy all of your files.

Another is config.txt if your ROM has autorun. Same again as one at a time. You could cook in xcopy and use it to copy the contents of a folder to another location.

Another still is with mortscript if you cook it in your ROM. You can copy single files, folders, or use wild cards.
[Windows Mobile] yasirriaz1977:
Dear Ervius

am NOOB

I try to dump ur kitchen's build rom (which is CRACING's wm 6.5 23034 rom) and original released rom from T-mobile's last released rom for my wizard, through visual kitchen's build 1.8.1 .. its just build ur kitchen's structure but did nothing with sys, oem and ext folder.. its just resume language as 0000 and dpi as 00

please help me.. I tried ever rom in it. but didnt get dump any of these yet :o
[Windows Mobile] dancer_69:
I don't want to copy files from one place to another. I just want to include some files in rom and want to be written in windows dir. Needed to make a package with them? And how can create it and where must to put it?
[Windows Mobile] ivanmmj:
ALL files are built into the Windows Dir. ALL files. EVERY single one of them. The initflashfiles just copy those files to whether they need to be (if they need to be somewhere else other than the Windows Dir.)
[Windows Mobile] ivanmmj:
If that is not a Stock ROM (which it sounds like it isn't) it is probably protected again people like you trying to dump it. You cannot dump it. You'll have to ask the cook for the kitchen files.
[Windows Mobile] alncool:
I have double checked every parts of the kitchen to have both english and french locale as i mentionned in this post (that contains the kitchen structure) :

http://xdaforums.com/showpost.php?p=4413885&postcount=1696

Maybe there is still another thing to do ... But i can assure you that the kitchen loads without 040C language!

Unfortunately i can't directly start from a french dump since it has a bug when dumping:

http://xdaforums.com/showpost.php?p=4393289&postcount=1678

Thanks for help.

AlnCool
[Windows Mobile] Piranha1:
Hi Folks

I'm looking for version 1.6. Has anyone else this version
[Windows Mobile] hilaireg:
As requested:

http://rapidshare.com/files/252274950/VISUALKITCHEN-TOOLS-UPDATE-1.6.rar

HTH,
[Windows Mobile] Piranha1:
:)...........

Thanks for help :D
[Windows Mobile] ivanmmj:
I was able to dump 040C just fine. Strange... How about you zip up your kitchen and upload and we'll take a look at it and try to figure out what the problem is.
[Windows Mobile] + Que PPC:
If i could i do it but.. is huge.

You know if I took a clean version and paste first! the 0c0a folder of OEM\Hermes\0c0a and start the kitchen it dont has anyother lang to include so the kitchen reads... 0c0a... on drop down menu... BUT if I install the the 0409 i got both langs... xtrange??? yep sooooo xtrange but at this point is the only way i can get it to work... I see a line in the instruction saying somethin an uncompatibilitie with a lang... its due to this?
[Windows Mobile] ivanmmj:
My kitchen is almost a gig large, but if you ommit the EXT folder (since I don't need to see that) and you compress it all using 7Zip, then it comes down to about 100mb (that's with THREE different builds (21054, 23031 and 23034), in 13 languages.)
[Windows Mobile] dancer_69:
Can someone provide a link for ext package builder.

Sendscape is down the last days.
[Windows Mobile] {SBR}_L3GION:
http://www.mediafire.com/file/yvdqganytv3/EXT package builder.rar

extract to a folder put all you OEMs in there and run the .bat this is the latest ext package builder but will get all your OEMs in the folder even if they are contained in another folder.
[Windows Mobile] Gerarq:
HTC apache is supported? :confused:
[Windows Mobile] dancer_69:
Thanks a lot!
[Windows Mobile] lkachun9129:
I just heard from my friend that VisualKitchen doesn't support Opal.

Does he correct?
[Windows Mobile] + Que PPC:
If your opal use NBH files it can! but you must to check the nbhutil.exe and see if the device is there on the device dropdown menu... if not add it... supporting devices is just... the abbilitty of you to take the OEM correctly And ROM too.

BTW My kitchen now can read 0C0A... I formatted my PC last sunday and before start the kitchen I add the 0c0a folder to OEM and now it can read 0c0a and 0409 ;)
[Windows Mobile] svprm:
Rutime error:

First i put some EXT Pakage.

EX:

HTCApplication 1_6_3_0

HTCMessage 1_73_3_281

HTCSettings 1_3_8_1

HTC_Calculator_QVGA_Main

Keyboard Layout 8525

First it created successfully.

Then i add more EXT Pakage.

Stopped!

Now it show runtime error.

Then i removed a first added EXT package such as

HTCApplication 1_6_3_0

HTCMessage 1_73_3_281

HTCSettings 1_3_8_1

HTC_Calculator_QVGA_Main

Keyboard Layout 8525

Now it Work.

Why?
[Windows Mobile] killer8nl:
I got a problem. I want to change the rom/xip date to september 1st but I can't since there is only "set" in the dropdown menu instead of "sep". So I choose "set" but then the rom doesn't start anymore and the date can't be changed again.

Hope you can sort this out!

Thanks in advanced,

Christian
[Windows Mobile] agh1701:
I am having the same problem too.:p
[Windows Mobile] killer8nl:
Think everyone got this problem lol since it's the first of the new month:P Hope he fixes it soon:)
[Windows Mobile] yasirriaz1977:
dear Ivanmmj

if CRACING's rom is protected

but I also dont get set go from original rom which was released by T-Mobile.. it was windows 5 so.. I can get the file structure from there and make my own kitchen to use same for my future roms

can u please help me to find the good rom for wizard which can extract fine for new visual kitchen... pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
[Windows Mobile] svprm:
Help Me.

If i put more EXT packages it show error.

Runtime Error.

Why?
[Windows Mobile] ervius:
at 1st post, you'll find the version 1.8.2 with the bug fixed!

bye! ;)
[Windows Mobile] dancer_69:
Sendscape seems to be down every time I tried to download(even if I try to open the main page), how you upload your files there?

Can you put it and to another mirror?

Thanks.
[Windows Mobile] farukb:
people i need a tip...

what do i need to do to change rom date and version....do i need to pick the old/new xip....

or which payload do i need to choose...

because when i choose the one in rom/device/... i can only set day in the month...other fields stay locked...

thanks in advance

EDIT...i will check if the new version does the trick....it doesn't....i am surely missing something....also i'm pretty sure that there is something like this already discussed in this thread but 1765 posts take long time even to search through
[Windows Mobile] dancer_69:
Hope that you can help me on this.

In my device all programs and stuf from Htc for this specific device(Iolite) are in EXT folder.

I converted all modules of SYS folder, followed a list found at diamond forums and I have 0 modules in slot 0, so it's good in this case.

I converted all packages from htc mega OEM folder to ext packages wiht ervius ext tool, and I replaced the Iolite's packages with mega's. The rom boots and works fine.

The problem is that when I have mega's packages on EXT folder I have 72 modules in slot 0. Exactly the same as when I have mega's packages in OEM folder without the conversion ofcourse.

I supposed that in ext folder there are files and no modules, so how this number incrased from 0 to 72?
[Windows Mobile] lkachun9129:
I checked the nbhutil.exe, unfortunately, no Opal present in the drop menu...

how can I add Opal to it?

I don't know the Model ID, Target CID, Version and chunk size.

Update: Problem solved~~

THX
[Windows Mobile] killer8nl:
Thanks for the fast fix!:)
[Windows Mobile] twopumpchump:
you suppose that the ext packages are files and not modules or you have opened them up and looked and are sure? the mega packages i used were full of modules they have to be recmodded.
[Windows Mobile] dancer_69:
No, I didn't open them all, cause I tought that with ext package builder converted to files.

Some that I opened was files.

EDIT:

Yes, many they have modules inside, I just these that I was opened they didn't. Thanks for the advice.

Do you know if it's safe to convert them to files?
[Windows Mobile] twopumpchump:
yep i converted them all to files for my kaiser and it works fine :)
[Windows Mobile] svprm:
I think, you can't understand the previous post.

So,I explaining more.

I have some Package in EXT Package(in the common folder).

First kitchen created a ROM without any problem.

Next i added more to EXT Package.

Now it showed Runtime Error.

Then i removed First added Pakages.

Now it created successfully.

I attached the image of error at bottom.

Help Me out from Rutime Error.
[Windows Mobile] twopumpchump:
its probably a hidden file or duplicate module....take this bat file and place it in your common folder where your packages are and run it. then delete it and try to run the kitchen again, this is just a guess :) also if one of your packages is fdc task mgr that will make the kitchen crash if you havent deleted taskmgr.exe from sys folder.
[Windows Mobile] svprm:
Still same error.

i have taskmgr.exe in the shell folder.

I deleted the file.

and try again.

But,still.

Any help?
[Windows Mobile] lkachun9129:
How to solve the following error?
[Windows Mobile] At0mAng:
September Bug

never mind...I should read first :D
[Windows Mobile] joojoobee666:
Recmod modules. Start here -> http://xdaforums.com/showpost.php?p=4268137&postcount=2

Then go here -> http://www.everythingdiamond.info/showthread.php?t=490
[Windows Mobile] merten3000:
Thnx Ervius,

But I can still not change date on my rom's. :(

In xipporterex tool I can click 'find date/version on rom/xip'.

Then it gives me a date but they are in 'grey' areas... I can not change them.

I read that people are talking about dropdown boxes...I never had those!

Something wrong in my kitchen. I use 1.8.1 with 1.8.2 updated exe...
[Windows Mobile] svprm:
Anybody having this problem in your kitchen.

Help me.
[Windows Mobile] joshkoss:
ohhhhh thank you!
[Windows Mobile] ervius:
new multilang-multidevice visualkitchen with included new 2.1 version of bepe's platformrebuilder is ready to be downloaded at 1st post.....

bye!!!
[Windows Mobile] makeveral:
Hi ervius! excelent job there!like always... :)

One think i noticed: when you go to "xip porter & ROM tools" it goes directly to ROM Tools and not to xip porter like previous versions.

Bye!
[Windows Mobile] ervius:
well.... my mistake, I reupload it ;)

thanks!!!
[Windows Mobile] ervius:
new exe version fixed for xipporterex uploaded at 1st post!!!

bye!!!
[Windows Mobile] :
ervius is there a tool to update our kitchens created with your older versions to this new one?

I mean sorting it into dpi etc
[Windows Mobile] ervius:
nope.... too difficult, but you can make by hands seeing the new rom structures ;)

P.S.: there is a new version of visualkitchen exe on 1st post....

some other bugs were solved and now it checks for some abnormal xips header and fixes them if needed!! ;)

bye!!!
[Windows Mobile] anryl:
almost there m8

mine batch :(

set ROMHDR=ROM\%DEVICE%\romhdr.bin
set XIP_PATTERNS=ROM\%DEVICE%\XIP\*;ROM\%AKU%\XIP\*
set SYS_PATTERNS=SYS\%AKU%\COMMON\*;SYS\%AKU%\%LOCALE%\*;SYS\%AKU%\%DPI%\*
set OEM_PATTERNS=OEM\%DEVICE%\%AKU%\COMMON\*;OEM\%DEVICE%\%AKU%\%LOCALE%\*;OEM\%DEVICE%\COMMON\*;OEM\%DEVICE%\%LOCALE%\*
set EXT_PATTERNS=EXT\%DEVICE%\%AKU%\*\*;EXT\SHARED\*\*;EXT\%DPI%\*\*;EXT\%AKU%\*\*;EXT\%DEVICE%\SHARED\*\*

yours :(

set ROMHDR=ROM\%device%\romhdr.bin
set XIP_PATTERNS=ROM\%DEVICE%\xip\*
rem ;ROM\SHARED\*
set OEM_PATTERNS=OEM\%device%\COMMON\*;OEM\%device%\%locale%\*
REM ;OEM\SHARED\COMMON\*;OEM\SHARED\%locale%\*;OEM\%dpi%\COMMON\*;OEM\%dpi%\%locale%\*
set SYS_PATTERNS=SYS\SHARED\COMMON\*;SYS\SHARED\%LOCALE%\*;SYS\%dpi%\COMMON\*;SYS\%dpi%\%LOCALE%\*;SYS\%res%\COMMON\*;SYS\%res%\%LOCALE%\*
set EXT_PATTERNS=EXT\%DEVICE%\*\*;EXT\SHARED\COMMON\*;EXT\SHARED\%locale%\*;EXT\%dpi%\COMMON\*;EXT\%dpi%\%locale%\*;

just the AKU as now i have to have allways two akus 1-old and the other one new leaked :) but no worrys u gona get there soon i hope :cool:

still watching the progress and going in your foots m8 :cool:

thnx anyway for u hard work hope someone apreciate my work soon that i can do the same for u :cool:
[Windows Mobile] ervius:
is in project (in my brain!) a visualkitchen that read the info and variables on bat and following them, creates the visualkitchen for platformrebuilder, more flexible....

but need some more time ;)

P.S.:

version v3 of visualkitchen exe on 1st post, some other little bugs solved! ;)

bye!!!
[Windows Mobile] rjmjr69:
I know I'm being very stupid for asking this but I'm really having issues figuring out what the benefits of this kitchen file are over buildos? So sorry not a noob just brain dead on this one I guess
[Windows Mobile] chavonbravo:
Any chance of moving from nbhgen to perhaps yang or nbhutil, ervius?

Roms put together with nbhgen all send device into ruunbh bootloader recovery mode for polaris, and possibly others. I believe it's due to nbhgen's inablility to sign the nbh (and of course the correct signature size). Both yang and nbhutil (better) can handle this. It'd be great!
[Windows Mobile] anryl:
u can change it in the bat file easy

its kitchen_build_rom.bat line 97

..\TOOLS\nbhgen.exe ..\TOOLS\os_%device%.txt

for

htcrt.exe /buildrom proj\%device%.htcrtproj RUU_SIGNED.nbh -build

or

nbhutil

or

yang

as u please
[Windows Mobile] chavonbravo:
I know how to do that, quite simple. I meant a way to automatically setup all the parameters to nbhutil or yang the way it is done with nbhgen with the os_device.txt. The way it is with nbhgen it's very convenient because you can just change rom version and languange and such via the gui and save it into your rom saved projects. It's a pain in the ass to go through the .bat file for every single rom version you cook to get it right.
[Windows Mobile] ervius:
some minutes and I'll post at 1st post the 2.4 version of exe with \tools folder within the nbhgen instead of the other uset until now to build nbh (into bat there isa ll command to build rom, and will be changed automatically on build rom button press in visualkitchen ) ;)

some minutes.....

bye!!!
[Windows Mobile] ervius:
new visualkitchen only exe version 2.4 + new nbhgen tool inside \TOOLS folder is at 1st post!

bye!!!
[Windows Mobile] Cloudyfa:
Hi evius, thanks for your hard work.

I've just downloaded your lastest tool to test, it's really great.

In the batch file, you wrote:

..\Tools\nbhutil -model %deviceid% -cid 11111111 -ver %versionid% -lang %langid% -chunk 64 -nogui -e -i 0x400 ..\temp\os-new.nb -b ruu_signed.nbh

I think we don't need -cid... as nbhutil can use its default value, and can you change a little bit about -chunk 64? I know it'll work well for Diamond and most devices, but if we use the kitchen for Artemis, Elf for example, we need to change it to 1024 (that's why a guy above have prob with nbhgen as it only support chunk 64)
[Windows Mobile] ervius:
you can change that and other some values by hands, or maybe I need to insert another choice into visualkitchen, maybe have to see better into nbhutils.xml to set better the nbhutils.exe arguments line!!!, and thanks for notice ;)

see soon.....
[Windows Mobile] ervius:
okok, I've the solution.....

into nbhutil.xml there is also an info about "chunksize", only I have to retrieve the exact value from it and edit the bat according....

so, tomorrow in the morning, we'll have the new exe/bat version with this new %chunksize% variable on to modify the chunk on argument line into bat.

P.S.: what do you suggest about cid????

only §I have to delete it by arguments??? (let's optimize the nbhutil.exe arguments into bat ;) )

bye!!!
[Windows Mobile] chavonbravo:
THANKS!!! for the new version w/nbhutil, ervius. I love your attitude on always taking suggestions and implementing them into your program. Keep it up!

For rom cooks out there that build many versions of a rom, here's a modification I did to my kitchen so that it'll be easier to organize each version. (thanks to ervius' new variables in the bat file). So now within Release_%device% folder you have a folder for each Rom Version with all the tools and nbh file ready to be rar'd up and uploaded. :)

I moved all the actual rom tool files (romupdateutility, etc...) from Release_%device% and placed them in Release_%device%\Release_Tools, then added a few lines into the batch file (you'll see the differences) :

cd..
cd RELEASE_%device%

if not exist "%versionid%" mkdir %versionid%
cd %versionid%
if not exist "ROMUpdateUtility.exe" copy ..\Release_Tools\*.* .

if exist "RUU_signed.nbh" del /q RUU_signed.nbh
if not "%errorlevel%"=="0" goto error
rem cd..
rem cd temp
echo executing NBHUtils to build nbh file...
..\..\tools\nbhutil -model %deviceid% -cid 11111111 -ver %versionid% -lang %langid% -chunk 64 -nogui -e -i 0x301 ..\..\TOOLS\gsm.nb -i 0x400 ..\..\temp\os-new.nb -i 0x600 ..\..\TOOLS\splash.nb -b ruu_signed.nbh

if not "%errorlevel%"=="0" goto error

echo.
dir RUU_signed.nbh
echo.
[Windows Mobile] Cloudyfa:
Yes, we should remove it without any prob. I'm thinking of making a %chunksize% variable which will auto chage base on device name (only 3 or 4 devices have chunksize=1024, others will be 64):

..\tools\nbhutil -model %deviceid% -ver %versionid% -lang %langid% -chunk %chunksize% -nogui -e -i 0x400 ..\temp\os-new.nb -b ruu_signed.nbh

Or as you thought, read values from NBHUtil.xml, just do what you think is best to optimize the tool :P

Another thing: I don't know if you like SuperEdi as default editor or not, but I myself like NotePad2 much more, I attach it here for you to take a look (you can decide which to use) (now i must use a "workaround", rename NotePad2.exe to SuperEdi.exe :D)
[Windows Mobile] ervius:
did you try with a double click mouse on one of them???, day, month, or year???? ;)

bye!
[Windows Mobile] merten3000:
:rolleyes: OMG!!!! I feel like such a NOOP!!!!!!!!!

thank you :D
[Windows Mobile] bleulin:
Good Done...

Everybody like you....
[Windows Mobile] JoeTheFro:
Hoping someone can point me in the right direction. I recently started getting this wierd Unhandled Exception error with newest kitchen.

I thought it was something i did with trying to put a new rom into the kitchen, but i downloaded the kitchen fresh, and added a previous rom that did work... still this error. has anyone seen or is anyone able to point me where i need to look. google was not helpful, nor was this thread as far as search goes.
[Windows Mobile] + Que PPC:
the kitchen adds a new key?

locale?

for lang ID???

This is weaird my kitchen that could read the 0c0a, now it cant! is the same kitchen that i use.. i couldnt make it reads another lang then get a fresh kitchen... then it reads the lang.... and now on second run it cant!!!!

What da heck is happening here.... :(
[Windows Mobile] ervius:
did you try to change before "device" and the langid then into comboboxes???
[Windows Mobile] JoeTheFro:
I made sure each drop box was properly selected before preforming a build, and i still get that error in screenshot i posted above. I know this comment was ment for Que PPC, but anything i can try might help...
[Windows Mobile] dancer_69:
I try to include some cabs in EXT folder to autoinstalled in first boot.

The official rom have already some cabs(with ext package form) as tomtom, google maps, opera. I put some others(signed), edit the ConfigAT.txt like the other entries. The problem is that these cabs copied to windows directory but don't autoinstalled. I tried to find some other confiuration file but no luck. What I missed?
[Windows Mobile] + Que PPC:
its weird... maybe you need to put the cabs into operatorpkg or oemoperators no in a ext pkg

@Ervius

Yup! as you may know... device goes first :p

the only thing i can do for my issue with the kitchen is.... make a ESN (0C0A)kitchen and other for WWE (0409) :o

Thanks for the advices
[Windows Mobile] ivanmmj:
You'll have to port everything from the WM5 OR find an older WM6.0 ROM (before cooks started protecting ROMs) and dump that to get the required files. Or get in contact with Cracing and just ask him.
[Windows Mobile] ivanmmj:
Did Ervius ever release the source code to this? I almost feel like rewriting the GUI for it (not that I'm a programmer but I've done SOME coding here and there.)

Also, this kitchen needs a new function: Auto detect modules that require two memory slots and convert them to files as the ROM is built IF the native 6.5 kernel is NOT checked.
[Windows Mobile] utak3r:
hmm, guys... sth is wrong:

I reached around 570 modules in the kitchen and platformrebuilder crashed... ok, I thought and reduced their number. Now:

Packages Saved Successfull and inserted into Rom!!!
556 Modules present!!!

it seems to be ok now... BUT:

Memory Map...
SLOT 0: 0x02000000 - 0x01ca0000 (END: 0x00060000, 0 MODULES)
0x02000000 - 0x01fe0000 - ROM 0
0x01fa0000 - 0x01ca0000 - ROM 1
SLOT 1: 0x04000000 - 0x02021000 (END: 0x02020000, 260 MODULES)
SLOT 60: 0x7a000000 - 0x7a000000 (END: 0x78020000, 0 MODULES)
SLOT 61: 0x7c000000 - 0x7b010000 (END: 0x7a020000, 145 MODULES)
RAM IMAGE: 0x80000000 - 0x8025af88
RAM: 0x8025b000 - 0x802c8000 - Used for kernel modules
0x802c8000 - 0x83a00000 - 55 MB free
... done!

wtf?? :eek:

First: I can see only 405 modules!

Second: two slots are completely clean, no modules in them! :confused:

Of course, I have a native 6.5 nk.exe.
[Windows Mobile] svprm:
Error:http://xdaforums.com/showpost.php?p=4452404&postcount=1772

Still,I having this error.

When i add more EXT package.

It show Microsoft C++ Runtime Library error.

I really want solution for this.