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.
Related
I am looking for some help with "shortcuts" or ".lnk" files
I am using a HTC Tilt 8925 with WM6, but I think this may be a more universal issue.
I went into Windows > StartMenu and added several new folders, and then moved the .lnks formed from program installations into those folders.
For instance, folder "Refererence" now hold Dictionary, Lexipedia, Thesaurus, etc.
All was OK for a while, but then I started to get error messages about 2 application .lnks that I had moved into a subfolder. The funny thing is, the links actually work! It's just that randomly, I get a WM6 message that there is a problem with " Programs > XXX > AAA "
Does anyone know how to make a "new" link, to replace these old links? I tried uninstalling and reinstalling the program and then moving those 2 .lnks, again, to the subfolder where I want it to be, but it happened again!
Thanks for any and all ideas!
PS: I have SK Tools installed; I thought there was a shortcut tool, but I cannot find it
Go into Program Files then whatever application you want the shorcut for. Copy the exe file then navigate to wherever you want the shortcut and paste shortcut. Rename the shorcut to whatever you want and the link is done!
Having said that if your shortcuts work sometimes but not others I cant see how it is a problem with the actual shortcut. You may need help here from someone more experienced than me.
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!
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.
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?
Firstly apologies for the noob question, I'm still very new to this WinMo stuff. And secondly I've searched about the forum all day but still having problems....
I've just got an HD2 and wanting to put some of the tweaks on it I've found via this site. When downloaded on my PC I'm faced with 4 or so files, two or three perhaps starting with a 'cab' file name and the other a reg or set up file. Basically what do I then do with these files? With the phone conected via USB I went into the deice memory and dropped all the files into the memory, did a soft reset, but nothing happened, no extra feature etc. Phone just started up as normal. Sorry for my 'thickness' lol. Would welcome any advice or a pointer to somewhere where it may be already written.
Thanks.
Do not unzip the .cab place on phone and browse phone with File Explorer, click on the .cab and install to Device....
It's a common noob mistake as .cab's are compressed archives so look like .zips on computer....
Thanks for the quick reply, I'll give that a go....
after dropping them on the device you have to run them. Open File Explorer and just launch them from there. A setup will be launched usually.
Thanks for the above advice, worked a treat.
Well I've had no problem putting cab files onto my HD2, however now I want to remove a few of them. Not sure how to remove the actual thing that I've changed??? I go into the device memory and I can delete the cab itself but the 'change' still remains, such as new task bar icons etc.
Any help appreciated....
settings -> add remove programs
just like on a computer
Oh yes of course, makes sense now. Many thanks