yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] NRGZ28:
Thanks. You rock! :P But, maybe I'm blind... where's your paypal info ?? :P

p.s. Please implement a "Hide SYS" when you get a chance. It would really be nice not to see the SYS package all the time... We include them all the time anyway, so there's no reason to scroll past them all the time. :)
[Windows Mobile] poool__13:
Thank you, I could dump the rom, but when I click on create rom, it shows me 2 errors. The first, "Found module duplicated on module". The second, Net Framework says "System.OutOfMemory"

Here you can see it:

But when I dump the original diamond rom, and i click on create rom, it work very well. What must I do?

Thanks!
[Windows Mobile] hellonasty:
I have a stranger build!!!

I cook a wm6.1 with packagebuildos 5.4 and with new visual kitchen 6.1 i dump and cook again and work good.

When i cook a wm6.5 with packagebuildos 5.4 work good the nbh into my HD, but when i dump with visual kitchen have problems. Manila is into rom but dont have registry. In today dont show.

stranger!!!!
[Windows Mobile] pkoper:
Excellent

Awesome work Ervius...

It is great to be able to choose different EXT versions.

Could you also include this for OEM? Think it would make a lot of things even easier.

Thank you
[Windows Mobile] utak3r:
well, I'm excluding some of the packages of SYS ;)
[Windows Mobile] ervius:
well....

version 6.2 at 1st post.....

what's new:

added ext\%device%\common\PackageGroup\packagename to insert all packages shared by same device in different builds ;)

Added option (button) to exclude also sys packages from listview, but if you disable some of them into sys, hidding sys\ group, all packages will be enabled!!!!!

seems to be quite perfect now, download it at 1st post!!!

bye!!!
[Windows Mobile] ervius:
"Donate" button into visualkitchen?!!?!?!?
[Windows Mobile] utak3r:
lol... I can't even use all of them :D go catch some sleep, ervius.
[Windows Mobile] NRGZ28:
Okay.. okay.. I see it. Relax :P I thought you put it here on forum somewhere, it would definitely make things easier :)

As promised... 20 Euros from me. Confirmation number: 4D463815AD693174J. :)
[Windows Mobile] mandingo66:
for HTC universal ,could you please tell me DEVICE_ID ,chunk and OS ID?

Can't find right values.

Thanks
[Windows Mobile] NRGZ28:
Hey Ervius.. for some reason the kitchen seems to skip including packages in the EXT\Shared\ folders, although they are listed in the kitchen.. none of the files in them can be seen in the dump in the final product. Any idea why ?!
[Windows Mobile] ervius:
yes, you are true.....:p

maybe is solved into version 6.3 ready at 1st post.....

test it and tell me if works well, but respect the structures in ext\shared:

example:

EXT\SHARED\MY_FIXES\securityoff_package

bye!!!

and thanks to all donators :)
[Windows Mobile] NRGZ28:
I will download and test. Here's a couple more things I found...

update: Yes, it's fixed now :)

If you switch between devices and then try to pick another SYS / EXT / XIP build... everytime you pick a different build number it keeps complaining that the project is not saved yes/no... Kinda annoying :)

When you search for files... you can only delete one file at a time. Let's say it found 5 files. I right click delete on one and it dissapears from the results list. I right click delete on another... it doesnt disssapear, but I think it does delete it.... just no visual confirmation that it did :)

And an old bug that was present even in your old style kitchen... if you click anywhere in the "search results" window, the application crashes. If you click on a file however, everything's fine :)
[Windows Mobile] utak3r:
well, the MOST annoying thing for me is that switching to another build reenables all the packages... and THAT is annoying ;)
[Windows Mobile] uhery:
ervius ... Thank You!!! :) ... my hard disk is happy :) ...you said "maybe in future" but

you run faster

... much better than Usain Bolt!!! :D

@NRGZ28 @utak3r

i saved the rom ... and then i load it when i want ... so i find enabled only my packages ...

and sometimes i've edited the files i.e. "..\tools\romsaved\device_build.erv" so i can made all the options that i like ... but just an idea! :)
[Windows Mobile] qsqa:
ervius - I noticed one thing. When you have a XIP module in EXT package it doesn't show in dump dir and is not included in ROM, pakcages affected with that so far are: BTFtp_1_2_33281_9 and LockStreamDRM_1_1_080625_O9_05 !
[Windows Mobile] utak3r:
yeah, I'm doing this, too - BUT the problem is when you're working with multiply builds... and when you switch to another build it automatically reenables all the packages.
[Windows Mobile] ervius:
yes, I know, but changeing build, it means load a new rom......

I have to find a good solution to keep allways same enables/disabled EXT packages!
[Windows Mobile] ervius:
well.....

new version at 1st post: VERSION 6.5, what new?!!?

now changeing xipbuild, sysbuild, or extbuild, all packages keep enabled/disabled as you like, when change a xip/sys/ext build, some txt files will be saved (..\..\packages.txt), inside all informations about enabled/Disabled packages, so, after rom loading, they will be readed, and corrispective packagers will be enabled/disabled by default. ;)

enjoy!!!!! :)
[Windows Mobile] utak3r:
heh ;)

ok, I'll test it tomorrow. Thanks!
[Windows Mobile] ervius:
and...

tell me if all work well ;)
[Windows Mobile] Krzysiec:
I have a question ... i`m using kitchen 5.3 ... (i`m newbie in cooking) But ... I got working kitchen with manila1 ... After click Create ROM everything is ok ... BUT ... i want to add manila2 ... I changed folder Manila1 to Manila2 (from xboxmod) and after make included (TRUE) and press CRATE ROM ... kitchen after a while is crashing :/ And don`t know why ... Have absolytely no idea ... It worked ONCE ! But i forgot to change one manila file and wanted to create another ROM ... with no luck ... this time kitchen didn`t work. All the time i got message platformbuilder.exe ERROR. I know that this file for sure is not causing a problem because this is Graphic manila file ;) Don`t know what to do ... tried everythung .... Can U help me with this somehow ? Maybe this package of manila is wrong in some way ... I wouldn`t ask U for help ... but all day long i tried everything so i decided to ask ... TIA !

build-log.txt
[Windows Mobile] utak3r:
hmmm... maybe it's overloaded?... it's the first thing that comes to my mind if I see imgfsfromdump crashing.
[Windows Mobile] Krzysiec:
U mean to many modules ? or whatever that means ;)

Polish:

Moze za duzo tam modułów jest ? Tzn tych plikow exe, dll, mui w postaci folderow ? Bo wgralem teraz package RHODIUM od qsqi i cos ruszylo a tam pliki ktore w moim byly folderami sa normalnymi plikami exe, dll , itd ... Ale chciałem ten moj a raczej moj i billyego ... Moze trzeba to w pliki spowrotem przerobic ? ;) Dzieki za pomoc...
[Windows Mobile] utak3r:
it looks ok - although not flashed yet, will do it later. But from checking dump directory it seems all is right - it checked in only those which I checked (I was using EXT\DEVICE\COMMON tree). The modules inside ext packages are built-in, too - so it's ok :)

Switching between builds - perfect :D

The only bug:

inside ext\hermes\common I have several groups - and the app shows them as packages ;) obviously, changing their status does nothing...

hmmmmm.... raczej by się chyba wmreloc wysypał na tym, niż imgfsfromdump...

ale zawsze możesz spróbować, wiele roboty to nie jest.
[Windows Mobile] utak3r:
After flashing - all is ok :D

Question: hiding groups is nice... but how the hell to unhide them back? ;) (apart from editing the erv file)

OK, here comes a bug:

After hiding a group (let's say SYS) it builds all the packages from it, regardless of settings. Unhiding it by editing the erv file shows all the packages are enabled :/
[Windows Mobile] 9600xt:
i have to do a request to ervius for next release, is it possible to generate a build log in txt format in the root folder that contains all build output strings?? the cmq window flow is too fast to understand if there is a problem..... tanks.
[Windows Mobile] utak3r:
I second that - redirecting stdout from platformrebuilder to a file is a must! :cool:
[Windows Mobile] ervius:
if you deflag "use dos prompt", all is logged not on file, but on logger textbox on visualkitchen, try! ;)

but have problem with platformrebuilder, that writes all only at end of process, I told for this inconvenience to bepe, but he didn't answer for a good solution about!

bye!
[Windows Mobile] anryl:
this has been posted by ervius IF u hide something - it will be ALL ENABLED so by hiding XIP - i use all XIP OEM AND SYS the SAME RULE APLIES

modify u bat.file

> log.txt create output file

next >> log.txt appends to the file

u can use after imgfsfromdump ..... and so on

..\TOOLS\IMGFS\ImgfsFromNb OS.nb.payload imgfs.bin > imgfs.txt
..\TOOLS\IMGFS\ImgfsFromDump imgfs.bin imgfs-new.bin >> imgfs.txt

it wont help u much if u get problems there are only 3 possibilities

XIP fake

OS fake

u did not include some DIR's ( forgetting something )

anyway u have to check XIP then SYS then XIP WITH SYS then EXT

BUT WITH too many errors its mostly FAKE builds :cool:

TY!
[Windows Mobile] utak3r:
:( in other words - this hiding option is useless. OK.

cool tip, thanks.

you see - I know that... but there're some more apps run (imgfsfromdump and so on). But it's ok now, I'll edit my bat file :D
[Windows Mobile] ervius:
not useess, usually, after sys fixing, you use allways same packages in sys (not like EXT packages, if you don't like wellcomecenter, delete it, or not???), not disabling some of them, but deleting from sys\ folder.
[Windows Mobile] utak3r:
yeah.... but sometimes you want to build for example lite version and some more filled one :)

but... why is it so? I don't think it's some sort of technical issue, but rather your idea. Anyway, thanks for your work, I can live without this hiding option ;)
[Windows Mobile] ivanmmj:
I have two suggestion, pardon me if they have already been presented.

1. Use a shared OEMXIPKERNEL per device, instead of having to have one per each build.

2. Give two radio buttons: LZX and XPR. I have all the files and scripts needed to add the ability for it.

Just let me know. I'm planning to release a multidevice kitchen based on this kitchen. To give a centralized kitchen for all devices. I already have a script set up to "fix" problem 2, but having it in the GUI would be great.

Problem one is just a bit of an annoyence when attempting to release new xip builds. I would have to release a new "fix" for every device or have to fear getting 1million and 1 PM's daily about why the new build won't work. :p
[Windows Mobile] ervius:
1) using different xip version is important try to think to have same device with 6.1 and 6.5 xip version!!! ;)

2) you have 8 extrabuttons, 2 of them you can use to run 2 different bats to change the unique "kitchen_build_rom.bat" with 2 different bats, one for *LZX* compression, the second for *XPR* compression!!! ;)

for me seems to be a good solution about! :)

bye!
[Windows Mobile] Ameet:
Just 1 more suggestion which may sound a bit off. It will be great great great to have this kitchen to work on old styles (dsm, rgu files) Bepe's kitchen does support the old style cooking (without the app.reg and stuff) So we can just change the directory structure and cook. No need to convert the rgu files to app.reg and remove the dsm files
[Windows Mobile] ervius:
bepe kitchen supports rgus and dsms, but at end of process, delete all rgu files and fix all dsm into one!!! the exe could work leaving all dsm and rgu untouched,but only if "fixed" inside.....

I'm thinking about a llog inside the rom, that have into all informations about all packages into rom, all dsm, rgu, app.reg, app.dat informations about all packages and theyr position into dump folder, ecc..., at dumping, reading the log file, can reconstruct all rom structure like original before building, but for what???, if rebuilding it with bepe kitchen is "impossible", without fix all last s00x of modules into imgfs and xip?!?!?!
[Windows Mobile] ervius:
version 6.6 at 1st post:

delete packages.txt from editor search, and little bug on xipporterex solved (changeing romhdr value now working well ;) )

bye!
[Windows Mobile] ivanmmj:
1. For Heralds, you use the same XIP. I didn't realize that some devices required a different XIP, unless you're modifying the XIP files themselves during the cooking process? I'm confused. lol I suppose I could easily fix this with a little batch file that asks the user what the new build is and then have it automatically create the new folder and copy the files over from the old build folder.

2. I already have it doing that but it's a batch file that launches BEFORE your kitchen. I didn't even think of making it into 2 of the extra buttons. I just have to remember to make it well know to people to click on the extra buttons, first.

^_^

I think that may solve my issues, then. :p
[Windows Mobile] ervius:
you can also use an "if... then...else" procedure into bat: (kitchen_build_rom.bat)

set xpr=xpr

if %device%="diamond" set xpr=somethingelse

if %device%="hermes" set xpr=somethingelse

ecc.....

for all devices that not support xpr compression, where %xpr% is a line that execute a command different of building xpr compression file ;)

you solved your iusse :)

bye!
[Windows Mobile] ivanmmj:
I thought all devices did as long as you added the cecompr.dll that supports it.

How do I edit those buttons? (I don't see anything in your first post.)
[Windows Mobile] ivanmmj:
I found the "walkthrough" for it. ^_^

Can I pass new variables through these buttons and have them remember as the kitchen does its thing? (My batch files set up variable %process% to control whether the scripts hex edit imgfs or not during the cooking process.
[Windows Mobile] ivanmmj:
OK, I just tried it and it is NOT keeping the variable so I can't use the buttons. The hex editing is done during the cooking process after the imgfs.bin is extracted.

I could always modify the payload itself but if I do that, then the kitchen is set to that compression forever unless the use chooses the other encryption. Although I suppose that isn't that horrible, either... I just have to create a new hex editing script for the XPR batch. And I have to expand the script quite a bit.
[Windows Mobile] ivanmmj:
Modifying the payload itself comes with issues. If you choose the same compression again, it overwrites the wrong address due to lack of error reporting in the hex editor script... darn it. So back to my original problem: I need the variables set in the extra buttons to stay variables during the whole kitchen process.

Also, is there any way to change the default ROMver? Perhaps reading it from a simple file in the SYS build folder? That way, it would always match the SYS packages as I release them.
[Windows Mobile] ervius:
pass me in pm all tricks about different compressions, I'll see what to do about ;)

bye!
[Windows Mobile] ervius:
at first post also:

VERSION *** 6.7 *** enabled also for smartphone ROMS Dumping

try it!!!!!

bye!!!
[Windows Mobile] NRGZ28:
Thanks ervius for making it compatible for dumping smartphone roms :) However when trying to build one, platformrebuilder.exe crashes and then implantxip complains there's no XIP section found. Looking in the xip folders in \tools, it doesnt seem to be "creating" the XIP at all. Any ideas ? :)

p.s. When it dumps the SYS folders it doesn't seem to be aware of the language differences... example in the DPI_131 folder\0409 you'll have both Base_Lang_0409_DPI_131 and Base_Lang_040C_DPI_131 folders :) It doesn't seem to create a separate 040C folder. I don't care much, since I only make WWE ROMs, but you might care about that :)
[Windows Mobile] c3ro:
hello,

next to "EXT build", it would also be a nice feature to have a "OEM build". that option makes OEM-drivertesting easier. just an idea : )
[Windows Mobile] ivanmmj:
Sent. ^_^ You should now have everything needed for adding LZX to your kitchen and also the updated cecompr_nt.dll to kill the LZX cooking bug.
[Windows Mobile] ervius:
yes... maybe... in future...

for now:

version 6.8 if you disable some packages into sys\ and then hide sys group, visualkitchen remember enabled/disabled packages into hided sys\, and at building, only enabled sys\ packages will be processed ;)

for download 6.8 version ever at 1st post!!!

enjoy!!!!!
[Windows Mobile] utak3r:
thank you :D
[Windows Mobile] 9600xt:
if i want to upgrade my original rom os and sys build to newer ones, what i have to do??

i dumped latest official diamond (that is my device) rom, so i dumped latest official blackstone rom (because this rom has newer os and xip build), so i ONLY cutted sys\20769 folder from blackstone kitchen and pasted it in the sys\ folder of diamond kitchen near the 20764 original one, and the same thing for the rom\blackstone\20769 and rom\shared\20769 folders, but i DO NOT replaced info.txt, os.nb.payload, romhdr.bin, xip.bin files that are in the rom\diamond folder with the new ones from the blackstone's same folder. it was right or i'm on the wrong way???

tanks!!!
[Windows Mobile] ervius:
VERSION *** 6.9 *** enabled also for smartphone ROMS Dumping

try it!!!!!

ADDED * LZX * COMPRESSION Option ;)

at 1st post!
[Windows Mobile] ervius:
little trick:

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

POLARIS, cmonex lesson.....

Change MainMemoryEndAddress in nk.exe for more RAM. This can be done by searching for 38459FE530559FE5A13EA0E38224A0E3 with hex editor in S000 of nk.exe and changing 82 to 83 so it looks like this: 38459FE530559FE5A13EA0E38324A0E3.

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

well, seems that for Diamond, is:

8524A0E3032582E3 to find into it (s000 of nk.exe) and replace with:

8624A0E3032582E3, but, I never tryed, try at own risk, and if works, tell me about ;)

bye!!!
[Windows Mobile] 9600xt:
help please... there is anyone??? i tryed but in this way it does'n work!! so i'm tryng also to replace the ported from blackstone ROM\"device"\20769\OEMXipKernel\nk.exe folder with the diamond's original one...... i will see it now works...

in my diamond i can't find this two strings in the original s000 of nk.exe...
[Windows Mobile] utak3r:
From the ported rom you have to take SYS and MSXIPKernel part of XIP, while from your device take: OEMXIPKernel part of XIP, os.nb.payload and romhdr.bin - and also OEMDrivers and other OEM packages.

In other words, just replace SYS and MSXIPKernel from the new device, the rest is from your old one.

That's a short porting tutorial ;) hehe...

and that's another two cool things :D
[Windows Mobile] ervius:
strange, in 2.03 nk.exe build in s000 there is this value!!!

P.S.: isn't a string, is an hex value!
[Windows Mobile] 9600xt:
ok... i changed hex editor and now i find it... it's very strange..... i will try...
[Windows Mobile] 9600xt:
does NOT work!!!! the device freezes in the screen calibration setup.......
[Windows Mobile] 9600xt:
this is only short but also good, or it's short and bad?? there are better ways to do a porting that can give better results??
[Windows Mobile] ivanmmj:
That's the best way.

Like he said, replace SYS and MSXIPKernel from the new device, the rest is from your old one. If you're using this kitchen that's all that matters. If you're using another kitchen, then your .VM has to be from your old device, too.
[Windows Mobile] ervius:
strange, I compared 2 nk.exe from other device patched and mine, seems to be the right way....

maybe is not compatible with our device.:(

I'll try soon on my diamond!
[Windows Mobile] utak3r:
and on some kitchens - also .ROM (on those which don't use buildxip).
[Windows Mobile] mac_es:
I have a problem with skipped packages in SYS

I have no skipped packages. If I run the kitchen_build_rom.bat it builds all succesfully.

If I load it whith visualkitchen it loads correctly and I see all packages enabled but in SYS folder I get in all packages '_skip' file.

I'm trying it whith 6.9, also I have looked into packages.txt in sys folder and everything is =True.

Any ideas? thanks
[Windows Mobile] utak3r:
Don't pay an attention on the _skip files - they're prepared at runtime, on-the-fly... what do you get in temp\dump?
[Windows Mobile] ervius:
waw!!!!! :)

I tested LZX Compression on my diamond, nbh files, from 110 Mb (XPR Compression), became 95 Mb (LZX Compression), 15 Mb more free, good..... good..... ;)
[Windows Mobile] Laurentius26:
kitchen_build_rom.bat

Ervius,

C:\ErviusBepe2\Tools\kitchen_build_rom.bat

Is that a correct path?

When I start 'C:\ErviusBepe2\erviuskitchen.exe' it seems like it creates the rom fine.

It creates:

C:\ErviusBepe2\temp\

dump

xip

OS-new.nb

romhdr.bin

xip.bin

But at the end I still have the error it fail to start 'kitchen_build_rom.bat'

Do you have a explanation why?

Thank you,

Leo
[Windows Mobile] ervius:
try attacked version, and report.....
[Windows Mobile] ervius:
I made also another utils, only have to drag into an .nb or a .payload file.....

in a while you'll have the rom dumped and structured for mmy visualkitchen.....

try it,.

it can dumps all os.nb and all payloads, and reconstruct:

oem\

sys\

rom\

ext\

folders, structured into:

ext\packages\

oem\common

oem\lang

sys\common

sys\lang

rom\xip\xip packages

ecc.....

try and report for bugs!!!
[Windows Mobile] Laurentius26:
Language dir's

Ok, I've managed to cook my first Dutch language rom using Bepe's kitchen and Ervius Visual kitchen tools. :):D

I now have a multilang kitchen WWE/Dutch.

Some directory's are different in both rom's here's an example:

0409

Directory("\Windows\Start Menu\

Programs

\Utilities"):-File("Advanced Task Manager.lnk","\Windows\Advanced Task Manager.lnk")

0413

Directory("\Windows\Start Menu\

Programmabestanden

\Utilities"):-File("Advanced Task Manager.lnk","\Windows\Advanced Task Manager.lnk")

My question is:

How can I convert app.dat to a provxml which correct these path's so I can use like this:

C:\ErviusBepe2\EXT\AppsL26\L26_Utilities_Schaps_Advanced_Task_Manager_v0_7\0409\mxipupdate_PACKAGE_BlackStone_Advanced_Task_Manager_0409.provxml

C:\ErviusBepe2\EXT\AppsL26\L26_Utilities_Schaps_Advanced_Task_Manager_v0_7\0413\mxipupdate_PACKAGE_BlackStone_Advanced_Task_Manager_0413.provxml

Or does there exist a tool to convert initflashfiles.txt to provxml?

Thank you,

Leo :)
[Windows Mobile] ervius:
ehmm...in this case, what's the difference!!?!??!

if app.dat writes on initflashfiles.dat, while provxml writes on registry to have same shortcuts on programs\ or programmi\ ecc....????
[Windows Mobile] Laurentius26:
Hehe.. found a solution already.

I create two dirs 0409 and 0413 with both a app.dat ;)

Thanks,

Leo :):D
[Windows Mobile] mjaxa:
There's of course a wishful thought... having a kitchen, that would:

dump all files where neccesary from nbh or nb files

AND/OR

Dump the raw files from the phone... with a script... just press button and go.. just thinking aloud... :rolleyes:
[Windows Mobile] ervius:
I'm working on, (not for raw by device....), but need some more.... time....

bye!
[Windows Mobile] mjaxa:
Yep, get it. I just learned how to dump ROMS, and I can see how that can be difficult.

Tutto in sieme - Grazie Mille Amico!
[Windows Mobile] makeveral:
very nice!! but i got a problem when i click on create ROM i always get this error after some time:

Partition 2: start sector: 0x00000f40, total: 0x00007c80

first used: 0x00000f40, used: 0x00007c49

Checking OS-new.nb for bad NAND block marker

Checked 0x8bc0 sectors successfully!

Done.

Error

Error Executing: kitchen_build_rom.bat

i guess its not enough info but i dont know where the error comes from. can you help?