yashsingh1/xdaforums huggingface dataset:
[Touch HD Windows Mobile ROM Development] kwbr:
That is the RTC hack that I discussed with ameet. For that you have to disassemble nk.exe\S000 (with a tool like IDA disassembler) to find out what offset to hexedit. I also discussed this with htctouchp who did the trick for Elf but still haven't found out. I pm'ed cmonex about this because she is one of the real assembler wizards on the forum. Hope to get a reaction :)
[Touch HD Windows Mobile ROM Development] NOBELOVE:
Thanks for your great effort, I very much appreciate your support, and initiation to start a very helpful thread indeed.
[Touch HD Windows Mobile ROM Development] citrix80:
i tried to compose my own rom, i extracted a cooked rom and put some additional applications in OEM folder. I flashed it and it went through, but the phone stuck on smart mobility screen. :(

what is wrong?
[Touch HD Windows Mobile ROM Development] kwbr:
Could be caused by a lot of things. You have to give more information like what packages you installed, what changes and registry tweaks you added.
[Touch HD Windows Mobile ROM Development] citrix80:
ok. for base rom I extracted Laurentius V7.3. for packages i included yota contact WVGA 1.1, touch response 0.3.2, screen capture pocket pc, IPC black dialer, IPC black time, flip it, ammar 12 button action screen, clear temp, music id. each of those, i made into OEM package with package creator 2.7. placed into a folder named Packages. i did not include any registry tweaks.

what could cause the problem?
[Touch HD Windows Mobile ROM Development] johnpatcher:
How do you get a folder "Packages". There are just folders called "Sys", "Oem" and "Rom".

I don't know for sure, but as far as I know Lauretius' rom is protected, so you can't just extract it.
[Touch HD Windows Mobile ROM Development] robertus3d:
Exactly, probably you had extract partially that packages , so you have made a corrupt packages!

But this folder "packages" where do you put it?

In sys or oem folder?

Also you may download the software and make package by yourself, it's better way!;)
[Touch HD Windows Mobile ROM Development] kwbr:
First of all using Laurentius rom isn't a good start. I think it is protected. Best start with a stock rom (like 1.14 or 1.19). Second when dumping a rom I advise to (re)build it first and test it (especially when you are a novice in cooking). Then you start adding packages one by one (unless you are sure they will work from the start). That is why building a rom is a tedious task.

About the stucture, basically you have directories OEM, SYS and ROM. You store your own packages in OEM, one directory per package (including all the necessary files like .dsm, .reg, ,provxml, initflash files).
[Touch HD Windows Mobile ROM Development] citrix80:
so I should put my packages in OEM folder? just name it Package? i used package creator 2.7, it open up a cab and automatically make it into a directory and created all the files, so i just put that folder in package. also, how should name the folder? since package creator already made a directory, should I put PACKAGE_ on front of that name?

i tried to use laurentitus rom because it has registry tweak in it instead of using a stock rom. i dont know how to make registry tweak. is it protected? how you can tell? i didnt get any error or messages when i extracted it.
[Touch HD Windows Mobile ROM Development] johnpatcher:
Yes.

You can name it like you want (more or less), but it should be meaningful.

Using a registry file (rgu) within a package.

Yes, it is (afaik).

But you should get something like "BETA, make your own roms", which is not very helpful.

Just extract a stock rom, or any unprotected rom (you can find a list in the forum), and compare the result of the extraction, it should be quite clear.
[Touch HD Windows Mobile ROM Development] citrix80:
so since package creator 2.7 already created all the files and made into a folder, should i just drop that folder anywhere in OEM folder? should i rename it or it doesnt matter?
[Touch HD Windows Mobile ROM Development] johnpatcher:
Its up to you. The name itself should be meaningful, so you can say what the package is or does.
[Touch HD Windows Mobile ROM Development] citrix80:
how can I use WWE 1.19.831.0 with 1.10.25.25 radio? how to include radio?

also where can i find cab or oem package for IRC sofrware?
[Touch HD Windows Mobile ROM Development] davideuck:
For the first question search in this section, I remember that it was explained.

For the second one here is attached my IRC package;)
[Touch HD Windows Mobile ROM Development] johnpatcher:
You just have to flash the new radio, the rom itself will stay.
[Touch HD Windows Mobile ROM Development] cobrawnl:
if you cooked your own rom.. where can i find the flashable file? is the orriginal ruu_signed.nbh in the baseRom directory now become a cooked rom? or do i have to find him somewhere else!?
[Touch HD Windows Mobile ROM Development] boyanovv:
Thanks for elaborating the configuration sequence. I realised what i did wrong.

Now I am up to adding Opea in my build.

Is there anything different? Why there are some opera files in the Operator packadge?

Can I simply get This CAB and make a packadge with the Package Creator or there is more to consider?
[Touch HD Windows Mobile ROM Development] davideuck:
The Opera files into operator package are for HTC customization.

You can use that cab or other, there are many new Opera builds, try to search for 15316(from NFSFANS), or 15086, this one seems a little faster than other.
[Touch HD Windows Mobile ROM Development] boyanovv:
So then I can delete most of the content in the Operator package if I keep the cofiguration sequence in order, right? Is the Opera customisation relevant if I get new build?
[Touch HD Windows Mobile ROM Development] davideuck:
I think yes.

The customization worked with all the Opera builds I've tested.
[Touch HD Windows Mobile ROM Development] robertus3d:
The parts of opera in Operator package are skin and more setup included in adr file!
[Touch HD Windows Mobile ROM Development] twanj:
Perhaps i am not reading this topic carefully..but i can't find an answer to the question where you can find the nhb file from my Current stock rom in order to make a copy of my current rom. Or can i use any stock nhb file, extracted from a shipped rom? I've got a NLD (Dutch vodafone) rom at the moment, i suppose i need a NLD stock nbh file.

Is this correct? Or do i need to extract the nhb somewhere else?

If i am reading everything correctly, i need to use the raw files with a nhb file. So which one?

Thanks in advance, i'm feeling such a noob lol
[Touch HD Windows Mobile ROM Development] NOBELOVE:
Have any one tried this!

How can I change the items in the start menu?

I checked the relevant changes in the registry and applied them but didn't work ??

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Start Items]

"Calculator.lnk"="[URL="file://windows//Start"]\\Windows\\Start[/URL] Menu\\Programs\\Calculator.lnk"
"Contacts.lnk"="[URL="file://windows//Start"]\\Windows\\Start[/URL] Menu\\Programs\\Contacts.lnk"
"Hijri Calendar.lnk"="[URL="file://windows//Start"]\\Windows\\Start[/URL] Menu\\Programs\\MOBiDIV\\Hijri Calendar.lnk"
"Shut Down.lnk"="[URL="file://windows//Start"]\\Windows\\Start[/URL] Menu\\Programs\\Shut Down.lnk"
"Resco File Explorer.lnk"="[URL="file://windows//Start"]\\Windows\\Start[/URL] Menu\\Programs\\Resco File Explorer.lnk"
"Office Mobile"="[URL="file://windows//Start"]\\Windows\\Start[/URL] Menu\\Programs\\Office Mobile"
[Touch HD Windows Mobile ROM Development] onkolog:
NOBELOVE

You must change it in this file initflashfiles.dat and it'll be work...
[Touch HD Windows Mobile ROM Development] kwbr:
Don't forget to remove the first 2 bytes after editing initflashfiles.dat :)
[Touch HD Windows Mobile ROM Development] jpmassena:
ROM language related

Hello all, first post...

I've been reading this forum a long time now and found all what I wanted to know, so first af all, thanks to all of you!

I'm about to start cooking my own ROM.

My first step is to try to change a wwe 1.19 official rom into my language (portuguese). That's because the official portuguese rom is version 1.14.

I didn't find anything that could help me achieve that. My first question is:

Is that possible at all?

I think that if I extract the mui files from the portuguese rom and replace those in the wwe rom that it might actually work, but I would like to know if anyone tried/done that or if there is another way of doing it.

Thanks in advance...
[Touch HD Windows Mobile ROM Development] NOBELOVE:
sorry...double post
[Touch HD Windows Mobile ROM Development] NOBELOVE:
Thanks guys for your quick response

Thats where I placed it but nothing happened

what 2 bytes ? no idea ... can you give a quick sample please.
[Touch HD Windows Mobile ROM Development] citrix80:
how to extract individual application from stock rom?

how can I extract individual application from a stock rom? I have extracted the files and file OEM packages. but all i see is bunch of files with .exe file. is there a way i can turn that into a cab?
[Touch HD Windows Mobile ROM Development] johnpatcher:
You can create a cab file using WinCE CAB Manager.
[Touch HD Windows Mobile ROM Development] kwbr:
Before you edit initflashfiles.dat take a look at the file with a hexeditor. I use mirkes.de Tiny Hexer for that. Now after changing the file (which you can do with notepad) open it again with the hexeditor and notice 2 bytes were added in the front. Remove these 2 bytes and save the file. An explanation in detail can be found in the documents on the startpage of this thread (post 3 or 4 I guess).
[Touch HD Windows Mobile ROM Development] NOBELOVE:
I figuerd that you gonna say something about hexediting.

So, OK we got that sorted out but now all I see in the dat file are lines starting with directories and no reg codes, what make me wonder if the dat file would accept my registry codes as inputs as in this format:

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Start Items]
"Office Mobile"="[URL="file://windows//Start"]\\Windows\\Start[/URL] Menu\\Programs\\Office Mobile"
[Touch HD Windows Mobile ROM Development] cobrawnl:
Great;) i'm searching for that same question...!!!

i start a new topic!
[Touch HD Windows Mobile ROM Development] kwbr:
Why starting all these threads about cooking since we have a cooking class thread?
[Touch HD Windows Mobile ROM Development] cobrawnl:
Lol... another topic and this one were put togheter..

I've made a new topic about changing the language of a rom.

I think it's not quite easy to have 1 big topic. you can bether spread them out.

For basis and advanced questions and discussions about rom cooking i will refer to this thread.

But for specific the "language change" in a already cooked, or WWE rom, i would refer to this topic!

http://xdaforums.com/showthread.php?t=480670
[Touch HD Windows Mobile ROM Development] corepda:
Hey KWBR, nice work bro. But just curious before starting, is it Device specific[I want it for kaiser] Thanks Sir, I will try to be regular. ;)
[Touch HD Windows Mobile ROM Development] !Aman!:
i never ever removed those 1st 2 bytes after editing the initflashfiles.dat :)
[Touch HD Windows Mobile ROM Development] davideuck:
Me too, and I've never had problems :D
[Touch HD Windows Mobile ROM Development] NOBELOVE:
I still couldn't get it to work:mad: I placed the above reg code in the initflashfiles.dat file but nothing changed also checked the registry location after flashing and NO sign of that code any where

I have a fishy feeling that I am doing something wrong,,,,, please help.
[Touch HD Windows Mobile ROM Development] kwbr:
I had problems when building roms for Elf when the first 2 bytes are not removed and it became a habit :)

Are you sure you are talking about OEM\OEM_Lang_0409\initflashfiles.dat?

root:-Directory("My Documents")
root:-Directory("Program Files")

Directory("My Documents"):-Directory("My Pictures")
Directory("My Documents"):-PermDir("Templates")
Directory("Program Files"):-Directory("Connections")

Directory("\Windows"):-Directory("Help")
Directory("\Windows"):-Directory("Fonts")
Directory("\Windows"):-Directory("Programs")
Directory("\Windows"):-Directory("StartUp")
Directory("\Windows"):-PermDir("Start Menu")
Directory("\Windows"):-Directory("Temporary Internet Files")
Directory("\Windows"):-Directory("AppButtons")
Directory("\Windows"):-Directory("Favorites")
Directory("\Windows"):-Directory("Rings")
Directory("\Windows"):-Directory("AppMgr")

Well I have to give it a try ;)
[Touch HD Windows Mobile ROM Development] kwbr:
The basics are the same actually.
[Touch HD Windows Mobile ROM Development] kwbr:
OEM\OEM_Lang_0409\initflashfiles.dat is used for creating directories and shortcuts.
[Touch HD Windows Mobile ROM Development] !Aman!:
yes... thats what i'm talking about. i've never removed any bytes from it. i just edit it the way i like.
[Touch HD Windows Mobile ROM Development] kwbr:
Ok, nice to know. Maybe it depends on the kitchen you use?
[Touch HD Windows Mobile ROM Development] NOBELOVE:
That's what i said earlier when I was guided to use the initflashfiles.dat, so then where can I place this code to get it working?

I also tried to place it in me registry .rgu , the odd thing is that I found the rigestry values placed well after flashing but nothing changed as well in the start menu
[Touch HD Windows Mobile ROM Development] !Aman!:
i've used 3 kitchen so far in my cooking career (and i guess everybody uses them), bepe's 2 and ervius' 1, and none of these had any troubles
[Touch HD Windows Mobile ROM Development] davideuck:
On initflashfiles.dat you have

Directory("\Windows\Start Menu"):-File("Calendar.lnk","\Windows\calendar.lnk")
Directory("\Windows\Start Menu"):-File("Contacts.lnk","\Windows\addrbook.lnk")
Directory("\Windows\Start Menu"):-File("Internet Explorer.lnk","\Windows\pie.lnk")
Directory("\Windows\Start Menu"):-File("Messaging.lnk","\Windows\tmail.lnk")
Directory("\Windows\Start Menu"):-File("Help.lnk","\Windows\help.lnk")
Directory("\Windows\Start Menu"):-File("Phone.lnk","\Windows\cprog.lnk")

Try to simply edit these.
[Touch HD Windows Mobile ROM Development] jpmassena:
I don't find initflashfiles.dat anywhere... I extracted 2 official diferent roms and there was no such file anywhere
[Touch HD Windows Mobile ROM Development] davideuck:
It's into OEM\OEM_Lang_0409.

Remember that you have to set your PC to see hidden files.
[Touch HD Windows Mobile ROM Development] jpmassena:
That was the problem, hidden files... Thanks

Where can I find the latest build of wm6.1? I believe it's 5.2.20769.1.4.5.

When I try to extract the rom provided by kwbr in the beginning of this topic, It throws an error just before ending the buildOS process.. Normal?
[Touch HD Windows Mobile ROM Development] twanj:
Hello everyone,

i've made a comment in the kitchen topic, but i better might have posted my question in this one.

I am a beginner in this field so maybe i ask some stupid questions..please forgive me ;)

i've been reading this and other topics for some time and decided to try to extract the rom of my hd.

rom version: 1.14.172.1 (24011)

radio 1.09.25.14

protocol: 52.49a.25.26h

I've got the 4 raw files, but when i try to cookit into a flashable rom using a nbh from RUU_BlackStone_HTC_NLD_1.14.404.3_Radio_52.49a.25. 26_1.09.25.14_Ship it doesn't seem to work. BuildOS.exe fails. Even before this step i get a lot of missing file errors....can't find this...and that etc etc

In my cooking dir i've got

- rom virtually empty

- sys lot of files

- temp with the dump imfgs and dump xip

I don't know where i am making errors, could someone help me in the right direction? I will to upload the first 2 raw files here in case someone wants to take a look.

http://rapidshare.com/files/195679625/Part00.raw.html

http://rapidshare.com/files/195680055/Part01.raw.html

hopefully someone can guide me in the right direction.

thx Twanj
[Touch HD Windows Mobile ROM Development] NOBELOVE:
THANKS, it was a little late but indeed apreciated because i already did that which worked for some system softs not cabed ones, anyway i found away around that as well.

And if I used cabs for some softwares how can I auto-remove these cabs from the windows directory after all to reduce the main memory size? Or is there a way to place and extract them to the storage instead of widows directory?

Ok, Now I have cleaned up my kitchen and finished my rom, how can I add the protection?
[Touch HD Windows Mobile ROM Development] onkolog:
NOBELOVE

I think you have to delete all dsm and rgu files to protect your ROM
[Touch HD Windows Mobile ROM Development] NOBELOVE:
?:confused::confused::confused::confused:?
[Touch HD Windows Mobile ROM Development] kwbr:
Use all_packages_to_one.exe.

To make things easy use attached batchfile to cook your rom :)
[Touch HD Windows Mobile ROM Development] NOBELOVE:
BlackStoneKitchen_v07 is what i have been using all along...is there an differance between that and your batchfile? how can I use it to protect my rom I don't see anything about protection among the choices?
[Touch HD Windows Mobile ROM Development] kwbr:
Nobelove, sometimes you just have to try things :)

Unzip, copy and use my batchfile in the original kitchen and you will see a new option "Build protected rom". I can't make it any easier.
[Touch HD Windows Mobile ROM Development] NOBELOVE:
.........thank you.........

.........sticky.........​
[Touch HD Windows Mobile ROM Development] kwbr:
Hehe, blush :o
[Touch HD Windows Mobile ROM Development] famusc:
Could anyone explain how to patch XIP for dynamic pagepool? The pagepool guide on third post seems to have been dropped...
[Touch HD Windows Mobile ROM Development] NOBELOVE:
!!! Very Important !!!

Any One? Any Clue?

:o:oPleeeeese:o:o
[Touch HD Windows Mobile ROM Development] davideuck:
Use ervius xipporterex revision 35 to do that;)
[Touch HD Windows Mobile ROM Development] davideuck:
I think you can't remove cabs from windows if you install them in that way.

The alternative is to use packages in the common way.
[Touch HD Windows Mobile ROM Development] NOBELOVE:
Some softs are not fully functional in a package style so I had to add them as cabs in the OperatorPkg folder extracted by the config_end.txt. any way to delete them after all?

Or how can I make the distination folder is the storage so they wont load to windows?
[Touch HD Windows Mobile ROM Development] kwbr:
Link to xip porting guide is restored. To change your pagepool use attached progie (already part of the kitchen). For a dynamic pagepool just set it to pagepool size 0.
[Touch HD Windows Mobile ROM Development] NOBELOVE:
when i choose "c" then i see the word ...(protected)...and not"Build protected rom".

any way I proceeded with "a" but at the registeration stage I get error cannot open file...

What should I do, should I ignore these error messages?
[Touch HD Windows Mobile ROM Development] kwbr:
Copy all_packages_to_one.exe from the directory "Tools" to your kitchen dir :)
[Touch HD Windows Mobile ROM Development] NOBELOVE:
STILL SAME ERROR WITH DIFFERENT FILE NAME :confused:
[Touch HD Windows Mobile ROM Development] famusc:
I can't find this revision: link in Ervius signature is broken. Can you post the thread?
[Touch HD Windows Mobile ROM Development] famusc:
Thank you. So, no need of other actions with this prog? Or still have to patch the XIP?
[Touch HD Windows Mobile ROM Development] -=Barin=-:
Hi all! Does anybody know how to change ROM date? I've tried to edit it in nk.exe (S000) but it didn't take effect.
[Touch HD Windows Mobile ROM Development] torlis:
try attached file....
[Touch HD Windows Mobile ROM Development] -=Barin=-:
Thank You very much! It's so simple :)
[Touch HD Windows Mobile ROM Development] knudsen81:
Hello is what here correct for a danish shortcut in the initflashfiles.txt ???
[Touch HD Windows Mobile ROM Development] twanj:
Can anyone help me with the kitchen?

I am trying to add some packages to the rom which are in my OEM folder.

In can't figure out how to include them in my rom.

Using packagecreator doesn't work..i believe i should get a menu where i could check which package to insert in the rom, however this screen doesn't pop up.

I am not concerner with google maps or any of those programs, but i also have stuff like bootlauncher in the follwing format PACKAGE_BLACKSTONE_Bootlauncher, containing a .exe, .rgu , .dsm and a provxml file. I can imagine these files a important, but i don't understand how to include these in the rom.

Any suggestions?

Thanks!!
[Touch HD Windows Mobile ROM Development] kwbr:
Just copy the complete directory to your OEM folder.
[Touch HD Windows Mobile ROM Development] Psyberd:
Could someone please post the links to Mediafire to some other dump such as rapid.. I and others in China cannot access Mediafire, it's blocked nationally and even through a proxy Mediafire's file sending chokes. So it's inaccessible. Thanks in Advanced.
[Touch HD Windows Mobile ROM Development] twanj:
Ok thanksfor the tip. The files are already in the OEM folder. So that would mean that when flashing the ruu_signed.nbh file i would get the packages back on my hd?

Reason i ask is because my ruu_signed file is 118.855 kb, but my SYS folder is larger than that (not speaking of the oem folder)

How do i incorporate these folders in my flash?

I am afraid that i will lose data if i flash my new nbh file.

Thanks
[Touch HD Windows Mobile ROM Development] aruppenthal:
We are slowly developing a decent repository of OEM packages in the Raphael Forum. Most of these will transfer to the Blackstone pretty easily. Your welcome to add it to the first post. The thread is Here :)
[Touch HD Windows Mobile ROM Development] KChauJen:
Sticky... Sticky

This's really important thread for the amateur cooker. It has many documemtations plus packages to guide the learner.

Please make this thread being sticky for the others can see it and learn to make the customed-Rom by him/herself.

Thanks for reading, moderators...

KCJ
[Touch HD Windows Mobile ROM Development] kwbr:
Thanks aruppenthal. Link added to the start post.
[Touch HD Windows Mobile ROM Development] kwbr:
Sorry, really don't know what the policies are to make things sticky. Best contact a mod for that.
[Touch HD Windows Mobile ROM Development] audscott:
Come on Mods....
[Touch HD Windows Mobile ROM Development] iSlaker:
XML to RGU?

as i was away from the forum for a while, now i'm trying to catch up.

basically i have an xml config file which i previously used to set up all my phone settings after flashing any UC ROM. let's say that I want to transfer all - or at least the ones I can - settings in this xml file to a registry tweak in a proper package to then, be able to cook my rom.

i would need to convert this lovely .xml of mine into a .rgu... but how? i can't just use one of those package creators because the .xml is not in a cab.

ervius has made an RGU2XML translator and when asked whether he'd do the inverse he said he would however it would involve limitations such as FileOperation. that would still suit my needs but, this XML2RGU doesn't seem to exist yet.

any suggestions?
[Touch HD Windows Mobile ROM Development] iSlaker:
and why the bloody hell this thread still isn't sticky??
[Touch HD Windows Mobile ROM Development] miniterror:
how do you know if a tweak in the register will work and really speeds up the thing that you want to weak??

i managed to cook a rom but it didnt work out ot well

i didnt have my manilla anymore but thats something i will find out hopefully:p
[Touch HD Windows Mobile ROM Development] avengerpenguin:
Please excuse me if this is a daft question, but on previous devices I have always run my own roms built with various kitchens, but am struggling with this one on the blackstone.

The question is, if I extract the 1.19 rom to give me the oem,sys etc folders, am I able to replace the entire contents of the sys folder with a different sys contents and then just re-compile it? I have an XIP.bin aswell
[Touch HD Windows Mobile ROM Development] iSlaker:
been having some issues with compact framework 3.5 as im cooking it in - i removed the previous version - but it still won't work. Lumos and AdvancedConfig always give an error and if i try to reinstall it will say the version is already installed.

is this thread dead yet?