yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] Driskol:
Hi again! xD

Sorry for post-pamming xD

Deleted modules and cooked without errors, flashing right now, ill feddback in a few minutes :)

thanks a lot!

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

EDIT: Doesn't boot after deleting duplicated modules founded at MSXIPKernel and OEMXIPKernel

Modules deleted (moved out) contains inside: imageinfo.bin and few Sxxx

Modules on Kitchen contains: imageinfo.bin, Sxxx and the dll, exe, etc...

Modules duplicated, moved out from:

C:\ERV\ROM\Diamond\21038\OEMXipKernel

C:\ERV\ROM\Shared\21038\MSXIPKernel

----

C:\DRK\ROM\Diamond\21038\OEMXipKernel, keeps containing files as:

- boot.hv

- boot.rgu

- wince.nls

Those files are not present at: C:\DRK\OEM\Diamond\COMMON\OEMXIPKernel, where are the complete modules and 1 dsm.

Any help?

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

EDIT2:

Maybe, there is a bug ervius.

I was looking the image 2 pages ago with the structure and it's a bit different with my dump.

I dumped my own coocked rom in surface in your rom and MSXIPKERNEL and OEMXIPKERNEL, are in different folders, exactly dumped at:

OEM/DIAMOND/COMMON for OEMXIPKERNEL

AND

SYS\21038\SHARED\COMMON\ for MSXIPKERNEL & MSXIPKERNELLTK (kernelLTK empty, doesn't matters)

Move into "correct?" folder now and going to try to cook again :)

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

EDIT3: Still not working.

i seen in the structure image, the .VM folder, under SYS\BUILD\SHARED\COMMON but i dont have have the .vm in the dump kitchen...

Now cooking i get a error without details and stop cooking...

Here the log on window:

Also, i have too the WinCENLS_WWE with wince.nls under \SYS\21038\SHARED\COMMON\ and \ROM\Diamond\21038\OEMXIPKernel

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

EDIT4: Another idea...

I have the final nbh hexaedited to work with ppchanger, maybe that's the problem?
[Windows Mobile] Röchelhilpert:
EDIT4: Another idea...

I have the final nbh hexaedited to work with ppchanger, maybe that's the problem?

--> i alway´s set the pp after building rom with hexeditor. with xipportext it dosn´t work for me
[Windows Mobile] Driskol:
Finally, that's not the problem, i cooked another rom without hexaedit and still doesn't work...

I dunno what more i can do...

I followed the structure in the pic, placing oemxipkernel into rom/device, into oem/COMMON

Placing msxipkernel into rom/shared, into sys/common...

EDIT: Where i must place OEMXIPKernel and MSXIPkernel?

Where must be are boot.hv and boot.rgu?

And wince.nls?

Anybody have the kitchen working for diamond? Whats the correct estructure?...
[Windows Mobile] Röchelhilpert:
O.K to see the right struckture. Dump a orginal nbh file. then you will see it.

My kitchen looks so

/dump/ROM/shared/20764 (here orginal MXIPKernel) and i created

/dump/ROM/shared/21028 (here i put my donor MXIPKernel)

/dump/ROM/diamond/20764/ (here you find OEMXIPkernel

/dump/ROM/diamond/21028/ here i put the same folder from 20764

because it´s device specific.

Now you can cook with the visualkitchen with a other xip

i don´t do anything with wince.nls or boot rgu

just dump a donor xip with bepe´s toolset an put it in the created subfolder.

Correct me if i´m wrong
[Windows Mobile] c3ro:
hello ervius,

am getting an error and visualkitchen crashes, when i try to change the 'Rom Date' in Payload Tools.

would be nice, if you could look into. here the os.nb.payload by your kitchen, dumped from a shipped 6.1 polaris rom.

http://rapidshare.com/files/210857180/os.nb.payload

thx in advance
[Windows Mobile] ervius:
try 3.7 newest version.....

at 1st post.....

and tell me if works well now!!!

bye!!!
[Windows Mobile] c3ro:
i will report tomorrow, when im back at home. ty so far.
[Windows Mobile] Warmax88:
Hi ervius! today i tryed to dump a dumpable wm6.5 ROM but it gaves an error when it trys to dump the xip (unknown errorin the payload). It dumped all the sys /oem/ext packages but couldnt dump the ROM folder (xip).

I've seen that all the wm6.5 witchens uses the payload only to build the xip and with yours the oemxipfolder and msxipkernel is needed, maybe that's the problem? that it couldnt dump this folders from the payload?

Thanks for your work!
[Windows Mobile] ervius:
give me the payload, also in mp if you cannot here....

and I'll analyze it!

bye!
[Windows Mobile] ervius:
version 3.8 at 1st post, solved the problem......

(was that xip section has not MSXipkernel dsm and boot rgu present, now it create both, but the xip was protected (builded by platformrebuilder.....)

try it (version 3.8 of visualkitchen) at 1st post!!!!!

bye!!!
[Windows Mobile] Warmax88:
Hi ervius! I just tryed it and i got an error in boot.bat after "boot.rgu xip not found..create new.. but maybe ROM will be non bootable" with the file.I checked the folder and i saw that it didnt create the boot.rgu.

Also i've seen that all wm6.5 xips are payloads , do you know a way to extract the msxipkernel folder from them? so this way i dont need the ROM folder extracted and i can do it manually.

Also one question about the kitchen, if i change the msxipkernel folder with a new XIP but i don't update the payload will i have the new xip fully working? or do i need to change both the payload and the msxipkernel?or just payload?
[Windows Mobile] ervius:
for other asks, seems to be a kind of "supercazzola", for the rest, I tryed with "nbh" postad in pm by you ans all works well, boot rgu, and 723xxx.sdm into Msxipkernel created successfull, and all structures were created well.....
[Windows Mobile] Warmax88:
Sorry ervius, you are right it dumped it correctly!

But when creating the ROM it crashes when it starts to check the ROM folder. I checked the "real wm6.5 aku" but still crashing. I also tryed with different XIP's but still crash. I'll keep trying to get it working!

Thanks for your job!
[Windows Mobile] ervius:
no, I created the rom not flashed, but the rom was created well....
[Windows Mobile] Warmax88:
i dont understand why i cant create mine :S. can you pm me your ROM folder?
[Windows Mobile] utak3r:
hmm... I've made: \EXT\SHARED\COMMON\ and in it I've put my OEM packages. Now I can see in the first building stage it took those packages, but the final temp directory doesn't include those files at all!....

btw - is there a way of intercepting all the console output into some text file?
[Windows Mobile] ervius:
rename ext\devicename\ to ext\shared\

and try to build rom.....
[Windows Mobile] uhery:
wm 6.5

Hi Ervius ...

is it possible to show the editor (notepad2 is good) also for the *.cpr files? i would like to search string into files! :)

thanks!
[Windows Mobile] ervius:
that's seems a good idea ;)

next release.... soon.,.... :)
[Windows Mobile] ervius:
ok, 3.9 version (only exe, only.....)

at 1st post.

added cpr editor!!!

bye!!!
[Windows Mobile] c3ro:
hello ervius,

it would be attractive for your kitchen to reconstruct a rom directly into .nbh from the four .raw-files. just an idea.

c3ro
[Windows Mobile] ervius:
yes, it could be a good idea, but I need some times to do.....

P.S.: version 4.0 at 1st post, some little improvements into new editor.....

bye!!!
[Windows Mobile] adolfotregosa:
ervius, could you enlighten me of what i'm doing wrong ?

I have a perfectly working "old" kitchen with a updated version of the xip/sys folder from the original rom.

Now. I have done all of the new structure for my old sys for your kitchen !

On the gui i've tried building a rom with the updated xip and the phone boots but when i choose the new sys the phone gets stucked on the boot.

What i'm i doing wrong here since i'm using a sys that works on my older kitchen ??

Thank you for any help.

btw, your doing a really good job here !!
[Windows Mobile] Woodman12:
Hello,

Recently i'm trying to cook a rom based on HK WWE and I'm porting the 21038SYS. When I press the create rom button, it eventually pop a msg of runtime error about the rom platformrebuilder.exe terminated in an unusual way. Can anyone tell wutz going wrong? thanks
[Windows Mobile] ervius:
Uhmmm.,.. I don't know, usually, is better to use same xip/sys build, sometimes, is the xip the causes, if the error appear at start of platformrebuilder , is quite shurelly the xip, if at end, could be the sys, particurally, paltformrebuilder has a little bug yet: when you have same exe in file ann in module in other folder, can happen that in overvritting file by module or viceversa, paltformrebuilder crashes.....

have only to check ;)
[Windows Mobile] adolfotregosa:
but your kitchens does not crash in any way, the problem is that after i flash the rom created on your kitchen with the same sys from my older kitchen, the phone does not boot!

The tipical error like you said. Like smt is missing from the sys or the built process makes the new sys unbootable :S

only the original dump made from your kitchen works :S I'll see if i can finf what in causing the boot problem ! :S
[Windows Mobile] ervius:
version 4.1 online at 1st post.

Solved a little bug on duplicate files/modules check before rom building, thanks to:

uhery

for betatesting!!! ;)
[Windows Mobile] GriFolle:
Ervius...sorry for the noob's question but I really need an help:

I'm pretty able to "cook": I know wich modules have I to delete/repalce with to make a lighter rom (i.e. cutsat.dll); I'm able to applicate reg tweaks ecc...

but I've never "touch" the xip part of a rom...I've read somewhere a guide to port a xip ecc...but I don't want to do that: I "simply" want to remove the uldr partition and to "enlarge" the free ram of the last stock rom without changing the PP (my purpose is to make a rome as close as possible to the last stock one but pretty naked!)

Moreover I saw that a naked version of a stock rom created i.e. by Swtos is 45mb big...mine is 55mb about...why? What I have to do toi reduce it? Maybe he compressed some .exe and .dll files? In this case: WICH files? And HOW?

So my question: how can I do theese things (remove uldr partition and encrease the ram) using your kitchen?

Thanks a lot...

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

Ervius avrei bisogno di un "minitutorial" su come rimuovere la partizione dell'uldr e aumentare la ram di una rom ufficiale usando la tua cucina (non parlo di pagepool ma proprio di rialocare moduli dello xip per farlo)...Ho dumpato l'ultima reperibile (la 2.03.401.3) rimosso tutto quanto c'era di inutile/opzionale, rimosso ceipui, sqm fwudate ecc...mi manca qst passaggio per renderla completamente "pulita", mi potresti aiutare?

Inoltre ho visto che rom "pulite" cuicnate ad esempio da swtos occupano circa 45 mb, le mie almeno 10 in più rimuovendo praticamente TUTTO il rimovibile...come devo fare x ridurre lo spazio? Forse comprimendo gli eseguibili e le librerie? E come faccio? Quali posso comprimere?

PS: (non c'entra nulla) a cosa servono di preciso outlook/picture enhanchement e lockstreamdrm? Il primo è richiesto dal TF3d se non sbaglio...ma li posso escludere?

Grazie mille
[Windows Mobile] ervius:
bene, tutte le guide le trovi qua, ovviamente sul visualkitchen sono automizzate.

well, all guides are present here, obviously are automated on visualkitchen

here:

http://xdaforums.com/showthread.php?t=438676
[Windows Mobile] GriFolle:
Ok...it is exactly the guide I saw.

But my doubts still remain, maybe just because of my poor english, but also per other things, in eample:

After dumped the stock rom with your kitchen, I tried to free more ram so I've opened XipPorter and RomTools then (under "Modify Xip ROMhdr...for free ROM ram) I clicked on "give" then modified the value - 83000000 - to 83400000 I gave a message: "can't find Romhdr.bin or .vm/imageinfo.bin" or something like this...so I dumped the same stock rom with surface kitchen and this time I've gotted the .vm folder (under SYS) so I putted this folder in your kitchen, in the same location where xiporterex was looking for it...result? It said to me that's all ok but when I cooked and flashed the rom I've got not seen any difference then before...

Moreover, get ridding of the uldr partition...

under xipporterex clicked on ROMTOOLS to make changes written in the guide you've posted here....bua EVERY ACTION I tried to do (clicking on "write") the kitchen said to me that it cant find any xip.bin into the "xip_new_folder"...BUT THAT'S OBIOVUSLY: I DONT WANT TO UPGRADE MY XIP!!!!! I JUST WANT TO REMOVE/MODIFY SOMETHING INTO MY STOCK ONE!!!!!!!!!!

Hope you can help me...

TIA
[Windows Mobile] anryl:
ITS ALL IN DEVELOMENT !!!!!!!!!

every build is comming better and better

just put xip.bin there any and test further

as i did today did not have time to post the error (not big problem)

DO NOT SCREEM this is not customer service

we all apreciate ervius work

TY!

THERE IS A DONATION BUTON DID U SEE IT ?
[Windows Mobile] GriFolle:
Ehm...(Anryl)

WAIT!

What a scream? What a customer service?

I've asked just because, as I said into the first post I wrot in this 3d, I' ve no experiences about xip modifying! So I've asked to Ervius some things that, using his kitchen but also manually, I'm not able to do!!! I simply think that's because of my totally ignorance not because of a fault of his work! Moreover I'm really confused by the fact that in the tutorial of the other 3d (that I have a lot of difficult to understand because the langueage and because I'm not an expert) I have read some ways to port/modify a xip manually and here is another tool/way to do same/other things. I have to say a big thank you to ervius because if he not released his AWESOME, BEATUTYFUL tool then I've never tooth about xip editing!

But said this,

I don't think I've offended (FLAMED!!!) noone here...why you did it with me?

Dunno...

Anyhow, drink less coffe man...

Sorry for my bad english.

PS: sorry if I wrot using the Caps Lock...I did that just to underline the question/matters I've got...next time, if this is your problem, I will use bold/italic fonts.
[Windows Mobile] GriFolle:
Ok Anryl I've re-read now my last message and I want to apologize because I really don't want to be a "flamer".

I just don't want to let you (and ervius) think that I'm a person who want, and want, and ask, ask...like a child.

I've got just (a lot of) doubts about a very very hard art to learn.

GRIFOlle
[Windows Mobile] ervius:
you have more choices, not only on xip or payload, but also on kn.exe's s000 or s002 (for pagepool), and you can also search for a string, like uldr and what it mean, this is an international forum, I'm Italian like you, but I try to write and read into english, and when I think is difficult understand I use google translator,and all became clearer.

I'm not a teacher, I'm an user like you, that studied before post a software, so, like me you can study to learn the means of certain things regarding memory mapping, sections into rom ecc.....

I think there are a lot of users that understood well the use of each single button on kitchen

Learn to walk before run..... ;)
[Windows Mobile] ervius:
would you like 8 extra button to execute all you need????

I explain:

with a new ini file and a new subfolder into tools\ folder you can execute:

all exe you need, all bats you need, or all mortscripts you need...

how?

the ini file is:

extrabuttons.ini

the folder is:

extrabuttons (tools\ subfolder!)

and you will configure extrabutton.ini like this one:

;this is a comment!

[button1]
caption="test1"
description="Esegui qualcosa-1"
command="pippo.exe"
arguments="pippo -pluto"

;if path is omitted then path="..\tools\extrabuttons\" folder
path=""

[button2]
caption="test2"
description="Esegui qualcosa-2"
command="test.exe"
arguments="pippo & pluto"

;this path is: "..\tools\extrabuttons\subfoldertest\" folder
path="subfoldertest"

[button3]
caption="test3"
description="Esegui qualcosa-3"
command="azz.bat"
arguments="pipponio"

;this foler points to: azz.bat on windows DRIVE (c:\") installation ;)
path="c:\"

[button4]
caption="test4"
description="Esegui qualcosa-4"
command="pippo.exe"
arguments="pippo pluto"
path="test.exe"

[button5]
caption="test5"
description="Esegui qualcosa-5"
command="pippo.exe"
arguments="pippo pluto"
path="test.exe"

[button6]
caption="test6"
description="Esegui qualcosa-6"
command="pippo.exe"
arguments="pippo pluto"
path="test.exe"

[button7]
caption="test7"
description="Esegui qualcosa-7"
command="pippo.exe"
arguments="pippo pluto"
path="test.exe"

;[button8]
;caption="test8"
;description="Esegui qualcosa-8"
;command="pippo.exe"
;arguments="pippo pluto"
;path="test.exe"

is tring start with ";" is a vomment ;)

the subfolder "extrabuttons" can contains all extra exe or bat you wont to launch by 8 extrabuttons....

explain the ini:

[button1] (is referred to button number 1)

caption="test1" (this is the caption of button 1)

description="Esegui qualcosa-1" (this is the second line caption of buttonx)

command="pippo.exe" (what do you want execute???)

arguments="pippo -pluto" (do you need to pass some arguments???)

path="nihil" (in this case the path points to: "\erviuskitchen_folder\tools\extrabuttons\nihil\" folder)

easyest ;)

maybe tonight or tomorrow , all us will have new 4.5 ervius-visualkitchen version!!!!!!

see ya!!!!!!
[Windows Mobile] GriFolle:
Ok erv...I understood what you mean but in THIS post you answered to an anryl's question that the kitchen should not use the .vm folder to modify the xip to free more ram...

the problem is that, as I wrote before, if I don't put this folder (dumped with another kitchen) into sys/common...the tool wont work.

So...putting the .vm folder in your kitchen and then using the tool as I did, it's ok? Or maybe, after changed the value to 83400000, have I to delete .vm before cook? Or, instead of, I did it all in the wrong way?

TIA
[Windows Mobile] ervius:
maybe I yet answered this kind of question:

1) that visualkitchen shows to you is not an error (usually errors appear like messageboxes, instead it is a log.....)

2) bepe platformrebuilder 2.1 (included into visualkitchen) doesn't need ".vm" folder, so its normal that visualkichen doesn't found it and alert you, so: you don't need to copy, delete, rewrite ".vm" folder into visualkitchen, anymore!

ok??? only have to play with that parameter, and don't think, that after modify it you'll have more impressive increasing into your ppc!!!

I hope to be been clearer for you now! ;)

bye!!
[Windows Mobile] Woodman12:
hello again,

I'm trying to port 21038 XIP into a stock rom. I'm new, can anyone tell me if i'm doing wrongly

1) load the xipporterEX

2) import old xip.bin

3) import new xip.bin, which is extracted from payload file which contain the xip

4) press the port it button to port it into the rom (os.nb.payload)

When i do this, the programme keep saying that boot.rgu not found in new xip.bin and terminated. Plz help point out what is going wrong, thanks a lot
[Windows Mobile] ervius:
ok, version 4.5 is ready:

supports, as we knew, 8 extra buttons to execute all you want/need while build a rom....

but, IMPORTANT, supports:

Command line execution, automated to execute an .erv (rom saved) rom, and hidden mode, so you can build an itere rom, automatically, and without any kind of window showed, all in hidden mode, until rom flashing window is showen (if present as command into "kitchen_build_rom.bat"!!!

included into "test.bat" to understand well the parameters supported:

you can execute visualkitchen without parameters (only execute visualkitchen)

with -loadrom parameter (it starts visualkitchen and load and create desired rom by .erv config file loaded at start!)

or -loadrom & -hidden parameters, so all is builded in hidden mode ;)

so, new version 4.5 at 1st post!!!

bye!!!
[Windows Mobile] Warmax88:
Thanks! looks very nice, i'll test it later.

between i've been trying to make wm 6.5 roms with this kitchen and it didnt work.. so i had to use another kitchen! I could build it (found good xip) but the ROM never boots.. it stays in the splashscreen.

I've read bepes platformbuilder thread and i saw the flag he added with the 2.1 release (oldkernel=1 for wm6.1 roms), i guess the "wm6.5 real aku" checkbox you have in the kitchen is to remove that flag, are you sure that it works correctly? i've tryed everything really!
[Windows Mobile] ervius:
works, works, try to see the bat after platformrebuilder is started by my visualkitchen!!!

for WM 6.1 is: "setoldkernel=1"

for WM 6.5 is: "setoldkernel="

bye!
[Windows Mobile] rukako:
Ervius,

your kitchen is great i can dump stock rom from polaris but everytime i try to cook it says that i need to specify Device Id that is empty as the chunk and OS ID ,

how can i correct it?

thanks for your goog work

ps: you internal editor gives error ...
[Windows Mobile] anryl:
4.5

perfect work as allways :D

ps if i get some again u'l get as well :cool:
[Windows Mobile] c3ro:
to make it work, do this in order:

1. Change these path names

...\EXT\Unknown_Device

...\OEM\Unknown_Device

...\RELEASE_Unknown_Device

...\ROM\Unknown_Device

to

...\EXT\Polaris

...\OEM\Polaris

...\RELEASE_Polaris

...\ROM\Polaris

2. Launch program Erviuskitchen.exe and choose from the drop-down-menu 'Device' > Polaris.

It will update the Device Id, Os Id, Chunk Size aswell.

@ervius

probably you can fix this Unknown_Device for Polaris ;)

2nd, wanted to remember you about the .raw file handling [part 01,02] ;)

so far, thx for the update! sounds good, 8 extra buttons :)
[Windows Mobile] ervius:
uhmmm, don't know for polaris_name and all other old roms, becouse, the name of device is obtasined by the extra packages, like package_diamond_xxxxx, but for thieese other roms, how to do???

by the registry??? what rgu file??? by the provxml??? witch???,

if you have a good solution, tell me about! ;)

for raw files, I have to see and study about.....
[Windows Mobile] nomc2:
EDIT: Nevermind, very noob question, maybe i found the solution by myself :D
[Windows Mobile] c3ro:
after dumping a polaris rom,

erviuskitchen recognises a Unknown_Device, it automatically sets 'OS Id' to 0x400 as default and and the 'Device Id' to POLA10000.

a possibly soulution would be, to obtain the 'Device Id' and then update the paths 'Unknown_Device' ..

i.e.

[pseudo]

if (DEVICE ID = POLA10000)

Unknown_Device[paths] = Polaris;

edit**

just dumped a kaiser, and it recognises .. KAIS1*000.

a point to hold on and to start with ;)

edit**

makes more sense to check the first 4 Digits: KAIS, POLA, etc.
[Windows Mobile] ervius:
regarding raw files:

I analyzed some of them , and seems that:

from:

part00

part01

part02

part03

the usefull could be:

part01 (XIP)

part02 (IMGF)

(with some checks I can know wich raw file is real XIP and wich is real IMGFS and for IMGFS, if it is 800 block formatted or 200 block formatted! ;) )

(reamins to know, if device nb or nbh needs: to be merged or not, and what else???)

so:

part01.raw can be renamed into xip.bin,

while:

part02.raw can be renamed into imgfs.bin, so:

we have:

1) xip.bin to be inserted into a payload

2) imgfs.bin to be inserted into a payload.

only we need is a payload file (container) to make full with raws files (xip and imgfs)

now, my own question is:

is good any kind of payload for all devices, obviously, we have to check for:

200 or 800 block counter into payload, so only 2 payload needed:

1) 200 block formatted

2) 800 block formatted.

in few words, if we can use only 2 payload like containers to insert into xip and imgfs, we can have a raws/nbh converter, if each payload is needed for unique device, the thing became harder ;)

I post my question, if you have an answer, I can update visualkitchen to transform raws files into payload (only coiching the final device for)

bye!!!

if possible, it could be good creating apposite .bat file to use with one of extended buttons ;)

Some expert people about?!!?!?

waiting your answer!!!!

byebye!!!
[Windows Mobile] c3ro:
unless noone answers, we can trial&error:

i send u part01 and part02 raws from a shipped polaris rom. then u insert the XIP and IMGFS in the right block formated payload and rebuild the rom as .nbh . I will test this on my polaris and tell if it worked.
[Windows Mobile] ervius:
well!!! ;)
[Windows Mobile] c3ro:
uploading the pola raws ... sry, it took so long

**edit

http://rapidshare.com/files/214341628/pola_raw.rar