CAB files - General Topics

sorry for asking: what does it mean exactly the word "CAB" in CAB files ? thank you in advance for answer.

my guess on the top of my head would be cabinet as in your closet as in a closed item containing things
it was jus the name you were talking about right =?

Microsoft has always called them "cabinet" files.

Related

change 80040000-OS.nb to nk.nbf

Buddies
Who can tell me how to change 80040000-OS.nb to nk.nbf ?
Thanks
...ehh, i feel nice today =P
I assume you're using the WM6 Kitchen? In the Flashing folder, open up a program nb2nbf_wizard.exe
It's pretty self explanatory from there...Language is WWE, [x]OS, and all that...
BTW, in the "faria's real WM6" sticky it has instructions in there too. You can find most of your answers by searching around (which is probly why I don't have a high post count )
shadezero said:
...ehh, i feel nice today =P
I assume you're using the WM6 Kitchen? In the Flashing folder, open up a program nb2nbf_wizard.exe
It's pretty self explanatory from there...Language is WWE, [x]OS, and all that...
BTW, in the "faria's real WM6" sticky it has instructions in there too. You can find most of your answers by searching around (which is probly why I don't have a high post count )
Click to expand...
Click to collapse
Better to say little and teach than talk without saying nothing (like this post...)
What is the Start address? please
you don't need to put anything in the start address, it should fill itself in when you choose OS in the pop down menu just to it's right.
dferreira said:
Better to say little and teach than talk without saying nothing (like this post...)
Click to expand...
Click to collapse
Will do in the future!

How to get OEM Cabs?

How does one extract a CAB from a ROM?
For instance if I want to cook my own ROM, but I want to use some of the applications in say Dutty's latest release, how do I get those cab packages to install on my own?
Particularly, i am interested in pulling the latest remote desktop off of the latest test Tilt ROM because it has the ability to map the mobile's local storage.
thanks!
one word: RTFW.
Read The FFing Wiki!!
If I could find it on here I wouldn't have posted asking about it.
This is the first of my posts that have been met with a response like this, but honestly go troll somewhere else. It is 0% productive to make responses like that. You are cluttering up the forum with usesless posts (as much as I would be guilty of if this is indeed described in the wiki). If it's in the wiki, why don't you point me to where?
The wiki isn't a single page as much as you'd like to believe, it' links to hundreds and thousands of posts of information.
I have CIM and SIM unlocked my device, flashed about 5 different ROMS and radios and done numerous other things with info I have gotten from the wiki. I read through the ROM cooking kitchen tutorials, but could not find anything which mentions my task at hand. I found information and links on the cooking tutorials to use OEM cabs that people had already extracted....but what if the one I want isn't there? Where is the info that tells me how to pull one OUT of a ROM (instead of putting one already extracted IN)?
So, either you are misunderstanding what i want to do, or else the way i am phrasing it is misleading, both to you and to myself, which is maybe why i can't find the info I want.
So, please your brilliance, point me to location in the Wiki that would describe a procedure where i would be able to extract a .CAB (like Windows Mobile Desktop) from the latest AT&T test ROM.
Otherwise your contributions to this thread are unwanted.
while maarten might have pointed you in the wrong direction, your thread is still a redundant one. if you tried to search, you will find lots of threads covering this subject. and yea, your search results are probably gonna end up with tons of threads that end up looking like this thread, but if you sift through the results.......and by sift i mean u really really sift, i promise you, you will find something useful.
Simple Answer...
...You can't extract a CAB from a ROM usually.
Explanation: In the ROM itself things like windows live are extracted from the CAB already and are installed, so the CAB itself is not there. If your original question was how do I extract the files needed to MAKE a CAB.. then that's more complex, a different question, and a waste of your time if you don't already know how to do it.
If you really want to learn you will have to search.. if you just want a CAB of the latest windows live messenger get the build number by installing the ROM and looking in the application for it.. then use the google search of xda-developers (e.g. "Windows Live" <build number> )and you can be sure you will find someone has already done the hard work for you.
hope that helps.
You find threads on converting CAB's to OEM packages but not the other way round.
The trouble is when you extract a ROM, you'll probably find in the SYS directory, the OEM folder you want with all the relevent files. BUT you won't know where they all go. And if the files you want are in the OEMApps folder you won't know what files need to go together. What I do is look at a similar OEM package (See Alex's excellent work) and this will show the files you need, where they go plus any registry settings. You can probably copy over the newer files from your extracted ROM to the OEM package, overwriting the older files.
If the OEM package doesn't exist it will be a long, long job!! You need to search through the files on a device with the installed ROM and make a note of the location of the application files - this is required for the install.txt file. The next problem (& the major one) is to find any relevant registry settings - again you can search through the registry of the installed ROM. Now all this take a lot of time and effort...
odyseus said:
The next problem (& the major one) is to find any relevant registry settings - again you can search through the registry of the installed ROM. Now all this take a lot of time and effort...
Click to expand...
Click to collapse
You can cheat a little bit here though, some apps will recreate any missing entries with sensible defaults if you leave them out.. others wont.. for those you can find ANY version of the CAB that you want to use (even an older one say) and use its registry as a guide to where to find the ones for the new version.. the registry locations dont change that much between versions usually.
you'll still get issues.. but in most cases this helps if not works
Thanks for your info sambartle and odyseus. I had feared as much based on what I had found through search already, but thought there might have been a way... I guess _Alex_ and others do quite alot of legwork to extract and make all these things themselves.
I can't quite understand it however.... If I take a windows PC for example (which is similar in it's registry) I couldn't necessarily find all the associated files and registry keys associated with an application. If you are lucky they are all under one folder and one key of the registry... but something like MS Office installs so many shared files, and classes objects into the registry it would be nigh impossible to recreate that (even given the time).
Unfortunately, if the last posts I read are accurate the developers here won't be providing new OEM dumps for a while. Maybe once 6.1 is more widely released microsoft will allow download of the new mobile desktop.
Ah well, thanks for your help.... and to the other posters...it's worthless posts like yours that contribute nothing to the forum that makes extracting useful information through the forum more difficult than it should be.
bengalih said:
Thanks for your info sambartle and odyseus. I had feared as much based on what I had found through search already, but thought there might have been a way... I guess _Alex_ and others do quite alot of legwork to extract and make all these things themselves.
I can't quite understand it however.... If I take a windows PC for example (which is similar in it's registry) I couldn't necessarily find all the associated files and registry keys associated with an application. If you are lucky they are all under one folder and one key of the registry... but something like MS Office installs so many shared files, and classes objects into the registry it would be nigh impossible to recreate that (even given the time).
Click to expand...
Click to collapse
It requires alot of testing and re-installing or re-flashing, sometimes on the same ROM, sometimes on different ones, just to iron out the bugs. It's one of the reasons why I released AT&T and HTC versions in the past, just so that I can have two platforms to test on.
Windows CE is alot simpler than Windows XP by at least 10 fold. Yet there are people who have created portable versions of Microsoft Office through the use of deployment applications like thinstall, so anything *IS* possible, with automation.
Automation that works at the functionality of thinstall for CE doesn't exist because of economies of scale (e.g., it's not worth any developer's time to create a deployment package as robust as Thinstall for the PPC).
bengalih said:
Unfortunately, if the last posts I read are accurate the developers here won't be providing new OEM dumps for a while. Maybe once 6.1 is more widely released microsoft will allow download of the new mobile desktop.
Click to expand...
Click to collapse
Dumping and stripping is relatively easy once you've gotten the hang of it. You just need to keep at it.
Personally, I just don't find it to be challenging any more, since I've done quite a few AT&T/HTC WM6.0s and HTC WM6.1s and I'm now waiting for an official shipped version (no more leaked betas!!!).
bengalih said:
Ah well, thanks for your help.... and to the other posters...it's worthless posts like yours that contribute nothing to the forum that makes extracting useful information through the forum more difficult than it should be.
Click to expand...
Click to collapse
Your initial question / thread starter didn't have many details, so I would have flamed you too, although I would have also provided a link to my OEM Package Tutorial (Creating Packages from ROM files section)
It never hurts to be overly verbose when asking a question. This would make the flamers leave you alone (because they'll just get tired of reading) and should *NOBODY* respond within a couple of days, when you bump it (with flowery encouraging yet challenging words, like 'You guys are so great, but nobody could answer my question?'), nobody will mind that you did, and you will get answers after that bump...
FWIW, I still think this should have been a question asked in the OEM Tutorial thread, which I have subscribed and respond to much more frequently than new threads which I'm not aware of until I actually have the time to READ new threads. It's also because, should anyone have similar questions, it'd be much easier to fiind in the bigger OEM Tutorial thread than in this one...
Hope this helps!
Thanks Alex... as you said you would have provided me the link to your Creating Packages from ROM section which I did gloss over briefly previously but didn't totally see how it helped me (since I was looking for Cabs). But, now that you point me there I again I took another look and got some useful information.
So this is where i am at:
Ok,
So first I extract the ROM using your kitched script, then in the SYS folder I find two folders that seem to be what i want:
RemoteDesktopMobile
RemoteDesktopMobile_Lang_0409​
Inside the first folder are subfolders with names like:
MvkLib.dll
and
wpctsc.exe​
and inside those are an actual DLL or EXE file, and some other files called imageinfo.bin, imageinfo.txt, and some files S001, S002, s003, etc...
I am going under the assumption that all I need is the .DLL file, and the rest are some sort of uncompiled form of the DLL? (Please let me know if i need to pay attention to those other files.)
So I take all those DLL and EXE files. I also look for and find an INITFLASHFILES.DAT and don't see any references to these files, so i assume they all go in \WINDOWS?
There is also an RGU file inside here that has a few registry keys for this application.
Inside the second folder is just a DSM, and a couple of .txt and .htm files. Since these files aren't in INITFLASHFILES.DAT either, I assume they just go in \WINDOWS?
I also find a provxml file in \OEM\OEM_Lang_0409 called mxipupdate_RemoteDesktopMobile.provxml.
The contents are:
Code:
<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE11%" translation="install">
<characteristic type="MakeDir" />
<characteristic type="Remote Desktop Mobile.lnk" translation="install">
<characteristic type="Copy">
<parm name="Source" value="%CE2%\wpctsc.lnk" translation="install" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Based on my reading of the links off your page and some further research this file seems to say the following:
Make a directory (if it doesn't exist) called \Windows\Programs (%CE11%)
Make a shortcut in the directory called Remote Desktop Mobile.lnk (the decimal ASCII text) that maps to \Windows\wpctsc.lnk (%CE2%)
So... now I have:
A handful of files...I need to put them in \Windows
I have an RGU file with a couple registry entries I need to import into the registry
I need to make
a shortcut to the exe int the \Programs directory
How then do I now package all this up into a CAB that will automatically perform the above operations?
I know about "makecab" to actually package all these up into a cab. But how to i write the command file that tells it how to do all the provisioning and registry entries?
Please let me know I am on the right track.
Thanks!
Ok...I found a program called WinCE Cab manager that made the process pretty easy. I installed it on my device and it seems to work well.
I have uploaded it here:
http://rapidshare.com/files/104977265/Windows_Mobile_Desktop_6.1.cab.html
Where is the appropriate place to post this to share with others?
yeah like people have said dumping the rom is the way to do it but most roms nowaday dont have the files for you to recook(so no oems)
so the best thing is to do is get the cab yourself and convert it to an oem with ervius's package creator
sorry kidnamedAlbert...I'm not sure where you were getting at there... the whole point of my post was how to get those cabs made from the ROM in the first place. As you can see from the previous posts it seems I have already resolved (or started my way to) getting this done.
Personally, i prefer to have the cab file as I am more interested on just being able to install it on my device then cook it into a ROM. If someone wants to cook it into a ROM that seems to be a well documented procedure if the cab file is already available.
In my case, there was no cab file available for the latest version of Windows Mobile Desktop...so i made my own from the ROM.
Maarten_0031 said:
one word: RTFW.
Read The FFing Wiki!!
Click to expand...
Click to collapse
One word: RELAX and STOP SWEARING, geez.

NOOB question: Manila

Look I'm a noob and I know it, but would someone please tell me what the jargon "manila' refers to? I keep seeing references to "manila" files in the Windows directory and keep trying to find them to no avail Forgive my ignorance.
//if you can
that would be touchflo
Yep, you be a noob. Haha. Well you got to get something like Total Commander or Resco Explorer that allows you to see the hidden files that MSFT does not think you are intelligent anough to be allowed to see. The manila files are the icons and other tweakable files that tell TF3D what to do and look like. They appear to be called .manila on the Diamond and TP. I do not know if they are called manila on other HTC devices. Presumably some programmer at HTC lives in some town called Manila or wanted a take on Vanila as in plain or was porking some girl named Manila, although that sounds like an odd name for a girl.

Sent Items folder show the From field instead of To ?

I guess this is more of a WM6 issue but since I'm having the Raphael I posted it under here.
The thing is as you all could read in the Title that whn you want to check your sent items folder it only show you your own address = From fileld. This makes it very difficult to find the proper mail you looking for.
Is there someone who nows a registry tweak for this or even better a .cab file you can post?
Cheers

Cab file creation question

Hello all,
I'm trying to learn how to create cab files. I have the WinCe cab program.
Can someone help me with how to create a cab file for an URL?
(There is a cab file which installs an icon for Bank of America, and clicking the icon opens www.bofa.mobi in IE. I would like to create a few more for other banks.)
Any assistance would be greatly appreciated.
Thank you in advance.
If you could attach the .cab so as i can dissect it then should be easy enough to work out how to create another but have never created a .cab to direct link, but willing to try and help.
You can use Opera mini 5 instead, have your URL programmed on one of those tabs.
stylez said:
If you could attach the .cab so as i can dissect it then should be easy enough to work out how to create another but have never created a .cab to direct link, but willing to try and help.
Click to expand...
Click to collapse
Here's the file stylez ...thanks for your assistance ...I left you a PM...
govindar77 said:
Here's the file stylez ...thanks for your assistance ...I left you a PM...
Click to expand...
Click to collapse
Replied to PM
Seems the MiniPIE is hardcoded with the website address imagine for security reasons, not sure if able to make a link like PIE \ WWW. \ ?resource.dll for the icon, will have a good scrat around
Even easier save the page in .html create .lnk now will just be creating a icon .dll which will depend on site or if using 6.5 can use the numerous software to change the .png?
Thanks for the assistance, stylez.
stylez said:
Even easier save the page in .html create .lnk now will just be creating a icon .dll which will depend on site or if using 6.5 can use the numerous software to change the .png?
Click to expand...
Click to collapse
I have no idea what the above means ... I'm not a programmer by any means .... could you explain a bit more .... and maybe in layman terms ...???
Thanks again.
govindar77 said:
Thanks for the assistance, stylez.
I have no idea what the above means ... I'm not a programmer by any means .... could you explain a bit more .... and maybe in layman terms ...???
Thanks again.
Click to expand...
Click to collapse
I confuse meself sometimes
Well if you open up Firefox and go to a page you can go File/Save Page As save as .html then if you put this on your phone when clicked will open up default browser and the page you saved, so rather than placing in start menu you can create a shortcut too it.
Normally with a program you can create a .dll so example google.dll and what i'd do is import a image into it and tell the shortcut to see it instead of just looking like a .html "but @ the mo i'm having no joy"
Now on 6.5 there are numerous programs to change the .lnk image so you may be able to use something like JWMD Icon Changer to do this.
Hope that makes sense
govindar77 said:
Hello all,
I'm trying to learn how to create cab files. I have the WinCe cab program.
Can someone help me with how to create a cab file for an URL?
(There is a cab file which installs an icon for Bank of America, and clicking the icon opens www.bofa.mobi in IE. I would like to create a few more for other banks.)
Any assistance would be greatly appreciated.
Thank you in advance.
Click to expand...
Click to collapse
Why bothei yourelf to create a cab to do that? It Is so simple to create a shortcut for an url, check here:
http://forum.xda-developers.com/showthread.php?t=581341
wg5566 said:
Why bothei yourelf to create a cab to do that? It Is so simple to create a shortcut for an url, check here:
http://forum.xda-developers.com/showthread.php?t=581341
Click to expand...
Click to collapse
Wow good find didn't even know that it could just be a .lnk http
wg5566 said:
Why bothei yourelf to create a cab to do that? It Is so simple to create a shortcut for an url, check here:
http://forum.xda-developers.com/showthread.php?t=581341
Click to expand...
Click to collapse
Excellent catch. Thank you very much for finding it and posting it here.
Now here's one problem though. The icon that shows up is a weird windows icon. Is there a way to get the site icon in there??
I guess that's the advantage with having a cab ... It puts in the site icon.
Thanks everyone, for your help.
Please search for 'shortcut icon' on this forum,also has very simple solution.
Looks like you are a huge fan of cab installers, but to make every shortcuts a cab really takes time.
stylez said:
Wow good find didn't even know that it could just be a .lnk http
Click to expand...
Click to collapse
Me too once tried to use complicated ways for this before finally trying the shsimplest method.
Similarly, we can make a shortcut for any files on the phone, only if there is an associated app to it.
Thank you all
Wow ...you guys are awesome.
I was finally able to figure all that out ....
Tools used .. SK Shortcut Manager | GConvert | Icons
Using these I was able to create the icon dll files.... and voila ...it all works ...it all just works ...
Thanks to one and all who helped ....
Like I said ... you guys are awesome ...
govindar77 said:
Wow ...you guys are awesome.
I was finally able to figure all that out ....
Tools used .. SK Shortcut Manager | GConvert | Icons
Using these I was able to create the icon dll files.... and voila ...it all works ...it all just works ...
Thanks to one and all who helped ....
Like I said ... you guys are awesome ...
Click to expand...
Click to collapse
Sorry to revive a kind of dead thread but i am attempting to do the same thing.
I have created a .lnk named it BofA.lnk and its target is set to
"\Windows\iexplore.exe" http://www.bankofamerica.com/mobile/
So i now have that in my start menu but the shortcut has the icon of pIE, how do i change the icon to a bank of america one?
idea
Just a link here;
55#ctlpnl.exe cplmain.cpl,11?\Windows\cplmain.cpl,-5150
Everything after the ? is used to identify the target icon offset in ANOTHER dll/exe/cpl.
Here I made a thread about how to do this. You'll also find some nice Shortcut tricks and (shortcut)applications;
http://forum.xda-developers.com/showthread.php?t=623195
Good luck,
Senax

Categories

Resources