yashsingh1/xdaforums huggingface dataset:
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
Yes the way i currently build package is a little complex, and i did run into some cabs that were very complex to convert to packages becuz of funny reg structures. I've been searching for an easier way. Im glad that you mentioned about the reg key comparing, because last night i was trying to search for a good free progam that would do this. In the process of doing this, I did discover the registrydump app in core, but it didnt dawn on me to use it for regisrty comparing until i read your post, so BiG thnx for that! Also with CA, some cabs didnt produce the xml, so can you tell another easier way to extract the reg keys from those type of cabs? Also, here's something you said "create another image and then use the OTHER PROGRAM to see the differences" what is the "other program" your referring to???
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
reg dump and registry compare. I don't have the kitchen on my PC and i didn't wanted to give bad names :P

Some cabs have inside only an xml ...I use WinCeCab Manager and those can't be opened the normal way ...so i extract the XML with winrar or similar and you could use that in your package just rename it into provxml...I don't know if that would work..i had an provxm that i used in my ROMs and i added all XML data into that one, so i can't say for sure that only ading an provxml into a package would make it work...try it. I hope those were the cabs you were talking about (that you say they don't provide an XML)

Aah..sorry for my silly explanation..it's late, i studied all day, and i am really tired. Will be back tomorrow after the exam.
[8525, TyTN, MDA Vario II, JasJam ROM Development] cuttriss:
When I try to find that path in my PPC (obviously with my device name in place of yours) I can't find it for the life of me. The closest I come to is:

HKEY_LOCAL_MACHINE\Software\Apps\

In which all the applications are listed, but only their install directories. I'm using the Dopod release that I cooked with the Pandora kitchen (but the registry structure should obviously be the same) and I'm using PHM Reg on the PPC. In the Software\ directory I can find the Google Maps registry information, but everything else seems to be hidden away.

Edit: Nevermind, going through the registry keys in Cab Manager fixed that.

Second problem.

When I Extract the Cab in Cab Manager it creates a "Windows" folder in the extraction, which I haven't seen in any OEM packages and I'm a little perplexed as to how to deal with it.

Final Question.

If I'm trying to incorporate the Cingular WAP Settings cab into the OEM folder, do I need the initflash file? Seems like it's only used for Applications that need shortcuts to the exe.
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
dont worry about the subfolders CA creates, just take the files out and place in the root of the created folder. The cingular wap setting are reg key only settings, so no initflashfile needed. Install the WAP cab, and look for the reg keys. Next create an .rgu with the settings. Then place the rgu file in a created folder. lastly place folder in the OEM and build OS
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
When you cook a ROM, all files will automatically go into the "Windows" folder...so if you see that with Cab Analiser, that means there's no need for initflashfiles.txt regarding those files because they're already placed in Windows folder ;)
[8525, TyTN, MDA Vario II, JasJam ROM Development] Enoshima:
I just successfully extracted my first rom, with no problems. At least none that I can see.

I have a few cooked roms that I have tried and thier are pro's and con's about each as far as my personal use. Hopefully I can make from these my own personal cooked rom.

Thanks anichillus for this kitchen and the guide. Now I just need to read more on where to go from here. To the WIKI!!!

In other news, Enoshima was found dead with eyes missing. Number 1 suspect, Hermes Wiki. Mr Wiki could not be located for comment. :eek:

Mrs. Enoshima, though slightly upset stated "He had it coming, I warned him. But I do like the look of his 8525."
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
Thanks Tommy for your kind donation and good luck with that. Be carefull ;)
[8525, TyTN, MDA Vario II, JasJam ROM Development] spastico:
I hate to see Threads full of; "Downloading Now" or Thanks, "You are the Best!"

So I thought I had better add something of value to my post. ;)

So maybe I could just say this Tool has alot of value to the community.

And I'm sure it will be even more with the included Tutorial.
[8525, TyTN, MDA Vario II, JasJam ROM Development] try:
Anichillus,

Thank you for the great tools you provided...

Cheers,
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
Hey anichillus, I like the revamp of the tutorial, very well done! I still need to get with you on that initflashfile gen. :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] Enoshima:
Appreiate the help anichillus. I have 3 folders I am working out of right now. 2 with the roms I like, and the third with a decent base.

After I did all that. I took a break and did something relatively easy. I made my own flash screens, used dutty's nbh tool, and made a little custom rom with my screens. I thought this might give me a better understanding of how the basics work.

If you dont mind, I took your post and copied it so I may print it out, and use it along with your other guide.
[8525, TyTN, MDA Vario II, JasJam ROM Development] sambartle:
I just dumped a ROM.. and have the SYS and OEM folders and a whole stack of packages and files just left over in the dump folder.. yet PKG Tool tells me only 5 are missing.. (so i manually copied those to the right place)

Im assuming based on this comment that the others can just stay in the dump folder (ouutside of OEM and SYS) and they will end up in the windows folder?

thanks for a great tool.. and assuming I dont total my device the donation will be in the paypal later ;)
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
The files that are located in the SYS and OEM folder will be in Windows. The others won't be in the ROM.

If you found files that are not reporting missing, it's probably that the Cook made a package of himself and you should also add all those files in a folder you create in OEM. Make sure it has a .dsm

Use your intuition. This is not exact science, even that it should be like that. YOu have to go with hunches some time. Watch those files carefully and try to identify them and see what they do and how important they are. Then decide if you want them in your rom or not. If you don't you better make sure that there aren't any connections still left inside the rom. Try to make a clean work..just like you'd do a surgery. Wear your gloves ;P
[8525, TyTN, MDA Vario II, JasJam ROM Development] cuttriss:
perhaps i'm just dense, but I absolutely cannot figure this out.

i just dumped the new "official" cingular rom and I get some missing elements like:

SYS\MSXIPKernel

File: 723fb954-d931-4348-b672-82a188e587b5.rgu

MODULE: busenum.dll

MODULE: cachefilt.dll

MODULE: certmod.dll

MODULE: coredll.dll

MODULE: crypt32.dll

MODULE: device.exe

MODULE: devmgr.dll

MODULE: diskcache.dll

MODULE: encfilt.dll

MODULE: fatfsd.dll

MODULE: fatutil.dll

MODULE: filesys.exe

MODULE: fsdmgr.dll

MODULE: fsreplxfilt.dll

MODULE: hd.dll

MODULE: imgfs.dll

MODULE: mspart.dll

File: mxip_lang.vol

MODULE: osaxst0.dll

MODULE: pm.dll

MODULE: regenum.dll

File: sysroots.p7b

OEM\OEMXIPKernel

File: boot.hv

File: boot.rgu

MODULE: cecompr.dll

MODULE: ceddk.dll

MODULE: FLASHDRV.DLL

MODULE: Fsdspy.dll

MODULE: nk.exe

MODULE: relfsd.dll

Only problem is.... they are already in the SYS and OEM folders so I can't very well place them there since they already exist.

/edit: to clarify, the folders exist but they only contain a single .dsm file, but I for sure don't know where to get the required folders to place.

I feel so damn close to figuring this out but through the search and wiki I can't find an answer!
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
And you can't find the ones missing in the Missing folder or just outside the SYS and OEM packages ?

This is weird. I knew that official roms don't have files missing.
[8525, TyTN, MDA Vario II, JasJam ROM Development] joecruz:
I'd really like to see if you have any other tutorials out there more specifically pertaining to cooking (removing applications to be exact) however, I can't get to your site for the life of me! I tried at almost all different times of the day but I still can't get to it...could you perhaps post your other tutorials here instead?
[8525, TyTN, MDA Vario II, JasJam ROM Development] cuttriss:
I'll go through the process once again to make sure i didn't mess anything up, I'll edit this with results.

/edit: I most likely didn't do the correct file, the .nbh's for the Official Rom and the one I flashed were different sizes, going through the process right now to confirm.
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
Don't bother, my website is down ages ago. I will put it up as soon as possible ...but it's summer vacation and it's pretty difficult to stay in the house and work :o

To remove app, search it...and delete the package (if it's in a package) or search for all it's files and remove them, also reg entries and directions in the initflashfiles.dat or initflashfiles.txt

I can't give a tutorial on that because it's not that big a deal and it's easy to do. Also programs are many and every one has different files and things that can be done. Read above directions and try for yourself ;)
[8525, TyTN, MDA Vario II, JasJam ROM Development] joecruz:
Sounds pretty simple...Thanks for ur quick reply! Now for removing the reg entries part...do u mean do a reg dump and remove them or install the rom 1st and regedit it in the PPC?
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
I thought that you already dumped the rom. So all this is done on the PC

You may find directions in "user.hv", "default.hv" or in one of the .rgu

Yeah...not that easy, but i can't help, because a tutorial is useless here. You have to figure what you're looking for...and find it
[8525, TyTN, MDA Vario II, JasJam ROM Development] D@rk_4ngel:
Mnn okay.. this might sound noobish, but i now know how to extract and build a rom again, but, where do i start if i want to remove programs out of the rom?? Like that "windows update" and so on..!!!

Another question, is it even save to flash the cooked roms to my hermies? How big is the risk of bricking from a self cooked rom? I must obviously know some kind of programming or developing course just to even start to touch the base rom?! I really do want to build my own, but what use is it if i mess up the first rom and brick my device? Then there is no use in letting us know how to disassemble a rom just so that we can mess it up.. heheh

Damn, would love to take a rom apart to its bone and just install the windows mobile base.. :rolleyes:
[8525, TyTN, MDA Vario II, JasJam ROM Development] cyriljp:
How to add packages to ROM

@ anchillus,

How do I add packages to the ROM I extracted? Like I want to add resco explorer and spb gprs monitor to my rom? How do I do that?
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
Guys...you're killing me with all these questions.

It's like ....how do i use the kinfe ? Well...you take it...place it over the thing you want to cut and ...hmm ...cut ... maybe :confused:

To add packages to the kitchen, add the package to the OEM folder.

How to create a package has been answered already.

I think i answered your question a page back...mabe you missed it.

Regarding bricking your Hermes, well that's another problem. From the Wizard i know that if you mess around with OS only you simply can't brick it no matter what you do. Messing with IPL and SPL or writing wrong address .. can and most likely will kill it.

For this question a person that owns a Hermes is the one that should give directions. Or...you could always read the Wiki

Sorry for the bit of sarcasm...this heat is making me crazy. 40 degrees Celsius and i can't stand even the chair to touch me :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] sambartle:
I've had a quick go at the beginnings of a total n00bs guide to Core Pro for Hermes..

Its not finished and im not saying everything so far is right.. but its a start, and im gonna do some more today (ive only started this afternoon) it should give you some good clues to what you are doing.. and its step by step all the way.

NOTE: Nothing in it is mine.. a lot is what ive learned here, a lot is things anichillus has said in reply to questions, some is from other forums, questions etc.. if anyone objects to any of it let me know and ill remove it..

Let me know anyways what you think.. and thanks to anichillus for the only kitchen ive been able to figure out this far!! (a lot is simply his own documentation rewritten in step by step form - it should be read as a compliment to the manual not instead of it)

todo: add removing packages (easy), deal with the default reg hives (easy), deal with initflashfiles.dat default (medium), add info on provxml files and adding them (medium)

hopefully these things will be added tonight.
[8525, TyTN, MDA Vario II, JasJam ROM Development] sambartle:
I've also made a donation.. but the donation page on paypal is all in german.. might be worth setting up an english one!!

I tried to donate more than I did.. but got an error which mentioned 5euro.. so i tried 5 euro and that worked, but thats less than i would have put in.. if it was english i might have been able to figure out how to put more!
[8525, TyTN, MDA Vario II, JasJam ROM Development] crazyC:
Sambartle,

I have not tried out your methods yet, but please continue to develop this document as you are doing so far - it is exactly what has been missing. So thank you for doing it.
[8525, TyTN, MDA Vario II, JasJam ROM Development] sambartle:
Cheers :) Not really my method! justa bodge of everyones elses methods!! I cant really take credit!

Based on 1 person liking it so far I decided to do a bit more ;)

On a side note... ive never used so many footnotes in my life.. so at least read them to make me feel better about bothering to do them ;) (they also contain info you NEED to know so read them for that reason too.)

So heres version 2 (also changed the original post to this newer version):
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
Thank you kind for your donation and for the guide also :D. I hope people find it useful.

My paypal account doesn't accept donations yet...seems that Romania can only donate but not receive since we're new to this paypal thing. So i asked a very good friend of mine in Germany to share his account.

edit :

I read it now and i know that people will find it usefull

Keep it up, you're doing great job ! I'll add them to first post also.
[8525, TyTN, MDA Vario II, JasJam ROM Development] sambartle:
Thanks :)

Hopefully might cause you to have to answer less questions again that have already been answered! A huge amount of it is stuff you answered yourself just grouped into some nice sections.

thanks for the Kitchen!
[8525, TyTN, MDA Vario II, JasJam ROM Development] crazyC:
I have not even had time to try out v1 and already there is v2.

Excellent stuff!
[8525, TyTN, MDA Vario II, JasJam ROM Development] sambartle:
I've almost got enough changes for v3.. but before that I need to fiigure out the default registry hive editing..

the actual nuts and bolts of it is written, but has anyone actually succesfully changed the default hives on the hermes using Core Pro?

I can make the changes fine, and the tools all work perfectly.. but no matter what I do.. or when/where I edit the hives (which are formatted perfect and convert to rgu and back to hv files correctly) when I build and flash all changes made to them are lost..

I've tried editing them in the initial dump folder before building packages, after building packages, and right before building the OS.. nothing seems to work.. can anyone point me in the right direction on this one so i can verify it works and then write it up.

cheers,

sam
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
Do you replace them where you should ?

I mean ...this may sound silly ...but are you editing the hives before or after you use the package tool ? I suggest after and replacing them then.

Or...Extract-edit hives - convert to packages

EDIT: I am tired, sorry.

What i meant was

either

1. Extract - Convert to SYS and OEM - Search and edit hives

2. Extract - Edit hives - Convert to SYS and OEM

Make sure that some settings you edit are not saved also in some rgu. Because when you build the rom, it will insert those in the hives.
[8525, TyTN, MDA Vario II, JasJam ROM Development] sambartle:
I'm pretty sure i've tried both methods before and after converting to SYS and OEM.

I've even manually ran each step of the scripts to see if i can spot anything weird but it all seems to work perfectly. there are no errors and the files always move to where they should.

To test I simply added a new key: HKEY_LOCAL_MACHINE\SOFTWARE\SBTEST to the registry and gave it a test string and value.. the entire branch i added is always missing, but i cant imagine an rgu would be doing it as i just made up the keyname.

I'm going to dump the created nbh and see if the hives still have the correct values or not, then at least i know if its the phone doing it or something with my build.

Its getting late for me as well so maybe I should try this in the morning when I'm more with it.. :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
yeah, the same thing happens to me too, I cant seem to get the changes to stick when editing the default & user .hv files
[8525, TyTN, MDA Vario II, JasJam ROM Development] sambartle:
As posted in the Artemis Core Pro thread you can work around it by just using a rgu to make all the changes.. which works fine.

However even so.. it'd be nice to figure out why it doesn't work (and it will probably be easier for us to figure it out that Anchillius as he doesn't own a Hermes to test it (I'm assuming it works fine on the wizard so probably just needs tweaking for Hermes) :D ) so I'm gonna look into it tonight and see if I can figure it out. (probably not but I'm willing to have a go)
[8525, TyTN, MDA Vario II, JasJam ROM Development] crazyC:
I saw in another thread that you are using Black Satin as the base - excellent as that is what I intend to do.

Tried briefly with majik but hit a few snags and so quit until someone came up with a cookbook (and then you did).

Looking forward to your ongoing notes.

Skinning Phone Alarm whilst I try and find the time to play with the ROM Kitchen.
[8525, TyTN, MDA Vario II, JasJam ROM Development] sambartle:
I was actually only using that as a base because I could download it at work and I couldnt get my prefered ROM (Sleuth's) because of it bing on RapidShare.

However since most of what I've done so far is done on the Black Satin ROM (the original broken one mind) I have a fairly good idea of how it works and i'll keep a copy around in case you have any problems :D

The damn registry is annoying me beyond belief though!!!
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
The Herm kitchens i did after the Wizard and the Artemis one from the Hermes. So this means that when i built the Hermes kitchen i changed something...probably. I remember that it worked. I changed settings in hives when i built my Core BBConnect rom and they worked so it should work in the WIzard but...

I didn't tested my kitchen now because i have some problems with my Wiza (not software related) and until i fix it i won't be able do help much since i can't even flash it.

I'd suggest to download the Wizard kitchen and see what's the difference regarding the hives.

Good luck! ..and sorry i can't do it. Tomorrow i will leave for about 5 days ...working on my next rom (terrible without flashing). And i will be in the country side with no internet acces. So I will check back in about 5 days.

Cheers
[8525, TyTN, MDA Vario II, JasJam ROM Development] sambartle:
I've finally managed to edit the default registry and have it all correct when flashed to the device.

Its a bit of a bodge and i'm sure its not how it's intended to work..

I'll write it up later today from home, and release a newer version of the guide that explains it (I have no idea what the fault is - but i do have a workaround that works) after testing further.
[8525, TyTN, MDA Vario II, JasJam ROM Development] crazyC:
OK - had a go at it.

Hi Sambartle, I have a few questions if that is OK?

I am using Satin Normal as the base, and when doing the package I get three or four missing manifests listed - I am sure I read somewhere that I can simply ignore this - is this correct?

I also get a list of missing rgus, I know this was aksed earlier in the thread but I cannot find the answer as to what to do about it (If anything)

I got a bit carried away and tried to build my first package from a cab for resco explorer - but Core then had an error creating the registry.

Anyway, as I had been messing around with the kitchen for a while, I deleted it and reinstalled it, and then ran Satin in and out without making any changes. Got no errors (have not flashed it yet), but the output nbh is smaller slightly than the source - is that normal?

Looking forward to your reg editing guide and any other enlightenments you may have.
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
Ok...so back people...well at least for a day

Yes, it's normal. The kitchen uses Tadzio's tools.

Sambartle , PLEASE send me a PM on this hives matter and i will take it under consideration.

Last days i have been working on next version of the kitchen.

The major improvement is that you no longer will be bound to use the Systemdrive and you can move it to wherever you want.

Second big improvement is that i've rebuilt it and of course got rid of few errors and made it much more error free than before and more organized.

Third thing...is an improvement for me and for the community as well, since it will be usable for mostly all HTC devices into only one kitchen. You'll have to edit a txt with your device name and it will automatically use your device settings. Don't worry, the kitchen size will be less than the one before.

For now i have settings added only for Wizard, Hermes and Artemis but the best thing is that it's really easy and it takes little time to make config for any HTC device by yourself

I will provide it as soon as i can and until then, PLEASE tell me what errors it has until now.

If i remember correctly, CUSTEL said that it's buggy ...well now i am ready to hear about it. What's buggy and what else to change ?
[8525, TyTN, MDA Vario II, JasJam ROM Development] crazyC:
Surely Satin was compressed using Tadzio's tools when JJ cooked it, that was why I was confused?

Anyway, Looking forward to the next Kitchen, good to see you back.