yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] mst46:
Hi Ervius,

great tool but whenever I try I get the following error with building the XIP/ROM:

Moving \xip folder into \dump\ROM folder!

Unhandled exception: System.IO.FileNotFoundException: The file OS.MB.payload.payload could not be found.

Filename: OS.NB.payload.payload

on System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

on System.IO.File.InternalCopy(String sourceFileName, String desFileName, Boolean overwrite)

on Nb_Dumper.Module1.dumpapayload(String s, Int32 x)

on Nb_Dumper.Module1.dumpa(String s)

on Nb_Dumper.Module1.Main(String [] args)

Cheers,

/mst

Edit: just found out that this problem is for using os.nb.payload only - using OS.nb works without any problems
[Windows Mobile] ervius:
yes, I know, I'm preparing the visualkitchen with all inside....
[Windows Mobile] Driskol:
Hi mate!

Your new dumper is working like a charm, everything is working right now :)

Used with NBHTool v1.1 from dutty to dump the NB: http://xdaforums.com/showthread.php?t=296311

The only strange thing ive found is, why the tool doesn't allow me to remove the X!, X2, etc.. packages from oem?

Security about dont remove important packages from oem for newbies?

Im coocking a new rom now, ill be back with feedback ^^

Thanks!

EDIT: Cooked sucessfully and flashed, working well :) Without errors, waiting your newer version!

bye!
[Windows Mobile] ervius:
well.....

I'm preparing new ITA/WWR/GER Visualkitchen, now:

you can use all power of xipporterex inside the visualkitchen, and you can dumpo all:

nbh/nb/payload you want, and after dumping, upi'll have all rom structures to insert into visualkitchen to build new rom, solved some bugs, and now all other langs packages into \ext\ folders, will be disabled, example, you want koock an ITA rom, all folders 0409, 0407 all 0XXX inside a packages will be renamed into _only_0409;_only_0407;_only_0XXX, so platformrebuilder.exe by bepe recognizes them like a skipped packages, so only 0410 package-part will be inserted into rom together the "common" ext package! ;)

using of a my internal exe algo to build oem\ and sys\ and ext\ packages reading relative dsms.....

I'm preparing last things, the I'll up it on.....

wait.....
[Windows Mobile] mjaxa:
great news! Can't wait, as then I will recook/localize my favourite ROM!
[Windows Mobile] ervius:
yes, now have some problems with patformrebuilder.exe called by my visualkitchen, it crashes ever......

I'm investigating about.... some few days and I'll post the new kitchen.
[Windows Mobile] ervius:
I'm upping new kitchen right now, if all goes well, in an hour you'll have it....

only a preyer:

check if, excluding a package, or a language, check then, into \temp\dump\ folder if really all (some of them, obviously), are really skipped ;), I made some debugging on, but many eyes are better that only two :)

see you.....

p.s.: changed the skipping methos, now all is stored into "_only_premium" file attcked to the packages (inside, if opened with notepat, there is "true" (include package!) or "false (exclude package!), packages and langs parts of them are excluded by the black file "_skip" attacked to the package or the 04xx (08xx or 0cxx: lang part of package!)).

see later.....
[Windows Mobile] Ameet:
Hey brother. Suddenly I have a strange problem. The nb_dumper stopped working suddenly. I already have the VC 2008 installed with .net framework 3.5 installed on my pc. waiting for your updated kitchen tools :)
[Windows Mobile] ervius:
[BETA 3] of visualkitchen (ITA_WWE_GER based on 2.03 diamond rom!) Is reay to download at 1st post, with all included, also nbh/nb/payload dumper!!!

bye!!!
[Windows Mobile] anryl:
Nice job again m8

nbh dumper not working on old roms that have not packages but all in oem :cool:
[Windows Mobile] hellonasty:
yes i confirm!!! in HD rom with 138mb with LZX have 120mb... Good work!!!!
[Windows Mobile] mac_es:
Yeah, you are right. There was a blocked file so it didn't get copied to dump. Now it is working well.

I'm migrating from an old kitchen to this new one and I have 2 questions:

1) PlatformRebuilder hoow determine which package is the "latest" one if they share a file/registry.

I mean, suppose I have an OEM package whith a file "copy1" and this file is also in the SYS and in an EXT package. I see that the latest one is the EXT tree so this remains in dump. But in SYS/OEM they are all together, no? it looks for the guid?

This question also applies to the registry.

2) I'm cooking for trinity, where is the option to change the romdate and romversion of nk.exe? I have tried whith xipportex but it doesn't find correctly nor the date nor the version.

Thank you
[Windows Mobile] ervius:
seems it hasn't a list, but:

oem and sys are precessed toghether, while ext are last to be processed, and maybe are processed in order of position into bat file!
[Windows Mobile] somesex:
Hi Expert,

I tried the latest version 6.9 as well as 5.3 on the latest HD WWE rom, the dump keep on and on and it failed to recognize the XIP version ...

The official HD ROM is found here:

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

Anyone has any idea ?
[Windows Mobile] utak3r:
same for me on hermes.
[Windows Mobile] hellonasty:
Here this rom have some problem. Dump but dont cook!!!
[Windows Mobile] somesex:
Both the CHT and WWE ROM have the same problem. However, update these ROM onto HD seems ok, and the overall performance seems great.

But I want to cook my ROM based on this version, any idea how to fix the dump problem ?

Please help.
[Windows Mobile] uhery:
:( same for me!

... my "workaround" ... but just a trick :) :

version rom: i put the cursor in the end or in the start of the space and i MUST use eight charachters

date version: for now ... i can only hexedit the ruu_signed.nbh file ... :(

hope can help!
[Windows Mobile] utak3r:
well, I'm hexediting my nk.exe, too :)
[Windows Mobile] utak3r:
hmm... could someone point me - is it a problem with XIP or SYS?...

I've done just few minor changes (to both) and it goes like this:

Building for old kernel!
Build: Premium
Locale: 0409

Preparing release structure...
... done!

Collecting standard packages and initializing hives...
XIP: 2 packages

and then it crashes... both temp\dump and temp\xip folders are empty at this stage.
[Windows Mobile] Röchelhilpert:
Hi Ervius,

nice too see a new feature. But i don´t understand this.

Is the Compression only relevant to to size of the nbh file, or has this some "issues" to the ROM after flash ?
[Windows Mobile] utak3r:
no, it's the size of the file system itself (the ROM) - mobile devices has filesystems compressed, go figure ;)

AND - on devices on which the storage share the same space as the imgfs - it gives you more free storage :D
[Windows Mobile] ervius:
1)

maybe you don't like to read all posts, I Remember you to put nbh files in a folder without spaces (bepe's Dumpxip.exe doesn't like folder like:"c:\...\documents and settings\... (with spaces inside))

No problem to dump the poster ROM by you!

2)

version 7.0 at 1st post, solved problem on ROM Version/date -retriev/update- on xipporterex ;)

bye!
[Windows Mobile] utak3r:
oh man....

I was doing some modifications and I've left one empty directory inside a package... and it was trying to find a non-existent module, heh... two days wasted.
[Windows Mobile] AnDim:
I see, that you use the new version of cecomr_nt.dll only for a LZX compression type? You can use it for both (LZX and XPR) types.

And please, do not forget to add my copyright in your thread.

AnDim
[Windows Mobile] ivanmmj:
Edit: Nevermind...
[Windows Mobile] utak3r:
ervius: what is the rule of the new lzx option in the kitchen? I mean - if I will want to have my own cecompr in the XIP, what should I have to do?

and - is it always setting in the imgfs XPR|LZX string, or only on checking LZX?

I'm asking, 'cause I prefer manual setting of such things, I've edited my os.nb.payload and have my own version of cecompr.dll - so I wonder I should just not checking lzx option, or what?
[Windows Mobile] mac_es:
Thanks, it is working perfectly!
[Windows Mobile] ivanmmj:
I would be careful... if he set it up the way we had talked about, it replaces the first XPR in the imgfs with LZX, which would be a different memory address in your os.nb.payload file.
[Windows Mobile] ervius:
I want use original cecomr_nt for normal compression, and if LZX is flagged, use the ones stored into \Tools\IMGFS\

and shure, I insert greet in 1st post ;)
[Windows Mobile] Röchelhilpert:
can somebody explain me how to use ?

I think dump a rom ..... edit some Pack´s. Then set LZH Compression and creat a ROM .... an after this my ruu_signed.nbh is compressed and i can flash ?
[Windows Mobile] ervius:
yes, nbh is smaller, but can flash it....

obviously, with hardspl, if it stucks in boot, you can rebuild a normal rom and reflash it instead;)
[Windows Mobile] Ameet:
This is for what? Pagepool hack?

No. No. What i meant was if you could make your kitchen support the old style of packages with dsm & rgu files (let the kitchen delete all the dsm & rgu files, I dont want those either :D) But it is very difficult to restructure all the folders to the new style with converting the rgu files as reg :( You convertor tool doesnt correctly convert the whole kitchen folders (OEM, ROM/XIP, SYS) :( So I was thinking of having your kitchen cook with the old style and new folder structure :)
[Windows Mobile] ervius:
the 1st is to have more memory free, but seems that on diamond stucks on screen calibration....

2nd:

this mean to reconstruct all my project, hardest to do.....
[Windows Mobile] Ameet:
Oh!! :( :( :( :( :(

No problem. But can I request you to check and correct your folder convert tool?
[Windows Mobile] ervius:
shure, but explain better what about....

bye!
[Windows Mobile] mac_es:
Or explain how to fix it

I have nearly my kitchen migrated, I'm having issues whith EXT folder. I have created them whith 'EXT_Packages_rebuilder.exe', apparently it creates perfectly the package though they are not included by platformrebuilder but they are seen by visualkitchen.

My Ext looks like

EXT
|-TRINITY
|-COMMON
|-PACKAGE_NAME
|- app.reg
|- app.dat
|- files
|- files to be included

PlatformRebuilder shows that processes the packages (it identifies them as 'files') also they are stored in .erv file as 'files' so I suspect that there is something wrong...

Thanks
[Windows Mobile] mcfisch:
Everytime i try to dump a Xperia-ROM the kitchen is hanging up. It dumps the imgfs, and then i can't see the log, the window is freezing?

In dump-folder there are folders for all the dll's and nearly empty OEM & SYS (.ROM, .VM inside exists). :confused:

Edit:

The error occours with different versions of the kitchen and different X1-ROMs. I've tested it separately with a Blackstone-ROM - that seems to worked correctly...
[Windows Mobile] utak3r:
Just for clarifying something to other users...

1. It's not the ruu_signed.nbh file is compressed - it's the filesystem on your device will be compressed.

2. It ALWAYS was compressed... you just can choose the compression algorithm now: between a standard one (XPR) and a new one (LZX).
[Windows Mobile] utak3r:
at what stage it crashes? I mean, what was the last platformrebuilder message?
[Windows Mobile] somesex:
Sorry but I failed to upload attachment here so I have to put it in rapidshare.

http://rapidshare.com/files/227527334/platformbuilder.zip

Here is the log I captured and the screen dump when processing the 1.57 CHT & WWE ROM.

Thanks for your help.
[Windows Mobile] ervius:
the log posted is referred to the dump process, and all worked fine, all done correctly, maybe you have troubles into building.....
[Windows Mobile] 9600xt:
any news on nk.exe's S000 hex modding??? i tryed on several rom's build, i can't make it working on my device!! there is anyone that tryed???
[Windows Mobile] NRGZ28:
Hey erv... little bug for you to fix, if you want to. Say I click "All" and search for "live" in the "String to search into files:". I get a list of 2 or 3 files in the box on the right. Now I right click one of the files and choose delete. The file is gone. Now, if I hit "Search" again to search for the word "live" again, it crashes and complains that it can't find the file I just deleted :) Just an FYI...
[Windows Mobile] spocky12:
A little suggestion : as you visual tool knows the rom resolution, a good thing for wm6.5 would be to automatically exclude cpr files for other resolutions (Titanium_*.cpr, SlidingPanel_*.cpr, LS_AlarmScene_*.cpr...).
[Windows Mobile] anryl:
what would you do then ? you are CHEEF u are porting ? :D useless
[Windows Mobile] anryl:
succesfuly hacked KAISER but on WM6.5 unstable for some apps have to test on 6.1 but no time or second device :D
[Windows Mobile] spocky12:
Anryl, I follow what you do for some time now, and I respect your work and what you're doing for the community, so please in return, don't doubt my porting skills. It's not because something seems useless to you that it's useless to everybody else.

Most of those cpr files are in the Shared folder. I personnally don't want to modify the sys folder (or the least I can) so that I have an "original" (yes, I know...) one in my kitchen, just overriding files thanks to ext folder and removing packages thanks to disabling package functionnality of the kitchen.

So as I make roms for different phones I need all resolution versions in shared folder but if useless files can simply be ignored by the kitchen when compiling for, let's say qvga, that would be better. It would have been easier if those packages have been in DPI_x_RESH_y_RESV_z folder, but that's not the case. Of course I can move thoses files myself into different %device% subfolder or DPI_x_RESH_y_RESV_z, but I would have to do it for every new build and that's exactly the point of ervius software to automatize everything that can be done.

And I may add that making a regular expression to recognize NAME_NUMBERxNUMBER.cpr to check if files match or not requires something like 10 mins of work, so if ervius wants to add this functionnality, that would be great.
[Windows Mobile] ervius:
at 1st post: 7.1 version, solved iusse in editor searchs, thanks! ;)

to: spocky12

sorry, but yu have to play with %device%, common and shared folders in EXT, to have some or all files into the rom, I can disable packages, not only files inside them.....

maybe you can edit the bat (kitchen_build_rom.bat, adding:

ext\%RES%\*\*:

EXT_PATTERNS=EXT\SHARED\*\*;EXT\%DEVICE%\%EXTBUILD%\*\*;EXT\%DEVICE%\COMMON\*\*;ext\%RES%\*\*

and then in EXT\ folder add some subfolders called: dpi_192_resh_480_resv_640 and dpi_192_resh_480_resv_800, and dpi_192_resh_240_resv_320 and at end, inserting into it, the subfolder_group\packagename for all resolutions and inside the files you need for each resolution.....

my visualkitchen cannot see them, but you know, they are there and used only with resolution you selected ;)

bye!!!
[Windows Mobile] spocky12:
Yes, I'll try this. Thanks for your answer.
[Windows Mobile] ICEFACE000:
Could someone please upload a mirror of the 7.1 version?

thx
[Windows Mobile] NRGZ28:
Hi ervius.....

Any plans to make the kitchen be able to actually build smartphone ROMs and not just dump them ? As of right now, it starts building, but at the end it complains that there was no xip.bin found :) I assume it doesn't build the xip properly, because the smartphone xip layout is different ? :)

here's what I used to dump and recook if you wanna give it a shot...

http://www.mediafire.com/download.php?yygkw1d5xmc
[Windows Mobile] ervius:
the link posted is only a rom with flash utility, not a kind of kitchen for smartphone.
[Windows Mobile] NRGZ28:
Well... right. You can download it, get the .nbh.. dump it with your kitchen and then try to recook :) THen you'll see what I'm talking about. There are no good kitchens for smartphones, which I why I would love to be able to cook smartphone roms with YOUR kitchen :) More coffe money from me for sure, if you can make that happen :)
[Windows Mobile] utak3r:
pretty strange... I didn't try ervius' one, but I'm using normal tools for smartphones... one thing is: buildxip DOESN'T work for some (old) devices, keep it in mind... for such devices you have to port xip using xipport, that's all. And probably that's a place where this kitchen doesn't make it - buildxip.
[Windows Mobile] NRGZ28:
I know.. but even I have a working XIP.. ROMHDR.bin and a good payload... the kitchen still wont insert the XIP in the .nb at the end. It complains it cant find it, which I believe it's just not compiling it during the building process :)
[Windows Mobile] utak3r:
that's what I'm saying ;)

platformrebuilder tries to build xip EVERY time you run it (which I really don't like... is there some option for turning it off?) - and it CAN'T build it using its own tools.
[Windows Mobile] NRGZ28:
Oh okay... I misunderstood you then :) You're right! :)

I wish we could turn that off, but I'm not sure if erv can pull that off since platformrebuilder isn't his creation. Heh
[Windows Mobile] ervius:
at 1st post version 7.5 this version can dump and reconstruct ROM for smartphones, I've tryed with an Excalibur ROM, and dumping and rebuilding, and all seems to be fine, but I cannot try on a smartphone device, if someone has a smartphone, can try and tell me if works well .

bye!!!

and remember, you try even at youe own risk....

see U!!!
[Windows Mobile] ervius:
at 1st post version 7.6 some other little bug on smartphone compression payload solved.
[Windows Mobile] utak3r:
well, it doesn't support nbf and nba files at all :/ that means all the older devices are out of this kitchen.
[Windows Mobile] 12aon:
If the kitchen works would it also be possible to port WM6.5 over smartphone devices? 12
[Windows Mobile] ervius:
I don't know, I repeat, try yourself, I cannot try on a smartphone device.
[Windows Mobile] ervius:
I think, if you modify some the kitchen_build_rom.bat to use "payload", and rename it into "80040000-OS.nb", for wizard for example, and use then on kitchen_build_rom.bat other "wizard" tools, it can work and build also nbf files, only have to check if "bepe" paltformrebuilder.exe works also with this kind of rom: if you can use old builsod, or my buildos, you can modify the new bat file and use also it to build nba or nbf, only problem, I repeat, is check if platformrebuilder can works with them.

I tryed to build some nbh for smartphones, and works well: nbh is rebuilded successfull...., is some other else devices have different utility to build nbf or nba ecc, only have to add them, modifying the kitchen_build_rom.bat and all (or quite) will be possible.

P.S.: if someone yet adapted the kitchen for "wizard", or someelse, please post the kitchen with \tools folder.
[Windows Mobile] mahjsa:
A701

Hi Ervius sorry to barge in but can your kitchen be used also for nonHTC devices? I am building my own A701 WM6.x roms, and I was wondering if I can use your kitchen to transplant say a 21510 WWE (HTC) ROM to 21510 NLD A701 ROM.

I have been working hard on the necessary (extra) translations of various mui files and in this way have made a working NLD21500 A701 ROM. Now I want more. So, can you help me out?

BTW in my current kitchen I get the usual CEimage.bin files that are flashable to the a701
[Windows Mobile] ervius:
nope, you have to flash it on device, and if works, confirm (always with an hard spl installed on.)
[Windows Mobile] mahjsa:
Error

Just now I was finishing a dump from the latest Raphael 21215 ROM and was left with this message in the end.

Done!!! ''dumpxip.exe'' executed successfull!!!

Create Xip\ Structure..

Wait... Zz... ZzZ...

boot.rgu in xip not found! Create new...

unknown error!!!

=====================================

Error dumping nbh/nb/payload File!
[Windows Mobile] mahjsa:
Sorry but I don't quite understand what you mean by flash it on device? You mean a hard reset?
[Windows Mobile] ervius:
this is a yet koocked rom with paltformrebuilder, not good to be rebuilded
[Windows Mobile] mahjsa:
That's why I see maps like DPI_000 and stuff. Can I manually change them to the right values?

How to find out what files/modules go where if I wanted to start using this kitchen (probably with some modifications) for the A701?
[Windows Mobile] ervius:
write in mp ;)
[Windows Mobile] utak3r:
OK, I'll reedit the batch file for using Tornado :) (btw, it's almost identical with Wizard about the kitchen).
[Windows Mobile] RideTheTube:
Hi ervius,

since kitchen 7.5 / 7.6 i get an error message after dumping a rom or trying your rom tools like payload reducer, cert patcher.. The Error comes from the ImgfsFromDump.exe and this exe can not find MSVCR71.dll.

Have a nice day bye
[Windows Mobile] ICEFACE000:
ervius, could you please post a mirror link beside sendspace. i can't download from there!

or anybody else please.

thx
[Windows Mobile] utak3r:
How about adding more support to nbhutil? Something like this:

set OSIDVALUE=0x400
set MAINSPLASHVALUE=0x600
set SUBSPLASHVALUE=0x601
set MAINSPLASH=MainSplash.nb
set SUBSPLASH=SubSplash.nb

and then:

..\tools\nbhutil -model %deviceid% -ver %versionid% -lang %langid% -chunk %chunksize% -nogui -e -i %osidvalue% ..\temp\os-new.nb -i %MAINSPLASHVALUE% %MAINSPLASH% -i %SUBSPLASHVALUE% %SUBSPLASH% -b ruu_signed.nbh

:cool:

That would require 4 new controls: 2 filenames and 2 addresses.
[Windows Mobile] Krzysiec:
I just want to ask ... i`m currently using kithcen 5.3 for my Diamond ... and want to move to 7.6 ... Is it enaough to just replace tools and erviuskitche.exe ? Or have to make any update in folders EXE SYS ROM etc...
[Windows Mobile] coolsac32:
does anyone have another link to the kitchen because i cant download it from the link posted :(
[Windows Mobile] utak3r:
there were changes in EXT\ folder... just read about it in the first post.
[Windows Mobile] Krzysiec:
And that`s the main problem ;) There is nothing about any changes in first post :/ Thats why i`m asking ... Or maybe i`m blind ... But i don`t see there anything about changes in folders ...
[Windows Mobile] utak3r:
OK, another way.... you know, what's the best way to know the proper layout? Take a look into the TOOLS\kitchen_build_rom.bat file:

set XIP_PATTERNS=ROM\%DEVICE%\%xipbuild%\*;ROM\SHARED\%xipbuild%\*

set OEM_PATTERNS=OEM\%device%\COMMON\*;OEM\%device%\%locale%\*

set SYS_PATTERNS=SYS\%sysbuild%\SHARED\COMMON\*;SYS\%sysbuild%\SHARED\%LOCALE%\*;SYS\%sysbuild%\%dpi%\COMMON\*;SYS\%sysbuild%\%dpi%\%LOCALE%\*;SYS\%sysbuild%\%res%\COMMON\*;SYS\%sysbuild%\%res%\%LOCALE%\*

set EXT_PATTERNS=EXT\%DEVICE%\%EXTBUILD%\*\*;EXT\%DEVICE%\COMMON\*\*;EXT\SHARED\*\*

and here you have a whole proper layout :)
[Windows Mobile] Krzysiec:
Still don`t know hwat shall i add or change in EXT folder ... and what shall i put and where in those changed folder in EXT. ervius would be great if U could add info about changes in folders tree to use Your new kitchen ;) TIA !
[Windows Mobile] 12aon:
If you want an example just use the dump function and a shipped base rom in the kitchen and you'll get the correct layout of the folders, 12
[Windows Mobile] Krzysiec:
Thanks for tip ;) I`ll try it :)
[Windows Mobile] djbeames:
Ok, I am a bit confused in the new EXT folder setup.

I have this as a layout:

</EXT/%DEVICE%/COMMON/%TYPE%/%PACKAGE%>

Meaning:

%TYPE% = type of package it is: Utilites, GPS, Tweaks, Skins, etc.

%Package% = the actual package

Example:

</EXT/Herman/COMMON/1Tweaks/1Herman>

Inside the <1Herman> folder is <app.reg> and <files> etc.

My problem is when I load ErviusKitchen, it will show the First group of "SHARED-Devices: COMMON" and list all the %TYPE% folders. These Folders aren't pacakges, they are just organizational folders. Further down the window will be the "SHARED-Devices: %TYPE%" container with the packages of that folder listed. This is what I want. However I do not want the first "SHARED-Devices: COMMON" listed. How do I get rid of that? Or, am I not grasping the concept of the folders?
[Windows Mobile] utak3r:
well, it's ok - it's showing them this way, although everything works ok :) Just don't pay attention to those pseudo-packages ;) Maybe ervius will fix it later, I was talking about this little bug earlier, too.