Hi there,
How can i replace a base rom file while cooking my own rom? I want to replace the browser.dll, but not afterwards when the image is on my phone, i want to include it into my rom. My problem is after i build my own rom i got the "patched" browser.dll replaced by the original one.
I understand that i have a imageinfo.txt and imageinfo.bin along with the 5 files s000, s001, s002, s003, s004 and i guess the browser.dll is build from these files. But how can i generate those files or modify them to that my patched browser.dll is included into the cooked rom. Or isn't that possible at all?
regards,
nEUTRon
if browser.dll is a module (it's in a folder in the dump dir whose name is also browser.dll) then just remove the folder and replace it with your own dll.
The actual technique required to do this depends on the kitchen you're using. With Tadzio's tools, I simply remove the folder then move my new dll to the dump directory. Tadzio's tools rebuild imgfs from the dump dir and then merges it back into the XIP section.
Hi....I have the same problem....
What's wrong??
1) I split a .NBH to some .NB
2) Put in the same folder, Tadzio's Tools and OS.nb
3) Make the payload using the string "NBSplit -hermes OS.nb"
4) Make the imgfs.bin using the string "Imgfsfromnb OS.nb.payload imgfs.bin"
5) Extract all files to dumpfolder using the string "ImgfsToDump imgfs.bin"
Ok....now I would want to replace the "MsgStore.dll" and the "cespell.dll"....
Both are MODULEs (in the dump folder I have two folder named as, contain the dll e few other files)
So, I'll delete this two folder from Dump folder, and put in this my two DLL as they are
(note: original MsgStore size: 151 kb / My MsgStore size: 152 kb
note2: original cespell size: 7kb / My cespell size: 8 kb)
6) Make a new imgfs.bin using the string "ImgfsFromDump imgfs.bin imgfs-new.bin"
7) Make the new payload using the string "ImgfsToNb imgfs-new.bin os.nb.payload os-new.nb.payload"
8) Make the new OS.bin using the string "NBMerge -hermes os-new.nb"
What's WRONG ????
Tnks,
Dear all
Where can download ATOM WM6 Kitchen software,thanks!
sanjian said:
Dear all
Where can download ATOM WM6 Kitchen software,thanks!
Click to expand...
Click to collapse
jiggs dont release a kitchen, sorry for my mistake, he have explained to someone about this,.
i'll upload in the sticky thread the kitchen,. (to mediafire)
please wait, thanks,.
kumara
Thanks reply!
I use ATOM LIFE kitchen software,and i changer same command,but problem which default.hv and user.hv file,this file is empty,can you help me,thanks!
Note:
I think this problem which software XIP folder file,but i copy all file from my rom XIP file same problem.please help ,thanks!
Look this picture:
default.hv file only 44Kb,but right is 688Kb
user.hv file only 28Kb,but right is 72Kb
sanjian said:
Look this picture:
default.hv file only 44Kb,but right is 688Kb
user.hv file only 28Kb,but right is 72Kb
Click to expand...
Click to collapse
try to looak at temp folder (inside your kitchen, beside OEM and SYS folder) then read the log.txt
find in below the error, ususally in the last paragraph, thats mean you have an error with one of your rgu,.
default and user hv, can be build by reading the rgu,.
now, which base rom did you use??
This is log.txt :
Completed successfully
Microsoft (R) RGUComp Version 1.0.000
Registry file processor and hive builder.
Copyright (C) 2004 Microsoft Corporation All Rights Reserved.
built: Nov 19 2004 15:17:13
importing registry file ".\boot.rgu"...
package "MSXIPKernelLTK" does not contain .rgu file "d92a4f0a-378a-4482-8fd3-bd127a05e4de.rgu"
package "SMIME" does not contain .rgu file "8cb4ac12-6bc5-4bda-ab45-539988c36a95.rgu"
package "Bth_A2DP" does not contain .rgu file "6b4ed31c-5ced-41b2-b917-2c006f046a5e.rgu"
package "MediaOS" does not contain .rgu file "ae879543-c73e-4888-812b-d8177c404612.rgu"
package "RUNTIMES" does not contain .rgu file "e658c544-26bf-45ac-a458-2044a5d1e698.rgu"
package "FWUPDATE" does not contain .rgu file "23ba5346-78b8-4436-b7d2-f30712c3cef4.rgu"
package "GPSID" does not contain .rgu file "d13b7447-0248-462a-bba4-d868f31642ed.rgu"
package "WWAN" does not contain .rgu file "77f38251-db87-4e5d-96d9-9e8e35b6dc1d.rgu"
importing registry file ".\Registry\723fb954-d931-4348-b672-82a188e587b5.rgu"...
package "SMS_Providers" does not contain .rgu file "582f7a58-3c50-4301-970a-ed5ec8947692.rgu"
package "BaseAppsFiles" does not contain .rgu file "b04e8c7f-f0f6-4201-83c6-4876404128c9.rgu"
package "MediaOSFiles" does not contain .rgu file "da5e9e89-c2c4-4ff9-ae88-c90a50ec09c9.rgu"
package "Bth_HID" does not contain .rgu file "a492bb92-210b-4933-9a65-272cc8ad9a5b.rgu"
package "NetCF" does not contain .rgu file "38f43c9f-bc38-430e-81d1-a2e6c650f225.rgu"
package "Entertainment" does not contain .rgu file "0cfc3dc0-5fbc-4153-9ce9-72df4d8c2922.rgu"
package "SQLCE" does not contain .rgu file "8a1287c3-da0a-4eb8-8ba7-b70019890abb.rgu"
package "BROWSINGCORE" does not contain .rgu file "d81b11e0-3299-4b65-8305-78f1fa03dc07.rgu"
package "Redist" does not contain .rgu file "208f8be6-1362-45b3-ae17-95d4ab426c11.rgu"
package "Metadata" does not contain .rgu file "034e7cf6-8a37-40ad-85bd-6851b921866a.rgu"
package "Entertainment_DPI_96" does not contain .rgu file "6327354b-cf17-4539-92f4-c590558d3b46.rgu"
package "Redist_dpi_96_resh_240_resv_320" does not contain .rgu file "7a3fc055-392b-4846-acc1-55a34a80db5b.rgu"
package "OS" does not contain .rgu file "d0b41563-b345-4444-aa15-986e7c7fff99.rgu"
package "BROWSING" does not contain .rgu file "b183f2a7-06c3-4f27-9679-7baf97e94efa.rgu"
package "Redist_DPI_96" does not contain .rgu file "a15620ee-f541-454c-99d4-ee268d67e74a.rgu"
package "Browsing_DPI_96" does not contain .rgu file "4091ab29-ebdf-4f28-9f58-a3f3e7495372.rgu"
package "Bluetooth" does not contain .rgu file "25c125d4-0a18-487d-a709-9b4242bbf4c3.rgu"
That's mean do you have based rom without rgu inside...
I only have diskimage_Ver.nb0 file,after dumpfiles can get OEM and SYS and DUMP folder,i'm no changer any thing,direct buildOS,is this problem default and user hv file,thanks!
sanjian said:
I only have diskimage_Ver.nb0 file,after dumpfiles can get OEM and SYS and DUMP folder,i'm no changer any thing,direct buildOS,is this problem default and user hv file,thanks!
Click to expand...
Click to collapse
Do u have .rgu file on your SYS and OEM folder? If yes u must download any others rom. Try jiggs rom 0.7.0a
sanjian said:
I only have diskimage_Ver.nb0 file,after dumpfiles can get OEM and SYS and DUMP folder,i'm no changer any thing,direct buildOS,is this problem default and user hv file,thanks!
Click to expand...
Click to collapse
whose diskimage did you use?
you could try my HTC-Atom diskimage as your base ROM, it have a RGU,.
aLL yo've done is right, so try to work with other diskimage_Ver.nb0,.
gud luck,.
Regards
Kumara
Hi
I use " ATOM WM6 0.7a.0 WWE "this rom try,same problem,after update rom to mobile,stop at "driver default factory......",please help,thanks!
sanjian said:
Hi
I use " ATOM WM6 0.7a.0 WWE "this rom try,same problem,after update rom to mobile,stop at "driver default factory......",please help,thanks!
Click to expand...
Click to collapse
did you add something to your kitchen? OEM? new program? .dll files?
if you had, try to perform g'reloc,.
and tell me, what have you done?
and, please move to Atom WM6 ROM cooking tutorial, so, anybody can learn it,.
thanks,.
mods, i think you could close this thread,.
Hello All,
I'm new to this kitchen thing and over the last 2 weeks i have been here (in this great community) trying to learn how to become a cooker...or something like that!
Now i think it's time to ask you Cheafs to clarify me because after all this reading i'm getting a little confused....
First of all i'm a HERM200 owner and i'm very happy with it...it’s a great machine!!!
A few weeks ago i tried to install a wm6.1 rom (cooked rom) and all this reading started from here, so i installed Hard-SPL-V7 from Olipro and successful installed a cooked rom.
I also learned that to start cooking a rom I must follow these steps:
a) Get a RUU_signed.nbh: I used a original shipped WM6 ROM version
b) Extract the contents from that NBH file: I used nbhextract.exe
c) After the extraction I get some NB files and I choose the 06_OS.nb (this is WM operative system)
d) I “prepare” the 06_OS.nb to be cooked with aChef (delete or add files). This will generate a raw data BIN file.
e) Optionally I can “mount” in the local disk all the files (or the majority of them) that compose the raw bin file generated in step d) with the viewimgfs.exe tool...
f) I cook the ROM with AddFile.exe or DelFile.exe utilities
g) After all the cooking I must “close” the 06_OS.nb with aChef (option -2)
h) At the end I must compile the NB files in one NBH file that I want to flash to the device. For this I use nbhgen.exe tool.
Here is a resume of all this:
Nbhextract.exe ruu_signed.nbh (this will extract some NB files and one of them is 06_OS.nb)
java -jar achef.jar -1 06_OS.nb (this generates a imgfs_raw_data.bin file)
viewimgfs.exe imgfs_raw_data.bin (OPTIONAL. It generates a DUMP folder with all the files)
AddFile.exe FileToBeAdded.extension
DelFile.exe FileToBeDeleted.extension
java -jar achef.jar -2 06_OS.nb
nbhgen.exe ListOfNBs.txt
Then i put the resulting NBH file and the RUUWrapper.exe (Custom RUU V5.2) in the same folder and it’s ready to flash…..
At the end I’ve find some nice tools that do all this stuff and much more like “hermes rom koch v0.99” and others….
Now my doubts:
Can I cook a cooked rom?
Can I cook a Kaiser original shipped rom for my Hermes?
Can I Flash a different language cooked/original rom in my Hermes?
Where can I find base wm6.1 rom (not cooked) for Hermes?
That’s all for now!
Thanks in advance
apnaf
ola
Can I cook a cooked rom?
Yes, you can do it. It is matter of following the same steps over and over.
But over cooking may produce bad blocks. HarSPL is nice stuff right?
========
Can I cook a Kaiser original shipped rom for my Hermes?
Learn more about the structure of the files...
co relate and check if these match up... so of them in fact do match.
Many of them have built ROMS using different ROMS. it is not rocket science for them but me.
========
Can I Flash a different language cooked/original rom in my Hermes?
Yess, Google, Search, lastly ask!!
=======
Where can I find base wm6.1 rom (not cooked) for Hermes?
forum.xda-developers.com :: Look around?? Many many of them.
I am new as well but i love to read stickies!!!
Hi,
I have found in http://forum.xda-developers.com/showthread.php?t=438676
"Now click “build xip_out.bin” to create the resulting XIP to be inserted into the ROM .payload file. Use this command for inserting the xip_out.bin into the .payload (presuming you already have the shipped OS.nb.payload file in the same working folder
insert.exe -i xip_out.bin -o OS.nb.payload -d 0x00320000 -s 0x004C0000
Check these values with your device imgfs since in Diamond the XIP starts at 0x00320000 and the imgfs starts at 0x007A0000, but for some reason the imgfs signature in Diamond is at 0x007E0000"
but after that my device is unbootable. Which value shold be for Raphael ? Maybe somebody give me better way to porting xip and sys.
magic55 said:
Hi,
I have found in http://forum.xda-developers.com/showthread.php?t=438676
"Now click “build xip_out.bin” to create the resulting XIP to be inserted into the ROM .payload file. Use this command for inserting the xip_out.bin into the .payload (presuming you already have the shipped OS.nb.payload file in the same working folder
insert.exe -i xip_out.bin -o OS.nb.payload -d 0x00320000 -s 0x004C0000
Check these values with your device imgfs since in Diamond the XIP starts at 0x00320000 and the imgfs starts at 0x007A0000, but for some reason the imgfs signature in Diamond is at 0x007E0000"
but after that my device is unbootable. Which value shold be for Raphael ? Maybe somebody give me better way to porting xip and sys.
Click to expand...
Click to collapse
That explanation is right, but if you read through the threads, the actual parameters is:
insert.exe -i xip_out.bin -o OS.nb.payload -d <start offset of XIP> -s <start offset of IMGFS - start offset of XIP>
You already know the start offset of XIP, so how about the IMFGS? There is a tool called NBInfo in the Tools\ directory that will give you that info. Run NBInfo Os.nb.payload and in the end you will get something like:
Code:
Searching for IMGFS signature...
Found IMGFS at byte 0x007e0000 (sector 0x00000fc0).
dwFSVersion: 00000001
dwSectorsPerHeaderBlock: 00000001
dwRunsPerFileHeader: 00000001
dwBytesPerHeader: 00000034
dwChunksPerSector: 00000020
dwFirstHeaderBlockOffset: 00000800
dwDataBlockSize: 00001000
szCompressionType: XPR
dwFreeSectorCount: 0002B86A
dwHiddenSectorCount: 00000040
dwUpdateModeFlag: 00000000
Use 0x007e0000 as start offset-- so 0x007e0000 - 0x00320000 = 0x004C0000.
So in the end, the command is:
insert.exe -i xip_out.bin -o OS.nb.payload -d 0x00320000 -s 0x004C0000
Also, there are lots of things that could happen before you get a successful XIP port Some problems I had was:
forgot to repack everything by NBMerge
Editing e32 and o32 at the same time (I assumed that when e32 has !!!!, I also need to recompute the o32's)
even though there are no !!!!, there are some file allocations that you really need to look at
Doing everything all at the same time (porting XIP, SYS, picking OEM, etc)
As ababrekar said, you need a strong coffee to do this.. I would say I lot of patience and experimentation also. Goodluck!
Thanks for the answer. I understand that I use the proper command but it was successful not. I make XIP insert at the very end when os.nb.payload is already done. I do not know if this is a good and proper way of the conduct.
magic55 said:
Thanks for the answer. I understand that I use the proper command but it was successful not. I make XIP insert at the very end when os.nb.payload is already done. I do not know if this is a good and proper way of the conduct.
Click to expand...
Click to collapse
After inserting it to os.nb.payload, you need to run NBMerge -kaiser OS.nb on where the os.nb, os.nb.payload and os.nb.extra is located (the one you extracted before, and the modified os.nb.payload). After that copy the OS.nb to ROM\ folder of you Kitchen.
I will try to use Diamond Kitchen v04. Nothing to loose
how to extract a xip.bin file?
I used xipport and it gived me necessary files: S000, S001 and S002
but these were in binary format. so I could modify these only via hexeditor. is there any way to extract or convert these files?
if we can do this, I will try porting rmnet protocol to clk bootloader