yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] utak3r:
dsm files are out from the image - thus you cannot package it back.
[Windows Mobile] johnpatcher:
So, the kitchen is quite useless for me, as I want to provide an "open-source" rom, which can be re-cooked again :(.

Is there anything I can do about it, or is this simply not possible due to the structure?
[Windows Mobile] utak3r:
just release it in a kitchen form, and not as a final rom.
[Windows Mobile] workingman:
Okay!!!! Nice
[Windows Mobile] ervius:
my new implantxip.exe works perfectly on your payload, so no problems were by using it! ;)

bye!
[Windows Mobile] ervius:
version 8.0 at 1st post, some little improvements on dumpxip and implantxip

bye!
[Windows Mobile] hilaireg:
If vendors could release fixes this quick ... we'd all be in heaven.

;)
[Windows Mobile] anryl:
yep its working perfect :D thnx

edit: probably did not catch up with it

rem ..\TOOLS\implantxip xip.bin OS.nb.payload

..\TOOLS\implantxip -xip xip.bin -payload OS.nb.payload
[Windows Mobile] ervius:
yes, mine is quite different from bepe's one! ;)
[Windows Mobile] johnpatcher:
That would force the customer to use this kitchen as well, which is not my intention at all :(.
[Windows Mobile] ervius:
use only platformrebuilder kitchen by bepe.
[Windows Mobile] daryelv:
Is there a way to ignore certain directories/files? I'd like to check in/out to a SVN Repository for version control, but it places a .svn or _svn folder in each subfolder which causes problems.

Thanks,

Daryel
[Windows Mobile] ervius:
I've seen in other forum, what you want to do, can you explain me better (maybe in pm) how it works, so maybe I can modify kitchen for that use, if possible, all subfolder into packages are seen by platformrebuilder like "modules", so we have to find a trick agains this ;)

bye!
[Windows Mobile] utak3r:
wow, fantastic idea :eek: why I didn't thought of that.... and guess I'm using svn every day.... :rolleyes:
[Windows Mobile] ervius:
yes, I've an idea......

put svn subfolder in all packages folder....

visualkitchen see if is "skipped" or "inserted" package, so if exist "_skip" file, delete "skip" file and rename "svn" subfolder in "_skip" (bepe told that you can use "_skip" file or "_skip" folders to exclude a package from rom, and also "_only_premium" file or folder format to include them) and if package is included into rom, check if exist "svn" subfolder, if, delete "_only_premium" file and rename svn into "_only_premium" subfolder, so all can works well....

at end or error on build, all "_Skip" and "_only_premium" subfolder will be re-renamed into "svn" subfolder!!!! ;)

some time and I'll made this, I think, important updates for packages upgrading ;)

only have to see if it copyes then all files/folder into "_skip" or "_only_premuim" subfolder, but I think it could be a good solution ;)

bye!
[Windows Mobile] ervius:
only a question, tell me:

whre put:

svn subfolder into:

xip;

oem;

sys;

ext

bye!!!
[Windows Mobile] utak3r:
oem and ext - that's for sure... you could think of xip, too, although it wouldn't be so neccessary - that's my opinion :)

sys - I can see no sense :)
[Windows Mobile] RoryB:
I get this error trying to unpack the program

! Cannot close the file TOOLS\IMGFS\packagebuilder.exe

! Access is denied.

Everything else will unRAR.
[Windows Mobile] utak3r:
Are you sure this message has no means?...
[Windows Mobile] RoryB:
I mean WinRAR will unpack everything, but will not unpack packagbuilder.exe so my IMGFS folder does not have packagebuilder in it.

I do not know what it means that it cannot close the file TOOLS\IMGFS\packagebuilder.exe Access is denied.
[Windows Mobile] daryelv:
I can post a sample kitchen that has all the _SVN folders in place. Would you rather have _SVN or .SVN ? Either is acceptable for the Repository software.

Here's a sample of my kitchen with the _SVN folders. I removed most of the Packages and dropped it to only 1 SYS.

http://www.filefactory.com/file/agf9b52/n/ErviusSampleKitchen_CDMADiamond_7z

Thanks,

Daryel
[Windows Mobile] mac_es:
Error in new implantxip

Hi,

Theres is something wrong whith the new implantxip and 0x200 roms (I h ave tested in trinity)

When I flashed a rom created whith 8.0 kitchen I got stucked in the first splash screen.

The version id was a bad string, it stopped showing radio rom version and protocol version.

If I use kitchen 8.0 but implantxip from bepe (nothing else changed) it looks better. I have to flash it to device but at least htcRIE_0.5.0.12.exe can access xip and imgfs correctly. And I know that this version has worked correctly before so I'm quite sure it will work correctly.

Whith the new implantxip it crashes. It see the OS partition but when I try to process it (see RAWFS) it goes mad.

My payload is a reduced one (only imgfs), I'm looking to resize URLDR partition. Using the kitchen but I haven't figured out how to do it correctly...
[Windows Mobile] anryl:
did u check this post ? http://xdaforums.com/showpost.php?p=3741741&postcount=722
[Windows Mobile] mac_es:
Yes of course, when a ervius release a new version I compare all exes, bats...

So till I manage to work the new implantxip I have done this changes to my kitchen_build_rom

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

echo Implanting XIP...

if "%VERSION_IMPLANT_XIP%"=="ervius" goto ervius
if "%VERSION_IMPLANT_XIP%"=="bepe" goto bepe
goto error
:ervius
..\TOOLS\implantxip -xip xip.bin -payload OS.nb.payload >> ..\%LOG_FICHERO%
if not "%errorlevel%"=="0" goto error
..\TOOLS\grep -A 7 -i "Implantxipx" ..\%LOG_FICHERO%
goto end_xip
:bepe
..\TOOLS\implantxip_bepe.exe xip.bin OS.nb.payload >> ..\%LOG_FICHERO%
if not "%errorlevel%"=="0" goto error
..\TOOLS\grep -A 5 -i "Implantxip" ..\%LOG_FICHERO%
:end_xip

I set VERSION_IMPLANT_XIP=bepe

Ah! I redirect everything to a file to have the log, and I use the grep command to show the log in the window too
[Windows Mobile] ervius:
at 1st post version 8.1 of visualkitchen that can supports * SVN Repository for version control * test it more and more and more, and check if all works well ;)

bye!!!

P.S.: if SVN is present, the process became a bit slower, becouse visualkitchen has to rename svn or _svn folder into _skip or _only_premium folder, and at end, re-rename them into svn or _svn folders..... (accepts both svn and _svn folders!)

byebye!!!
[Windows Mobile] djbeames:
Ervius, would you mind adding a <DEVICE> to the NBHUtil.xml? With you upgrading so fast, I keep forgetting to put my modified NBHUtil.xml into the <TOOLS> dir. I have a CDMA Raphael, to which is codenamed <Herman> because it uses separate packages from the GSM Version <Raphael>. My kitchen has both a <Raphael> and a <Herman> package set. I need to have both. So I add a second <DEVICE> to NBHUtil.xml to allow CDMA Touch Pro to build more easily:

<device name="Herman" chunksize="64">
<ModelID>RAPH***</ModelID>
<CID>11111111</CID>
<Ver>1.00.Herman</Ver>
<Lang>WWE</Lang>
<Item value="0x200">SPL</Item>
<Item value="0x301">Radio</Item>
<Item value="0x400">OS</Item>
<Item value="0x500">Diag</Item>
<Item value="0x600">Splash</Item>
</device>

Thanks!
[Windows Mobile] ervius:
done!!!

next releases will have also your device into ;)

bye!!!
[Windows Mobile] ervius:
8.2 version in test at 1st post, solve bug in device combobox insert also "_svn" folder! ;)

bye!
[Windows Mobile] c3ro:
[offtopic]

hi,

i know this is development stage of the kitchen, but since here are some cooks around i have a specific cooking question related to .dsm files.

Inside a .dsm-file are files present related to that dsm. what happens when i delete one of the files in directory and the file is still listed inside the dsm??

in example:

AudioManager.exe.0404.mui present in .dsm

AudioManager.exe.0404.mui not present in directory.

what kind of dependancy has the .dsm?

what happens when i have a file present in directory, but not in .dsm?

has it any effects? could cause that any problems in these 2 cases?[non booting, non registering on system]

or is this something we dont have to worry about, when porting a rom?

btw, you can kill me for that not writing in a dsm-thread ^^ sry

[/offtopic]
[Windows Mobile] ervius:
dsm file is only a databse:

it can contains: certificates;

it contains:

major version of package;

middle version of package;

minor version of package

name of package;

all package\modules-name/infos

all package\files-name/infos

if it contains certificate, the mainpackage is "OEM"

otherwise the mainpackage is "SYS"

in oldstyle kitche (based on old bepe buildos (or my buildos) if into apackage wasn't 1 dsm file, the kitchen gave error, if present, the buildos did:

read info about package, and update the dsm file inserting or deleting all files / modules present in that package

with new platformrebuilder by bepe (used aalso in my visualkitchen!), you only need one dsm, the "msxipkernel" dsm inot xip folder, all others are useless....

you can delete them delete files and modules into apckages, the rom booting, doesn't depends absolutelly by dsm files ;)

bye!!!
[Windows Mobile] c3ro:
ahh okay,

when i understand you right, this kind of dsm information is just used to reconstruct a rom like we know. (thanks to bepe and ofc you)

so i dont need to 'respect' .dsm when porting a rom?!
[Windows Mobile] daryelv:
Wow you're fast with the updates. I'll test this today. Thanks very much for this wonderful tool.

Update: Testing was successful... I saw where it renamed the _svn folders and then successfully cooked a ROM and then it properly renamed them back to _svn. Very cool and I'm very happy...

-Daryel
[Windows Mobile] utak3r:
even in the old-style kitchen you could delete almost all of them (from the dump folder, after processing by buildos) - that's how cooking was looking like before buildos was born - we were playing with a dump folder, no packages at all...
[Windows Mobile] NRGZ28:
I'm having a similar problem with the device not booting as well. Everytime I build a smartphone ROM, it gets stuck on the splash screen and wont go any further. Could the new implantxip not be working right for smartphones ? I also get a "Flash write error" everytime I flash a smartphone ROM. Does that mean the nbh is not complete ? If I make a ROM with your old buildos, it's about 58 megs... with the new kitchen it's about 52 megs. Any ideas ?
[Windows Mobile] c3ro:
hi ervius,

why arent some options any more in the latest xipporterex, like deleting mencfilt, etc?

i just wonder, mencfilt would remove the sd-card encryption on first startup.
[Windows Mobile] ervius:
new bepe platformrebuilder doesn't need to delete some files or modules into xip.bin, use visualkitchen instead, or delete all modules you want into:

new_xip_ported\xip\ folder and execute "buildxip.bat then

in \temp folder you'll have new xip.bin readi to be inserted into payload.

P.S.:

I'm preparing a package collector on rom build, so if checked, tou can redump roms builded with visualkitchen....

I wait some tests and I'll post new final version with rom package collector to reconstruct all packages structures(XIP,OEM,SYS and EXT, (icluding all dsm, rgu, app.reg and app.dat files too)

stay tuned!!!! ;)

bye!!!
[Windows Mobile] utak3r:
that's a really good news! :cool:
[Windows Mobile] 12aon:
Way to go man, this is a nice feature to have again, thanks a lot, 12
[Windows Mobile] NRGZ28:
Is it really worth you spending all that time doing that.. when all a cook would have to do if he really wanted to share the ROM, is... share the whole kitchen ?! :confused:
[Windows Mobile] 12aon:
It's much easier\space efficient to save your kitchen this way, right?
[Windows Mobile] anryl:
thats the idea if really wanted - i really want to make my device better

so i need to get all roms that i wanted extracted compared to make my peace better and share all know how :D

as i want :cool:
[Windows Mobile] Slv:
Ervius!

Nice tool, but hard to observe list of packages and values in combo boxes due to enormous big font.

Is it possible to use system font size?

And may be even resizeable window?

Thanx in advance.

PS I have Toshiba G900 made by FTW. Platformrebuilder port it's xip with overlappings.

May be you'll be so kind to check my xip and do correct porting in your kitchen?

If not - i'll do it old way.
[Windows Mobile] mac_es:
Hi,

I'm out of ideas... I'm trying to port my old trinity kitchen to the new one.

I have ported all the packages to EXT folder

I have reorganized all the OEM packages

I have rearragned the xip and sys sections into dpi_96, dpi_96_resxxx,lang...

I'm trying to build a rom equivalent to the my 'old' rom.

When I build the rom it does flawlessly but it doesn't boot.

If I use the ervius's implantxip: It stops at first splash screen and the version string (nk.exe) is garbled.

If I use the bepe's implantxip: It stops at second splash screen

So I took the payload from my old rom (which hash the same xip) and have commented the implantxip part.

Now it boots but it doesn't init correctly:

It haven't process .provxml nor in OEM folder nor in EXT folder but yes in SYS folder ¿?

If I run the provisioning whith Advanced Config tool it runs correctly.

Also I have noticed that there is something strange as I don't get the pop up for connection setup which is runned by BootLauncher. But If I run autorun by hand then connection setup pops out.

So I have compared the new rom whith the old rom, and my findings:

There are the same files/modules in both roms.

The registry, though is in different order, is the same (default.hv and user.hv)

I have checked file attributes of rgu, dsm , vol, provxml... are the same.

I don't know if it is becuase I'm not using the xip generated by platformrebuilder.. is it possible as I have read if you haven't got dsm and packages.sof correctly you can go into trouble. This makes sense?

Also, I'm cooking in 0c0A language, maybe some special characters somewhere?

Also If I build a newer SYS/XIP in 0409 it builds everything correctly. So it is obvius I have something bad in my SYS/XIP. But what? as the same XIP/SYS is working well whith the old kitchen.

If anyone hash any idea it would be great... or a "debug" process...

Thank you very much
[Windows Mobile] ervius:
ok, give me your original xip.bin, and I'll check on it.....

bye!!!
[Windows Mobile] utak3r:
it's reduced in the latest release :)
[Windows Mobile] NRGZ28:
I had the same type of problems with my Excalibur ROM (a smartphone). It turns out ImgfsFromDump didn't put all the files in, for some stupid reason. I put a file in the kitchen somewhere called _zzzmarker.nrg just to "mark" the end of my ROM. Well with ImgfsFromDump that file would never show up in the dump or at the end of the file list in the kitchen window, however now that I use BuildImgfs.exe, it all works well. So I had to setup a section in the rom building batch file to direct the rom building to these older tools in order to build the ROM correctly. I know you said all the files are in the dump, but maybe they're not... Try putting a marker file in there and see if it comes out at the end :)
[Windows Mobile] mac_es:
Tahnk you very much, I will try it. Though I'm comparing the 2 roms dumping them. I mean, I don't look into temp\dump instead I dump the nbh file. Another thing is that the file/module is not valid...

edit: I have comapred ImgfsFromDump.exe to the old one and they report the same version but they are different...
[Windows Mobile] ervius:
at 1st post:

8.5 version.....

when you build can choice "protected" or not, if don't flag the checkbox, you can redump and rebuild the rom, if dump it, at end all structures (oem, sys, ext, rom) within all packages will be re-structured like original ROM just dumped and can also rebuild it and reflash with visualkitchen (don't know if after device boots well, no time to test, tell you to me) ;)

bye!!!
[Windows Mobile] anryl:
test 8.5 redump

testing redump - created new rom without protection

redumped it RELEASE_ (created have to fix KAISER)

SYS did not create in dpiresh folder 0409 (empty)

XIP have to use OWN dsm created one wont go through prb

in SYS shared common missing ->

DRM wmdrm.dll s006

SYS_COMMON_NETCF35 mscoree.dll s004 netcfmail3_5 s003

in EXT

missing adobe si_impl.dll s005

flshlite.dll s006

........ and so on

2nd test

no boot rgu creating new

no xip dsm creating new

then all done

open created kitchen

select kaiser - EXT\SHARED missing (created)

select kaiser all OK

create rom - DPI RESH RESV\0409 missing (created)

create rom - error prb 0x80000007 on reading dsm msxip (replaced dsm)

RUNTIME error

disable all EXT disable DRM disable netcf35 - NO disable all SYS NO - OEMDRIVERS s005 btdisk btfsd missing

fixed OEM - all OK

enabling SYS - runtime error on modules DRM and NETCF

ok keep it going m8
[Windows Mobile] ervius:
good analisys ;)

I'm providing about missing modules fixing.....

[EDITED]

Fixed for module missing some s00X ;)

some minutes and I'll update new release!!!

bye!!!
[Windows Mobile] ervius:
version 8.6 at 1st post, try it!
[Windows Mobile] NRGZ28:
Hey erv... how about focusing a little bit on the esthetics of the kitchen ? :)

For example, for me... the "use big command prompt window" button is BEHIND the actual command prompt window.

:)

And here I am reporting on the smartphone extract/build like you asked in the first post. It extracts fine, but it doesn't rebuild with the current set of tools in the \tools directory :)
[Windows Mobile] ervius:
maybe you don't know what could mean to rebuild all modules fixed by platformrebuilder, and then reuse them on other roms.....

btw, I've tested 8.6 version tight now.

build, redump just builded nbh, and rebuild, all works well, no runtime error, no platformrebuilder crashed by some other "non-fixed" modules, like a phoenix ;)

bye!!!!!
[Windows Mobile] anryl:
just tested

all build and rebuild OK now gona test to flash it :D
[Windows Mobile] ervius:
well :)

I need a last test, if someone of you can build rom non-protected for a device different from diamond, then I'll redump it and 'll try to rebuild it for my diamond and flash, so I'll shure all teory is applyable to port this kind of roms from a device to otherelse ;)

bye!
[Windows Mobile] anryl:
i tried on kaiser but its not working non bootable rom :confused:

uploading bootable rom from 8.6
[Windows Mobile] ervius:
damn.... :mad:

ok.....
[Windows Mobile] anryl:
http://rapidshare.com/files/231684023/ruu_signed_test.7z working ROM

ps i changed whole ROM and OEM still no BOOTING

replaced wince.nls still no booting :confused:
[Windows Mobile] ervius:
ok..... if doesn't works anymore, I tryed to be possible the porting..........
[Windows Mobile] ervius:
but, by the way, seems that g'reloc works, if insert a proper .vm module in dump.....
[Windows Mobile] zoko:
i´m trying to use the las 8.6 kitchen anda after he dump and package the OEM and SYS folder, it disapear both folder and xip.bin and romhr.bin, and the program says "....All Done... Nbh/nb/payload Dumped and ''Kitchen'' created Successfull!!!..."

what i´m done wrong?!?!
[Windows Mobile] mac_es:
Ok,

I have tried several things...

I replace imgsfromdump whith the old one and it doesn't make any diff...

I have dumped original roms from trinity, topaz and iolite for checking structure, file attributes... all seems ok

If I rebuild the dumped original rom from trinity it doesn't boot if I use the ervius implantxip... Maybe something wrong whith my os.nb.payload?

Could anyone post a guide how to determine where is the problem? in temp folder xip.bin looks correct also dump folder... I looked into the dsm and it hasn't all files is it normal?

Already tried:

Take os.nb.payload don't touch xip section and put imgfs.bin it boots but doesn't work well...

If I use ervius implantxip it boots (1st splash) but it is garbled...

May I have to run greloc and mreloc manually?

btw, I'tm trying to cook 21041 xip and 21042 sys.

Is there any way to determine if it will boot or not from pc? I "can't" flash all the time my phone...

I can post any file, trace....

I noticed that too, I use 7.7 for that (I haven't any other version between 7.7 and 8.6)

cheers
[Windows Mobile] ervius:
at 1st post, 8.7 version, maybe the last one, the dream finished, I'm not able to reallign cutted modules after platformrebuilder passed them.....

bye!!!
[Windows Mobile] Krzysiec:
Did U remove "protected" in 8.7 ver ? I can`t see there this box... It was present in 8.5 ...
[Windows Mobile] makeveral:
i've tried beta3 and all worked fine! i jsut have one little problem, some settings like regional settings or the local hour are always set to ITA even tho i choosed SPA(i added spanish language). Do you know how to make it spanish? its probably something in the common folder but dont know what.

thanks!
[Windows Mobile] ervius:
I have to investigate about, and if someone find or have the solution, I'll update the tool ;)

EDITED:

maybe operatoxxx and buidinfoxxx packages have to be moved from oem\common\ to oem\04xx\ folder....

I'm updating the dumper, when I've finished, I'll post the new exe fixed (beta 4 ) and also ITA/WWE/GER OEM\ fixed folder for visualkitchen ;)

bye!
[Windows Mobile] makeveral:
maybe you could also add spanish? xD
[Windows Mobile] Ameet:
hi ervius, can you post 1 without the nb and payload files? so to make the download smaller ;)
[Windows Mobile] ervius:
I don't know, shurelly bepe knows, but maybe it will work with all "htc" devices, only have to modify the bat file into \tools folder, change xip\ folder, payload and romhrd.bin, in rom\ folder and .vm and .rom into sys\common folder and se all \oem folder by your own device.

btw,I'm upping the beta5 (ITA_WWE_GER), solved problem for localization ever italian, and some minor bugs on visual kitchen, if all goes well (I'm uppin with my cell. phone, and an umts connection), if the connection doesn't break down, maybe this afternoon we'll have new visualkitchen version!!!

bye!!!
[Windows Mobile] spocky12:
I hope I'm not making a mistake, but using beta3, even unckecked sys packages are present in dump (in beta2 and the include file with true/false, it was ok, but now with file only_premium, it doesn't seem to work) (for what it's worth, I'm french -> 040C).

Also another question : what about initflashfiles.txt that I used in old kitchen in order to make shortcuts for applications packages (I have a lg and not a htc and so I don't have AutoShortcut) ? They don't seem to work anymore.

And last remark for now : why are you using such a large font ? I can read them even without my glasses :)

Last but not least : great work !
[Windows Mobile] ervius:
shure, I'll post also only kitchen without rom contents!!!
[Windows Mobile] ervius:
for now, at 1st post, complete BETA 5 version: ITA/WWE/GER visualkitchen

solved some bugs, optimized rom localization into oem\04xx folder, and updated editor search!!!
[Windows Mobile] afeng11:
sorry,can't download
[Windows Mobile] avers:
"Sorry, the file you requested is not available." :(
[Windows Mobile] ervius:
yes, sorry, I'm upping the Prerelease version, with find duplicate files optimized and only for rom/language selected at moment ;)

some hours to wait......

see ya!!!
[Windows Mobile] RideTheTube:
yeah, nice mate!!! THX for your great work!
[Windows Mobile] spocky12:
I confirm what I wrote yesterday about excluded packages.

This time, I didn't change anything and only unzipped your Beta5 rar. Then, selectionned 0409 language, double-clicked "autoupdate" in sys section to disable it (only_premium changes to "false"). But "create rom" produces a dump where autoupdate* files are still included.

What am I missing ?
[Windows Mobile] ervius:
yes, yes, now, download and try prerelease version ready at 1st post and check if "autoupdate.exe" module is ever present ;)

bye!!!
[Windows Mobile] ervius:
posted also at 1st post:

only the exe: prerelease v2 with ROM Project loader/saver (so you can save and load infinite roms configurations; premium, basic, light, friendly, full... etc...etc...)
[Windows Mobile] RideTheTube:
hey,

for me the cert patcher on payload not works if i execute them everything is fine and when i flash the new rom it wont start again (it bricks on the splashcreen). What is my misstake?
[Windows Mobile] ervius:
post me your nk.exe module or file.