yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] ervius:
you cannot terminate rom build process becouse 6.1 nk with 6.5 imgfs if has too many modules doesn't boot, but this step is to upgrade better, maybe if rom is all 6.1, will work with infinite modules, if hybrid, not boot , if all 6.5 infinite modules, something to add to the .ini file ;)

see U
[Windows Mobile] Captain_Throwback:
Error using 1.8

I'm cooking a new-style 6.5 Raphael ROM with native 6.5 nk.exe, and I keep getting an error (see except from log file below). I can cook the same new-style ROM using 1.6 (which is the last one that worked for me) with no problem.

Finalizing and optimizing ROM structure...
... done!
Memory Map...
SLOT 0: 0x02000000 - 0x01a60000 (END: 0x00060000, 0 MODULES)
0x02000000 - 0x01fc0000 - ROM 0
0x01f80000 - 0x01a60000 - ROM 1
SLOT 1: 0x04000000 - 0x02023000 (END: 0x02020000, 217 MODULES)
SLOT 60: 0x7a000000 - 0x789b0000 (END: 0x78020000, 53 MODULES)
SLOT 61: 0x7c000000 - 0x7a020000 (END: 0x7a020000, 249 MODULES)
RAM IMAGE: 0x80000000 - 0x803e21dc
RAM: 0x803e3000 - 0x80493000 - Used for kernel modules
0x80493000 - 0x83400000 - 47 MB free
... done!
Donations...
If you're using one of my tools and feel a need to support development
and/or buy me a drink, please feel free to send a donation through PayPal.
Created link in the root of the kitchen.
platformrebuilder.exe Executed successfull!!!
done!!!
Wait some seconds...
Executing: kitchen_build_rom.bat.....
ERROR! (errorlevel: 1)
ERROR executing: kitchen_build_rom.bat
ERROR!!!
Wait some seconds...
No ''SVN'' folders present...
Restored Original config.txt...
Temp config.txt Deleted!!!

It appears that kitchen_build_rom.bat cannot run successfully. Any clue why?

EDIT: Forgot to mention I'm running XP SP2.
[Windows Mobile] Krzysiec:
Noticed it aswell :/ But near the end of cooking ... Errorlevel: 1234**** (deosnt matter becausae it apperas sometimes when packing files starting witf S or T but Errorlevel is than higer, i see your is 1 because it appears on start of cooking) after deleting all "packages.txt" files in kitchen and restrt PC kitchen works than and cook ROM till the end ... but it is really annoing to do this after every change of new package :/ Noticed it only in 1.8 ...

Cooking 6.1 ROM on Windows7 (so OS is not important)
[Windows Mobile] ervius:
added version 1.8.1 (only exe), maybe finally solved problem on imgfstodump.exe crashes, and added possibility to change max-modules value on "other" tab, the values is stored into rom-saved.erv, so every loaded rom has is own max-modules value setted ;)

bye!
[Windows Mobile] Krzysiec:
Thnx ervius for an update ;) Will try and give feedback later ;)

EDIT: So far So good ... 3 cook and all of them succesfull ;) Will see for longer time ;) Thnx.
[Windows Mobile] rishi2504:
Problem...

I am using the latest version ( 1.8) posted yesterday on my machine running Win XP-SP3.

Here is the error I get I try to 'dump' a stock ROM - "process cannot access file because it is being used by another process".

I have already tried the option to 'Unlock the Folder before build', shutting down my anti-virus service, restarting the pc, etc.

Any clues ... ? ( Ref. attached Error Log)
[Windows Mobile] Captain_Throwback:
I downloaded 1.8.1 and deleted all the packages.txt files. I even changed the Max Modules to 700 (which I have less than), and I still get the exact same error message, at the exact same place. 1.6 continues to work flawlessly, however.
[Windows Mobile] Krzysiec:
Strange :( But my count of modules is nearly only 417 and max is 535 ... for wm 6.1 i`m cooking ... But now i do not have errors that i had earlier ... So far ... Will see in more of using ...
[Windows Mobile] Captain_Throwback:
Then it appears to be a native 6.5 nk.exe cooking issue. hopefully ervius can help.
[Windows Mobile] Krzysiec:
Looks like :/ Hope ervius will help U ASAP ;)
[Windows Mobile] Captain_Throwback:
It's not really a big deal, since 1.6 is still working great. I've cooked about 10 ROMs with it today already, lol. I'm an addict :D.
[Windows Mobile] Krzysiec:
Not only U ;) on my diamond... 11th flash in progress today ;) I planning next release of my own ROM PLK for polish users ... so have to check everything so many times ;) every modification :D ervius without your and bebes tool it wouldn`t be so easy ;) THNX !
[Windows Mobile] barbapappa_86:
Is someone else having problems downloading the new kitchen?
[Windows Mobile] rishi2504:
Ok , i have an update - the above issue got resolved, simply by renaming os.nb to os.nb.payload ( my ROM has no extra bytes, hence split is not needed). It should have been able to dump the os.nb directly though.

Anyway, I was able to cook the ROM successfully. But problem is that IMGFS is correctly built by the kitchen, while 'XIP' is not. I had to use my original (WM6.1) XIP to make the ROM work. With the kitchen-made XIP, there was 'stuck-on-first-boot' issue.

Guys, anyone for help ...?
[Windows Mobile] Krzysiec:
Can someone please tell me ?

Can someone please tell me where (which file) shall i edit to change default PP ... it is always 6 mb in my kitchen when i open it. How to change this value? THNX ;)
[Windows Mobile] ervius:
change it and save rom, when you load that rom, PP values will be setted to the value choiced and saved by U

bye!
[Windows Mobile] hilaireg:
[RAPH]WinMO 6.1.21051/20779

Hi Ervius,

Just finished testing 1.8.1 with 6.1.21051/20779 ... worked like a charm; and thank you for adding built-in logging.

Cheers,
[Windows Mobile] anryl:
1.8.1

U did it this one working perfect :D
[Windows Mobile] fiendz:
Im having the same problem. Im able to get 1.6 to complete the building process however the final .nbh is only 8mb. Any ideas what could be wrong with my setup?
[Windows Mobile] Whosdaman:
I keep getting a platformrebuilder crashing error....can someone please help me
[Windows Mobile] hilaireg:
Troubleshooting Tip: kitchen_build_rom.bat

For those of you having errors in the kitchen_build_rom.bat, have a look at the BUILD_LOG.TXT file from begin to end to see if there are errors earlier on (ex: can't open hives, etc.) If you follow the log activity and compare it to the kitchen_build_rom.bat entries, you should be able to locate which line in the kitchen_build_rom.bat is causing the problem as the error reported in the kitchen is a result of a previous command not having completed successfully therefore causing the next step to fail.

Also, if you are using a "tailored" version of the kitchen_build_rom.bat, make sure to compare it against the one in the RAR file.

Lastly, make sure that the kitchen isn't running if you make editing changes to the kitchen_build_rom.bat file; it seems that changes made to the file while the kitchen is running are ignored as I noticed that the file kept being reverted to my previous version.

HTH,
[Windows Mobile] imblfmstr:
Support OPAL

Hello friends

Does this kitchen support OPAL
[Windows Mobile] ljankok:
I reverted back to 1.7 and all is fine again
[Windows Mobile] m.carroll:
ervius,

first, thanks for the great kitchen, been using it for a while with Da_G's hot off the press WM6.5 builds!

recently when uising the EXT_PAckages_rebuilder.exe to try and convert some old-style OEM's to the new format, i ran into some issues with OEMS that contained any sort of moduled exe's or dll's. it seems that these modules arent moved into the "files" folder, and therefore ignored.

correct me if i'm wrong, but as i understood it, the modules need to be in the files folder to be processed within the kitchen. to get around this, i wrote a simple batch file. this batch, in the same folder as the EXT_PAckages_rebuilder.exe and any OEM's you'd like to turn to EXT Packages, will convert all OEM's in the folder and also recursively search for modules within the packages and move them to the proper location. the only limitation i can see to this is that it overlooks modules within a lang folder (although i haven't ran across any).

to use, save the code in the box below as "OEMtoEXTandModules.bat" and then place EXT_PAckages_rebuilder.exe and your oems in the same folder. Run OEMtoEXTandModules.bat and watch it work. the folders left are properly converted EXT Packages. Enjoy!

@echo OFF
for /D %%F in ("*") do EXT_PAckages_rebuilder.exe %%F

echo.
echo All OEM's Converted to EXT Packages
echo.
echo Searching for modules...
echo.

for /D %%F in ("*") do (
cd %%F
for /D %%M in ("*") do (
if exist %%M\imageinfo.bin (
if not exist files\nul mkdir files
move /y %%M files\%%M
echo Found and Moved Module: %%M
)
)
cd ..
)
Pause
[Windows Mobile] {SBR}_L3GION:
thank you very much for this very nifty bat you wrote.
[Windows Mobile] hilaireg:
Ervius did add functionality (believe around version 9) to process modules in either location. I much prefer having them under the "files" folder as well so thanks for putting the BAT together.

Cheers,
[Windows Mobile] beifang:
someone uplode to rapidshare.

I can't open http://www.sendspace.com

thanks!

:mad:
[Windows Mobile] Diagrafeas:
I own a Sony Ericsson Xperia X1 and I'm trying to build my first ROM.

Here is what i have done so far.

Extracted Visual Kitchen 1.8.1

Populated Folders EXT, OEM (copied the ones from R3AA010)

Populated Folder SYS using Da_G's packages

Copied OEMXipKernel from R3AA010

Copied MSXIPKernel from Da_G's packages

The files i don't have are os.nb.payload, info.txt, romhdr.bin, xip.bin for ROM folder and .ROM folder for SYS\23016\SHARED\COMMON\ folder.

I know that xip.bin must be ported somehow but i don't have a xip.bin from 23016 build. And then .ROM folder will be created automatically.Is there another way?

Should i use os.nb.payload, info.txt, romhdr.bin from R3AA010 ROM?
[Windows Mobile] ivanmmj:
This is an awesome script but for anyone having problems with move error'ing out at File name too long, remove the %%M after:

move /y %%M files\
[Windows Mobile] Röchelhilpert:
Nice to have *.dio support in the next release ;)
[Windows Mobile] Nik Ahmad:
Link To Download Version 1.6

Can anybody guide me how to get version 1.6 :D, tq
[Windows Mobile] chavonbravo:
The new way of having stdout show up on the white screen is nice, but it has its downside.

For example: Whenever platformrebuilder crashes, you have no idea where it crashes, so you can't really pinpoint what to fix. Before when a command prompt window showed all the stdout, you could tell quite easily where it showed the error. It would be nice to have this functionality back.
[Windows Mobile] Captain_Throwback:
Well, the 1.8 version produces a build log that allows you to see where the crash occurred, which wasn't available in previous versions. have you checked the build log?
[Windows Mobile] ervius:
ok, well....

new version of EXT_Packages_builder

here:

http://www.sendspace.com/file/o6z2me

fixed lost modules into new package created, now all modules are into \files subfolder after ext package is built ;)

bye!
[Windows Mobile] thyogo:
Hi all,

when creating ROM i get the error below, any hint?

... done!

ERROR: Not enough space in Slot 0!

platformrebuilder.exe Executed successfull!!!

EDIT: If i free up rom space by disabeling some packages it works... but i will need them... it was just a test.
[Windows Mobile] ivanmmj:
Do you have a true 6.5 nk.exe?

Did you check the option even though you don't?

Do you have too many modules?
[Windows Mobile] hilaireg:
Have a look at this thread ... should shed some light:

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

HTH,
[Windows Mobile] joojoobee666:
ervius, just ran a new rom build through the new 1.8.1 and have to say I really like it! I love all the options and the new log window/log file. Keep up the good work.:D
[Windows Mobile] + Que PPC:
Hi ervius i have been using 1.6 cause...

Because new 1.8.1

Shows me this error... what can be wrong i see in the kitchen build rom.dat and nothing wrong in it has been at sight... so maybe is there something im doing wrong with the old 1.6 this never happends...

THEN

Rereading this thread from page 137 i see that many people has this issue... now nobody has it...! why?

reverting to 10.6 till this is answered. Captain thorwback or the girl with th hermes. Oh im usin new style with native 6.5 kernel.
[Windows Mobile] d_train:
Is there a way to change the 01_MainSplash.nb in v1.8.1?

I was using 1.6 with the htcrt to change the splash screen.

Thanks

DT
[Windows Mobile] thyogo:
thanks a lot... i will have to understand what i'm doing wrong with the porting of xip. i think that is the problem since my device is not wm6.5 native.
[Windows Mobile] ivanmmj:
You rock. ;)
[Windows Mobile] hilaireg:
I ran into similar issues and had to "walk" through the BAT file to isolate the issue.

http://xdaforums.com/showpost.php?p=4230607&postcount=1443

Something earlier on is breaking the build so when it reaches the next point in the BAT, the error gets thrown ... which gives the impression that the error is further down in the BAT but isn't.

If you pull the log and look through it, you will find that an action that needed to be performed didn't occur. Also, closely examine the REM statements in the BAT, you'll find an interesting tidbit near the end of the BAT script.

HTH,
[Windows Mobile] + Que PPC:
Mmm

I will check the preceses that bat file must to execute... go one for one i think arent so much... but give it a shot...

Thanks Hilaireg, hopes anybody can tell me what they do about its own .bat error experiences.
[Windows Mobile] hilaireg:
Post up your BUILD_LOG and i'll have a quick look.

Cheers,
[Windows Mobile] + Que PPC:
WOW it could be NICE!!!

But im on my job

lemme do the trick here :D here it shows the same error than my home...

Thanks dude it will took me just a few mins

EDITED:::

attached my log file...
[Windows Mobile] hilaireg:
It's failing here:

@echo off
cd Temp
echo Copying OS.nb.payload...
copy ..\ROM\%device%\OS.nb.payload OS.nb.payload
if not "%errorlevel%"=="0" goto error

Other strange thing I noticed in the log:

F:\XDA[B][COLOR="Red"]\\[/COLOR][/B]OEM\HERMES\.vm\imageinfo.bin not found!!!

HTH,
[Windows Mobile] + Que PPC:
Why here?

The kitchen cant copy the payload? or the lines are written wrong??? lemme compare the lines with the 1.6 bat...

mmm it seems that the 1.6 kitchen odesnt matters where to put the VM folder but now?... i think must to be in:

F:\XDA\\OEM\HERMES\

thanks man, i cant handle why the kitchen stops there on the payload...? the 1.6 works fine...! well lets work...
[Windows Mobile] hilaireg:
If it can't copy the OS.NB.PAYLOAD that means that the file is either locked and can't be accessed or not present. The double backslash (\\) is also a problem; AFAIK, there should only be one backslash.

Also, where is your kitchen on your system ... the logs indicates that it's located in a different place than F:\. You might want to try deleting the ERVIUSPACKAGES file and recompiling.

Lastly, make sure to read the REMark statements in the BAT file ... specially the one with "REM REM REM ..." - important.

HTH,
[Windows Mobile] + Que PPC:
Well yes....

This is the 1.8.1 bat

set DSM_TEMPLATE=%dsm%
set DSM_INCLUDES=*

[COLOR="Red"]REM **************** [/COLOR]TOOLS\platformrebuilder.exe
if not "%errorlevel%"=="0" goto error

REM ===========================================================================================

@echo off
cd Temp
echo Copying OS.nb.payload...
copy ..\ROM\%device%\OS.nb.payload OS.nb.payload
if not "%errorlevel%"=="0" goto error

REM ===========================================================================================

And this is the 1.6 .bat

set DSM_TEMPLATE=%dsm%
set DSM_INCLUDES=*

TOOLS\platformrebuilder.exe
if not "%errorlevel%"=="0" goto error

REM ===========================================================================================

@echo off
cd Temp
echo Copying OS.nb.payload...
copy ..\ROM\%device%\OS.nb.payload OS.nb.payload
if not "%errorlevel%"=="0" goto error

REM ===========================================================================================

See the added rem??? whats that for in the new kitchen?

Wel all the rem rem rem seems to be fine... everything is fine in the last lines.. the kitchen is in the partition F: i dont place the kitchen on C: (on my job office) cause it doesnt have enough space and the kitchen says everywhere is fine, and i know its highly recomended in C...

Double backslash dunno why it search in a subfolder... I dont have anymore... and i will change the VM then delete erviuspackages file then move the entire kitchen to C: and see what happends now...
[Windows Mobile] hilaireg:
Here's a copy of my kitchen_build_rom.bat (renamed as .TXT) ... Notice this line?

REM Only this one is without ".exe" or it could be killed!!!!!

That means that all executables before this line should have the ".exe" at the end of their names.

I get a sense that the structure of your kitchen is causing you problems. Ideally, your kitchen structure should be:

C:\XDA\My_Visual_Kitchen

EXT

.....<device>

..........<buildnum>

..........COMMON

.....SHARED

OEM

.....<device>

...........VM

..........<lang>

..........COMMON

ROM

.....<device>

.....SHARED

SYS

.....<buildnum>

TOOLS

Cheers,
[Windows Mobile] + Que PPC:
I see...

Well..

Hope this works... now lemm compare your 1.8. dat with my 1.81 dat... and chek all the .exe extensions... i would imagine than this means all must to have .exe lees this. jejeje. :p report when my kitchen redo the job...
[Windows Mobile] Captain_Throwback:
I have the same problem +Que PPC is reporting with 1.8.1. My Kitchen is structured correctly. 1.6 works great. The big question continues to be (for me) is what is it that changed between 1.6 and 1.8.1 that causes the error, if I'm able to simply replace the "Tools" and erviuskitchen.exe file, and one works, and the other doesn't.
[Windows Mobile] hilaireg:
That's an excellent question ... to which I don't have an answer. :)

It is possible that something on the WinMO 6.5 compilation process is broken which doesn't occur for WinMO 6.1 rom compilation.

That said, feel free to download the TOOLS UPDATE from my 6.1 thread and perform a comparison ... that update is the one I'm using and it's been working.

HTH,
[Windows Mobile] + Que PPC:
This is yours

REM ===========================================================================================

echo.
echo Done!!!
echo.

REM Only this one is without ".exe" or it could be killed!!!!! [COLOR="Red"]Why to delete all the rem rem rem?[/COLOR]

REM start .\RELEASE_Raphael\RaphaelWrapper
REM start .\RELEASE_Raphael\ROMUpdateUtility [COLOR="red"]Oh this lines are for execute the upgrade instantly! hehehe[/COLOR]
cd..

goto end

:error
echo.
echo ERROR! (errorlevel: %errorlevel%)

:end

This is mine

REM ===========================================================================================

echo.
echo Done!!!
echo.

[COLOR="Red"]REM REM REM REM[/COLOR] REM only this one is without ".exe" or it could be killed!!!!!

[COLOR="red"]You had edit this lines? inserted the wrapper line too!! what is this for?[/COLOR]

ROMUpdateUtility

cd..

goto end

:error
echo.
echo ERROR! (errorlevel: %errorlevel%)

:end
[Windows Mobile] hilaireg:
I comment out the ROM Flash utility as I manually invoke the utility after closing down the kitchen.

I'm on a RAPHael so I use the RaphaelWrapper version as it does not generate a false virus message.

If those are the only differences in your BAT file, then the problem has to be one of the following:

- Kitchen folder structure

- Settings chosen during ROM compilation

- Broken utility (tool) in the latest version of the kitchen when compiling 6.5 roms

Cheers,
[Windows Mobile] + Que PPC:
I change the kitchen... The vm is now in oem\hermes and it doenst say nothing about... so it was fixed...

then move the kitchen to the C: partition where the OS resides.... and added the my_visual_kitchen folder after the "xda" change the RaphaelWrapper to mine (i already have there my hermes wrapper) then delete all the rem rem rem rem at the end just leave one as yours.. and nothing

the structure is fine cause i dont have anymore file not found in it... neiter on GUI launch...

So... the last one must be... an uncompatible or corrupted at download (3times? i dont think so) kitchen tool.

hope ervius see this

i like this version just for the log file and the maximun packages the Slots are a great improvement too. but i miss the CMD window it was refreshed instantly... this is slow... and seems to stop everytime.

I attach my txt's of my last attempt... this is sad... hope to find the answer soon :(
[Windows Mobile] hilaireg:
Yup ... I have to agree, you've done all the troubleshooting steps I would have done.

If it's still failing during the build then something in PLATFORMBUILDER.EXE is the cause. Which means that 1.8.1 is questionable within compilation on some devices.

:(
[Windows Mobile] + Que PPC:
YUP

this new platform rebuilder is crappy with 6.5 as you say it works fine in wm6.1

well

i think im still stuck with 10.6

Thanks for all your fresh Ideas man! ;)
[Windows Mobile] anryl:
after the kitchen crashes just run from command prompt in tools the kitchen_build_rom.bat

then u will see where it crashes

per u logs in temp the rom is created

u have in temp "

dump (directory with all the files and modules created by prb)

xip (directory with the xip files and modules created by prb)

romhdr.bin

xip.bin (created by prb)

os.nb.payload

"

:rolleyes:
[Windows Mobile] + Que PPC:
I will try that but it seems that the kitchen_build_rom.bat cant even launch itself...

Thanks anryl
[Windows Mobile] ervius:
buildos.bat????? where is in my visualkitchen?

and for my Diamond roms, upgrade from 1.6 to 1.8.x, I only have overwritten the exe, all the rest reamined same (new version 1.8.x, in bat file, when find "platformrebuilder.exe", add a REM before, becouse it yet execuded platformrebuilder.exe into itself, not need double platformrebuilder.exe in bat file!!!

for log with "\\" maybe is a error of mine, but nothing important, maybe on log it writes "\\", but the real folder is: "..\.."

bye!

try to download a ready-to-use kitchen for diamond or raphael, that uses 1.6 of exe, overwrite with 1.8.x exe and try if all goes ok!!!!!
[Windows Mobile] + Que PPC:
OH! just the exe!!!!????

will this be a full update? or just a tricky? thanks again dude

Oh yeah! i write buildos.bat to make it faster... but really it must be Kitchen_build_rom.bat... jaja isntead i think there is a tool called like that... i will edit it thnaks ervius...

Bonna SERA! or BONNA NOTE! or just bye.
[Windows Mobile] ervius:
full update! (just 1.8.x execute platformrebuilder into itself, instead of into the bat!)
[Windows Mobile] jianwei87:
how to dump the original nbh file to payload and xip. i have dump a payload and xip file from tihs kitchen but it not successfully to port the rom that i create for myself to my xperia.
[Windows Mobile] X1iser:
I have some problems with the latest visual ervius kitchen, XML files are not launched, I'm using version 1.5 for this doing work.

Someone have a solution ?

I'm cooking AKU 6.5 and 040C mui :)

Thanks ;)
[Windows Mobile] d_train:
ANyone able to help?
[Windows Mobile] + Que PPC:
Maybe some tweaks in the bat file to make the nbh tool search for the image and the os and the sub image.... whoooo !!! i think you must to do it... casue many devices has different way to make it... ands change the images with doubts can provoque... hard issues!!!!

You must to ask in your niki forums to the chefs that already change his own splash screens.
[Windows Mobile] + Que PPC:
well now it runs a lil more... but stucks when try to change the pagepool... :(

Im still stuck with 1.6.... sad so sad.

Thanks a lot Ervius!!! :D
[Windows Mobile] d_train:
I can already do it if I alter this kitchen bat file to use hctrt, and I know I can do it manually using the nbhutil in this kitchen - if I can do it manually, and this kitchen uses the utility to build a rom automatically (with the necessary command switches), I assume that there is a way to add the splash in automatically using nbhutil also.

The chefs in the niki (including myself) have been using either hctrt or nbhgen from kitchens others have put together - I just wanted to keep the kitchen as much the way it is now with nbhutil.

thanks

DT