yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7] TheXev:
I have read this entire thread (no seriously, I did). I am getting this error trying to rebuild the XIP for the SparkW (Verizon Trophy):

"Error rebasing HTCDM.dll. Module may be corrupted."

I also get errors when trying to install driver cab updates on this same file... I had to manually port the package (which might be causing its own problems).

I have been using "RUU_Spark_W_S_VERIZON_WWE_2.01.605.10_Radio_Spark_W_MR_1201_sign_230513W_4k2K_new_partition_RELEASE.exe" as my base (can be found in Football's stock rom thread, and "HTC Trophy Verizon Wireless update for HTC Mango v2" as the driver package (found in Heathcliff74's official cab update thread). Even the older 2305.13.20104.605 gives the same error when trying to apply it as a cab update.

I have no idea how to handle this, since I'd like to rebuild XIP with wireless drivers ported from GSM Spark to try and enable internet sharing.
[Windows Phone 7] ultrashot:
as a temporary solution you may add this module to Not movable modules list.

EDIT: wait. Your package seems to be corrupted. HTCDM is file but in DSM it is listed as module. Funny Verizon/HTC bug :)

Fix DSM file/module list manually via osb dsm editor.
[Windows Phone 7] TheXev:
Do I fix that in the rom dump or the .cab? I can't even build the XIP with the 20104 that are in the Verizon rom because it says HTCDM.dll is corrupt. I can't recmod the rom ver either because it gives an error.

I am going to compare the GoldC's driver packages to see if it has a similar problem.

*edit* I cannot download any of the GoldC roms from Football's filefactory links. :( I guess they have been too popular. WTF couldn't Verizon of gotten the GoldC instead of SparkW :( *facepalm*

Even after manually porting the .cab over, and attempting to adjust things in the DSM... doesn't seem to be working correctly at all. This is the first time I've done anything this high level in the kitchen (I'm coming off PPCK for WM6.5 XD), so I'm sure I am messing something up.
[Windows Phone 7] ultrashot:
as you wish - you may either fix the package you already have ("Correct module/file list" option) or fix the content of extracted package where HTCDM is. First variant is better ;)
[Windows Phone 7] totalcmdext:
Issue during building

I have add one new dll package in the OEM and then tried to build the rom.

I have take the following error (see attachement)

Do i need to make something else before build the rom due to new package in the OEM folder?

Also i tried to compile the dumped rom without change anything and take the same message.

Does is need to use the parameter "BuildImgfsFreeMb=5", in order to build the ROM?

If i leave smaller size or put it in zero what will be the affect of the build ROM (if i use zero value i suppose that i will have enough free blocks)?
[Windows Phone 7] TheXev:
I am unable to do either. i can't even rebuild original XIP from scratch with HTCDM.dll as a module (it says the file is corrupt).

I attempted to change the 20110 DSM package after extracting it from the OSBuilder temp folder (I have no clue how to open pkg files [cabs I can open easy]) but OSBuilder still says HTCDM.dll is corrupt.. and I can't give it the same file permissions (I don't understand what most of them like K do). The cabs install onto the phone correctly when you use them, so I don't think the cabs are a problem. O_o
[Windows Phone 7] ultrashot:
You just have not enough space in NB. At present OSB doesn't change partition boundaries, it is a target for next versions.

1) You can extract bad pkg yourself. Use winrar/winzip/whatsoever.

2) Who said HTCDM should be a module? Leave it as file and just use context menu's option "Synchronize file/module list"
[Windows Phone 7] HD2Owner:
if htcdm.dll is a module and does not allow to cook rom, change this:

thanks to ultrashot for the hint until it's fixed in osbuilder.
[Windows Phone 7] totalcmdext:
Please could someone upload the 03-PackagesSof.zip file?

The link is dead!
[Windows Phone 7] titi66200:
How can i recmod wp7 file with OS Builder V1.3.199 to build cab?
[Windows Phone 7] heishanxiaoyao:
Try it like this!
[Windows Phone 7] voluptuary:
The rom doesn't need these files? Is there no way to build this without deleting stuff?
[Windows Phone 7] heishanxiaoyao:
Maybe is right!:o

I cook 8755 XIP use this SETTINGS!:eek:
[Windows Phone 7] voluptuary:
OK, since I only needed 5kb I decided to try to free up that space by cleaning the .rgu's in the rom\xip folder removing comments (something totally unneeded and I know I didn't damage any of the files) and then I was able to build the rom with both settings stated above as "rebuild from rom\xip" but it wont boot on the phone :confused: bah...I'm gonna stab some kittens.
[Windows Phone 7] ultrashot:
Never edit any ms rgus or their files/modules. You just have to uncheck "Do not move RamStart and nk RW sections".
[Windows Phone 7] voluptuary:
I got it to work last night, somehow I bungled up the unlock package, I re-harvested it and added it in again, that and removing the ;comments from the .rgu's and <!-- comments --> from the .xml's got me enough extra space, and everything works now. Thanks again.
[Windows Phone 7] ultrashot:
you will have problems with updatability if you change anything created by MS.
[Windows Phone 7] starsoccer9:
I am trying to build my rom but when I press the play button to start building it gets all the way till its says writing os.nb and then just sits there. How can i fix this?
[Windows Phone 7] Magpir:
there is no audio in yr tutorial videos

how can noobs llike me learn?
[Windows Phone 7] AndrewSh:
What music style do you prefer? We will definitely add something that is not bothering - like elevator music or so...

Seriously, man, what audio do you expect?....
[Windows Phone 7] Magpir:
like a guide or walkthru..cos i cant catch any head or tail in the videos
[Windows Phone 7] AndrewSh:
Dude, here is the second topic dedicated to OsBuilder. Try to read from the beginning. http://xdaforums.com/showthread.php?t=917594

The main concept is totally identical for WM and WP.
[Windows Phone 7] Magpir:
but i need a step by step guide to build a basic rom.

anyone can help??
[Windows Phone 7] AndrewSh:
Magpir, first of all - RTFM.

I wasted a lot of time translating it.... So try to read. It's pretty step by step.

Second: go to this post http://xdaforums.com/showpost.php?p=10675978&postcount=1 and read from all links to mobile underground.

Third - stop asking for things that are already published for the community - no-one is going to make personal studies for you here.... All the things are already explained - just go and read.
[Windows Phone 7] ultrashot:
Step by step for htc devices.

1) Dump stock rom

2) Press "Build"

Hope it works for you.
[Windows Phone 7] AndrewSh:
Magpir, this is step by step instruction:

1. Switch to dump tool

2. Open stock rom file (NBH but not exe)

3. Dump it

4. Switch to osb mode

5. Open dumped rom folder

6. Click Build...

7. Post the rom to xda

8. Apply for Recognized Developer status

Note: items 1-7 - from Barin, item 8 - from me
[Windows Phone 7] ceesheim:
thanks now I can build a rom :)
[Windows Phone 7] Magpir:
i ttired the method

shows error invalid file path

the nbh i used was a custom rom
[Windows Phone 7] Magpir:
ok frens

i need to build a rom

1) custom bootlogo /splashscreen/wallpapers

2) registry tweaks

Can i use the NBH from the custom roms ? or has it got to be stock rom?
[Windows Phone 7] Magpir:
Build Dump and ROM tab of settings have the options greyed out for logo
[Windows Phone 7] HD2Owner:
custom roms are not meant to be recooked.

use stock rom to work with.
[Windows Phone 7] mtstmp:
If anyone could help....

I'm trying to add the XIP and SYS from the tango dump to the Sprint shipped Mango rom.....

For the HTC Arrive....

I hit "Port XIP" and get the error "Error rebasing HTCDM.dll. Module may be corrupted"

If I add that file to the "Delete" list on the XIP tab in settings, the rom cooks fine, but gets stuck in a boot loop after flash.....

Any pointer in the right direction would be helpful....
[Windows Phone 7] ultrashot:
http://xdaforums.com/showpost.php?p=23321247&postcount=210

next osb will work better with such files - new heuristic algorithm added.

Also i would say: don't use portxip. Copy packages manually. MS packages:

BaseDrivers_NK

CCFGSVC

GFX_NK

KFRCRT

MSXIPKERNEL

MSXIPKERNELLTK

Watson_Core

WinCENLS
[Windows Phone 7] mtstmp:
thanks gonna try it manually! also, i was wondering about using a WWE donor rom, because the sprint rom is 0409 only, and the leak is UK English - does this make a difference? just add operator packages?
[Windows Phone 7] ultrashot:
No, lang set in stock rom doesn't matter at all.
[Windows Phone 7] mtstmp:
well, i got it to build okay, but it just gets stuck in a bootloop, gonna try a different donor rom
[Windows Phone 7] mtstmp:
well i tried several donor roms, manually copying over the XIP, as well as both "porting" the SYS, and manually copying the SYS, and no matter what, I get a boot loop - HTC Splash, reboot, HTC Splash, reboot, etc. - This is getting frustrating and I'm begging someone to hold my hand :)
[Windows Phone 7] AndrewSh:
Looks like you still have issue with XIP.
[Windows Phone 7] -=Barin=-:
Or you've removed 0409 language packages
[Windows Phone 7] nhathoa:
OSbuilder/Rom works fine if I removed all 0409 language packages.
[Windows Phone 7] mtstmp:
still trying :(
[Windows Phone 7] AndrewSh:
Anything happened? Just write what's the problem. Before editing - your message was more optimistic :)
[Windows Phone 7] mtstmp:
you were right, i was screwing up the XIP portion.... I haven't cooked a rom since the 6.5 days with visual kitchen ;p

i was trying to port the Tango XIP and got an error with the HTCDM.dll. Tried to correct it with a hex editor and no go, tried to copy the files and no go, and tried to delete HTCDM.dll and no go..

I'm a little embarrassed to say so, but after I correctly ported the XIP without HTCDM.dll, and then (the important part) copied the new XIP.bin to the ROM folder, and cooked, viola!

this was all just because I've never tried OSBuilder before, and was a little lost.... But once again thanks to everyone else I managed to muddle through!

Thank you thank you thank you... Time to play! :D :D :D :D
[Windows Phone 7] AndrewSh:
mtstmp, cool! Congrats! Just glad that you managed to do it!
[Windows Phone 7] dierdrehurndony:
very good information overall
[Windows Phone 7] sh4d0w86:
HTCCN Eternity CHS ROMs 3.10.1400.51 don't doesn't dump correctly; any chance can be fixed in future release?

link to Eternity CHS 3.10.1400.51 is here.
[Windows Phone 7] nhathoa:
+1.

But, when I dump Eternity 3.14, OSbuilder works correctly.
[Windows Phone 7] voluptuary:
I think I'm missing something but I can't figure out how to change logo0 in the logo.bin. I tried doing the 'Build Logo Partition' and selecting the image I wanted (pulled from another logo.bin) but it didn't change anything that I could tell. Is there a way to just use the logo.bin from another ROM?
[Windows Phone 7] AndrewSh:
It's actually no need to replace something in logo.bin. New logo is cooked in while building new rom. http://xdaforums.com/showpost.php?p=19301165&postcount=86
[Windows Phone 7] voluptuary:
there are like 14 logo images though and the one image i want to change doesn't seem to get cooked when i try to build the rom (logo0)

EDIT: I just built the rom without changing anything with the logo, then dumped the bins with htcrie then took the logo.bin that i wanted to swap and overwrote the dumped logo.bin then rebuilt the rom with htcrie. So a kinda backwords way but it worked. would be nice to just be able to do the swap in OSBuilder but meh.
[Windows Phone 7] ahmedfikry:
can some one please guide me to the last step in need in cooking my rom

after i click start > ... i get imgfs_new.bin & xip_new.bin files in "temp" folder

how can I insert these into my OS.nb or OS.D000FF file ..so I can flash the new rom?

I attempted to use htcRIE & BINInsert with no luck...& I am not sure if I can or how to use OSBuilder to do that?

Thanks in advance
[Windows Phone 7] -=Barin=-:
Check "Use built-in engine to build rom file" (Build dump and ROM settings) and click "ROM files and types" for additional settings.
[Windows Phone 7] ahmedfikry:
Thank you...that was the step I was missing..got it now
[Windows Phone 7] ahmedfikry:
problem solved.. post deleted..nevermind
[Windows Phone 7] -=Barin=-:
OSBuilder V 1.4.205 (16.04.2012) changelog:

1. New settings form

2. More responsive UI

3. WMSTORE rom format support.

4. Significantly updated D000FF support. Thanks, Andim! !!!Be VERY careful with maximum ROM size!!!

5. Automatic o32_dataptr fixing - important for system updates

6. WP7 DSM support improved. New module size calculation subroutine.

7. WP7 page pool changing support. (!) You have to keep original not patched NK, otherwise pool won't be changed during building.

8. Package file browser performance improved.

9. Simple algorithm against ROMs with hexed headers added. No need to use such protections anymore.

10. Language packages sorting function added to CIF/SOF editor.

11. RGU: Now OSB ignores most of errors OEMs and MS got used to.

12. SLDR certs edit button.

ATTENTION! There are some new settings for D000FF generator! Please open settings window, check all settings (ROM files and formats) and the save settings.
[Windows Phone 7] pdaimatejam:
For big business, and efforts

thank you very much
[Windows Phone 7] HD2Owner:
@ barin/ultrashot

thank you for all the great work and support
[Windows Phone 7] heishanxiaoyao:
Thank you very much!

Lumia800 error!:(

Unknown XIP compression type

unpack the "esco" file,rename the "boot.img" to "os.payload",it's OK!:)
[Windows Phone 7] Zloy Pryanik:
Barin

How to change the Loader & File Pool ? :)
[Windows Phone 7] ultrashot:
just like in WM: Configuration->Advanced settings
[Windows Phone 7] voluptuary:
I don't know if this is just a fluke but I built a ROM with the new version (a ROM that I had already cooked and built just fine with the previous build) using an osb file from the previous build and the ROM wouldn't boot on the device and it also messed up to logo partition because I had trouble getting back into MAGLDR. Then I double checked all the settings and everything looked ok so I clicked 'Ok' and rebuilt the ROM and then it worked. So maybe when using an old .osb it's best to just open settings once then save.
[Windows Phone 7] -=Barin=-:
@voluptuary

There are some new settings (for D000FF generator) which are not contained in old osb file. Just open settings check D000FF settings and then save settings.
[Windows Phone 7] nhathoa:
With 05 Tasks running (Limited tasks with Tango), we no need to change the page pool size.
[Windows Phone 7] ultrashot:
If there were 5 tasks, then yes. There is a big amount of processes running in the background.
[Windows Phone 7] aramadsanar:
hi barin,

your osbuilder is a great app. but, i found it tough to use. do you have any documentation or tutotial of this app's usage so i can use this app? And, what is a template? and how do i make it, because i can't build my rom without template

Thanks
[Windows Phone 7] ultrashot:
just dump the rom and you'll get a working environment.
[Windows Phone 7] 281463288:
Thank you very much,OSBuilder is a very good Tool for me!
[Windows Phone 7] taki7610:
hi team cook rom, i use OS builder dump os ship mango : RUU_Mondrian_S_Cingular_US_4.03.502.00_5.69.09.05a_22.50.50_RELEASE, i want add registry "DeveloperUnlockState" but not ok, sori i start learn cook rom for WP7, please help me. Thank so much.
[Windows Phone 7] aramadsanar:
i've dumped them all, but, no signs of the template is available

and, when i press the play button, it returns "template not available" :|
[Windows Phone 7] ultrashot:
Take a look at other packages.

Have you pressed "Create packages" button during dumping?
[Windows Phone 7] taki7610:
So,can you help to show me where other packages ?
[Windows Phone 7] ultrashot:
This thread is about OSBuilder, not about rom cooking in general!

*.rgu is a keyword for you - that's registry files.
[Windows Phone 7] -=Barin=-:
OSBuilder V 1.4.206 (21.04.2012) changelog:

1. Dump tool supports esco files completely. You don't need to extract boot.img from esco files youself. Just open original esco file in Dump tool.

2. Minor improvements in Complex RGU
[Windows Phone 7] heishanxiaoyao:
o ye!Thank you Again!:D
[Windows Phone 7] tobbbie:
I hardly dare to speak up here with my oldtime devices - but HDOwner's thread was not updated with the new versions yet.

How much do < WP7 cooks profit from these versions? I have identified only RGU handling as a potential improvement (or reason for different behaving builds).

EDIT: it was - but no new post to keep anyone reminded that there was a change :-) I will move over there again and leave you playing with these new toys
[Windows Phone 7] heishanxiaoyao:
Hi~~~my friend!look this img.

I did'nt look the first key at the "Registry preview" "Find" Option.
[Windows Phone 7] ultrashot:
more responsive UI during building :)