yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] RideTheTube:
thx for helping - i realy appreciate that!
[Windows Mobile] ervius:
I'll check on tomorrow, for now:

erviuskitchen only exe prerelease rom prj saver version 3

some little improvements and "not saved yet" advise on load/save rom projects

solved a little bug on algo to find rom language to build

oem\common

oem\lang

sys\common

sys\lang

folders!!!

bye!
[Windows Mobile] hilaireg:
Package Sequencing

What's the best method of sequencing packages found in the EXT sub-folder?

Should I be renaming the folders or is there a "built-in" method within the visual kitchen?

Advance thanks,
[Windows Mobile] ervius:
provides for all platformrebuilder, maybe follow the ext_patterns sequences into bat file ;)

bye!
[Windows Mobile] ervius:
I leave hidden it and unchecked, also becouse unfortunatelly, is useless, in fact all packages passed by platformrebuilder are unusuable to be rebuilded.....
[Windows Mobile] hilaireg:
Comments Column and/or Sub-Sectioning of External Package

Appreciate the quick response :)

Few comments:

Would be handy to have an extra column after "RES Lang" where we could add comments - ex: Requires This Package, Only Works With..., etc.

Would also be handy if we could sub-section (group) the External Packages section like in the old PkgToolsBuildOs 5.x.

Excellent work Ervius ... but u already know that ;)
[Windows Mobile] ervius:
1) it could be possible using yet present packages.txt files, modifying some the code on visulkitchen;

2) yet divided by sections, the packagtesgroups are them.,....

bye!
[Windows Mobile] utak3r:
ok, tonight I'll test rebuilding after dumping for Hermes, we'll see...

the problem was always here: dumping rom from platformrebuilder was always scrapped, no matter what tools you used for this :/ and both sys and xip.
[Windows Mobile] Slv:
Toshiba G900 orig xip

Here is it.

Sorry for delay - i was on holidays.
[Windows Mobile] mac_es:
Ok,

I think that I have found my issue. I'm having memory overlaps...

I have dumped SYS+XIP (21042) from original rom

I have dumped the last rom from trinity (18125)

I have reorganized OEM folder to look like the new ones

I have in ext packages some modules...

in xip bin from original rom I have:

[Info]	It is a common ROM.
[Warning]	o32_rom(0x80184f84)'s o32_data at 0x00000000 is zero.
[Warning]	Found dif-referenced region [OLD] Address=0x8006d208 Length=0x00000a00 ObjectType=0x00200000
[Warning]	Found dif-referenced region [New] Address=0x8006d208 Length=0x00000a00 ObjectType=0x00008000
[Warning]	Memory Block(0x80001000,0x800665b0) overlap with Block(0x800028cc,0x800028f8).
[Info]	New rom filename is 'Xip.bin'.

The old kitchen was using greloc and mreloc so it removes the memory overlapping but whith this kitchen I can't use them.

How can I modify the modules to remove the overlapping before prb?

cheers
[Windows Mobile] ervius:
if you have a trinity and platformrebuilder give some iusses on, use oldiest buildxip.exe ;)

and delete from bat some commands like insertxip, and insert xip.bin created by old buildxip.exe that works, tested when I had the trinity!!! :)
[Windows Mobile] ervius:
at 1st post version 8.8, added comments inputbox for all packages, only have to select a package ann right mouse click, select last context submenu and write a comment.... ;)

bye!

p.s.: mac_es, what tool did you use to see the overlap on xip.bin???

bye!
[Windows Mobile] hilaireg:
@ervius:

Much appreciated! Thanks for taking the time.

... sent u a PM.
[Windows Mobile] hilaireg:
EVK 8.8: Verbose Logging

I must be blind; found the "Big Dos Prompt" checkbox but I can't find the "Output Log To File" checkbox.

I'm sure there's a way to output a copy of the ROM Creation log (Big Dos Prompt) to a log file for post-compilation review.

Sure miss my bedtime reading of

BuildosX-log.txt

and

BuildosX-missed-log.txt

.

;)
[Windows Mobile] NRGZ28:
Bug in the latest 8.X releases.

If the command prompt window is set to a wider than default window size, system wide, it covers the "Big command prompt" checkbox. I think it's best to move that box somewhere else on the interface, or allow the command prompt window to be "undocked" from the main kitchen window :)
[Windows Mobile] utak3r:
I think he used XIPPort and its "write maps" option...
[Windows Mobile] mac_es:
RomMaster.exe (32kb one) also xipport shows "something strange" when trying to reallocP tough in map.txt there is no "!!!!"

I'm quite lost whith this new kitchen, as it does "magic" :eek:

Can you say me if these assumpitions are correct:

I have some overlapping in xip and maybe in SYS. (I'm sure)

In the old kitchen as it does mreloc and greloc this overlapping is gone, right?

Also, I have some module packaged in a EXT package to replace some modules of SYS whith my own ones (shellres, custsat, taskmgr...) Is this supported? or I have to move modules to SYS?

The OEM section of trinity was a kaos everything in OEMAPPs... so I have cleaned, rebuilded dsms... also update some drivers...

If I take a .ROM and .VM from the old kitchen, put every module in the SYS (OEM+EXT) and do a Greloc the overlappings should be gone no? after that rebuild the driectory structure and I should be able to cook.

If so, If I change to a new SYS / add a module I will have to greloc again?

How the hell prb is able to reallocate everything whithout .VM and .ROM? :confused:

For the moment, I have spend time investigating the xip part. Whith the same xip.bin if I use implantxip from bepe it inserts ok, if I use yours it go garbled maybe because you move imgfs? So maybe I have an issue in my os.nb.payload?

I have tried whith a complete payload, whith an empty imgfs, whith an empty imgfs and urlrd removed... everytime the same.

May I try task37 in boot loader to get some light or it will not give any usefull information?

Thanks
[Windows Mobile] mac_es:
OK,

I managed to cook the rom and to boot.

Finally, I ported the xip manually and removed the overlappings

I use your kitchen to realign original .VM

I grlocked all modules

I shrink os.nb.payload

I relocate the xip partition and imgfs partition to get enough size (why xipportex puts 25FFFF as default size?)

Now I can cook :) :D:D:D

I have learned a LOT
[Windows Mobile] ervius:
maybe in next release, (if possible), I'll try to insert some code to export in a log .txt file all dos windows strings ;)

bye!
[Windows Mobile] ervius:
I'm happy for you, well done!!! :)
[Windows Mobile] NRGZ28:
erv... Any chance we can update some of the english in the kitchen so it's correctly spelled ? :) I can provide a complete list if you're willing to make the changes :) That would be nice...
[Windows Mobile] utak3r:
romhdr.bin :cool:
[Windows Mobile] mac_es:
There is a program called mtee which you can use to redirect (and see the output)

For example, in implantxip:

..\TOOLS\implantxip -xip xip.bin -payload OS.nb.payload | ..\tools\mtee /+ ..\%LOG_FILE%

This will show the lines in the windo, also it will append the output to the log file

:)

Finally I use grep command to obtain from build-log.txt the build-missed.txt.
[Windows Mobile] mac_es:
amazing :eek:
[Windows Mobile] hilaireg:
@mac_es, Da_G:

Thank you ... missed my bedtime reading material.

:)
[Windows Mobile] somesex:
Hi ervius,

I've got a "seems so big" problem here.

I am using version 8.8 to build my blackstone ROM.

However, I found that the sequence of processing app.reg in \EXT and .rgu files in \OEM\OperatorPKG is somewhat wrong. Obviously app.reg under \EXT always overwrite the value defined in .rgu files inside \OEM\OperatorPKG when cooking the ROM.

The filename in .rgu was untouched and was dumped from Topaz ROM using the same kitchen version.

Why I notice this is because there are some localization strings defined in \OEM\OperatorPKG\.rgu being override by default value defined in \EXT\package\app.reg

I tried to narrow down the problem by read thru the file "erviuspackages" under Tools. I found that .rgu files inside \OEM\OperatorPKG are put much earlier than app.reg in \EXT, therefore overwrite the changes made in .rgu files.

Please kindly help.
[Windows Mobile] Krzysiec:
IS there anyway to DUMP my own ROM created with some previous version of Your kitchen ? I forgot to make backup of this kitchen :/ But after dump DIAMIMG.nbh i`vre created ... DeviceNAme window pop up and than some errors about XIP and so on and build.bat crashes and no pacgage are created ... Sorry if there was answer for this :) TIA
[Windows Mobile] NRGZ28:
Uhhh yeah... Da_G first used mtee several pages back. Nothing new to see here.. move along :)
[Windows Mobile] NRGZ28:
If you checked the "all packages to one" box when u created the rom... then no :)
[Windows Mobile] Krzysiec:
So what shall I do in my next ROM creation to be able in future recook it ? Thanks for your reply ;)
[Windows Mobile] NRGZ28:
Let's see.... NOT check that box ? lol
[Windows Mobile] NRGZ28:
Or better yet... backup your kitchen to one big .rar file or something! :)
[Windows Mobile] Krzysiec:
What box are U talking about ? I can`t see there any for this funcion in 8.5 kitchen ...
[Windows Mobile] NRGZ28:
I thought you might be talking about the old kitchen (buildos). Nevermind then :) It's not possible at the moment to build an unprotected ROM with this kitchen :)
[Windows Mobile] mahjsa:
Maybe a new version to release. I am going to test shortly an adapted kitchen version for my A701. If it works I think I can make it (if you agree Ervius) universal for HTC and A701 at least.
[Windows Mobile] ervius:
shurelly ;)
[Windows Mobile] somesex:
Hi All,

Can anyone help me on this ?

Thanks.
[Windows Mobile] anryl:
this is the way it suposed to be first is SYS then overwriten by OEM then are the EXT pachages for fixing it .

if u need some registry settings at last u have to create EXT package that will be by name and location processed at latest to fix all registry u need .

EXT SHARED ZZ_REGFIXES ZZ_REGFIX app.reg - should do it for u

TY
[Windows Mobile] somesex:
Sorry, don't want to challenge you.

The problem is, even if I leave the stock Topaz ROM untouch, because the .rgu file under \OEM\OperatorPkg was not processed in that way, the localized stuffs defined in the .rgu was overwrite by \EXT\app.reg

If what you mentioned is the way the kitchen operate, I will just try to modify my stuffs this way, and I will take care of that..

No offence. Thanks.
[Windows Mobile] hilaireg:
@ervius:

While reading my logs just before bedtime, i noticed that there seems to be an "unknown" file being added.

It's called: erviuspackages.zip

Do I get a prize for finding it?

:rolleyes:
[Windows Mobile] ervius:
yes, is a zip that contains all you need to dump the rom, also if unusuable, it recreates all rom structures while dump a rom ;)

P.S.: at 1st post version 8.9 with font size selector, from -5 to +5 to resize all controls font size into form :)

bye!!!
[Windows Mobile] hilaireg:
FYI: EXT_Packages Tool (1st Post)

@ervius:

Not sure if this has already been mentioned, just in case it has not. I used the EXT_Packages tool to convert my OLD Style package to Visual Kitchen format.

One of the packages (BTFtp_1_2_33281_9) contained modules. After conversion the folder looked like this:

[U]BTFtp_1_2_33281_9[/U]

0409
files
btftpres.dll.0409.mui
FTP.htm
mxipupdate_PACKAGE_Raphael_BTFtp_0409.provxml
BTDisk.dll
BTDisk.dll
imageinfo.bin
imageinfo.txt
S000
S001
S002
S003
S004
S005
btfsd.dll
btfsd.dll
imageinfo.bin
imageinfo.txt
S000
S001
S002
S003
S004
S005
files
Bluetooth Explorer.lnk
btctxmenu.dll
btdwake.exe
btdwake.lnk
BTFtpClient.exe
btlauncher.exe
btpropext.dll
btrenamedir.exe
felvop.exe
Ftp_Help.lnk
mxipupdate_PACKAGE_Raphael_BTFtp_main.provxml
obexfile.dll
app.reg
_skip

When I choose Create ROM with this packages, the modules are

not

compiled resulting in the .DLL

not being

included in ROM. To resolve the issue, I had to move the BTDisk.dll and btfsd.dll folders to .\BTFtp_1_2_33281_9\files\ - like this:

[U]BTFtp_1_2_33281_9[/U]

0409
files
btftpres.dll.0409.mui
FTP.htm
mxipupdate_PACKAGE_Raphael_BTFtp_0409.provxml
files
BTDisk.dll
BTDisk.dll
imageinfo.bin
imageinfo.txt
S000
S001
S002
S003
S004
S005
btfsd.dll
btfsd.dll
imageinfo.bin
imageinfo.txt
S000
S001
S002
S003
S004
S005
Bluetooth Explorer.lnk
btctxmenu.dll
btdwake.exe
btdwake.lnk
BTFtpClient.exe
btlauncher.exe
btpropext.dll
btrenamedir.exe
felvop.exe
Ftp_Help.lnk
mxipupdate_PACKAGE_Raphael_BTFtp_main.provxml
obexfile.dll
app.reg
_skip

Cheers,
[Windows Mobile] ervius:
yes, I know, is a dumper bug....

btw version 8.9 v2 ;)

bye!
[Windows Mobile] ervius:
version 9.0, solved bug on EXT packages, modules out of \files (\04xx) folder

bye!
[Windows Mobile] hilaireg:
Thanks Ervius,

Should I move them back up a level or leave them under Files?

Cheers,
[Windows Mobile] Da_G:
hi ervius :)

font size doesn't save.. so resets every time to 0.. 0 is too small to be usable for me, 5 is ok :)

here's a screenshot at -3, lol

http://img31.imageshack.us/img31/2451/ervkitchen.jpg
[Windows Mobile] coolsac32:
yo erv lol ive been checking up on this everyday and i love the kitchen but wasnt 8.7 supposed to be the last one? lol

keep up the great work cuz the new stuff is nuts
[Windows Mobile] NRGZ28:
Hey... pshhhhhhhh! We don't want him to stop now !! He still has quite a few issues to fix before he can call it final! :P

I for one, and I'm know I'm not alone on this, will be willing to send some paypal to get some stuff fixed :) How about it ervius? Let's get this perfect! :) Per favore ? :D
[Windows Mobile] ervius:
yes, shurelly, I do it for passion, but if all you support a little my work, I'll be happyer to perform better it! ;)
[Windows Mobile] CRACING:
Well ervius, you are doing the great job and we will surely support you.

However, visual kitchen don't work for my wizard but I'm shortly getting touch diamond and I know it works for fine and cannot wait to try. :D

Thanks and regards
[Windows Mobile] Pank789:
hi thanks such an excellent kitchen..

as mentioned in your first post it may be last verison ...

if so can you please provide the source code of the kitchen so that the development can continue fruther..

i am vc++ developer and definelty would like to know how u r mangaing to contol the command line utilities from window based program

thanks in advance
[Windows Mobile] bobsbbq:
Help with WM 6.5

Well, I have searched, read up to page 54, really tired of reading 2 days now but I have learned a lot. But I still can't get a bootable ROM. I used a Factory shiped ROM and it would not boot. I put my 6.5 builds in place and it will not boot either. Of course on WM 6.5 I uncheck the real WM aku. No problems in build process. But gets stuck just after 1st splash, only black screen.

Can anyone give me some ideas where to check or if anyone else has had the same problem what fixed it.

Note I used the built in dump tool to dump the .nbh file

WM 6.5 is latest 21232

Blackstone device, Data chunk 64, OS ID 0x400, not sure if these are correct?

Thanks

EDIT: Added BuildRom.txt
[Windows Mobile] Pank789:
hi,

can you plesase provide nbhutil.xml for gene device
[Windows Mobile] mahjsa:
Anyone having problems with loading the 9.0 kitchen? Every time I load the kitchen, it starts with .Net error stating Argument length must be greater than or equal to zero. When I push OK, the kitchen loads, but no packages seem to get read. (I suppose it's a bug in the font loading?)

I have tried kitchen's down to 8.5 but error keeps coming up.
[Windows Mobile] ervius:
try to delete all "packages.txt" you'll find with search into root kitchen and retry to load visualkitchen.

Version 9.1 at first post.

some other little bugs solved, and now, if you choice a font size ( from -5 to 8), it will be saved at visualkitchen close and reload for next uses ;)

bye!!!
[Windows Mobile] bobsbbq:
Well I still have not found a solution to my problem as I posted on Page 83. My device will not boot. It hangs at the blackscreen just after the first splash which displays Smart Mobility and device version information. I tried taken out or disabling all packages which contained provxml's but still the same. Can anyone help?
[Windows Mobile] hilaireg:
Extra/Missing Files: VisualKitchen 9.1 vs PkgToolsBuildOS 5.3

I've done a compare of the build output from my PkgToolsBuildOS 5.3 kitchen against my Visual Kitchen 9.1 and noticed the following differences in the Processing Files section of the logs:

PkgToolsBuildOS 5.3

...

Processing ".VM" as module ===> (OK: Required)

Processing "04c43d57-2d5c-49bf-92f5-7e0d2b874669.dsm" as file ===> (Not Found; Generated During Compilation)

Processing "packages.cif" as file ===> (OK: Found In .SYS\Metadata)

...

VisualKitchen 9.1

...

Processing "723fb954-d931-4348-b672-82a188e587b5.dsm" as file ===> (OK: Found In .\ROM\Shared\#####\MsXipKernel)

Processing "build" as file ===> (Not Found; Generated During Compilation)

Processing "config.old" as file ===> (Not Found; Generated During Compilation)

Processing "erviuspackages.zip" as file ===> (OK: Required To Reconstruct ROM During Extract, Generated During Compilation)

...

The file packages.cif

is

present in .\SYS\#####\SHARED\COMMON\Metadata of the Visual Kitchen; however, it

appears to be skipped

during the ROM build.

Is this to be expected - i.e. Normal ?

Cheers,
[Windows Mobile] ervius:
double post.....
[Windows Mobile] ervius:
yes, is normal.

build is a description file that shows what version of visualkitchen you used to build rom.

visualkitchen.zip: is only a file to recontruct rom

config.old (and config.txt) is to insert personal "add2config.txt", on config.txt to costumize better some processes on startup, 1st startup, added by U by some additionals packages:

example, if on a package, that contains "mynewcab.cab" to insert at 1st startup:

you add into package also:

add2config.txt file, and inside you write:

CAB: windows\mynewcab.cab

it automatically insert into config.txt the line that install the cab:

mynewcab.cab

that you stored into package, it's a kind of initflashfiles.txt that is added to initflashfiles.dat (orr app.dat that is added at initflashfiles.dat), but is for config.txt ;)

I post 2 external packages that contain the "add2config.txt" to insert and execute the relative cab at 1st startup, without edit provxmls, or rgu, or some other files, all automatic, try, to compare config.txt original in dumped/structured roms, and the config.txt in dump\ rom, you can see in the second one that it had a line more, the same written into "add2config.txt" file! :) bye!
[Windows Mobile] NRGZ28:
I doubt he'll provide the source :) He's using a batch file to call those utilities :)

The blackstone kernel can't handle as many modules as the native kernel of the ralph (which is where I assume you got that latest 6.5 release).

So what you have to do is "flatten" some of these modules. In other words, you have to turn them back into regular files. You can do that with recmod.exe found in the \tools folder. I would start with all the files in browsing, browsingcore and browsing IE. You coudl also not include "myphone" or "skybxo" and "windows live" which has a crapload of modules. If it boots without including those, then you're good. Just turn them all into files :)

Nice :) Maybe while you're at it you could fix the "font" button as now it gets "cut off" on the side.
[Windows Mobile] bobsbbq:
Thanks, I have already flattened these and took out the SKY crap. The thing is I had this all working in my Bepe platformrebuilder kitchen same version everthing. I just can't get it to work in this kitchen. I want to so bad and will glady donat e if I can get it to work.
[Windows Mobile] bobsbbq:
Holy Crap, I got it to boot. It was the Package.txt in SYS I had used the old one. Man I have wasted a whole day fighting this.

On a positive note it might be worth mentioning this somewhere so others don't waste the time I did. I had already compiled my SYS with my DPI and LANG files, flattened etc so when I made the struture with the stock rom it worked ok. But when I changed to the 21232 I just copied the 21232 folder over which had the old .txt file which I guess caused a error since I took some things out.
[Windows Mobile] ervius:
with version 9.xx and next, never you'll have this kind of error, infact, some changes inside "packages.txt" (like inserting the package descriptions), caused some yousses, but now, are identical for next releases!

bye!
[Windows Mobile] mike1986.:
ervius, can I use Real WM6.5 AKU if I have wm6.5 SYS/XIP 21232?
[Windows Mobile] ervius:
shure!

at 1st post 9.2 version.....
[Windows Mobile] mike1986.:
OK, and what is the difference between checked real wm6.5 aku and unchecked? I have HTC Diamond and I have heard that it's not good to enable it because nk.exe has no support for wm6.5 or something like that :p

ervius - I enabled real WM6.5 AKU and now my Diamond don't want to boot :D What can I do?
[Windows Mobile] NRGZ28:
That's because your Diamond's XIP doesn't contain a "native 6.5" nk.exe (kernel) and it can't handle as many modules as a real 6.5 kernel would. Therefore, you can only check that box on a Touch Pro ROM for now.
[Windows Mobile] ervius:
..... right. ;)
[Windows Mobile] mac_es:
Hi,

I'm using 9.2 and I have added a comment to a an EXT package, SYS package, OEM package and XIP package and they are in the packages.txt

But when I open the kitchen the comments don't show up. What I'm doing incorrectly?
[Windows Mobile] ervius:
yes, I've seen, this is a little bug, if you write a comment, and then you load a rom, all comments will be hided, solved in version 9.3 ;)

obviouslay, every comment is referred to that xip, and sys and ext build, if you change build in xip, or sys or ext (not common and shared, but only for ext\build), the comments, will be gone, you have to insert other differents comments for that build ;)

P.S.: yesterday I dumped the orifinal dopod rom for trinity, and something was wrong in dumping, but I solved, and now you can dump and reconstruct dopod rom for trinity, and with lzx compression, from 62 Mb, original os.nb, it recreated at 49 Mb, 12 Mb more space in rom ;)

bye!

and at 1st post 9.3 version.
[Windows Mobile] mac_es:
Great!

Of course

Yes, I think that my problems come from a bad dumping a long time ago...

I will try LZX compression but I'm afraid of speed. LZX compression is more time consuming than XPR one...

One question more,

do you know what is the diff in xip whith PRB from the old buildos in slot 59 and slot 60? If I try to force some dll up/low and launch initvmap it doesn't boot... I'm trying to get a little more free RAM against heap size.

Thank you very much
[Windows Mobile] ervius:
I don't know, old buildos (xipport) and new ones, are by bepe, maybe he can explain better about slots, or a good read on xip structures..... I only use romhdr.bin editing (by visualkitchen) to have more RAM ;), I fixed an nk.exe on kaiser for an user, and cmonex trick worked successfull, but same on diamond stucks on screen calibration..... :(
[Windows Mobile] c3ro:
just a reminder for oem build option :)
[Windows Mobile] mac_es:
What have you modified in nk.exe? (Is curiosity)
[Windows Mobile] ervius:
some complex to explain.
[Windows Mobile] mac_es:
Could it bo possible to port to trinity?

If I provide you my nk.exe could you modify it? :D
[Windows Mobile] hilaireg:
There's been *a lot* of improvements in the last 5 versions and the kitchen is getting better and better. As more chefs move to the kitchen, you'll have an opportunity to make it even better.

Hang in there, we need you; and in case you haven't heard it enough: I

really

appreciate all your efforts.

Regards,
[Windows Mobile] bobsbbq:
Question, I have several builds, lite, standard, premium etc. Premium is working fine now. My question is can you have folders in EXT & OEM like premium, lite, standard. And the same in OEM?

The reason is my OEM's are different on the Lite version, and I use AutoRun and many different operatorpkg etc.

Thanks,