Need tips for cleaning OEM folder from extracted shipped ROM - Tilt, TyTN II, MDA Vario III Windows Mobile ROM De

I have tried cooking a ROM using Alex's HTC 3.03 ROM folders, but I have had the soft-reset freezing issue which is acknowledged here, so I'm trying to create my own set of ROM folders.
I've extracted a stock HTC ROM using Alex's Kaiser kitchen so I now have OEM, SYS, etc folders.
I'm looking for pointers on how to determine what can safely be removed from the various OEM subfolders.
Can anyone help out with a few tips?

I know that HTC Home and Java can be removed. Also CABs can be taken out as long as you go into the config.txt files (sometimes it will be config_AP or config_PT) and take out the command to run that CAB.

Fair enough, but I'm having trouble determining which files are part of these. Looking at the OEMAPPS folder for instance, there are more than 800 files, and they belong to various apps, e.g. HTC Home, Java, MMS composer, Comm manager, etc.
Obviously some of these can be stripped out, but I don't see any obvious way to determine which files are related to specific apps.
Is it just trial and error, or is there something obvious I'm missing?

thecueball said:
Fair enough, but I'm having trouble determining which files are part of these. Looking at the OEMAPPS folder for instance, there are more than 800 files, and they belong to various apps, e.g. HTC Home, Java, MMS composer, Comm manager, etc.
Obviously some of these can be stripped out, but I don't see any obvious way to determine which files are related to specific apps.
Is it just trial and error, or is there something obvious I'm missing?
Click to expand...
Click to collapse
I was looking at OEMAPPS last night in my kitchen and wondering if everything needed to be there. I compared it with anryl's kitchen (sorry I can't provide DL) and he had a lot less stuff, so most of it can be removed I reckon - especially if you are cooking in a newer version with an OEM / EXT package.
What links all the packages together, I have no idea, trail and error I suppose, or try and figure it out from other packages (by that I mean to remove comm manager, get a comm manager package and look whats in it and remove that from OEMAPPS)
Just remeber all the reg settings in the .rgu file also.
Thanks
Dave

Thanks for the info. Comparing to other OEM packages is a good idea, it might help. I was kinda hoping there was something really obvious I was missing, but I guess it's just a whole lot of hard work and testing.

thecueball said:
Thanks for the info. Comparing to other OEM packages is a good idea, it might help. I was kinda hoping there was something really obvious I was missing, but I guess it's just a whole lot of hard work and testing.
Click to expand...
Click to collapse
From what I've found out about cooking so far, it's all like that
You just gotta know who to ask
Dave

I haven't found any quick way, it just takes patience and time. When I first did this I compared OEM packages and the contents of .cabs to what was in the OEMApps & OEMDrivers folders and painstakingly removed (or relocated) the individual components into their own folders. The .rgu files also need to have the relevant bits removed/relocated too, plus there might also be some provxml files.
I am still using the original 5.2.19212 base as I dread going through this whole process again as I can't recount the number of mistakes I made
Andy

IIRC, I started by using akadonny's DK kitchen as my initial base. He made the "Supa-Clean" ROMs for the kaiser. He removed most of everything and adjusted the .rgu's. I would suggest looking for his kitchen here in the kaiser forum and working from there.

ok well here is what I did for HTC Home. Since I have a package for It I went in and compared that package the OEM apps folder and removed everything that had the same stuff as in that package. Nothing decided to puke when I did that

In my personal experience, you can delete anything from OEM, except for MMS or Camera or Dialer stuff! But ofcourse they all depend on the kitchen or the OEM package you have. Best thing to do, is delete one by one, and then test building it to see if you have any errors. It sure is painful and takes a lot of time to cook. Thats why I respect people who cook and release ROM's! It sure is not an easy thing to cook!

Thanks all, I guess I'll do it the hard way then.

actually, I'm working on deleting everything unnecessary from the OEMApps/Drivers folder, including updating the initflashfiles.dat, rgu, and .dsm files.
I'll release it when I can. My suggestion is compare a .cab or OEM package and delete the stuff in the OEMApps folder and Lang_0409 folder.
@ai6908, you can delete MMS, camera, and dialer

camera
if the only thing you need is the camera,delete the OEMApps folder and the uneeded files in OEM_lang then place this THIS in youre ROM,this is the camera cab!

Related

cooking help plz!

ive started cooking around a week and a half ago on my new rom series and im not understanding how to set up the auto customization that happids on a fresh flash or hard-reset ive researched for 2 days now and found formats and all that but can someone please explain what "config_operator.txt", config_PT.txt", "config_AP.txt" and "config.txt" do as they seem to be connected to each other and how to set them up with their corrisponing folders thank you!
~xNitrous~
okies first off make sure before you edit the config.txt file you set the properties to NOT read-only then edit the file as you like. put the cabs or .xmls you want in the rom into it and make sure they are signed and set to read only. then go back and save your config.txt and change the properties back to read-only. flash and be done. also search the hermes forum for answears about this since cooking for the hermes and kaiser are the same and there is TONS of info about cooking for the hermes since its been around longer
cooking trouble
can you please tell me why they are in diffrent folders and labeled diffrently and linked tongether? or point me to a page that tell me. what is "operatorPKG", what is "OperatorPKG_PT" and why are these files in each one, does each represent something diffrent can you please explain it to me thank you
~xNitr0us~
xNitr0us said:
can you please tell me why they are in diffrent folders and labeled diffrently and linked tongether? or point me to a page that tell me. what is "operatorPKG", what is "OperatorPKG_PT" and why are these files in each one, does each represent something diffrent can you please explain it to me thank you
~xNitr0us~
Click to expand...
Click to collapse
i assume you are using kaiserkitchen, right?
xNitr0us said:
can you please tell me why they are in diffrent folders and labeled diffrently and linked tongether? or point me to a page that tell me. what is "operatorPKG", what is "OperatorPKG_PT" and why are these files in each one, does each represent something diffrent can you please explain it to me thank you
~xNitr0us~
Click to expand...
Click to collapse
operatorpkg is the operator package, which in our case is htc, so it should contain stuff like themes,startup animations,backgrounds etc. as obviously windows mobile doesn't ship with this when it goes to htc.
Make it easy on youreself in the start and focuse only on: C:\kaiserkitchen\OEM\OperatorPKG & config_operator.txt
You can setup config_operator.txt to skip right to config.txt (just make sure the files in middle are not used)
Just add youre cabs, xml and stuff in config_operator.txt. When you get used to provxml and how this work you can dig real into this. One stands a bit out wich you will use more the others and thats mxipupdate_oemoperators_105.provxml
Play whit this and slowly you understand the diffrence and needs of mxipcold, mxipupdate & mxip
I think its important not to bite over to much in the start, you just gonna get confused. Small steps and take time to understand youre prossess and what you are actually doing RIGHT NOW then slowly you will get the big picture of how this connects.
Do some digging on provxml. I attached a wery nifty tool for you if you are not a speedracer on writing youre own xml`s. Use this to convert .reg or .rgu to proxml/xml`s. And download XML Notepad 2007 here. Its free and all you ever need.
Hope this was any help to you

can CECabManager do this?

With the 6.5 rom's coming out, I'm finding that I have to re-arrange my start menu everytime I flash. I'm aware of re-start, but it's a bit, primitive, for what I want to do. I'm wondering if CECabManager can create a cab that will simply MOVE files from one directory to another, even if that means creating a directory to place some files in. Basically, a fast and easy way to clean up my start menu the way I like it. Any help is appreciated.
A common cab can not do this, in my knowledge if you want a cab do this, that cab must contain a setup.dll, which can execute some commands before/after the install/uninstall. And seems it is not easy to make a setup.dll except you can use c++ computer language.
Otherwise a cab can only: Copy files, create/overrwrite registry and create shortcut.
As fa as I know, XDA_UC can do this. Check here:
[UC]XDA_UC V1.0.02, Automated & Silent User & Cook, Configuration Service[12/07/09]
Please do correct me if anything wrong.
I actually use a cab to install my start menu, but I cook my own roms. I think it's going to be harder to do if you're flashing different roms-you won't know beforehand all the shortcuts that you need. You could probably write a mortscript that deleted everything in the start menu, and then install what you want with a cab, but I have a feeling that you'll miss a bunch of apps that are cooked in, and maybe include dead shortcuts.
Sashimi is another good way to insert a new start menu directory.
hmm. guess I'll stick with what I know for now. Thanks guys.

Question on how to make cabs for touch pro

i have a touch pro and i am trying to use a 6.5 rom that is barebones and he also posts a kitchen. the chef said it would be better to install everything you want via cab rather than the kitchen because you can upgrade your apps without the hassle of having to flash again. most of the htc programs such as the taskmanager, manila, mp3 trimmer, etc etc, i can find as an oem package, but very little cabs of the updated app exist. that said, since i am only able to find them via oem, my question is, HOW CAN I MAKE A CAB FROM AN OEM USING WINCE CAB MANAGER? i have that program but dont know where the oem files go, what registries to put, etc etc....for example, if im trying to use a dialer to make a cab, i know the png files go in the windows folder, but what about the other files? there are obviously reg entries too, where can i see where these reg entries go?
so then nobody knows?

WM6.5 Start Menu Customising In Kitchen

I'm using the Diamond kitchen HERE. I am really struggling to organise my start menu.
I've been able to create folders using the initflashes.dat and mxipinit_startmenu_001.provxml.
But Windows installs default icons that I have been unable to remove. Where do I remove the icons such as Calendat, Tasks, Messaging etc...? I want to remove them from the start menu root, into my new created folders.
Any help would be very much appreciated!
You need to take a multi-pronged attack to control the 6.5 start menu, lol. There are many different ways to do it.
First, the icons. One approach is to search on the sys folder for "icon." Can't remember the names (icon_games.png, or something like that). There is one big-ass folder with all the icons. Just delete the ones you don't like or need. Or, create your own icon, rename it the way it's named in sys, and stick it in a package that runs later. Then you'll never have to think about it again, as long as you keep the package.
As far as folders go, I've dug out all the provxml's that create start menu shortcuts and I've deleted all of the program shortcuts (I left the settings stuff alone). I don't remember what all the provxmls are named, but you can usually tell just looking at the title. I recommend either organizing the dump file in your kitchen by extension, and then copying all the .provxmls out and examining them (some are hidden). So, if you make changes to any of them, then you should again stick them in the package with your icons that runs at the end of the cooking process. Personally, I install my entire start menu by cab file during customization, and that's where my directory is created. I've editted out everything in the initiflashfiles.dat and app.dat files. I'm not recommending that you take this approach, but this is what I do, lol.
The last thing you need to do is to cook in your HKLM\Security\Shell\Startinfo reg setting. This has all of the folder icon settings (if you use the .png icons-personally, I don't). It also orders everything the way you like it. I've also found that I never have problems with the owner info and buttons settings not showing up with this cooked in. When you look at that reg directory, you'll probably see a lot of crap in there that isn't in your start menu (or in the wrong place). Just delete those entries.
Getting that menu set up is a pain, but once you have it done, it's not so bad.
Edit: you can also run a mortscript during customization to clean and re-organize the SM. I've done that, but there's just something unappealing about moving stuff around and deleting stuff. You usually end up with a messy startinfo registry (mine's clean as a whistle now, lol). But it does work. You can also write scripts to delete the 'icon' values in the registry to use icon.lnk files to set your folder icons. It pretty much comes down to what's convenient and what you're familiar with.

Need a Little Help with Understanding ROM Extract

Hi All,
I need a little help in understanding something, either by explaination, or by directing me toa webpage, but everything I found really doesnt explain it.
I used 3 tools to extract a HTC ROM Leo, I used: NBHExtract, IMGFS utility (NBSpilt etc.) then used Package-tool to create the folders OEM and SYS, and now I'm stuck.
What I want to know is how do i go about making a cab file of something so I can install it? for example like the Messaging App. In the OEM folder it has two folders, one says for ex: HTCMessaging, the other says the same thing with .0409 on the end.
How would I go about being able to cab the messaging system files, registry etc, and cab it?
Thanks a million for any help.
Anyone? Or did I post in the wrong forum?
<Bump> sorry but I am still searching, I have been reading and reading for the last 12 hours and nothing is pointing me to a solution, let me clarify one thing. I am not wanting to know how to make a cab file, I know how to do that.
What I am trying to find out is how does one go about sorting in the example the HTC Messaging App and all the files needed to be installed into a cab, obviously 2 folders doesnt complete it, I know that possibly contacts, and appointments apps have to be put into the cab, but How would I go about finding out all the files needed to the appointment app, all the files needed for the contact app, and all the files needed for the Messaging App, so I could cab them individually and install them to test on a spare TP2 phone, I am not trying to flash it. I want to cab it so if it doesnt work or is unstable, I can uninstall it from the remove programs.
Anyone? I even tried New Visual Kitchen, but it crashes during the building of packages after the extraction process of the ROM.

Categories

Resources