repackage kitchen stuff to cab - 8125, K-JAM, P4300, MDA Vario Software Upgrading

how can i put some of the stuff from the various kitchens back to a cab file so i can put on my wizard

There is no automatic method, however you can derive the files and registry entries from the kitchen stuff, then write your own setup.inf and use cabwiz or cabwizsp to build your cab (Sure you can use other tools to ease the job, such as WinCE CAB Manager).

Related

[WM5] compressed CABs - supported :)

I've found, that WM5 supports compressed CABs.
Use CabWiz to make compressed CAB.
Edit file cabwiz.ddf (in the same directory, where cabwiz.exe exists)
modify line ".Set Compress=OFF" to ".Set Compress=ON"
Warning1:
Don't delete original [uncompressed] CABs. Maybe - you will need them in the future.
Warning2:
Compressed CABs are not compatible with WM2003
Warning3:
Don't edit nor don't save them with WinCE CAB Manager from ocpSoftware [up to version 1.1.0.4]. Everything looks OK, but [after save] all files within the CAB are corrupted.
Probably the reason is, that compression aplies only to files, not CAB as a whole. File structure is the same and CAB Manager properly reads all info, but is not able to decompress files.
-----------
If you have only cab and need to compress it:
Open CAB with WinCE CAB Manager
Select from menu: File / Export / ExportToINF
start command line
switch to the directory with INF file
execute "[path]cabwiz xxx.INF /err cabwiz.err /cpu arm" (replace [path]cabwiz with full path do cabwiz.exe, replace xxx.INF with INF file name)
-----------
I you have EXE installer only:
start PC installation
cancel Pocket PC installation
look at subdirectories of C:\Program Files\Microsoft ActiveSync - probably you will find (uncompressed) CABs here.
FWIW, the next version of WinCE CAB Manager will include support for compressed CAB files as well. In fact, this is already available in the WinCE CAB Manager 1.2 BETA. See also:
WinCE CAB Manager 1.2 BETA Available To Registered Customers

Personalising ROM's... without Ext_ROM

Okay, there a couple of CAB files I install no matter what ROM I use (Total Commander, Today Screen Speed Dial, MortRing [by .exe], Morphy's Call Filter etc), now that I'm getting to grips with the whole ROM building thing I have a question:
How can I add a program installed via a CAB into a ROM so that it is installed into ROM, I've searched on the forum and can't find much. I know it can be done as ROM's such a TuMa's, Logout's and Ivan's have apps in ROM which aren't there by default...
EDIT: In addition, I overwrite some of the default ROM stuff once I've installed (ETEN M600 Dialler in particular), so again, how can I get the 'bits' out the cab and overwrite the default contents of the ROM, this would make my life much easier...
If this has been posted previously then please point me in the right direction
First extract files, shortcuts and registry entries from the .cab using wince cab manager or similar http://www.ocpsoftware.com/, take note on what directory each file/shortcut is in. (often more reg entries will be stored as a file called 'platformxxx.reg' use these too)
Normal rom edit way: add the contents of the exported .reg files to default.rgu, making sure that you leave a blank line on the end, copy all the files to the \dump directory and edit initflashfiles.dat to copy them to the right directory on first boot. (remeber to remove the first two bytes - ff fe with a hex editor). then build your rom!
Bepe's rom edit way: create a folder '[your software name]' in the oem folder and get yourself a guid from here http://kruithof.xs4all.nl/uuid/uuidgen. create a blank file called '[yourguid].dsm and a blank text file called '[yourguid].rgu'. add the contents of the exported .reg files to '[yourguid].rgu' and make sure you save as unicode. then copy all the other files to the folder and create a blank unicode txt file called 'initflashfiles.txt' and use it like initflashfiles.dat in the first method except there is no need to hex edit out the first two bytes. then build your rom!
midget, you're a star, I thought it may be something simple... I'm off out with the family now for the day, but I'll work on this later, cheers!

Extracting CABs from a ROM

Anyone on here know how to Extract a CAB file from a ROM/Extended ROM? ive been trying to find something about this on here and cant seem to find anything that pertains to it. there are several programs that are included in roms and extended roms that i have and i wold like to be able to put them on my 8125 with the ROM i have now. Thanks in Advance!
Corey
If you already have a cabfile that resides in the extended rom the process is quite easy... just use total commander and copy the file from there to a place on your device where you can later use it...
If you don't have a cabfile but just a program, say arcsoft mms composer that's already integrated into the rom, the process gets a little more complicated, but not impossible. You will, however, need to know all the files that the program uses, dll's, imagefiles, exe's and registry posts, copy them from rom to your windows pc and from there use a program like ce cab manager to create a cabfile for it (if you want. you can merely transer all the files and registry posts to your current rom without creating a cab)
_Nomad_ said:
If you already have a cabfile that resides in the extended rom the process is quite easy... just use total commander and copy the file from there to a place on your device where you can later use it...
If you don't have a cabfile but just a program, say arcsoft mms composer that's already integrated into the rom, the process gets a little more complicated, but not impossible. You will, however, need to know all the files that the program uses, dll's, imagefiles, exe's and registry posts, copy them from rom to your windows pc and from there use a program like ce cab manager to create a cabfile for it.
Click to expand...
Click to collapse
cool, thanks for the info, what program do i need to use to unpack the NBF so i can access the files? I tried to use the one in the wiki (typho5) but i cant seem to get it to work.
for dumping rom's read through this thread
You'll probably want to read it all and I'm sure that it wont make that much sense to begin with but it'll come to you
For converting a nbf to nb files use:
Code:
typho5.exe -x nk.nbf
typho5.exe -x nk.nbf does NOT make it a .nba file!
It extracts the contents of the rom (OS, Extended Rom, Radio, Splash Screen, IPL/SPL) into .nb files.
The Extended Rom file can be opened with WinImage.
Molski
Thanks...i just checked out that thread..looks like ive got some studying ahead of me lol thanks for the help.
thanks Molski, you must have posted that just after i read the post above yours lol. thanks for the info i have another question for you here though. http://forum.xda-developers.com/showthread.php?t=291847 As smart as you guys are im sure theres a reason you havent done it though

How to merge multiple .cab files into single .cab file

Hi,
I am looking for a utility to merge multiple small ( free ) utilities into a single .cab file to automate the installation; just to ease the installation process after the hard reset or ROM upgrade.
Though i tried Win CE Cab Manager but unable to achieve that functionality - its look like to me that i am missing something somewhere.
Regards.
I'd like to know this too...
Does this help? Not used it myself
http://forum.xda-developers.com/showthread.php?t=392983
mic_888 said:
Does this help? Not used it myself
http://forum.xda-developers.com/showthread.php?t=392983
Click to expand...
Click to collapse
Thanks mic for the link... But according to that software ... one have to place all the required cab files in a specially designated directory and software start installing the files from there one by one...
But; what i am looking is a software that creat a single .cab file which includes all the required ( individual ) cab files along with the parameters e.g. installation location ( Device or Storage Card )....
sashami is the best solution which was actually inspired by a script called autorun back in the days of win mo but only way to do a auto install of cabs or all one one would be to attempt and cook into you're own rom or see if it's possible to cook all cabs into 1
Maybe extract all cabs with ini or XML file. Merge ini or XML place all extracted components in same folder and use cab building program to build cab from ini/xml...
Maybe.
This is the best thing I have found........not really an app per se.
What is UC? It is a feature contained in UC capable ROMs. A UC capable ROM extends initial customization to your SD card so you can load cabs and install XML files that are located there too. What this means is that once you get your customization scripts right, you can flash any UC capable ROM and all your apps and settings will be restored as part of the initial customization process whenever your SD card is inserted in the slot.
http://forum.xda-developers.com/showthread.php?t=366337
I have been using Slueth's ROM and this UC method for quite a while now and it works fantastically. Takes a little effort but anything worth it's oats will take atleast a little effort.
http://forum.xda-developers.com/showthread.php?t=366284
I just come a across while searching, here is another solution:
http://www.pocketpctoolkit.com/
this should not be a advertisement, because it is not freeware, but a suggestion.
you can add cabs and the program builds an desktop or device installer and merges the cabs (and other files). the device installer is a exe not a cab....
if you look deeper in the internet you find a full time solution...
hope it helps...
chipsxj said:
This is the best thing I have found........not really an app per se.
What is UC? It is a feature contained in UC capable ROMs. A UC capable ROM extends initial customization to your SD card so you can load cabs and install XML files that are located there too. What this means is that once you get your customization scripts right, you can flash any UC capable ROM and all your apps and settings will be restored as part of the initial customization process whenever your SD card is inserted in the slot.
http://forum.xda-developers.com/showthread.php?t=366337
I have been using Slueth's ROM and this UC method for quite a while now and it works fantastically. Takes a little effort but anything worth it's oats will take atleast a little effort.
http://forum.xda-developers.com/showthread.php?t=366284
Click to expand...
Click to collapse
i flash phones like everyday. using that method is for doing a couple of cabs. if you are trying to do like 100 cab files it will take a loooooooooooong time.
wince cab manager
if you just want to make one cab i would use Wince Cab Manager (OCP Software) (google it) to extract all the neccesary information from all the cab files.
then re-import all the information (links, registry, files etc) into a brand new Cab File.
so long as you keep all the extracted cab files separated this should be easy enough, but time taking.
Hope that helps. =D
Dan

A Question for cabfile or package creator

Do you know how can I put my name and my registration code into my package ( for kitchen) or how can I put them into the cab file so I dont need to type the code everything I do the hardreset. THX
If your software keep the reg info in the registry, just add this key to your package's rgu; if on the other hand the info is in a file, just add the file and don't forget to add the file into initflashfiles
adwinp said:
If your software keep the reg info in the registry, just add this key to your package's rgu; if on the other hand the info is in a file, just add the file and don't forget to add the file into initflashfiles
Click to expand...
Click to collapse
How can I know which one in registry, which one in the file. Please let me know.
For example resco explorer I can not find where is the key storaged
Thx so much
Please anyone. Anyone can help?? THX SO MUCH
etenx500 said:
Please anyone. Anyone can help?? THX SO MUCH
Click to expand...
Click to collapse
Some one plz
etenx500 said:
Some one plz
Click to expand...
Click to collapse
use this software WinCE CabManager:
http://www.ocpsoftware.com/products.php?nm=cecabmgr
if u want further help u can mail me or PM.
Functions are:
Open Existing Cabinet Files
Open any Windows CE CAB file, as well as Smartphone and Pocket PC theme files.
Create New Cabinet Files
Allows you to create a brand-new CAB file, add the Windows CE files, shortcuts and registry entries needed to install your application, and then save the new CAB file to disk.
Modify Cabinet Information
View and modify general information about the Windows CE CAB file, such as the name of the company and of the application, processor and operating system version required to run the application, and the default installation directory.
Modify Windows CE File Entries
The Windows CE files stored in a CAB file can be viewed and modified, and new files can be added. You can change the order in which the files will be installed, the location where each file will be installed, and more.
Modify Shortcut Entries
The shortcut entries stored in a CAB file can be viewed and modified, and new shortcuts can be added. You can change the location where each shortcut will be installed, the name and target of the shortcut, and more.
Modify Registry Entries
The registry entries stored in a CAB file can be viewed and modified, and new entries can be added.
Modify Setup DLL Information
You can view information about the Setup DLL included in a cabinet, or add a new Setup DLL to the cabinet.
Full Drag and Drop Support
Use your mouse to quickly and easily add and extract files between WinCE CAB Manager and any other application that supports "Drag and Drop", such as Windows Explorer.
Full Copy and Paste Support
Quickly and easily add and extract files between WinCE CAB Manager and any other application that supports "Copy and Paste" operations, such as Windows Explorer.
Import/Export Windows CE INF Files
Automatically generate and load CAB files from your existing Windows CE INF files, or use the WinCE CAB Manager to edit the CAB files and then generate an INF file for use with automated builds.
Automation Support
The WinCE CAB Manager exposes a COM Automation interface which allows it to be manipulated from other programs, such as Visual Basic or even VBScript.
Support for Third-Party "Add-Ins"
The WinCE CAB Manager functionality can be expanded through the use of COM-based "Add-Ins".

Categories

Resources