yashsingh1/xdaforums huggingface dataset:
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] ai6908:
Run the code as admin, and see if it fixes it. It appears as nbh util crashes when it executes. If might that, or there is some error in configuration.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] chadster214:
g reloc error

anybody here know the fix for this g reloc error "7C000000" invalid integer using the ATT dump ROM. I tried using WMreloc replacing g'reloc but I can't get pass the splash screen.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] mccune:
Tried that... ...I've added erviuskitchen.exe and NBHUtil.exe compatibility to XP (and even Vista SP1) for all users.

Still it does not execute. Attached a screenshot to give the exact error. It's in Dutch, but it seems like a authorization problem.

Again it's Windows 7 32 bit. Hope someone can help me out. Otherwise I will post this in the Ervius Kitchen thread.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] mccune:
Is anyone using this project under Windows7?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] tmotp2jc:
Please sticky

DaveShaw,

Do you mind making this a sticky? This would be great to keep on hand for new people to XDA such as myself who are looking to get into ROM development.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] variosteph:
thank you daxy for your great tutorial!

now it´s really easy to cook!

i cook my own rom´s since the first day you released it, but now i ran into a little problem:

i lost that "tab and slide" thing on the lockscreen if i get a new message. that happened on the 2 or 3 roms i dumped and reconstructed. shure i disabled a few packages i don´t need (chome/bronce etc. ) but nothing related to the lockscreen.

maybe someone could help me with this!

thanks

steph
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] josh_prayyforplagues:
Do you think you could possibly make a YouTube video of this? I've been using winmo since '07, but would like to get in to the more advanced stuff. Some of your instructions are a little unclear, so I was wondering if you could possibly make a video of it. Or anyone?

thanks,

josh.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] daxy:
Make sure to include:

SYS\Lockscreen

SYS\LockscreenNonEA

EXT\LockScreenAppLauncher_version (mine is 1_0_1918_3824 right now)

EXT\LockScreenAppLauncher_Default_Skin

EXT\LongPressEndKey_1_2_19143124_00

This should be all. As long as you use the official ROM EXT packages you should be fine.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] variosteph:
thanks daxy,

i will check these packages, but i´m sure i cooked them in, maybe some file got broken during the dumping process.

steph
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] variosteph:
well it seems that the whole

EXT\LockScreenAppLauncher_Default_Skin - package

got lost during dumping.

i will try to upgrade to leo xip/sys/ext tonight so lets see what happens..

thank´s,

steph
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] variosteph:
xip/sys porting to leo succesfull (lockscreen notification working:-)) rom working great with rhodium EXT but i can´t get the rom to boot if i use the whole leo EXT....

any hint from a genius out there?

steph
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] IsmaelPR1:
I too am using it on Windows 7 32bit and I am also getting the same error "NGHUtil has stopped working" error?

Anyone? Is there a way around this...?

Thanks guys.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] hchavarria:
So I decided to take my new cooking trials to cooking with a new xip and sys and it turns out that the ROM fails to boot, it stays stuck at the first splash screen. Basically I am trying to cook the Leo sys and xip build 21864 into my rom. I am using the WWE Stock TP rom as my base rom which is build 21854. I basically dumped the Leo shipped rom and I moved the Sys to the sys folder and the Rom to the rom folder and now my structure looks like this:

EXT

-- Rhodium

-----21854

-----COMMON

--SHARED

ROM

-- Rhodium

-----21854

--------OEMXipKernel

-----21864

--------OEMXipKernel

-----os.nb.payload

-----romhdr.bin

--Shared

-----21854

---------MSXIPKernel

-----21864

---------MSXIPKernel

SYS

--21854

-----DPI_192

-----dpi_192_resh_480_resv_800

-----Shared

----------0409

----------COMMON

--21864

--- -DPI_192

-----dpi_192_resh_480_resv_800

-----Shared

----------0409

----------COMMON

I would appreciate any help.

Thanks in advance.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] variosteph:
i used this guide from rgb-rgb (thanks) to update xip/sys, i think it worked. rom is booting without problems, you don´t have to copy the whole MSXIPKernel folder, and don´t copy the shared folder

my problem is that i can´t use the whole leo EXT-packages

steph

http://xdaforums.com/attachment.php?attachmentid=214099&d=1249757530
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] daxy:
You have to be careful with using a complete EXT tree from LEO. Not all packages are usable on other platforms. I can imagine if you use the complete LEO tree, some packages actually might break your ROM. For example the LongPressEndKey (there it is again) is device specific and the LEO version doesn't work on Rhodium. Also the camera package didn't work for me. I haven't tried using the complete EXT tree from LEO, only some packages however it didn't work for me. Since then I'm only upgrading the packages I want to. I
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] variosteph:
thanks for your reply daxy, thats what i was afraid of:)

so i ´ll have to get my hands dirty

steph
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] hchavarria:
Thanks for point this out to me, it works great...Finaly I get a bootable rom.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] vonmolk:
Thank you for the great guide. Running into a problem trying to make a rom. I'm using the tmobile stock as a base. Every time after customization is done it never performs the reset. Not sure what I am doing wrong here. Also can't figure out how to get sdkcerts.cab to install at boot up. Where I need to place the file and which of the config files to edit. I tried a couple times, but got install failed. Any help would be appreciated.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] daxy:
I've updated the 3rd post. It seems I made a mistake there in regards to the OEM/MS XIPKernels. Fixed it and all should be correct now. Let me know if something is missing!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cpimentel:
Info about how change things.

Hi daxy.

Now, I'm creating my own STOCK 'CLEAN' ROM. This is the first step until I'm familiar with the how cooking thing.

The problem is: I've changed the provisioning file like u said, to remove the security message, but I also added somethings, like, change the name of the device etc.

The ROM booted fine but I realized that all the stuff in 'OperatoPKG' didn't ran well.

Can I change the provisioning file? Adding more registry thing or the best way is to create my own REG and make a 'package' of it?

Other thing I wanna do is to enable 'Windows Default' plugin in the Today Screen. (my rom does not have Manila).

I'm playing with packages, last night I was able to trash all the provisioning process, so, no custom at all.. don't know what I did wrong... perhaps the READ-ONLY attribute of files as required? I reverted to my stock kitchen and started again.

Never had so pleasure to use my device ;)

Give us tips how to custom things like device name, if is possible or not change things on the OEM folder etc. What about a 'references' link in the tut?

I will PM Ervius developer asking him if needs help to create a new UI, perhaps a 'newbie' UI.

For sure, your tut is a great work.

Regards!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] mccune:
You can edit the RGU files. Those are like REG files on your PC. You could also create a package called 'zzzMyPackage', 'zzz...' makes sure that the package is processed last. ;-)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cpimentel:
Problem during CREATE on WinXP SP3 (32 bits)

Hi guys.

I was having problems creating rom using a WinXP SP3 machine, getting the ERROR 1 stuff.

The 'kitchen_build_rom.bat' has a line which need to be renamed prior to work:

set OLDKERNEL=

TO

rem set OLDKERNEL=

The deal is: this file is created everytime you hit the CREATE button, so, during the PLATFORMBUILDER step, open the file and change it.

I use NotePad++ to keep file opened, so when it is changed, it will ask me if I want to reaload, so I can change it quickly.

This didn't happend to me using Windows 7 32bit.

Hope it help.

[]'s

Cris
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cpimentel:
Will try to create a module, I think it's safer, right? lol

And it's easier to find a REG example than a provisioning XML tag as an example :\
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] daxy:
Creating a module is easier indeed. I found editing the provxml to be horrible.

I'd start with creating an EXT package where you set the correct reg items.

If you feel comfortable you can always try the provxml.

It doesn't matter if the provxml in teh OperatorPkg is read-only or not and size is not taken into account.

As for the Kitchen Error, I haven't had those while running XP SP3 myself...

Did you remove the line I've specified in my tutorial?

Glad you like it though!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cpimentel:
I did't try removing your line, since when I got the error I was so angry that the kitchen didn't work after 2 hours preparing the virtual machine, that I went to google and found that solution. It worked for me.

About the provxml, everytime I tried to add somenthing new, it break other things, so I will restore the file and left only the security stuff, or, create a EXT module to have it, so I don't need to change anyting from 'stock'.

Regards,

Cris
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cpimentel:
I restore the provxml files and now everyting startup as it should.

I reached the 1st stable/usable (until now) version of my CLEAN STOCK ROM =).

Need to try to remove more things, but I will use the current release to see if it is working fine.

Thanks all ;)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] The Jack of Clubs:
it always seems to hit that error and then sticks at "Rebuilding all ROM Structures.. Wait..." any ideas?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] sdb156:
sync help

I had douwnloaded the 28011 on my tp2 and I hard reset the phone and now I cannot sync. I have deleted my partnerships, I uninsalled and reinstalled windows mobile device center, and I cannot sync with active sync on my other computer. I have also tried hard and soft resets several times, and neither of my computers will even recognise the phone. Please help.

Thanks

BECKER
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] cpimentel:
Use the "Show Details" to show us what is the real problem.

What is the version of .Net that you have installed on your system?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] samery:
May I say that this is a great tutorial specially for newbies and thank you so much for your time and effort.

I have one comment in response to the quoted message above. What if you want to remove the entire Sense 2.1 and replace it with Sense 2.5, this should be considered as OEM I guess. How would you know what are the files/registry keys associated and how to install properly the 2.5?

I think this could be a simple question but I am thinking seriously about building my own room too.

Also one last question, where do you get the Sense 2.5 from :D
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] The Jack of Clubs:
http://pastebin.com/mb70e3bb

im using whatever version of .net that comes installed on windows 7.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] daxy:
It seems you're using .Net 2.0.

Try installing 3.5 which is newer (that's what I have on my WinXP SP3):

http://www.microsoft.com/downloads/...FD-AE52-4E35-B531-508D977D32A6&displaylang=en
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] daxy:
In my kitchen/tutorial I use SYS as the core OS, OEM for OS applications and EXT for all other applications.

Manila/Sense is just an application and thus considered an EXT package.

The downside is that Manila is depending a lot on other packages as well. So just upgrading Manila to 2.5 will not work, you need to upgrade HTCFrameWork/HTCApplication/HTCUtil/etc/etc/etc as well.

The easiest thing you can do is download an official ROM which has Manila 2.5 already (like LEO), extract that ROM as I described and use the EXT packages that come from this ROM. Do not use any other files, only the EXT packages. SYS/OEM/ROM are not needed and will not run on your phone (SYS will but you can download newer SYS files yourself :)).

I hope this info helps. Good luck!

PS, LEO ROM's etc can be downloaded from www.everythingdiamond.info/showthread.php?t=94 for example.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] MiKeMaN:
Have you tried to turn off "faster data synchronization" under Settings - Connection - USB to PC - settings?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] daxy:
Can you tell us what the exact error is you're getting? Activesync should give you some weird error message.

Last time I had Activesync errors I had to upgrade my OEM package to a newer version. Stock 6.1 ROM was too old to be upgraded. When I used the 6.5 ROM from HTC my errors (80070008 and 8007000e) were gone.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] The Jack of Clubs:
turns out i already have 3.5.1 installed. guess thats not the issue?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] toadlife:
Delete the entire line and it won't come back every time you build. ;) AFAIK, the line is not needed/used anyway.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Marneus Calgar:
Thank tou very much for your tutorial ! When explained like this, it's very simple to cook a ROM :D
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] titan427m:
any chance of getting some preview pics on the first post?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] iridium21:
EDIT: Never mind - sorted the problem!

2nd EDIT: New problem! I get this whilst dumping the NBH payload:

Anyone know why please?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Marneus Calgar:
I haved this message too ! Try do download it from the web in your Windows/System32 directory.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] daxy:
Seems like .Net got screwed up a bit.

Either re-install .net from Microsoft's website or download the .dll from a different site.

Take a look here as well for more info: http://i.justrealized.com/2009/05/16/how-to-fix-missing-msvcr71dll-problem-in-windows/
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] vbeli:
Help I can't cook

Before 1 week i start to cook my own rom all was perfect. but now i can't

i have red all the TUT and i have made the chance in "kitchen_build_rom.bat" i add the 2 rem lines. but nothging the tp2 stack in first black screen and don't go further.

I have no problem with GREEK rom but with "_HTC Touch Pro2_RUU_Rhodium_HTC_Europe_1.19.401.1_Radio_Rhodium_3.44.25.27_Signed_Ship.exe"

any help??
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] The Jack of Clubs:
im using an already dumped rom and i have it almost working. im just getting 1 error that im not sure about.

i searched quite a bit and all i could figure out is i think i need rhodiums entry for tools/nbhutil.xml. any clarification on this? does it even effect anything if i dont bother fixing the error?

edit: i found it in another kitchen

<NBHUtil>

<device name="RHODIUM" chunksize="64">

<ModelID>RHOD*****</ModelID>

<CID>11111111</CID>

<Ver>1.00.Rhodium</Ver>

<Lang>WWE</Lang>

<Item value="0x200">SPL</Item>

<Item value="0x300">Radio</Item>

<Item value="0x400">OS</Item>

<Item value="0x600">Splash</Item>

<Item value="0x601">SubSplash</Item>

</device>
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] The Jack of Clubs:
anyone know where to get the latest 6.5 218xx builds? looking for 21891 if thats the latest.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] The Jack of Clubs:
heres an annoying one i cant figure out. figured i would have less trouble in xp so i fired up a vm and it didnt work there either.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] :
Thanks Daxy.. Great post! Will get started with your steps..
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] CiclopeTP:
Hello very great post....all works fine till now.

now i have start to make my own EXT package. i have tried to convert the Total Commander CAB to EXT. This was no problem. Now TC is installed in Program Files. How can i make automatly a lnk for this app in my startmenue?

Greats
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] :
I'm trying to cook with the OEM/HTC ROM here:

http://www.htc.com/us/support/tilt-2-att/downloads/

The extraction and dump steps work fine. I've populated the Kitchen tree as mentioned in Daxy's first post..

Having trouble with "Create ROM". I've applied the changes to "kitchen_build_rom.bat" mentioned in posts:

http://xdaforums.com/showpost.php?p=4742683&postcount=1

and

http://xdaforums.com/showpost.php?p=5432372&postcount=72

I get past the "platformrebuilder.exe" error. I now get an error with "ImgFsFromDump.exe". Has anyone seen this error?

Processing "Busy.wav"

ERROR! (errorlevel: -1073741819)

ERROR executing: kitchen_build_rom.bat

ERROR!!!

Wait some seconds...

No ''SVN'' folders present...

Restored Original config.txt...

Temp config.txt Deleted!!!

(I did a detailed search, but there wasn't an exact match of this issue. The other workarounds did not work for me..)

I also tried to upgrade to the latest OS package (23529) from Da_G's tree:

http://xdaforums.com/showthread.php?t=544445

I get the exact same error with both trees..
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] joshkoss:
see i ran into the same thing when i made a change to the kitchen_build.bat
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] :
How did u get past that? So first a platformbuilder.exe error (which the kitchen_build.bat change ignores), then an ImgfsFromDump.exe error? What is causing these errors?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] crachel:
This is just a shot in the dark, but I remember having similar problems. Try clicking "From module to file" and drill down to the ConcurrenceMgr package (something like VK\Ext\Rhodium\Packages\ConcurrenceMgr) they'll be two files in the "files" folder. Select the first one, and then repeat process with second one. Then try and create ROM.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] :
Thanks for the patient directions. Trying this out right now!

Edit:

Thats so cool.. Worked like a charm! The platformrebuilder.exe & ImgfsFromDump.exe errors are gone.. I have my first ROMs now (slightly cleaned up Tilt2/Stock, Tilt2/Stock+OS build 23529/6.5.5) Thanks eras2r, crachel & twopumpchump..

Here is more info in this post:

http://xdaforums.com/showpost.php?p=5574388&postcount=62
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] :
Thanks to Daxy for starting this thread and to everyone for suggestions, ideas and generally helped out..

Just tried my first ROM. Haven't screwed up too badly (again, just cleaned up some ATT crap & added 6.5.5/23529) .. The ROM came up and booted, with one hiccup : I have an error window on my screen saying

"Run FILEOP

\windows\Menu_FILEOP_End.txt

failed"

Other than that, I'm rocking 6.5.5 (23529) and a Stock ATT Rom, with 110 MB free RAM. Nowhere near the polished offerings from our Great Chefs, but this is a start.. XDA Rocks!

Just a request for Daxy: Can you please capture the pearls of wisdom regarding recmod from eras2r & twopumpchump, plus the way to use the Virtual Kitchen to do that from crachel? I've copied their words in the previous posts here on this page..
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] The Jack of Clubs:
anybody with a tilt 2 kitchen that will build? im not sure what im doing wrong.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] :
I got past the same problem a few hours ago and posted on how I did that:

From a couple of posts ago:

This is just a shot in the dark, but I remember having similar problems. Try clicking "From module to file" and drill down to the ConcurrenceMgr package (something like VK\Ext\Rhodium\Packages\ConcurrenceMgr) they'll be two files in the "files" folder. Select the first one, and then repeat process with second one. Then try and create ROM.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] crachel:
If you'll open VK and select the TXT editor, you should see a file named "Menu_FILEOP_End.txt" in the "OperatorPKG" folder of the OEM. My guess is that you've removed some packages that its trying to find (I think its a couple AT&T lnk files). It wouldn't hurt to back the file up and just delete the couple of lines in there to get your build to work. Here is some suggested reading on this topic: Exploring the OEM folder.

Edit: Or you could edit the line "FILEOP:\windows\Menu_FILEOP_Operator.txt" out of the RunCC "config_operator.txt". "config_operator.txt" will probably be where you want to install cabs that can be unistalled after flash
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] :
Thanks! another wonderful tip and insightful link. Will try this..

BTW, if I see this window, I just let the system boot further and use Task Manager to close this out. Happens only the first time after boot/hard reset.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Tofferbear:
Yeah...my first ROM...ah how cute...

Thanks Daxy for taking the time to put together this post...

Can anyone point me at some furthor information about how to change things...

For example, if I want to switch to a later build of WM6.5 do I have to find the .nbh file, crack it open, strip it down, and add modules that I want?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] bubbdamadaussie:
Can't Create

Hey Daxy have followed all your tips on page 1 but when I get to the save rom part it will allow me to save but the create rom button is greyed out.:confused:

Any help here would be welcome thanks:)

Well got past the above problem and cooked my first rom and installed it so now all I have to do is start tinkering.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] josh_prayyforplagues:
ive gotten as far as unsuccessfully creating the ROM, [before editing the rest of the rom]. After flashing, it wont go any further than the black Touch Pro2 boot screen. i got this message before i flashed the created ROM:

"Done!!!

kitchen_build_rom.bat Executed successfull!!!

done!!!

Wait some seconds...

No ''SVN'' folders present...

Restored Original config.txt...

Temp config.txt Deleted!!!"

idk if this has to do with it..

when i went into the RELEASE_rhodium folder to paste the CustomRUU, i noticed that the nbh file was named ruu_signed.nbh and not RHODIMG.nbh. i flashed the rom, unsuccessfully, i went back and renamed the nbh RHODIMG.nbh, flashed again and it still didnt go past the black touch pro2 screen.

Can anyone help me build a ROM? i know youve heard that countless times, but I need to do this as part of a project for school, odd i know. as a senior exit project, we have to research a field of profession, write a paper on it, create a power point on the profession, and then present it to a board of reviewers. as part of the project, i think it would really help if i could cook my own ROM and present that along with my power point. this project pretty much determines whether or not i graduate:o if anyone, anyone who can cook a ROM, can help me, i would deeeeeply appreciate it. i dont have to make any major changes, just enough to call it my own ROM.

PM me if you would be interested.

thanks.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] variosteph:
the name of the *.nbh doesn´t matter, the custom ruu grabs the first *.nbh in the folder , if you flash via sd-card you have to name the file RHODIMG.nbh thats right.

if your cooking with the new s2 rom

for getting a booting rom you´ll have to recmod Concurrence_Mgr_1_5_19221227_00

and

Notification_Enhancement_3_5_20113824_00

steph