yashsingh1/xdaforums huggingface dataset:
[P3600 ROM Development] ervius:
to dump an nb file....

it need \dump folder and os.nb

outside folder.... open package tools.... and can rebuild oem\ and sys\

if you want you can insert also \xip folder using inside \tools bats....

choicing what device is from the os.nb and choice the right bat included, listed into a form with a max of 16 radiobutton to choice bat....

to build rom:

only open buildos choice rom dumped (oem\ sys\ xip\)

and it rebuild \dump folder, then, by executing a bat (that you can change to your use (also this can be implemented: more bats to have multidevices rombuilder....) and finally you have new os.nb or executing also ruu_updates_rom, the windoe to flash new ruu_signed).....

bye!
[P3600 ROM Development] cyron_at:
...it need \dump folder and os.nb

-> which means I should extract rom?

--> How can I do this?

---> I am using the tools of RomDonald. Is this ok?

From the tool:

1.) Open: There I select my \Dump\folder

2.) How can I rebuild oem/sys?

Questions over questions...

Would you be so kind and make a few screen-shots?

I would be veryyyyyy happy!

Thx,

Chris
[P3600 ROM Development] ervius:
read also this 3d...

http://xdaforums.com/showthread.php?t=320504
[P3600 ROM Development] chavonbravo:
Once XIP is extracted, what exactly gets done to port the XIP to trinity?
[P3600 ROM Development] oggi1969:
Thank ERVIUS

Very good tools ...
[P3600 ROM Development] ervius:
4.0b1 is borning, what about???

now:

1) it can dump os.nb from different devices (kaiser / hermes/trinity for now!) executing differents bat made just to dump them...

2) extract xip from different devices (kaiser/hermes/trinity for now!) by executing different bats made just to extract them...

3) build os (for trinity/hermews also ruu_signed.nbh) for different devices (kaiser/hermes/trinity for now)

I think tomorrow, ops today in the afternoon, I'll post it....

what I need???

that someone make some bats to dump/build os.nb for other devices, and bats to extract xip from other devices....

bye!!!
[P3600 ROM Development] cyron_at:
Build Packages,..

Hello!

There is an "error" while building packages:

When I say: Do not import XIP..-> There is no XIP folder in the rom -> Load rom does not work

When I say yes & import from trinty there is an error message :-(

However the XIP folder will be created. But the boot.rgu ... is not the boot.rgu from the origial rom. What must I do now?????

Any idea?

Thx
[P3600 ROM Development] ervius:
yes, wait the 4.0b1....

and test that one.... ;)
[P3600 ROM Development] cyron_at:
Sure! When do you think will the release be published?
[P3600 ROM Development] ervius:
some minutes, I'm upping 19209 Italian kitchen that contains buildos-packagetools 4.0b1!!! ;)
[P3600 ROM Development] axl79:
Thanks Ervius... Great News!!! i will test it tonight.
[P3600 ROM Development] ervius:
yes...

if I'll able to upload it....

some connectivity problems.....
[P3600 ROM Development] ervius:
buildos is online.... version 4.0b2.....

to insert imto kitchen...

bye!
[P3600 ROM Development] ervius:
added v2 version of 4.0b1, some bugs solved on CREATE_ROM_***.bat executing...
[P3600 ROM Development] j.vd.spank:
Thank you.. Really nice tool! Trying tonight!
[P3600 ROM Development] GDT:
hey ervius I can use this tools to build a 19209 rom? Are you going to release your versions?
[P3600 ROM Development] ervius:
yes, you can, I posted kitchen until this afternoon, and don't know if I'll post the 19209 rom...
[P3600 ROM Development] ervius:
version 3 in 1st post...

some improvements, soved other little bugs, added "execute CREATE_ROM_***.bat" flag by default and context menu to delete files on "search duplicete files" into rgu editor...

bye!
[P3600 ROM Development] axl79:
Excelent, thanks for your work ervius, i´m moving my development to your kitchen, i think it will make my ROM cooking easier and faster.

Only a little cuestion, why can´t write other number greater than 3 (i´m triying to put number 6) on the first digit of ROM version in the NK.exe update utility?

One improvement than will be interesting, is to include language related files in OEM folder into LANG_OLD folder when export it, so when you change the LANG_NEW folder, no more changes are required to translate the kitchen.

Thanks for all.
[P3600 ROM Development] ervius:
no, the first number have to be "3" no different is possible.

yes, with OLD/NEW_LANG Folder you can translate rom by 2 click!! ;)
[P3600 ROM Development] bigix1:
Who can share bat files for device Artemis?
[P3600 ROM Development] cicciocant:
Hello Teatcher.

Two things.

1) I've to copy pkgcommon.dll from \tools folder to near the buildos+package_tools-4.0b1v3.exe otherwise it gives me and error.

2) phcanhtc.dll inside \tools folder is it necessary?

@Bigix

Hello collega.

I think (my I wrong)

XIP_extract_****.bat: you have only to do "dumprom os.nb"

Dump_OS_*****.bat : thake the one from Trinity and change "NBSplit -hermes %1" to "ren %1 %1.payload"

Create_ROM_*****.bat thake the one from last Bepe Kitchen

I think it may works.
[P3600 ROM Development] ervius:
the kitchen have all inside, no need more os.nb, only payload now... did you know last bepe's wm 6.1 kitchen???

and inside there are yet bats to dump, xip and build rom for:

hermes, trinity, kaiser and polaris.
[P3600 ROM Development] cicciocant:
We spoke about Artemis....
[P3600 ROM Development] der_timo:
romhdr.bin

Hello,

how is it possible to create the romhdr.bin? I have the dumprom.exe, but what does I have to type into the cmd? Your new 4.0 kitchen sys error about the romhdr.bin.

Regards, Timo
[P3600 ROM Development] ervius:
you have to dump xip.bin with new dumprom.exe...

here:
[P3600 ROM Development] der_timo:
Hello,

which files have beenin the directory and which .bat file I have to use then? should I first build the packages?

thx for the quick answer before.
[P3600 ROM Development] Ameet:
can this amazing program be used to bake custom roms and build xip for elfin?
[P3600 ROM Development] Ameet:
hey guys, ervius... all i did was extract the os.nb file from nbh (kaiser shipped vf rom) ad then opened the .nb file in this program.. dumped the xip and did packaging through here.. without deleting anything or editing anything, i tried to buildos directly... it showed me error building hives... any idea what went wrong?
[P3600 ROM Development] ervius:
maybe you have to check boot.rgu

and... try verson 4.1b1 of buildos (only exe), it solves this problem...
[P3600 ROM Development] mr.ellsworth:
I keep getting an error when i try and start this tool. missing pkgcommon.dll

Nevermind, I found the answer.
[P3600 ROM Development] ervius:
maybe you need the complete program posted at 1st post.... (and all bepe's kitchen for WM 6.1)
[P3600 ROM Development] Ameet:
ok brother.. i'll try.. also is it possible for you to write the necesary create rom, dump rom & dump xip batch files for ElfIn? the kitchen i am using currently is bepe's wm6.1 and here is the contents of his batchs

Create Rom:

@echo off
echo Copying OS.nb.payload...
copy ROM\OS.nb.payload temp\OS.nb.payload
TOOLS\all_packages_to_one
del buildpkg.wrn
cd temp
REM ===========================================================================================
echo.
..\TOOLS\insert -i ..\ROM\out.bin -o OS.nb.payload -d 0x00310000 -s 0x00340000
if not "%errorlevel%"=="0" goto error
REM ===========================================================================================
echo.
..\TOOLS\ImgfsFromNb OS.nb.payload imgfs.bin
..\TOOLS\ImgfsFromDump imgfs.bin imgfs-new.bin
..\TOOLS\ImgfsToNb imgfs-new.bin OS.nb.payload OS-new.nb -bigstoragemove
REM ===========================================================================================
attrib boot.rgu -r -s -h -a
del boot.hv
del boot.rgu
del imgfs-new.bin
del imgfs.bin
del OS.nb.payload
REM ===========================================================================================
CD..
if NOT "%ALL%"=="1" pause
goto :EOF
:error
echo.
echo ERROR! (errorlevel: %errorlevel%)
pause

BuildNB

@echo off
SET ALL=1
echo.
echo Creating 'dump' folder...
TOOLS\BuildOS.exe
echo.
echo Done!
REM ===========================================================================================
echo.
CD ROM
..\TOOLS\buildxip.exe -b
if not "%errorlevel%"=="0" goto error
CD..
REM ===========================================================================================
echo.
TOOLS\G'Reloc.exe -doit -dump
if not "%errorlevel%"=="0" goto error
REM ===========================================================================================
echo.
CALL TOOLS\CreateROM.bat
pause
goto :EOF
:error
echo.
echo ERROR! (errorlevel: %errorlevel%)
pause

i actually wanted to know how to build and dump xip for elfin so i could use your tools as a kitchen to build and edit my own roms
[P3600 ROM Development] ervius:
1st code became:

@echo off

cd..
TOOLS\buildxip -b

echo Copying OS.nb.payload...
copy ROM\OS.nb.payload temp\OS.nb.payload

cd temp
REM ===========================================================================================
echo.
..\TOOLS\insert -i ..\ROM\out.bin -o OS.nb.payload -d 0x00310000 -s 0x00340000
if not "%errorlevel%"=="0" goto error
REM ===========================================================================================
echo.
..\TOOLS\ImgfsFromNb OS.nb.payload imgfs.bin
..\TOOLS\ImgfsFromDump imgfs.bin imgfs-new.bin
..\TOOLS\ImgfsToNb imgfs-new.bin OS.nb.payload OS-new.nb -bigstoragemove
REM ===========================================================================================
attrib boot.rgu -r -s -h -a
del boot.hv
del boot.rgu
del imgfs-new.bin
del imgfs.bin
del OS.nb.payload
REM ===========================================================================================
CD..
if NOT "%ALL%"=="1" pause
goto :EOF
:error
echo.
echo ERROR! (errorlevel: %errorlevel%)
pause

fox xip building you have to know the insert.exe parameters.... I don't know if the ones listed are good for your device...

for dumping rom and dumping xip, I don't know the parameters and the utils to use, find it and post here, so the buildos+package tools cen became better... ;)
[P3600 ROM Development] Ameet:
hi ervius.. tried the extract xip tool, but it gives me only empty xip folder and error that its a common rom.. i tried these on kaiser shipped wm6.1 os.nb file
[P3600 ROM Development] Ameet:
can this kitchen be used to cook roms for elfin too? what do i need to do to change the language to english?
[P3600 ROM Development] Ameet:
would this be of any help to this wonderful kitchen?

http://xdaforums.com/showpost.php?p=1934603&postcount=390

i used this tool and procedure extensively to cook roms for my earlier device (check my signature)
[P3600 ROM Development] ervius:
Hi all, my last version buildos+packagetools, version 4.2b1, what more???

now you can chioice preferred packages into rom, and save them into a config files, so, by only a click you can have ready all roms you want, if you make extralight, light, normal and full releases of your rom, only have to configure th epackages for each kind of rom, then loading configuration files, you can pass form full packaged to extralight (without packages, for example) only choicing the right conf file!!!

try it at 1st post!!

bye!!!
[P3600 ROM Development] caxio:
version 4.2b1 give error when open
[P3600 ROM Development] cygnuz:
i have an error at startup too.
[P3600 ROM Development] netdrg:
me too ....
[P3600 ROM Development] ervius:
wait 2 minutes....

but did you insert it and tools\ folder into my 6.1 kitchen or into a wm 6.1 bepe's klitchen!?!?

what kind of error?!?!?!

I'm upping beta2 try that!
[P3600 ROM Development] netdrg:
Yes i m copy all into the old version but new buildos d'ont work, the old work fine
[P3600 ROM Development] ervius:
try the ones just posted and tell me if works now !!!
[P3600 ROM Development] netdrg:
The new version work fine for me 4.2b2
[P3600 ROM Development] caxio:
now open whitout error:D
[P3600 ROM Development] ervius:
well... ;)
[P3600 ROM Development] cygnuz:
hi, now seems to work, i'm going to try my first rom experiments, tell me good luck!!

Your tool is great ervius!!!!
[P3600 ROM Development] ervius:
good luck!!! ;)
[P3600 ROM Development] cygnuz:
thanks ervius!

i'm having a jit error "carratteri non validi nel percorso" (not valid caracters in path) when i try to build package.

my path is really simple "d:\rom\"; what i'm doing wrong?
[P3600 ROM Development] ervius:
I don't know, explain better what you did before.

bwt:

there is beta 3 of version 4.2, it now can xip-port real new build in rom...

all explained into 1st rom.

P.S. I not tried real xippport (by executing after buildxip.exe), but I teach to the buildos.exe what usually I make manually to port a xip in new version, so, it will be work!

@ababrekar

try to port xip in this way..... it makes all operation automatically, all that you had to do manually....

and tell me if works! ;) inside also CREATE_ROM_For_ELF.bat to create new rom after xip porting...

bye!
[P3600 ROM Development] Ameet:
tried my hand at porting last night, but something went wrong.. you have posted a rar file which xip extracting something.. i could not download ur tools (had to format my laptop :() but it showed me error while dumping the xip, yet i went ahead and used the xip and payload and ronhdr file.. almost bricked my device :eek:.. tonight i will try n use ur tools to build the xip.. will trouble u again on msn tonight.. lol :p

good to know u also included the bat for Elfin too.. elfin users will be very happy now ;)

also is it possible for you to create the dumping and xip bat files for elfin too?
[P3600 ROM Development] ervius:
1st is important to know if xip port (joined to buildxip) works well, then, other bats.
[P3600 ROM Development] Ameet:
well.. tonight i'll try the xip porting properly with this tool and post the results.. by the way.. bxy11e01 has released the 19209 xip for elfin with different variants of pagepools here http://xdaforums.com/showpost.php?p=2115010&postcount=1... .. will try that too :)
[P3600 ROM Development] Ameet:
hey brother.. i think u missed out one line in Creat_ROM_For_Elf.bat

@echo off

CD.. (you missed out this)

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

echo.

echo Xipping OS.nb.payload...
[P3600 ROM Development] ervius:
yes, you are right....
[P3600 ROM Development] Ameet:
ur xip port system works well.. it didnt show me any errors. will flash the nb to my device at night and see if the rom is flashable :)
[P3600 ROM Development] cygnuz:
i was just tring to play with your last rom.... maybe you protected it?
[P3600 ROM Development] ervius:
you have 19199, 19202 19209 italian kitchen posted by me and want play with my roms?!?!!?

yes, is protected, but is the same of kitchen posted!
[P3600 ROM Development] FORVB2:
When I run (buildos+package) program and Push button (Rom Load)

get the following message:Error, cannot Find \ROM Folder

What I do
[P3600 ROM Development] ervius:
you need bepe's kitchen or my kitchen (oem\ rom\ sys\ folders...)
[P3600 ROM Development] cygnuz:
yes, but also when i was young i deamt to drive a ferrari! you didn't? ;)

same attitude! young spirit!!:D

i'll play with your ferrari-kitchen!
[P3600 ROM Development] ervius:
good!!!, be attenction to the "velox" on the road!! ;)
[P3600 ROM Development] j.vd.spank:
Your tool is really great! But the ROM date and version updater doesn't work. It says it updated 'nk.exe' but nothing changes in nk.exe. Only the timestamp. :)

PS. I'm using it for a wizard ROM... Maybe that's the difference.
[P3600 ROM Development] axl79:
I don´t have the same experience, i used this versión for my Spanish Cooked Roms and the ROM Version in Boot splash and ROM Date always change... the only thing don´t change is the first digit in ROM Version.
[P3600 ROM Development] j.vd.spank:
BTW It's changing S000... Maybe that's the problem?
[P3600 ROM Development] Ameet:
hey ervius.. i added this at the last in create_rom_for_ElfIn batch file (in tools) and it works too like a charm, just like ur perfect kitchen

..\TOOLS\ImgfsFromDump imgfs.bin imgfs-new.bin
..\TOOLS\ImgfsToNb imgfs-new.bin OS.nb.payload OS-new.nb -bigstoragemove
REM ===========================================================================================
cd..
REM ===========================================================================================
echo [B][COLOR=red]Moving[/COLOR] [/B]OS-new.nb in ROOT Folder...
[B][COLOR=red]move[/COLOR] [/B]TEMP\OS-new.nb OS-new.nb
[B][COLOR=red]rmdir /q /s temp
del /q *.txt[/COLOR][/B]
cd..

always prefer to keep the kitchen clean after cooking :D learnt it from my mom :D
[P3600 ROM Development] MickyMax:
I have a bug with vista... the bottom console is black and I should select the text to see the content....

Can you fix that please ? :)

Edit :

There is a way to build XIP for Kaiser too ?
[P3600 ROM Development] athena99:
Is anybody can post read me here, as I really don't how to use it. Thanks.
[P3600 ROM Development] Ameet:
check my thread at end of my signature.. maybe you'll find the answer
[P3600 ROM Development] MickyMax:
OK but when I use BuildOS+Package for Kaiser it doesn't use the XIP folder when it build the ROM :(
[P3600 ROM Development] Ameet:
doesn't use the xip folder?? didnt understand ur problem.. u need to have rom\xip
[P3600 ROM Development] MickyMax:
I have this folder. But if you watch the .bat for build Kaiser ROM, it doesn't use the XIP folder... it use the payload... :(
[P3600 ROM Development] Ameet:
kaiser.. no idea about rom cooking for that device :( sorry brother.. but i wont stop hunting for the answers for u
[P3600 ROM Development] axl79:
XIP Porting

Hi ervius i didn´t realise your signature is "My rom: Italian WM6.1 os 5.2.19900 build 19900 1.0.4!!!"

have you ported build 19900 from another device????

where it is released... i dind´t see anything about this build...!!!

I´m trying to port build 19701 from hermes to trinity with your kitchen and the resultant ROM won´t boot, we take XIP dump from hermes ROM (PDAVIET), put files into new XIP folder, push "Port IT!", and choose XIP from other device when asked, but it doesn´t boot!!

What we are doing wrong?, is this the correct procedure?.

Thanks.
[P3600 ROM Development] ervius:
try last version of my buildos and tell me if now xipport-section works!

http://rapidshare.com/files/111296473/kitchen.zip

bye!
[P3600 ROM Development] Ameet:
hey brother.. from where did u get the 19900 build rom? can u post the download link? its fun cooking with ur tools :D i'm happily porting with ease after ur guidance
[P3600 ROM Development] axl79:
Thanks Ervius, we will try tonight and tell everybody´s if it´s the XIP porting is working and how to do it.

PD: Nice option the new one to export list of checked packages, very usefull for posting...:D
[P3600 ROM Development] ervius:
yes, but before have to restore original xip\ foilder into kitchen, and then retry to port it with buildos...

and about rom contents export... Do you like it??? ;)

bye!
[P3600 ROM Development] Ameet:
hey ervius.. which one re u talking about? b1, b3 or v3? even i'll like to use this function :D whr did u get the 19900 shipped rom from?
[P3600 ROM Development] ervius:
talking about this version...

try last version of my buildos and tell me if now xipport-section works!

http://rapidshare.com/files/111296473/kitchen.zip

bye!

also in 1st post!
[P3600 ROM Development] Ameet:
i got this version of ur kitchen tools but i'm talking about the rom version.. can u give me the link to download the 19900 version rom so even i can port for elfin?
[P3600 ROM Development] simkard:
do you think the 19900 version is a TRUE one ?

it appears that the last official build release from M$ is the 19209 ...

strange isn't it ?
[P3600 ROM Development] ervius:
and 19400??? and 19700???
[P3600 ROM Development] simkard:
i know ! i don't remember where i found this information, but it was written that the latest build released was the 19209 ...

i'll try to found the page and post it here ...
[P3600 ROM Development] axl79:
I have sucess porting XIP but, doing it manually with ababrekar guide. I hope today i have a little bit of time to try to port XIP automactly with your kitchen and see if its works.

but I have two basic questions... What app must i use to DUMP the NEW XIP?, when i have sucess with ababrekar´s guide, i use xipport. Must I put all XIP files and modules inside New_XIP folder, or only have to copy files that are not in OEMXIPKernel?. I supposed than i have to copy all files, and kitchen will know what files to overwrite...
[P3600 ROM Development] nikitto:
Hi, all.

And 19701 ?

Great Ervius, I tried to use yor new kitchen V3 to xipport this new build (19701) from Hermes, but at the end I used XIPPort by BEPE. Everything, in the kitchen, looks fine, but the Trinity didn't startup. It remained frozen in the first or second splash.

Thanks both for your wonderful tools.

Have a nice day !

PS. Axl79, you post 2 min. before me. :)
[P3600 ROM Development] ervius:
I tryed from kaiser 19209 to 19202 trinity and works well, maybe you have to check create_xip_bat inside kitchen...
[P3600 ROM Development] axl79:
In the last version of your kitchen i can´t see any create_xip_*.bat or something similar... i only have... Create_ROM_for_XXX.bat, Dump_OS_From_XXX.bat and XIP_extract_from_XXX.bat...

So what file i have to check?.

Thanks again.
[P3600 ROM Development] ervius:
maybe was xip_extract.....bat ;)
[P3600 ROM Development] axl79:
That´s not the problem, i extract XIP with XIPport... But i don´t know if i have to copy all modules to New_Xip foder in your kitchen or only those not in OEMXIPKernel...

Thanks.
[P3600 ROM Development] vivi:
Thanks Ervius,

But XIP was not ported using with Polaris ROM.

vivi
[P3600 ROM Development] MickyMax:
If you watch the Create_rom_for_Kaiser, Polaris or Cruise, it doen't port the xip yet. We should update the batch to use the same commands (insert.exe...) than the Hermes or Trinity but I don't know the values to use...

Someone can help us ? :D
[P3600 ROM Development] skyfighter:
You're right...but where do we get the insert values from!?? :confused:
[P3600 ROM Development] ervius:
you have to search into payload where xip start, and executing imgfstodump.exe on same payload, have to see where imgfs start (maybe is in the frists comment in dos prompt), so you have insert parameters.

bye!
[P3600 ROM Development] skyfighter:
Thanks for your help...I tried my best...

Okay, XIP starts at 0x00320000. If this is the needed value for the "-d" Option of the insert.exe we still need the value for the "-s" Option...

I can't execute imgfstodump.exe on the os.nb.payload:

So I tried imgfsfromnb.exe, which returned:

Then I used imgfstodump.exe with the imgfs.bin I got from the above imgfsfromnb.exe. That gave me a lot of output and I can't figure out where the needed addess could be found in that. Here are the first lines:

...but where's the needed address / value!?
[P3600 ROM Development] ervius:
ImgFs partition starts at 0x006c0000

so xip start at 320000 and ends at 6c0000, so its lenght must be:6c0000-320000 (make operation in hex)... and have insert' second parameter! ;)
[P3600 ROM Development] dcd1182:
buildxip doesnt work with some devices, ie titan and kaiser, and maybe polaris and cruise.

you can use insert.exe to insert an xip.bin you built using another method, though
[P3600 ROM Development] ervius:
if you want, I can port xips with xipport, for other devices, if someone needs, only need old xip.bin and new xip.bin to port into it! ;)

bye!!!
[P3600 ROM Development] MickyMax:
ervius, can we use the buildxip.exe utility to rebuild kaiser's XIP ?
[P3600 ROM Development] MickyMax:
3A0000 ? :D

Thanks all for your help ! :)
[P3600 ROM Development] udK:
No, it's not compatible with devices like Kaiser, Polaris or Niki.
[P3600 ROM Development] MickyMax:
How can rebuild it ?
[P3600 ROM Development] ervius:
I can port xip for you!! ;)
[P3600 ROM Development] irus:
does anyone have a link for the latest as it does not work
[P3600 ROM Development] MickyMax:
I would like to know how to do it myself... Can you explain how to port XIP for Kaiser ? :)
[P3600 ROM Development] jimmymotek:
Link is Dead ,

please upload again.

many many thanks

jimmy