yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] ryoojin83:
ok, maybe I missed this in my search....but...

Is this normal when extracting a ROM?

C:\visualkitchen\TOOLS\RomSaved\dump\Tools\RomSaved\dump\Tools\RomSaved\dump\Tools\RomSaved\dump\Tools\RomSaved\dump\Tools\RomSaved\dump

It is still growing too... I am extracting a Topaz shipped ROM.

EDIT: I just ended the task since I only wanted the OEM and EXT Folders... Is this a problem? (there were about 6 sets of OEM and EXT (and other) folders....)
[Windows Mobile] ervius:
I don't have any problem to dump shipped/stock rom, post the link to the target rom, and I'll try!

bye!
[Windows Mobile] mike1986.:
Ervius no comment on my problem? Still can't use any other version than 9.7.

Friend of mine also creates ROM's and he went back to 9.7 because since 9.8 something is totally wrong with the kitchen.
[Windows Mobile] ervius:
come back you too. ;)
[Windows Mobile] mike1986.:
Thanks. This is REALLY GOOD solution and greate fix :]
[Windows Mobile] ryoojin83:
Hey ervius,

Maybe I am doing something wrong...

- Downloaded the kitchen in the first post

- Put the RUU_signed.nbh in the RomSaved Folder

- Run the program *

- Click the dump nbh/nb in the lower left corner. **

* I get multiple warnsing about folders missing and -> "You need to specify 'EXT Build' First" Is there some extra kitchen setup I am forgetting to do?

** This just runs forever(until I get fed up and kill it) and keeps making more and more copies of itself (as seen in my previous post)

Here is a link to the the ROM I used:

http://xdaforums.com/showthread.php?t=501387

--> RUU_Topaz_HTC_WWE_1.39.405.2_Radio_Signed_Topaz_61 .20t.25.10_3.43.25.19_Ship.exe

Thanks for your time! (Sorry if I just forgot some setup)
[Windows Mobile] l3v5y:
On the first time it runs, just ignore all the warnings. Put the RUU_signed.nbh somewhere like C:\TopazROM\ and then try and dump it using ervius kitchen. It'll take some time, but that's what happens! You try dumping 150MB of data to separate files, and then working out what goes where!
[Windows Mobile] makeveral:
As far as i know you dont need to put the .nbh in the RomSaved Folder. Just put it somewhere, Run the kitchen,Close all the errors(it's because you still dont have EXT,ROM,SYS folders) click on dump nbh/nb and choose the .nbh.

Then after the program finishes you will get a folder named dump with all the kitchen in the directory of ruu_signed.nbh.

I suggest you to try it on c:// so there are no conflicts with the dir's

EDIT: l3v5y Super fasttt! xD
[Windows Mobile] ryoojin83:
the way I was doing it was taking over an hour (actually it has never finished on its own, I have to kill it)... I would have 2+ Gigs in the folder

Trying a different folder now. I will let you know what happens

EDIT: Ok, everything worked.... I ran it the first time from c:\visualkitchen, and had the ROM in c:\testkit... There must be some sort of problem when you put the ROM in (in this case) c:\visualkitchen\TOOLS\RomSaved

Thanks for the help everyone!
[Windows Mobile] ervius:
romsaved\ folder serves only to save config files for preferred different kind of roms, not to dump, compile or edit everything else!
[Windows Mobile] ervius:
with this 10.2 version all seems to be ok, do you notice for other unknown bugs???
[Windows Mobile] mike1986.:
How can you say that everything is ok if I have the same error all the time?

Unlocking kitchen folder.....

'Error unlocking Folder!

Error

Error creating hives files

Executing kitchen_build_rom.bat... wait

I checked 9.8 and 9.8 is ok. All next relases are not this bug free
[Windows Mobile] ervius:
you only are able to write this message.

don't write is use old or new style kitchen, don't write what kind of rom are using, don't write if enable or disable "unlocking folder", don't write what SO you are using, nothing!!!

how you can write that have this error if don't specify well, why don't you post to me your job in pm, so I can check, you have a problem, and it's easy for you write 2 line of post, and I have to be able top solve it???

I use 10.2 3/4 times at day and don't have any problem, so, for me all works well, if you have a problem, try to explain better what appen.
[Windows Mobile] mike1986.:
Ok Ervius, my apologize

So:

New style kitchen, 10.2, ROM for HTC Diamond wm6.5 build 21812, unlocking folder is enable.

Any more info required?
[Windows Mobile] Da_G:
Very minor bug;

Empty folder "MyTools" is left behind in kitchen folder when dumping, copied to new "dump" folder also

:)
[Windows Mobile] ervius:
ok, if use windows xp, all goes ok, maybe windows Vista or superior need special permits, like run as administrator, or similiar, and why do you flag "unlock folder"?, if you can build rom without problem, not need it, and more:

error creating hv files is for oldstyle rom. and in this case you have to check rgus and app.reg files something in one of it maybe is wrong.
[Windows Mobile] ervius:
ok, see to solve it.

EDIT:

strange, dumping a stock r0om, "mytools\" folder is complete.

mytools folder serves to build roms in oldstyle mode!

Btw, found another bug, xip.bin didn't copy into rom\shared\%xipbuild%\ folder while dump a rom (you need it when compile a new rom!), so version 10.3 (New version is 1.3) at first post.....

bye!
[Windows Mobile] mike1986.:
XML files also?
[Windows Mobile] lamalice:
Bonjour petit probleme apres la compiation de la rom

j'ai un app.dat avec ceci dedans

Directory("\Windows\Menu Démarrer\Programmes"):-File("PIM Backup.lnk","\Windows\PIM Backup.lnk")

et voila le resultat dans windows Menu DÃ©marrer au lieu de Menu Démarrer

Hello small problem after the compiation of the Roma

I have in there with app.dat

Directory ( "\ Windows \ Start Menu \ Programs"):-File ( "PIM Backup.lnk", "\ Windows \ Backup.lnk PIM) Menu Démarrer

And here's the result in Windows Menu DÃ©marrer instead of Menu Démarrer

some peaple help me please
[Windows Mobile] anryl:
look oemlang initflashfiles.dat how create it alternative in u language

something like that Directory("\x004D\x0079\x0020\x0044\x00...............
[Windows Mobile] ervius:
???

maybe you are some confused about oldstyle_kitchen and old_kitchen ecc.....
[Windows Mobile] gtrab:
DEP BLOCKS THE KITCHEN ONLY:

- when "show DOS prompt" is unchecked

- when "old style ROM" is checked

TO DISABLE DEP

1- run a DOS promt as administrator -> right click run as admin

(or absolutely disable the annoying UAC)

2- @ DOS prompt type:

bcdedit.exe /set {current} nx AlwaysOff

3- reboot

Hope this helps...
[Windows Mobile] pidsw:
Fyi: Unlocker.exe says that it does not support x64 based Vista or Win7 or XP.

I tried this on Win7 32 bit and it was able to unlock the kitchen, but I still get an error from platformrebuilder and a no SVN message.
[Windows Mobile] ervius:
usually doesn't depends of unlock or not the kitchen folder, maybe you are using some wrong modules or someelse, the unlocking process, was born, only for my use, becouse some times appen that platformrebuilder give error, when some seconds before builded rom well, I suggest to deflag ever that "unlock", and only if PRB give random error, try to use it, not ever flagged "on".

for SVN folders, is only for a request of an user (to update packages by a server that uses SVN tecnology, non important if "SVN" Folders are present or not!)
[Windows Mobile] ivanmmj:
Not me, as I use XP, but a friend used vista and had this problem. His fix was to move it to an external drive as supposed to the main drive.
[Windows Mobile] pidsw:
Thanks for the response.

Sorry, I was not clear: to clarify, I unlockit does not work on x64.

However this is unrelated as you mentioned, the problem that I have is the platformrebuilder dying and then a report saying that there are no SVN dirs.
[Windows Mobile] NemanjaLO:
Help please

I have one problem with WM6.5, all cpl ext packages (TFSettings, Advanced Network, etc...) can't be opened in final ROM via Start Menu. I can open them via .exe file in explorer.

Please notice that this is WM6.5 related in WM6.1 everything is OK. I had even try with Stock OEM and problem is the same.

Any suggestion?
[Windows Mobile] ivanmmj:
That's not a problem with the kitchen. It sounds like something wrong with your cooking, unfortunately. I've had the problem in the back with both wm6.1 and wm6.5. Make sure you have myCPL installed in the ROM.
[Windows Mobile] johnpatcher:
Is there any way to prevent the tool to make EXT packages at all? I would like to have the "old style" structure (meaing SYS & OEM). This would be great, because I could keep the dsm files right then, whereas they got lost in the EXT file structure ...
[Windows Mobile] ervius:
ok, new 1.3 version at 1st post.....

inserted in \tool folder dsm_editor supporting dos prompt, it, reads "old_kitchen_build_rom.bat", learn where are all patterns, and reconstruct all dsms and rgus (updating if yet present in packages, so inserting new files/modules or dfeleting the deleted by you....), transforms all app.reg (\lang\app.reg) in relative rgu files, create new dsms files for all ext pacakges and relative langs, updates them, creates packages.sof, boot.hv, packages.cab.pkg, user and default.hv, and insert all created (and all updated and rewritted dsms and rgus) into temp\dump folder, and build rom, so you will have all complete old_style rom ready to works also with .pkg updates.....

at 1st post.

P.S.: this new tool, can work also with new_style roms, but platformrebuilder delete all relocations files so, only with "OLD_STYLE_ROM" building you can use it!!!

bye!

P.P.S.: if you want build old_style rom change "greloc" istance with wmreloc one (it works well with wm 6.5 greloc give i/o error on relocation.....)

test it and report, never tryed on my device, but I'm shure that it works!!!!! ;)
[Windows Mobile] twopumpchump:
tested v1.3 with "old_style_rom" for kaiser with wm 6.5 build 21812 for image update system, was able to build rom successfull(after change g'reloc with wmreloc) and rom booted. then i ran quickgps.cab.pks from da_g, updater ran successfull as well, but after soft reset rom wouldnt boot :confused: maybe is no problem with kitchen, not sure....maybe problem with .cab.pks i use is for ralphael rom and not kaiser? thank you for you hard and great work ervius!!! without you and da_g this would not be possible...sending donation for you now :D also i wonder that in future you could fix for batch kitchen, as i dont use your visual kitchen now i prefer to use batch.

ps....where is link to your paypal? maybe im blind lol but didnt see on first post someone help me out plz :)

update...i also try installing update with only mhub.cab.pkg extracted from da_g's first pkg he release for raphael camera(as anryl tell me to try) and when trying that updater give error and would not work :(
[Windows Mobile] ervius:
for paypal there is a button on visualkitchen.

like begin is good!!!!! , know that the rom boots, accept a pkg file (also if for different device), good.... good.... ;)
[Windows Mobile] anryl:
OLDSTYLE 1.3

DIAM not working m8

implantxip no parameters NOT BOOTING

insert my xip NOT BOOTING

(old buildos - all ok XIP SYS the same working)

where is -conservative ? DaG said must be conservative and must be uldr FULL ?

now i'm xxxxx how should it works then ?
[Windows Mobile] twopumpchump:
does your rom not boot initially after cooking, or after apply update cab.pkg? for me rom boot fine before i apply updater cab.pkg :confused:
[Windows Mobile] hilaireg:
Version Control

Hi Ervius,

One minor request please, can you update the version when you make a change? I know it's a pain but it makes it easier to differentiate which version we are using. For example, I'm currently using the old version 1.3.

Maybe a version like: major.minor.build (ex: 1.3.00) ?

Here is why: http://xdaforums.com/showpost.php?p=3776578&postcount=4

ReadMe/Change Log for old 1.3 version, feel free to use some/all of the text (if you want) at first post.

========================================================================================================
Version: 1.3 aka 10.2 (1.3)
DATE : 16.06.2009

** UPDATE INSTRUCTIONS **
========================================================================================================

Latest version of Ervius Visual Kitchen tools. The KITCHEN_BUILD_ROM.BAT has been updated to include
logging; otherwise, the remainder of the files are those found on the Ervius Visual Kitchen thread.

Author: Ervius
URL : http://xdaforums.com/showthread.php?t=469420

Changes In This Release:
~~~~~~~~~~~~~~~~~~~~~~~~

OTHER button : Provides for selection of ULDR reduction, PagePool sizing, disable Certificate
Verification, etc. Settings are stored in: ERVIUSKITCHEN.INI.

Editor : Addresses issues when using "editor".

Compilation : Addresses issues when searching structures and duplicate files during compilation.

Extraction : Addresses issues when extracting contents of some device .NBH/.NB files.

Compatibility: Addresses unsupported Language code (ex: 040C).
Added compatibility with old style rom (IMGFS & XIP).
All modules can be reallocked.
DSM processing; only All-In-One at the moment - required for cab.pkg updater support.

In old style ROM mode; all is executed automatically, XIP porting is automated:

- Correct .VM must copied to .\OEM\<devicename>\.VM
- Correct XIP.BIN must be copied to .\ROM\SHARED\<buildnum>\

Post-Download Instructions:
~~~~~~~~~~~~~~~~~~~~~~~~~~~

1. Extract the contents of kitchen archive to the root of your hard drive (ex: C:\XDA)
to avoid path length errors.
2. Backup existing kitchen files. Files/Folders to backup are:

- Files in root of kitchen (ex: C:\XDA\My_Visual_Kitchen)
- .\TOOLS folder

3. Remove (delete) ERVIUSPACKAGES from TOOLS folder (ex: C:\XDA\My_Visual_Kitchen\TOOLS\ERVIUSPACKAGES).
4. Copy the contents of the extracted archive to the kitchen (ex: C:\XDA\My_Visual_Kitchen\) folder.

Appreciate ALL the

hard work

you put into making the kitchen support New & Old.

Cheers,
[Windows Mobile] ervius:
well, I'll past all it on 1st post ;)
[Windows Mobile] ervius:
new version of dsm_editor 1.7 here:

http://xdaforums.com/showthread.php?t=523139

can read and write correctly all files/modules flags (maybe important to update roms with pkg files!, also to rewrite into tools\ folder to use old_style rom building!)

bye!
[Windows Mobile] thyogo:
Hi Ervius,

Congrats for this excellent Kitchen.

I trying to make a Nike Rom based on existent one but I have three issues, I hope you can help me :)

When i'm dumping the nbh everything goes fine till the XIP structure creation

- I receive a message saying "Xipkernel's DSM not found! I'll create new... maybe protected XIP (not portable !!!)..."

- Then when i click ok i receive: "boot.rgu in xip not found! Create new... but maybe rom will be NOT BOOTABLE!!!"

In the end of the Dump I restart the Kitchen but It says that I still have to EXT BUILD.

Thanks in advance
[Windows Mobile] twopumpchump:
the kitchen will dump an official stock rom perfectly, i just did this morning :) but sounds like you are trying to dump a cooked rom, in which case it will not work.
[Windows Mobile] thyogo:
Yep i'm trying to use NemanjaLO lite rom that is an excellent HTC Nike base for my experiences :).

I Hope I manage to put it working :)

Thanks a lot
[Windows Mobile] thyogo:
All the issues should be related to fact the the ROM is protected. I tried with other one (also nike custom ROM but from randomelements) and it get stuck without any error, I have to simple end task.

Meanwhile I will start from scratch just to see how it works :) then I will see. Any recommended ROM to do that?

Thanks a lot
[Windows Mobile] rling:
You'll need an official ROM, eg:

Nike HTC WWE 2094051
[Windows Mobile] ljankok:
Help me setup a kitchen

For entertaining purposes I would like to build a kitchen.

I am beginning with a barebone kitchen.

I have the base visualkitchen v1.3 with only ervuiskitchen.exe and tools.

I want to know where to get the newest 6.5 builds and how to extract them

to get a base kitchen.

Thank you
[Windows Mobile] hilaireg:
You will find the latest 6.5 build (and kitchen) here:

http://xdaforums.com/showthread.php?t=474406

Which device are you looking to cook for? You will need to find the stock version of the ROM (wiki) for the device as you will need some of the drivers from the OEM folder.

HTH,
[Windows Mobile] ljankok:
Thanks for the pointer. I would like to experiment with cooking a ROM for the diamond2

So now I have to port the kitchen to diamond2.

I would appreciate a pointer where this porting is explained.

Thank you
[Windows Mobile] thyogo:
Thanks a lot... its good to star.
[Windows Mobile] mike1986.:
Is there any way to count the entire size of modules in the kitchen?
[Windows Mobile] ervius:
Shure, but I have to remodify all listview structure, but is possible....
[Windows Mobile] mike1986.:
Any tourtial how can I do it with myself? Or you can add this funcion in next kitchen release? :)
[Windows Mobile] twopumpchump:
this function would be very usefull to me as well, because i am using nk.exe from wm 6.1 with sys/shared xip from wm 6.5. i am having to convert module to file now to make it boot, but i am curious if i am converting too many module or not quite enough...if had a way to check would be great :)
[Windows Mobile] mike1986.:
Exackly :) I never know If I can convert one more or it will be one more too much :D
[Windows Mobile] ervius:
convert not many, but where, if you convert some modules (on shell, or os, for example), the rom doesn't boot, but if you convert other packages, all EXT, windowslive, baseapps (maybe, don't shure!), the rom boots well, btw, I readed something about on advanced options for platformrebuilder, btw with real wm6.5 nk.exe, no problem to boot rom with many many, many modules inside ;)

so.....

version 1.4 (aka 10.4) of new visualkitchen at 1st post, read info on dumping rom for details!!!!

bye!!!
[Windows Mobile] madsurfer1:
How can I port some of the EXT packages to be in SYS?

I want to have TFLO3d in SYS so it uses the storage instead of the program memory.

If TFLO3D cant be like this, is there any other packages that can be in storage instead of the program memory?

Thanks
[Windows Mobile] mike1986.:
I was trying to do the same with phone canvas but didn't work...
[Windows Mobile] ervius:
all or quite packages work on internal storage, but you can see if in rgu or xml, provxml files insode package there are references to internal sotrage, and can try to change into "external storage card", but if the "internal folder" is hardcoded, nothig to do.....

it works only in internal storage!

bye!
[Windows Mobile] madsurfer1:
Thanks ervius for the reply.

Keep up the good work.

Regards
[Windows Mobile] zyz696:
Hi ervius, fine?

In the first, congrats for this kitchen, its a wonderfull tool.

Now... my problem, <;)

I using the last version (1.4) and her always crash after beggining the rom build.

Here´s the error:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Collections.Generic.List`1.set_Capacity(Int32 value)
at System.Collections.Generic.List`1.EnsureCapacity(Int32 min)
at System.Collections.Generic.List`1.Add(T item)
at N0RkZ.AOZ4).cpxv4(String , Boolean , Boolean , Boolean , Boolean , Boolean )
at N0RkZ.AOZ4).mnvejxu(String , Boolean , Boolean )
at N0RkZ.AOZ4).x0n)cy(Boolean , Boolean )
at N0RkZ.AOZ4).0(58()
at N0RkZ.AOZ4).)f9nu(Object , EventArgs )
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Im cooking my stock rom and this error is showed after a sequence of overwrite modules messages.

Is there any solution for this?

regards
[Windows Mobile] ervius:
no problems building roms with 1.4 (1.5) version.....

ijn fact at 1st post there is new version 1.5, to reallign xipporterex to find real date/version on new nk.exe wm 6.5 roms ;)

bye!!!
[Windows Mobile] B4PJS:
Any chance of a tool to convert new style EXT packages back to OEM package? I want to start trying out the update stuff :)

EDIT:::

Just tried it and when I selected Find Date/Version on \ROM\Xip\ I encountered a user defined breakpoint. Not much of an issue as I could dismiss it, but you might wanna remove for next release ;)
[Windows Mobile] ervius:
yes, sorry, was my trouble (debug process stop to better check, leaved!!!!!)

fixed and posted 1.5 fixed version at 1st post!!!

bye!
[Windows Mobile] zyz696:
hmmm maybe a problem with my stock rom...

Its possible for the log window show the name of module/file in the duplicated error message?

For me, the "Warn on Overwrite" option dont make any changes on checked or unchecked. Its only for me?

In the night i test the 1.5 version (files sites is blocked here).

regards
[Windows Mobile] adolfotregosa:
ervirus, i'm uploading a dumped rom from rhodium for you to look at if you can. the xip part does not get dumped correctly. i'll pm you the link for you to test.

thank you
[Windows Mobile] ervius:
di U use a folder with spaces??? like c:\program files\kitchen\ ?????
[Windows Mobile] l3v5y:
In the Rhodium ROMs I've dumped, they've all dumped fine... What ROM is it?
[Windows Mobile] utak3r:
Finally got a minute to test this new kitchen...

A small mistyping: when you're disabling a package from SYS, there's a message box, right? it says "By attenction..." while it should say for example "Pay attention..." or "Attention! ...." or "Be careful ...." or something similar :)

testing further....
[Windows Mobile] adolfotregosa:
no. i have attention to that detail always
[Windows Mobile] zyz696:
Hi ervius.

I noticed a strange thing (for me).

I dump my stock rom with the "dump" button.

The dump finished with no errors and all the folder structure is created.

With no any change, i clicked in the "Create ROM" button, and the program crashes after several "duplicate modules".

Its normal the "duplicate modules" in the clean dump?
[Windows Mobile] zyz696:
hmm mean my problem is the OEMXIPKernel and MSXIPKernel.

if i disable this packages, the rom is builded (useless build of course)
[Windows Mobile] zyz696:
strange...

i dumped the xip of "RUU Diamond WWE 1.93.707.157.1.exe" downloaded in the duttythroy site and the error persists. :/

"ERROR!!! Found Module duplicate on Module..." in the OEMXIPKernel and MSXIPKernel packages.
[Windows Mobile] chavonbravo:
I upgraded to the new version of your kitchen, and for some reason now the command prompt will never open for platformrebuilder. It just skips right through it, don't know why.

Modifing Lang on bat file...
deleting old bat...
Writing new bat...
Done...
Wait some seconds...
Executing kitchen_build_rom.bat... wait

No ''SVN'' folders present...

Restored Original config.txt...
Temp config.txt Deleted!!!

ERROR Building rom.....

Reenabling all skipped packages.....
All packages Reenabled.....

edit: Nevermind. I'd placed two OEM_Lang_* packages inside one Lang folder. That was the error, my bad.
[Windows Mobile] rling:
Ver 1.4 and Topaz

Dumped and reconstructed Topaz 1.40 ROM. ROM boots.

Noted errors:

Duplicated ruu_signed.nbh_ left in Release_Topaz folder.
[Windows Mobile] pidsw:
Awesome work!

Btw - Occasionally I get random errors of various sorts, I often find that by deleting temp files like "Packages.txt", restarting and re-enabling things everything works as it should.
[Windows Mobile] rling:
10.5 typo

Displaying 'copyng, instead of 'copying' in bottom window.
[Windows Mobile] roney:
Who can mirror new_VisualKitchen 1.5 *fixed* to rapidshare? thanks a lot!!!