[Q] What's The Programing Language Used To Write CAB File ?? - Touch Diamond2, Pure Themes and Apps

hi everyone I am beginner in C# Programing Language and I would like to know
What's The Programing Language used to write CAB file ??
and what's the syntax of it??
I search here in xda developers I found that they are using some software like
WinCE CAB Manager & OCP software & CAB Wizard software I decide to start with
WinCE CAB Manager I hope that someone can help me to make my first simple CAB

ghost_j1 said:
hi everyone I am beginner in C# Programing Language and I would like to know
What's The Programing Language used to write CAB file ??
and what's the syntax of it??
I search here in xda developers I found that they are using some software like
WinCE CAB Manager & OCP software & CAB Wizard software I decide to start with
WinCE CAB Manager I hope that someone can help me to make my first simple CAB
Click to expand...
Click to collapse
a cab is a container not a program .. you dont program a cab file directly ..

In WinCE CAB Manager, start with simple registry changes (import .reg), then move to installing .exes and the like.

CAB Files
CAB files are used by Microsoft much the same way than zip files and not only for mobiles devices but also for their Windows for desktops and servers. Basically, you can put everything you want in it and there is a ini file that tell the os where to put the files.

CABs are setup files
a cab file is just a setup container. If you're using MS Visual Studio then you can create a cab project under Other Project types -> Setup and Deployment.
It isn't really so much of actual programming, just linking your existing project and add links for default locations, shortcuts, icons etc and VS will do the rest automatically.

In introduction to cab
[Q] What's The Programing Language Used To Write CAB File ??
[A] XML is used!
MSCEInf is the best way to start with cabs;
Drop a *.cab on it (or use the menu and open one ).
http://www.codeppc.com/telechargements/
Actually *.cab files gives us WM5/6 Standard Professional users the power to configure our devices the way we want! And fast especially when User Customization is build into ROM thus SDConfig.txt + SDautorun.exe cq runcc.exe cq DevPrep is used! Then we 'the users' and 'ROM flashing junkies' get super fast multi mega provxml and cab battle installs on the fly
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here some Graphic User Interface (GUI) builds around several cabxxx.exe utilities ;
QuickCab v2 was one of my sticky cab application(s)! It made my day several times
Nowadays I'm using Extendir Cabs (below).
-=[ Screenshot1 ]=- -=[ Screenshot2 ]=-
QuickCab v1 once located on my HD
::
Did you know that CAB files transfered via ActiveSync may be altered during the transfer process? If you have a CAB file which has been authenticode signed with a certificate, ActiveSync may strip off the certificate during the transfer process if it determines the connected device does not support signed cab files. This is something to be aware of, if you notice your CAB files won’t install if you download them across the network, but will if manually transfered via ActiveSync.
::
Extendir Cabs (with nice GUI) is an utility to create cab files.
Basically it’s a shell around cabarc.exe. It converts rgu/reg/xml/provxml files, create _setup.xml, create all the different install paths to optimize for Extendir (optionally you can switch this off). So it’s very easy to convert your tweaks or packages to a setup cab.
http://forum.xda-developers.com/show...41&postcount=4
-=[ Screenshot ]=-
[APP] CabGen - easily create .cab from wap-provisioningdoc ONLiNE
http://forum.xda-developers.com/showthread.php?t=441577
[APP] ai Cab Explorer utility: new way to explore cab files on your disk (view manila pictures, build multiple cabs album)
http://www.xda-developers.com/forum/...d.php?t=561968
ProvXMLCreator [1.0][Autoconfiguration for WiFi, Certificates and email]
http://forum.xda-developers.com/showthread.php?t=630094
reg/rgu-2-xml
http://forum.xda-developers.com/showthread.php?t=386677
Registry format conversor: xml to reg
http://forum.xda-developers.com/showthread.php?t=299308
Use SK-Tools (not free, though partly functional) it exports registry and can create a cab! It has also a reg editor. Plus.....
S-K-Tools main site!
http://www.s-k-tools.com/index.html?m_products.html
S-K-Tools freeware site! ;
http://www.s-k-tools.com/index.html?m_util.html Check these two free awesome applications;
CabInstl :
-=[ Screenshot animated ]=-
This program is an installer for CAB files and allows to install PocketPC programs into YOUR specified folder instead of that by default created by the standard installer!
SSNAP : REGiSTRY/~ SNAPSHOT 'N + 2nd SNAPSHOT and COMPARE on PocketPC!
-=[ Screenshot ]=-
The program takes a snap-shot of the state of PocketPC that is useful for monitoring of changes on PocketPC, e.g. those made during installation of programs. To compare snaps of two different PocketPC states it is possible to use the utility iDiffCE on your PocketPC (see below) or any other utilities for comparison of text files on desktop PC – e.g. ExamDiff.. or Total Commander (PC version) (TC it's; Compare files by content function).
What is saved in a snap:
- contents of the registry (keys and valuess);
- listing of the file system (folders and ffiles; for files their dates and sizes are saved, the control sum is counted up);
- state of system databases (the list, the size, number of records, date of the last update).
Usefull tools for packaging and development issues
http://support.microsoft.com/kb/198038/
[Personal Computer]
[APP] Pocket PC Themes Toolkit v1.03
After installing this application.. magically cabwiz.ddf , CabWiz.exe and makecab.exe appeared within its directory
just when I needed them!!! *cough*
[UTILITY] CabTools - ROM package <--> CAB converters and more. For ROM builders!
http://forum.xda-developers.com/showthread.php?t=467842
Free Microsoft XML Notepad 2007; http://www.microsoft.com/DownLoads/...49-787d-4118-ba5f-4f30fe913628&displaylang=en
XML Notepad 2007 Tutorial !!
Download cabsdk.exe ( http://theether.net/download/Microsoft/Utilities/ ) for documents that describe the internal structures of CabinetFiles, samples to use from C and a description of cabinet.dll.
(FYI: cabsdk.exe is a compressed executable zip file).
Universal Extractor (guess what; it supports cab(!) and so.. so much more (like *.msi). Running from CLI is no problem eighter, which is great for batch processing).
http://legroom.net/software/uniextract
-=[ Screenshot1 ]=- -=[Screenshot2 ]=- -=[ Screenshot ]=-
WinCE cab Manager not free
-=[ Screenshot ]=-
CEcabManager TiP; Get your desired *.cab!
1) keep PDA disconnected (no active sync session)
2) install exe as usual and, when standard installation dialog will appear, go on (later cab installation will begin when you'll connect phone to pc)
3) open (on PC) regedit.exe
4) go to this key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\AppMgr\Apps
5) there you'll find a list of installable cabs via active sync
6) under each application, the value ListCabFiles is the name of cab file and the value InstallDir is its position of file system.
Remember to uninstall exe after you copy/move the cab file (or delete application key) otherwise installation of cab files will start on next activesync session!!
Simple, isn't it?
MSCEInf FREEWARE
Version 2.6 (developed in Delphi 2007 for W32)
-=[ Screenshot ]=-
http://www.codeppc.com/telechargemen...nf/msceinf.htm
above webpage Translated into English
MSCEInf (aka MSCEInf.exe) is a fantastic piece of kit that allows the user to inspect the contents of .cab (and .tsk) files.
In addition, the program enables you to extract files from a .cab, and use embedded XML or INF files to construct the relevant .rgu or initflashfiles entries.
Version française​ French Version
English version​ English version
Deutsche Version​ Deutsche Version
Versione Italiana​ Versione Italiana
Versione Spagnola​ Versione Spagnola
Version Néerlandaise (hollandaise)​ Version Netherlands (Holland)
CABpack ; http://www.larshederer.homepage.t-online.de/cabpack.htm
Pocket PC Installation Creator 2.6 - Not Free Handy tool for creating exectutable PPC apps
http://pocket-pc-installation-creato...c.com/pocketpc
A few links I stumbled upon recently;
MS-Cabinet File WrapperClasses
http://www.codeproject.com/KB/files/cabfileclass.aspx
Cabinet File (*.CAB) Compression and Extraction
http://www.codeproject.com/KB/files/...ssExtract.aspx
How to implement creation and extraction of Microsoft CAB files
CDirectoryChangeWatcher - ReadDirectoryChangesW all wrapped up
http://www.codeproject.com/KB/files/...gewatcher.aspx
This class wraps up ReadDirectoryChangesW.
CTextFileDocument
http://www.codeproject.com/KB/files/...edocument.aspx
CTextFileDocument lets you write and read text files with different encodings (ASCII, UTF-8, Unicode 16 little/big endian are supported).
CEregEditor : CEregEditor is free ware and runs on PC in combination with ActiveSync. It allows editing of the registry of the PocketPC right on your PC. Extra's; it dan import/export *.cab files! Use the compare tool to save an image of the registry (F2) then after installing a cab, use Images -> compare registry.
o/~
Senax

Senax said:
Here some Graphic User Interface (GUI) builds around several cabxxx.exe utilities ;
QuickCab v2 was one of my sticky cab application(s)! It made my day several times
Nowadays I'm using Extendir Cabs (below).
-=[ Screenshot1 ]=- -=[ Screenshot2 ]=-
Click to expand...
Click to collapse
I've made plenty of cabs for apps that I have written, using Visual Studio 2008.
But, with Visual Studio 2008 you cannot put shortcut or lnk files into your project, unless you are suppliying the source file that it points to in the cab.
QuickCab v2 gets around that.
Useful for creating a shortcut to an app already in the ROM, but no lnk on the start menu.

Just recently I stumbled upon Windows CE CAB Installer SDK (though named SDK its more a CDK (Commercial DK), because you've got to pay $5 for it).
Awesome for UC (User Customization)

Related

Relocate .NET Compact Framework 2.0 to your storage card!

One of the biggest complaints with Microsoft's Compact Framework 2 (CF2 for short) (and, consequently, with programs relying on it - Hitchhiker, SMS Notifier, Webby, IBE Mail etc.) has always been its storage needs, which, by default, is some 5.4 Mbytes. See for example this thread for users' opinions on the memory consumption on CF2 and their subsequent not wanting to install it.
I've always tried to reduce the main memory load on Pocket PC - with great success. Just search for the word-start "relocat" in the Pocket PC Magazine Expert Blog and on my old homepage for some examples of them. No wonder I've also decided to look into this, so far, unsolved problem to greatly help my fellow Pocket PC users. And, after a day's work and testing, I can present you a 100% working solution, which has been thoroughly tested on four of my WM2003+ PDA's, all with success. This IS a big thing, considering that internal memory is still precious, even with most Windows Mobile 5 (WM5) Pocket PC's. (For example, most WM5 PPC's are shipped with 128M of ROM, of which in general 40-45 Mbytes is free.) The situation is even worse with pre-WM5 Pocket PC's, where the available RAM is very rarely (only with devices shipped with 128 Mbytes of RAM) over 50 Mbytes, from which CF2 takes away 5.4 Mbytes.
Note that this will work on all Pocket PC and Pocket PC Phone Edition devices that are able to run CF2 (that is, all WM2003+ devices, including WM5).
The complete tutorial
* create a directory on your storage card or, if you have, in the built-in File Store. (Note that the files, as they are surely not needed at boot time (unlike some Today plug-in DLL's), may also be relocated to a storage card. That is, they don't need to be stored in the more scarce File Store - if it's available at all; that is, if you have a pre-WM5 device). Let's assume you give this directory the name "DLLs".
* move the following files from \Windows to this directory:
cgacutil.exe
MSCOREE2_0.dll
netcfagl2_0.dll
netcfd3dm2_0.dll
GAC_CustomMarshalers_v2_0_0_0_cneutral_1.dll
GAC_Microsoft.VisualBasic_v8_0_0_0_cneutral_1.dll
GAC_Microsoft.WindowsCE.Forms_v2_0_0_0_cneutral_1.dll
GAC_Microsoft.WindowsMobile.DirectX_v2_0_0_0_cneutral_1.dll
GAC_mscorlib_v2_0_0_0_cneutral_1.dll
GAC_System.Data_v2_0_0_0_cneutral_1.dll
GAC_System.Drawing_v2_0_0_0_cneutral_1.dll
GAC_System.Messaging_v2_0_0_0_cneutral_1.dll
GAC_System.Net.IrDA_v2_0_0_0_cneutral_1.dll
GAC_System.Web.Services_v2_0_0_0_cneutral_1.dll
GAC_System.Windows.Forms.DataGrid_v2_0_0_0_cneutral_1.dll
GAC_System.Windows.Forms_v2_0_0_0_cneutral_1.dll
GAC_System.Xml_v2_0_0_0_cneutral_1.dll
GAC_System_v2_0_0_0_cneutral_1.dll
(netcf2_0license.txt can also be copied here - or just deleted.)
This means only Microsoft .NET CF 2.0.GAC and mscoree.dll needs to stay in \Windows. Never ever try to touch the former (Microsoft .NET CF 2.0.GAC). Even if you copy it back to \Windows (after starting any CF2-dependent app), CF2 won't work again until you reinstall it.
Copying the files can be done in several ways, of which I show the one way that requires no third-party apps, that is, without having to resort to, for example, the WindowsCE File System plug-in of the desktop-based Total Commander.
Start the built-in (Pocket) File Explorer and navigate to \Windows. Tap and hold an empty (not highlighting any file or directory) region anywhere (for example, the end of the list) and enable "View All files" in the context menu:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now, click the "Name" drop-down menu in the upper right corner; a "Sort By" list will be displayed, defaulting to "Name". Switch it to "Date":
Scroll to the region with filedates of Aug 26 and, with cgacutil.exe, 27, 2005 (this is the easiest way to find the files) and mass-highlight all files that are listed in the above list. Note that mscoree.dll should not be highlighted (as has been pointed out, it should be left in \Windows). Also note that the filedates of the current, 2.0 version of CF2 are all dated at Aug 26/27 last year. They will only have a different filedate if you've restored them from a backup. Then, they will have the timestamp of the restoration and you'll may end up having to hunting for them one-by-one, based on their name.
Now tap-and-hold the selection somewhere so that the context menu comes up. Choose Cut:
Go to the target directory (in this case, DLLs on your storage card); tap-and-hold an empty area and choose Paste:
The transfer of the files will start:
Note that you can also use other file handler tools on the Pocket PC; for example Resco File Explorer or Total Commander. In Resco, go to File/Options/Browser and make sure "Show all files" is chosen (instead of the default "Hide hidden files and files...") as can be seen in this screenshot.
* get a registry editor that is able to (flawlessly (!)) edit multiline strings (that is, all known, up-to-date registry editors except PHM Registry Editor and Total Commander; please check out The Ultimate Roundup of Registry Editors for the Pocket PC for a thorough explanation of why I don't recommend these two applications if interested). In this tutorial, I use Resco Registry Editor (Resco for short). It's commercial, but the 14-day, unrestricted trial version is fully sufficient for our purposes. Start it.
* First, we'll modify the so-called "System Path" (which is a bit similar to the PATH in traditional operating systems) so that it includes our new directory. To do this, go to HKEY_LOCAL_MACHINE\Loader:
Note that, in here, I've switched to "Tree Mode" in View/Show Tree View as can be seen in here.
Now, click SystemPath (highlighted in this screenshot); you'll be presented the following dialog:
Note that there may be some values already in the text input area in here. For example, if you've ever had SKTools or MemMaid relocate DLL's for you, the target directory will be in here. Also, by default (if you haven't ever touched the System Path), there may be a \Release\ or \windows\oem\ in here. These can be safely deleted as they're not used. You can, naturally, leave them in there; of course, then, you must make sure the new path is entered in a new row as can be seen in this x51v or this HTC Wizard (latest Qtek ROM) screenshot. Once again: you can safely delete them.
All you have to do is entering the full path of your new DLL directory in here. For example, if you've moved the CF2 files to a directory named DLLs on your storage card named CF-Card (Storage Card, CF Card, SD Card, SD-MMCard are also widely used), enter
\CF-Card\DLLs\
in here, as can also be seen in here:
Don't forget to add the leading and the trailing backslash characters (\)!
Now, click OK in the upper right corner and answer Yes:
In the list view, the new, just-entered value should be shown as can be seen in here:
Note that, again, if you want to keep the previous values of System Path, then, the new entry should be put in a separate row. For example, if the previous value of HKEY_LOCAL_MACHINE\Loader has been
\SD-MMCard\Programs\CrEme\bin\
\LOOXstore\DLLs\
then, you need to add the new value in a new row as can be seen in here:
* now comes a bit more complicated part. First, go to HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ .NETCompactFramework\ Installer\ Assemblies\ Global.
Note that, on some devices, in the above path, SOFTWARE may not (all) be uppercase. This varies from model to model and shouldn't be paid attention to. (Also note that I’ve added spaces after every backslash characters (\) in the above registry path so that the blog engine nicely renders it. In the reality, it should not contain any spaces!)
Here, look for names (on the left) that have 2.0 in them. Note that almost all values (except for CustomMarshalers, Microsoft.WindowsMobile.DirectX and Microsoft.WindowsMobile.DirectX, which have all been introduced in CF2 and didn't exist in CF 1.x) seem to be duplicated and their name will start with the same (Microsoft.*, mscorlib.*, System* etc.); it's only after this that they start to be different. One set of them will continue in Version=1.0, the other set will continue in Version=2.0. The only exception from this "must contain Version=2.0" law is the value starting with "Microsoft.VisualBasic, Version=8.0.0.0" (that is, 8.0 instead of 2.0).
In all these Version=2.0 values, you'll need to modify the original path referring to \Windows to the new home of the relocated files - for example, in our case, \CF-Card\DLLs.
In order to be able to see this as easily as possible, enabling Show Header in the View menu is highly recommended, as can be seen in here. Then, you'll be able to greatly increase the displayed length of the value names if you drag the header to the right. Of course, switching to Landscape and/or VGA mode (if possible) is highly recommended. Then, you'll be able to see the version number in all the values. For example, this screenshot shows a QVGA WM5 device in Landscape - here, it's also possible to increase the width of the "Name" column so that the version number can also be seen without having to click every value.
All you need to do is just click all the values that have Version=2.0 in their name (except, as has already been pointed out, the 8.0 Microsoft.VisualBasic) and just change \Windows to the new value in the first row. An example of this:
before:
after:
Another example of a changed value (WM5, QVGA device, with files relocated to \Storage Card\_):
and with the VGA x51v in standard VGA mode:
Note that, much as it refers to the main storage (\Program Files\.NET CF 2.0\), you don't need to pay attention to the second row in all these values. Just leave them there.
Consider using a PC-based Pocket PC controller tool to do this (please read this article for more info on them if not sure). Using them, you can speed up the registry modification by orders of magnitude, particularly if you use copy/paste to insert the new directory path.
After you've modified all the affected values, check once more if it was successful. Fortunately, you'll see all the names (showing that a given value is 2.0-specific) and values (showing whether it refers to the original \Windows directory in the main storage or somewhere else) on the same screen as in this screenshot.
You may also want to export the just-modified branch to a registry (.reg) file. Then, in case you reinstall CF2 and want to avoid hand-editing the entire stuff, you'll only need to reimport this file. To do this, tap-and-hold Globals in the upper, tree pane and choose Export:
On WM5 devices, you will also want to make sure the changes are flushed back to the ROM (as the Registry is kept in RAM and changes are rarely flushed back to ROM, which will result in a simple soft reset getting rid of all changes and, therefore, CF2 not working after the relocation). To do this, on many WM5 devices (like the HTC Wizard), just long-press the Power button. On some other devices, you must explicitly configure the device to shut the PDA completely down upon a long-press (instead of just dimming the screen). For example, on the x51v, you must go to Settings/System/Power/Power Button and enable "Full power off" instead of the default "Dim/light the display" as can be seen in this screenshot. You'll only need to power off your PDA for some seconds because it's before shutting it down that the Registry is flushed back to the ROM; that is, you can safely switch it back on instantly.
Congratulations! Now, the relocated CF2 will be working! If you've modified the System Path, you'll need to reboot; otherwise, you can start your CF2 apps right away.
Advanced remarks for geeks/advanced hackers
* Exporting, editing and re-importing the contents of HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ .NETCompactFramework\ Installer\ Assemblies\ Global (so that you can much easier change all occurrences of \Windows to the new path) just won't work because the values in here are multiline strings, which are exported as hexadecimal values by all export-capable Pocket PC-based registry editors (I've checked this!) like in here:
* The \Windows paths in HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ .NETCompactFramework\ Installer\ Assemblies\ Reference (note that the last word is Reference, not Global!) don't need to be modified. Actually, you can even get rid of the entire subkey because it's not used at all.
* Technically, the GAC*.dll files don't need to be in the System Path; it's only with the other files (cgacutil.exe, MSCOREE2_0.dll, netcfagl2_0.dll and netcfd3dm2_0.dll) that must be. That if, you have already set up a relocated DLL directory somewhere in the System Path, you can safely move the files to there. It's in order to be as easy as possible for a novice user that I've instructed copying all relocated files to the same directory in the System Path.
one better make damm sure that one dont have any .net programs running when the pda is off too
because then the SD interface get shutdown to save power
and then programs which are running which depend on the framework crash and burn
Rudegar said:
one better make damm sure that one dont have any .net programs running when the pda is off too
because then the SD interface get shutdown to save power
and then programs which are running which depend on the framework crash and burn
Click to expand...
Click to collapse
Yup, but you can also play with PNPUnloadDelay to avoid problems because of this (see http://www.pocketpcthoughts.com/forums/viewtopic.php?t=44488 for more info).
how does this method compare to the way the new beta allows GAC to be installed to the storage card?
http://www.microsoft.com/downloads/...53-a418-42d9-a481-19ba3ceca1a6&displaylang=en
from what another user told me, the beta allows you to install about 80% of the framework to the storage card.
-jeff
jeffreii said:
how does this method compare to the way the new beta allows GAC to be installed to the storage card?
http://www.microsoft.com/downloads/...53-a418-42d9-a481-19ba3ceca1a6&displaylang=en
from what another user told me, the beta allows you to install about 80% of the framework to the storage card.
-jeff
Click to expand...
Click to collapse
Yes !!! Thanks for the council.
Before with the previous version of net framework 2 my free memory was of 25,80 Mb.
After to have installed the Sp1 new beta on the Storage Card is of 29,78 Mb.
Hi Menneisyys. Would MUCH appreciate your guidance;
I'm using a ROM image that works great - except that the CF 2.0 SP1 installation is buggy. I can't de-install it as it's not in my installed apps. Any idea what files I need to delete so the install proggie thinks it's gone and does a reasonable re-install? Currently the install proggie says "you already have this verison installed".
craigiecraigie4 said:
Hi Menneisyys. Would MUCH appreciate your guidance;
I'm using a ROM image that works great - except that the CF 2.0 SP1 installation is buggy. I can't de-install it as it's not in my installed apps. Any idea what files I need to delete so the install proggie thinks it's gone and does a reasonable re-install? Currently the install proggie says "you already have this verison installed".
Click to expand...
Click to collapse
Unfortunately, it's not only files but also registry entries. Try deleting all the above-listed, 2.0-only (don't touch the CF1-specific ones!) registry entries.
Do you have WM5 or a previous OS? If you have the latter, I can send over an .unload file and a registry import so that you can directly delete these without any manual registry editing.
Menneisyys said:
Unfortunately, it's not only files but also registry entries. Try deleting all the above-listed, 2.0-only (don't touch the CF1-specific ones!) registry entries.
Do you have WM5 or a previous OS? If you have the latter, I can send over an .unload file and a registry import so that you can directly delete these without any manual registry editing.
Click to expand...
Click to collapse
Hi Mennei, I'm on WM5 and would TRLUY appreciate a .unload file! Thanks a stack.
craigiecraigie4 said:
Hi Mennei, I'm on WM5 and would TRLUY appreciate a .unload file! Thanks a stack.
Click to expand...
Click to collapse
Unfortunately, you can't easily hack WM5 (as opposed to pre-WM5 OS'es) to think it has a program installed - you don't have write rights on \Windows\AppMgr and, tehrefore, can't copy the (un)install DLL there. That is, with WM5, it's, to my knowledge, not possible to automatically remove stuff.
Menneisyys said:
Unfortunately, you can't easily hack WM5 (as opposed to pre-WM5 OS'es) to think it has a program installed - you don't have write rights on \Windows\AppMgr and, tehrefore, can't copy the (un)install DLL there. That is, with WM5, it's, to my knowledge, not possible to automatically remove stuff.
Click to expand...
Click to collapse
hmmm.....
maybe if you installed a "dummy" program that would reference the appropriate uninstall file for CF2.0?
just an uneducated noob suggestion. (feel free to educate me! i'm always eager to learn)
blazoner said:
hmmm.....
maybe if you installed a "dummy" program that would reference the appropriate uninstall file for CF2.0?
just an uneducated noob suggestion. (feel free to educate me! i'm always eager to learn)
Click to expand...
Click to collapse
It might work.
CF2 late question
I know there has been no action on this thread but as a late commer I was wondering if the CF files can be copied and included into the extended ROM (instead of the storage card) and then flashed onto the device?
mnazmi said:
I know there has been no action on this thread but as a late commer I was wondering if the CF files can be copied and included into the extended ROM (instead of the storage card) and then flashed onto the device?
Click to expand...
Click to collapse
Yup, I think so - after all, when unlocked, the extended ROM is just another drive in the file system. WHEN unlocked, I think.
FYI
i downloaded the .Net CF2.0 SP1 fr http://www.microsoft.com/downloads/...88-59e2-4eba-a70e-4cd851c5fcc4&DisplayLang=en
i selected Storage Card during the installation. all GAC* files are installed automatically\directly onto my Storage Card\Windows folder. when i checked on HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ .NETCompactFramework\ Installer\ Assemblies\ Global, all 14 2.0 and 8.0 entries are already with the correct folder path (\Storage Card\Windows). therefore, i only needed to move 4 files below onto the \Storage Card\Windows folder, and added value Storage Card\Windows\ into the SystemPath in HKEY_LOCAL_MACHINE\Loader
cgacutil.exe
MSCOREE2_0.dll
netcfagl2_0.dll
netcfd3dm2_0.dll
thanks for the tips!

TUTORIAL: How can (and why should) I change the standard File Dialog?

In the Smartphone & Pocket PC Mag VIP Help forum, I’ve received the following question:
“When I create an email on my Mogul (HTC4000) and go to insert file, my memory card is not a listed option to pick from any ideas? My Moto Q did this as did my 6700 before that”
The explanation and cure for this is pretty simple. (Note that if this problem doesn’t apply to you, don’t stop reading: in the second part of this tutorial, I provide you with some really useful tips. Also note that this article deprecates my pre-WM5 one published HERE. I also explain the difference between the MS Smartphone and Pocket PC platforms, file dialog-wise.)
First, the explanation. Let’s see the case of the Moto Q – that is, MS Smartphone devices. In which way is the MS Smartphone (that is, touchscreen-less) platform different from the “big brother”, the Pocket PC OS? In several ways, of course – it’s much dumber in almost every respect (I miss the ability to fine-tune the backlight level the most). In a way, however, it’s (at least for many users) much more useful and usable than the Pocket PC operating system: its file dialog box is entirely different from that of Pocket PC’s. This, however, greatly confuses users switching between the two platforms.
When you go to Menu / Insert / File (or, more generally, you select a file from any program - again, this tutorial is a generic one), you’ll have direct access to all the directories (including the storage card(s)) as can be seen in the following screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here, if you do select the storage card (by going to Menu / Storage Card), you’ll be taken directly to the card and, there, can select (left softkey) any file, in any directory, as can be seen for example in the following screenshot:
On Pocket PC’s, the situation is vastly different. When, upon composing a mail, you select Menu / Insert / File, you’re shown ALL the (accessible – see the rules later) files in one listbox as can be seen in the following screenshot:
There can be several hundred or even thousand files in the list, which results in both at time huge loading times and a lot of work to actually find the file you need; therefore, you can restrict the selection to a subdirectory only by using the “Folder” drop-down list:
The results of the restriction can be seen in HERE, showing an example of listing the contents of the “cities” subdirectory.
Note that – this is VERY important! – the “Folder” drop-down list only contains subdirectories under \My Documents in the built-in storage memory and the direct descendants (subfolders) of the root folder of the storage card. That is, if you have a file you’d like to add in, say, a second descendant of the root of your card, (say, \a\b), it won’t be accessible at all. The same stands for the subdirectories of \My Documents on the storage card – they won’t be listed either. This has always a BIG problem with Windows Mobile and has widely been criticized (see for example THIS for links).
In addition, there’s no way to “select only the root (without its visible subdirs) of the storage card” from the list – as opposed to the above-shown Smartphone screenshot. You will ONLY see the contents of the root of the card if you leave the “Folder” drop-down menu on its default, “All Folders” setting. Then, happy hunting for the file - after the list, finally, loads ; )
If you find this all (1, the HUGE number of the files shown 2, the inability to access anything outside \My Documents in the built-in storage memory and the direct subdirectories of the root of the storage card) a pain in the back, rejoice: there are decent solutions to the problem. Of them, I explain the two most widely used and important ones; one of them being even free.
1.1 Spb Pocket Plus 4
As has already been mentioned in my quick review of the IEM plug-in of Spb Pocket Plus, the, particularly with the new and indeed vastly improved version, highly recommended all-in-one system helper application, there’s built-in support for changing the system-level file dialog to something much better.
If you do get Spb Pocket Plus 4+, your problems are already solved: after installing it, the new file dialog will take effect at once, as can be seen in the following screenshot:
That is, it’ll work just great; you’ll be able to freely navigate the entire directory structure and won’t be flooded with hundreds or thousands of files at the same time, making it pretty hard to find the right one (or even wait for the list to load).
1.2 Y. “Mad Programmer” Nagamidori's FileDialogChanger
Before the (recent) release of Spb Pocket Plus 4, this was the suite I recommended the most for Windows Mobile users. Now that Spb Pocket Plus 4 also supports this functionality AND is a highly recommended all-in-one tool, I no longer do this - FileDialogChanger won't be needed any more if you go the Spb Pocket Plus 4 route. If you, however, don't (or REALLY need the exception defining capabilities, which I explain in the next subsection), make sure you get and install FileDialogChanger.
Get THIS ZIP file, extract gsgetfile.dll from the ARMRel directory and transfer it to \Windows on your Pocket PC. Then, get THIS file and, from the ARM directory, copy filedlgchg.cpl also to \Windows. Note that you MUST right-click these two links and select Save As to directly save it - if you just left-click it (as usual), you'll be taken to an error page because of the invalid referrer.
Now, go to Settings / System and tap the new File Dialog Changer icon and make sure you enable the Exchange Standard File Dialog checkbox as can be seen in the following screenshot:
That’s all; now, you can safely traverse the file system when adding attachments (or, again, looking for a file to load - or, a directory to save your current one to). Note that, unlike with Spb Pocket Plus, there’s no a quick drop-down tree list containing the current directory, all its parents the storage card(s). However, you can always use the left softkey (up) to go up to the parent (to the root, as it starts with \My Documents), where you can already click Storage Card (or any other directory):
1.2.1 Defining exceptions
Note that Mad Programmer’s FileDialogChanger also allows for defining exceptions (Spb’s program is incapable of this). That is, if, for some reason, you do not want to rely on the new file dialog in a given program, just add the given application to the exception list. For example, you prefer seeing all your, still sticking with emulators, ROM files on your PDA at once, and don’t want to manually navigate the directories to find them, then, you might want to add the emulator to the exception list so that FileDialogChanger knows it shouldn't be used with that specific app.
An example with PocketHobbit, the Commodore 64 emulator (discussed HERE), which uses the default file dialog box (screenshot HERE; with Mad Programmer’s tool, HERE). Then, all you need to do is clicking ADD, go to the directory with the executable file and double-click it. In this example, I’ve added all the three EXE files visible in the previous screenshot, resulting in the following exception list:
After this, PocketHobbit will start using the standard file dialog, while the rest of the system (all the other apps) will still use the redefined one - that is, that of FileDialogChanger.
(Note that I’ve chosen this emulator for this explanation not because of its (pretty much missing) merits but because it’s based on the system-level dialog box. If you are really into C64 emulation, forget this emulator at once and go for something better.)
1.3 Why will you want to consider changing the file dialog?
No, not only when you want to add attachments to a mail. The new dialog can be used much more widely. As a rule of thumb, whenever and wherever you’ve, in the past, encountered the standard, dumb and, in many cases, very annoying file dialog control, the new one will be used instead at both loading and saving. Yes, even at saving - for example, when you save Word Mobile files, you can tell the system in exactly which directory it should be stored to as can be seen in THIS screenshot.
As the standard file dialog only lists files under \My Documents in the main memory and files one level deep in the file system of the card (without showing the user where they really come from), in many cases, your only choice will be using third-party file dialogs like these two.
Again, just an example of the utility of these third-party applications: in order to keep the directory structure clean, you keep, for example, your emulator ROM image files two levels deep on your storage card under, say, \ROMs\SNES. Unless you use direct invocation (you click the given file from File Explorer to make the system invoke the associated emulator) and (when you do need them) you don’t copy around these files to a directory already visible to the standard file dialog, you won’t see these files at all. Unless, of course, install a better, third-party file dialog - one of the apps introduced in this tutorial.
UPDATE (11/16/2007): HowardForums forum member BeyondTheTech has just created a CAB installer of Mad Programmer’s FDC. This greatly simplifies installation – you just download the ZIP file from HERE, unZIP it, transfer the CAB file to your handset (if it’s not already there) and execute it in order to be installed. (Install it into main memory!) After a reset, you're all set – you only need to enable it as explained above (by checking in the checkbox).
Note that being put in a CAB installer also means you can uninstall it if you want if, for some reason, disabling the above-mentioned checkbox isn’t sufficient for you (because, for example, you want to remove all third-party stuff from your PDA without hard / clean resetting it).
FDC 1.70 Beta with thumbnail view
I was using this one when I am still in the pocketpc era....
http://tillanosoft.com/ce/tgetfile.html
But apparently, it don't support every applications out there...
ww2250 said:
I was using this one when I am still in the pocketpc era....
http://tillanosoft.com/ce/tgetfile.html
But apparently, it don't support every applications out there...
Click to expand...
Click to collapse
Yup, very few.
It's mostly on the MS Smartphone platform that it's useful - several of Masterall's kick-ass emulators use it.
It exist also gsgetfile.dll for Smartphones.
"http://www.geocities.jp/hou_ming_2/gsgetfile-i_sp.zip"
PS: "http://www.geocities.jp/hou_ming_2/beta/FakeCursorSP.zip" also for Smartphones.
Word?
Nice solutions! The free one especially since, well, it's free!
However, this doesn't seem to effect Word Mobile. Even with the FDC Word still only let's one search one directory deep...
Any thoughts on that one?
EDIT: to clarify, while saving files it works, but i'm reffering to the OPEN-file dialog. Which still s**cks.
DopamineNL said:
Nice solutions! The free one especially since, well, it's free!
However, this doesn't seem to effect Word Mobile. Even with the FDC Word still only let's one search one directory deep...
Any thoughts on that one?
EDIT: to clarify, while saving files it works, but i'm reffering to the OPEN-file dialog. Which still s**cks.
Click to expand...
Click to collapse
Yup, Office Mobile has a different file dialog. I don't know how it can be changed.
CharlyV said:
It exist also gsgetfile.dll for Smartphones.
"http://www.geocities.jp/hou_ming_2/gsgetfile-i_sp.zip"
PS: "http://www.geocities.jp/hou_ming_2/beta/FakeCursorSP.zip" also for Smartphones.
Click to expand...
Click to collapse
Thanks; as usual, you're GREAT!
CharlyV said:
FDC 1.70 Beta with thumbnail view
Click to expand...
Click to collapse
WOW... thumbnails... sounds nice.
How good is it though considering it's still BETA? Menneisyys, have you had a go at this? Any problems reported... speed, stability etc?
Would be great if you could do a review of it.
Cheers
Menneisyys said:
Yup, Office Mobile has a different file dialog. I don't know how it can be changed.
Click to expand...
Click to collapse
Office Mobile use own open file dialog, no workaround exist.
CharlyV said:
FDC 1.70 Beta with thumbnail view
Click to expand...
Click to collapse
I just downloaded FDC 1.70 Beta. It doesn't have the gsgetfile.dll so I used the same gsgetfile.dll from v1.66 and extracted it along with the v1.70 filedlgchg.cpl you have provided in the link.
When I tried to configure it, I had the option to enable the thumbnail view but when I actually used the File Dialog, I couldn't see anything different from the older v1.66.
Any help would be appreciated.

World's first CAB file editor working on a Windows Mobile device

We will release a new Windows Mobile program called " CabIntegr " soon.
It is the World's first CAB file editor working on a Windows Mobile device!
No need a Desktop PC to create CAB files and make the user independent
Ideal for using, if the user is on the way or he has no access to an Desktop PC .
CabIntegr features:
Creating new CAB files
Editing CAB files:
Adding files
Adding multiple files in one operation
Adding registry keys
Importing registry keys from REG files
Adding custom* shortcuts
CAB files compression supported**
Pre- and post- XML provisioning files supported***
Managing storage of information needed for the program removal
Viewing all CAB files which are available on the device
Viewing contents of CAB files
Extracting contents from CAB files
Creating new CAB Provisioning files
Converting REG files to CAB files
Support several languages of the interface
(W)QVGA/(W)VGA support
Windows Mobile 5/6 Classic and Professional compatible
* shortcut target will be exist on device or in CAB file
** only MSZIP
*** only for new CAB files
Looking forward for release. Dreams may come true...finnaly!
Freeware, or not?
I read on german forum the regular price is $14,99.
As registered SKTools customer I get the half price.
So this is just advert..mhmm..
g'luck.
CabIntegr on our webpage released !
CABIntegr Update 1.1.0.6 released!
The World's first CAB file editor working on a Windows Mobile device!
CABIntegr allow to user create, edit, view, install CAB files.
A helpful tool for all Windows Mobile user, especially for developers, ROM cooker, skinner etc.
No need any PC, so the user is independent. Ideal if you are on the road.
News and updates:
- Added "Create Installer" option. "Installer" it is executable file. This executable include one or more (CAB or/and other) files and can install or execute it after start.
- Script support for the Installer.
- "Set Path", "Create from cab" commandS in "Create" window.
- Scroll (left, right) gestures in settings (WM6.5+ and some WM6.x devices).
- Improved import from REG files.
This update are free for all registered CABIntegr users.
CABIntegr Update 1.1.0.7 released!
The World's first CAB file editor working on a Windows Mobile device!
CABIntegr allow to user create, edit, view, install CAB files.
A helpful tool for all Windows Mobile user, especially for developers, ROM cooker, skinner etc.
No need any PC, so the user is independent. Ideal if you are on the road.
News and updates:
- Added import "pre-" and "post-" XML from CAB file
- Improved RGU files import
- Edit operation for TSK files
- Improved settings window
This update are free for all registered CABIntegr users.

[TUT] How to port WM 6.5.3 (5.2.23121) to samsung c6625

How to Cook Samsung C6625
By sokran
Update:
===========
- Change Pagepool = http://forum.xda-developers.com/showpost.php?p=10531345&postcount=17
- rgu vs reg = http://forum.xda-developers.com/showpost.php?p=10635160&postcount=21
- show regional setting = http://forum.xda-developers.com/showpost.php?p=11061861&postcount=29
- PPC menu = http://forum.xda-developers.com/showpost.php?p=11623274&postcount=36
- Extracting Donor from other device firmware = http://forum.xda-developers.com/showpost.php?p=15272764&postcount=48
====================
Thanks to:
TJ_style
Thekn
SGH-i200 (solving message problem)
All members in XDA.forum, kaskus.us, techparaiso.com
In this thread we will share you step by step the Cooking Process of Samsung C6625. This is still the basic Tutorial. The rest you have to explore yourself.
Samsung C6625 has windows mobile 6.1 Standard as default operating system. So, in this tutorial, we will guide you how to upgrade the system to Windows Mobile 6.5 version (6.5.3 built 23121).
Resources Needed:
C6625XXIG5 (latest firmware that needed for base ROM) http://www.mediafire.com/?sharekey=36b949adb79ac9c0e7c82ed4b8f0c380250bba37092fb2cb64328c9cace34742
Core WM 6.5.3 (built 23121) http://forum.xda-developers.com/showthread.php?t=544818
Other donor that has same OS (such as, B7320, B7330, HTC Snap, B6520, etc) but makes sure that those resources has WM 6.5 to avoid conflict in your new Cooked ROM.
Application needed:
Valencia kitchen 1.06 (created by TJ_Style) + tools http://forum.xda-developers.com/showthread.php?t=757398
PEExplorer and Resources Hacker (edit = *.dll, *.exe, etc)
Image editor and creator (you can use photoshop, corel Draw, Gimp, or whatever that suite with you)
winceCab (for opening cab application)
Notepad++ (edit + *.xml, *.rgu, etc)
Icon editor (IconFX, etc)
Let’s Get Started!!!!!!
I. Decompress System Files
Run Valencia Kitchen.exe
Now you will have some folders
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
• BaseBIN
• CookedBIN
• Donor
• Tool
• Xipport
Extract C6625XXIG5.rar and you will get NAND.bin file
Copy NAND.bin to BaseBin folder
While Valencia Kitchen still running (Page 1),
click Dump button….. wait until the process completed!!!
Now you have another Folder
OEM (contain device manufacturer specific files which are specific to your device)
ROM (boot.rgu)
SYS (contains the core operating system built by windows)
All of them mostly contain:
A DSM file (a file that contains some package information, for example what other packages it require or what files it contains, most kitchens usually ignore this)
A RGU file (a registry file containing the registry entries associated with the packages)
An APP.dat, initflashfiles.dat & initflashfiles.txt file (contains instructions for folder creation and file copying that are executed at first boot)
Other files or modules that compose the package: the modules are folders that usually have file-like names (meaning they have an extension) and are a different way to store executable and DLL files on the ROM.
Now in XIPPORT folder you will get xip.bin
DONE….
II. Build New Operating System Structure
Open SYS folder
Delete all folder except .ROM, .VM , Metadata
Open 232121 folder that you have already downloaded.
Open SYS folder
Copy all folders except .ROM, .VM, Metadata to your SYS folder
DONE….. but we still have another Step…..
Copy your donor xip.bin (from 23121) to \XIPPORT\DONOR folder
Run XIPport.exe in \XIPPORT\DONOR folder
Click “dump xip.bin” button ….. wait until OUT folder appears. This folder contains this:
Now, Click “make pkgs” button to make the subfolder into simple folder
If you have these folders in FILES and MODULES, you are in the right track…..
DON’T CLOSE XIPport.exe YET…!!!!
Now, open XIPPORT folder and run XIPport.exe (it is easier if you open the folder with another Explorer window)
Same process with previous XIPport.exe….
Click "dump xip.bin" and,
Click "makes pkgs"
Also, DON’T CLOSE XIPport.exe YET…!!!!!
Open FILES folder (\XIPPORT\OUT\DONOR\)
Copy MSXIPKernel and MSXIPKernelLTK folders
Replace them to FILES folder (\XIPPORT\OUT\)
Do it same way for MODULE folder
Open MODULES folder (\XIPPORT\OUT\DONOR\)
Copy MSXIPKernel and MSXIPKernelLTK folders
Replace them to MODULES folder (\XIPPORT\OUT\)
Delete LangDB folder on XIPPORT\OUT\FILES and XIPPORT\OUT\MODULES to prevent of conflicting initflashfiles.dat, Because the Kitchen is automatically copying the LangDB to OEM on the Dumping Process.
Click "undo" button on both XIPport.exe and close them….
Check OUT folder (\XIPPORT\OUT). If the file returns to original structure, you’ve done it.
DONE….
III. The Next Step, “BUILDING OPERATING SYSTEM”
Open page 3 on Valencia Kitchen
Click “Build OS” button….
It will run “buildOS.exe”
Click "Run"
Wait for second…. The process cannot completed! This is because there are some double file between OEM and SYS folder. These files are: si_impl.dll, flashnddec.dll, flashlite.dll. So, delete those files in “\OEM\OEM_FLASHLITE”.
Now, repeat the process again….
Wait until the process completed….. then Close it…
When you have closed BuildOS, Extreloc.exe will run. You can see the process progress in the bottom right corner.
Click “Import XIPPORT”
Click “Open ROMHDR + .VM + .ROM” button
Click “Realloc V (DLL)” button…. Wait until the process completed.
Continue................
On “XIPport” Click “Realloc P” and “write map”
Click “Realloc NK.EXE,GIISR.DLL,etc.” button….. wait until the process completed.
Click “realloc P” once again…
On Extreloc.exe drag the separator on the right to the left, you will find another menu.
Click “Realloc IMGFS modules” button…. Wait until the process completed (MAP.txt log appear)… then Close it.
On xipport.exe Click “build xip_out.bin” button and close xipport.exe.
It will create new file “xip_out.bin” in XIPport folder
Close EXTReloc.exe and wait until Build OS process completed.
DONE...... NOW you have NEW OPERATING SYSTEM…..
IV. The Last Step, “BUILDING ROM”
NOTE: Before continue the process, make sure you disable AntiVirus Application!!!
Still on page 3 of Valencia Kitchen, click “Build ROM”… wait until pagepool option window open.
When pagepool option has appeared, set the size of pagepool (default size is 4)… presses Enter…Wait until it finished….
TADA …. Your new ROM has Built…. It will store in CookedBIN folder.
Copy your NAND.bin (cookedBIN) to Flashing folder
Now Flash it…….
After flashing has finished, check the version of your Cooked ROM.
I’m sure you cannot open the setting…. (Hahahaha…..)
Don’t Worry…. We will straight to the FUN TIME….
Repairing The System
TIPS (from TJ_style): “Repair the system first and then you can freely customize them”
TIPS (from Thekn): “Some built has problem in it; you have to combine the system files with another built”
Before you start repairing your Cooked ROM MAKE SURE you have already uncheck “Hide protecting operating system files” and check “Show hidden files and folders” on your PC.
232121 built have some problems, example:
Setting menu doesn’t equal with the original c6625
Hint: open rootgsm.cpl.xml (\OEM\OEMMISC\) Edit some features that are not in your cooking system (I’ve have erased customer feedback, autoupdate, error reporting) (thanks to TJ_style).
Note: “After you edited the file, open it with default program (internet explorer). If you cannot read the text, there is a mistake with your editing. Fix it until it can show up. Check every text, header or attribute or footer or something else that isn’t correct. Make sure header and footer have same word because it has case sensitive.”
You cannot open Contact
Hint: Copy “SIM_Tkit” from original SYS folder to your Cooking SYS folder
Internet Sharing doesn’t work
Hint: Copy from other Firmware (I copied from B7320 samsung). Replace it to SYS folder
The original c6625 firmware is from Europe (…..XX….), if you come from another region it will give you another problem:
Keypad problem
Hint: Copy “PhoneIME” from original SYS folder to your Cooking SYS folder (thanks to TJ_style)
You cannot see number of charakters in Messaging?
Hint: Copy “SMS_Providers” from original SYS folder to your Cooking SYS folder (thanks to SGH-i200)
Cannot automatically set the network
Hint: Find this file in bank Valencia “kaskus” (AUTO SIM CONFIGURE.rar). http://www.mediafire.com/download.php?nnqooyhngwz
Replace the original one.
That is some of common problems that appear in our new Cooked ROM.
After you fixed it, Now, Build again but this time you only have to start in page 3 (Building process).
Flash it again….
Now, check the version of your new Cooked ROM. If you can see this, you had success.
Knowing The Structure
Now we will explain the structure, so we can freely edit and change things:
OEM (based on C6625): contain device manufacturer specific files which are specific to your device.
In this folder you will find applications that run in your OS.
The structures are:
LangDB
Contain “initflashfiles.dat” = very important file!!!
To editing this file, make sure you saving on ANSI Encoding, so better to use Notepad++ and add 1 emptu break in the end of file
Unicode:
ANSI:
In the Unicode Encoding the FF FE Header (thanks to TJ_style)
OEM_ABOUTBOX
OEM_ACTICON
Contain “iconpkg.dll” = Startmenu Icon
OEM_AUTOTIMEZONE
Contain “Contact”, “Calllog”, “team manager”, etc.
OEM_BEATNIK
OEM_BLUETOOTH
OEM_CALCULATOR
OEM_CAMERA
OEM_CONVERTER
Contain “AdobeReader”, “SmartConverter”, etc
OEM_DATACALLMGR
Contain “Phonebook”, “DataCallManager”, etc
OEM_DPI_131
Contain “green and guaca scheme”
oem_dpi_131_resh_320_resv_240
OEM_FILEMGR
Contain “File Manager”, etc
OEM_FLASHLITE
OEM_FMRADIO
OEM_FUNBOX
Contain java application, etc
OEM_HOMESCREEN
Contain original Homescreen, color scheme, wallpaper, etc
OEM_Lang_0409
Contain specific language
OEM_Lang_0809
Note: I have deleted another language. Delete it as you wish…
OEM_MCUBEWORKS
OEM_MMS
Contain “emailWizard”, “GoogleSearch”, etc
OEM_MYITEMS
Contain “constmgr”, etc
OEM_PLAUNCHER
OEM_R2VS
Contain DNS
OEM_T9IME
Contain T9IME word app
OEM_TESTAPPS
OEM_TESTMODE_APP
OEM_TIMEMGR
Contains “timemanager”, “reminder”, “Dday”, “Stopwatch”, “worldClock”
OEM_WMPSKIN
Contain WMP skin
OEMCommonNonEA
OEMDrivers
Contains a lot of application and system "*.dll". This is one of the HotSpot for customizing.
OEMMISC
Contain menu system. Most of them have cpl.xml extension. Use notepad to edit.
You can freely edit them but there is some folder that you can delete safely, edit with caution, and some of them are prohibit to edit or even delete it. It will CRASH the system!!!!!!!
Some of OEM folder that freely delete without crashing the system
Example: OEM_Lang = depend on which language you prefer. My suggestion, leave 0409 and 0809 because 232121 is 0809, XXIG5 is 0409.
Some of OEM folder can customize freely but you have to be careful. We will explain it with example…. Be patient… 
Note: if you want to delete feature on your ROM. Make sure you delete the “exe”, files related to the application, edit the *.rgu, edit “initflashfiles.dat”.
Q: Can we add application to the system???? Of course we can….
These are the steps:
- Choose which application you want to add (cab much better and easier because it is already contains: the exe, files related, rgu, initflashfiles code…)
- Drag the cab files to Cab2OEM (already in Valencia Kitchen Tools folder)
- Wait…..
- Now, you have the OEM folder (named as your cabs name).
- Change the folder name with OEM_<you application>.
- Open the folder
- Open initflashfiles.txt
- Copy the command line to initflashfiles.dat (\OEM\LangDB\)
- Delete option.xml, initflashfiles.txt (in your application folder)
- Copy the folder to OEM folder.
- Now, you have new application added to your ROM…..
TIPS: “Don’t add application to Cooked ROM if most people won’t use it (even if you really like it). If you want to share application, just share with cab.”
TIPS: “Avoid application that run constantly such fedress, weather, etc because those files need connection to the internet constantly and will be need a lot of power”
SYS (based on 232121 built): contains the core operating system built by windows
The structures are:
.ROM (Important Folders based on Kitchen and Device)
.VM (Important Folders based on Kitchen and Device)
AdobeFlash (Required by Web Browsers and FLV Players to run Flash Sites and play FLV Videos)
AdobeFlash_LANG_0409
AdobeFlashCodecs
Delete as you wish
AUTOUPDATE (Windows Mobile Update Utility)
Delete as you wish
Autoupdate_Lang_0409
Base_DPI_131
Contain Shellres.dll (you can edit the system icon)
Base_dpi_131_resh_320_resv_240
Base_Lang_0409
Base_Lang_0409_DPI_131
BaseApps
Contains “Calendar”, Fexplorer”, “MobileCalculator”, etc
BaseAppsFiles
Bluetooth
Bluetooth_Lang_0409
bronze
BRONZE_DPI_131
Contain bronzeres.dll (require for making Titanium panel)
BronzeNonEA
BronzeNONEA_resh_320_resv_240
Contain slidingPanel.home.xml (in my case it has conflict with Titanium. So, I’ve remove the files (but not the folder)). If you want to remove it, don’t forget to edit “iniflashfiles.dat” too.
BROWSING
Browsing_DPI_131
Browsing_Lang_0409
BROWSINGCORE
browsingie
browsingie_LANG_0409
From BROWSING to browsingie: Windows Mobile Internet Explorer. You can remove it as you wish.
Bth_A2DP
Bth_A2DP_Lang_0409
Bth_HID (Human Interface Device Profile for Bluetooth)
Bth_HID_Lang_0409
CHome (Titanium drivers and settings)
CHome_Lang_0409
CommonNonEA
Contains a lot of color scheme.
COMMONNONEA_DPI_131
COMMONNONEA_DPI_131_RESH_320_RESV_240
Contains 4 theme. If you want to delete it, don’t forget edit “initflashfiles.dat” too.
ConfettiCore
DIRECTX
DIRECTXFiles
DRM (Default WM DRM driver)
Enterprise (Contains the drivers and settings for NDIS & IPSec)
Enterprise_DPI_131
Enterprise_Lang_0409
Enterprise_Lang_0409_DPI_131
Entertainment (Contains the games like BubbleBreaker & Solitare)
Entertainment_DPI_131
Entertainment_dpi_131_resh_320_resv_240
Entertainment_Lang_0409
Entertainment_Lang_0409_DPI_131
FWUPDATE
Fwupdate_Lang_0409
INTERNETSHARING
IPSECVPN
IPSECVPN_DPI_131
IPSECVPN_Lang_0409
MediaOS (Drivers & Resources for Windows Media Player Mobile)
MediaOS_dpi_131_resh_320_resv_240
MediaOS_Lang_0409
MediaOSFiles
Metadata (Registry & Certificate Resource files)
NETCF
Office
Office_DPI_131
Office_Lang_0409
Office_Lang_0409_DPI_131
OneNote
OneNote_lang_0409
OS (Windows Mobile 6.5 core OS drivers & resources)
PhoneIME
Redist (Contains a lot of OS Base Applications & resources)
Redist_DPI_131
Contain tapres.dll (start menu icon)
Redist_Lang_0409
Redist_Lang_0409_DPI_131
RUNTIMES
SampleMusic
SHELL (Core OS files)
Skybox (Allows you to back up Contacts, SMS, Documents, Music, etc online to MS Server)
Remove it as you wish
Skybox_Lang_0409
Skymarket (Windows Phone OS Marketplace)
Remove it as you wish
Skymarket_Lang_0409
SMIME
SQLCE
SqlCeMobile
SqlCeMobile_Lang_0409
SQM (System Quality Metrics - Used in conjunction with Error Reporting)
WelcomeCenter (Welcome Center Wizard that provides assistance in doing basic tasks)
WelcomeCenter_Lang_0409
WindowsLive (Microsoft Windows Live Mobile - provides interface for Windows Live & IM)
WindowsLive_DPI_131
WindowsLive_Lang_0409
WindowsLiveIM
WindowsLiveNonEA
WindowsLiveNonEA_DPI_131
WindowsLiveNonEA_dpi_131_resh_320_resv_240
WMLiveSearchWidget
WMMoneyWidget
WMWeatherWidget
WMWidgets (Drivers & Resources to support Widgets)
WMWidgets_LANG_0409
WWAN
Editing The System
TIPS: “Delete original application that useless”
Some of those folder are useless and some of them are needed more RAM (my opinion… hehehe). So, in my cooked ROM
Remove
Googlemap
Shozu
SlidingPanel theme because it has conflict with Titanium Panel
Skybox
Skybox_Lang_0409
Skymarket
Skymarket_Lang_0409
WelcomeCenter (Welcome Center Wizard that provides assistance in doing basic tasks)
WelcomeCenter_Lang_0409
WindowsLive (Microsoft Windows Live Mobile - provides interface for Windows Live & IM)
WindowsLive_DPI_131
WindowsLive_Lang_0409
WindowsLiveIM
WindowsLiveNonEA
WindowsLiveNonEA_DPI_131
WindowsLiveNonEA_dpi_131_resh_320_resv_240
WMLiveSearchWidget
WMMoneyWidget
WMWeatherWidget
And also edit initflashfiles.dat by deleting command line that refer to those application.
Remove Manage Programs
Delete this module : historyui.cpl (\SYS\FWUPDATE\)
Disable Feedback Customers
Edit the registry in this file
a4ded16e-eadb-4ced-97ee-3af7ecfc6796.rgu (\SYS\SQM)
Set the DWORD with 0, like this one:
[HKEY_LOCAL_MACHINE\System\SQM]
"Enabled"=dword:0
"UploadEnabled"=dword:0
[HKEY_LOCAL_MACHINE\System\SQM]
"Enabled"=dword:0
"UploadEnabled"=dword:0
"EnableUI"=dword:0
And add this one
[HKEY_LOCAL_MACHINE\ControlPanel\Customer Feedback]
"Redirect"="ceipui.exe"
"Group"=dword:1
"Hide"=dword:1
But I don’t know where to find the *.rgu. Don’t worry, without this registry, it works. As long as you already change SQM registry key.
Disable Error Reporting
Open d5ab0034-8aac-4a19-b5c4-a8b01b5bbe87.rgu (SYS\OS)
Set the key into like this:
[HKEY_LOCAL_MACHINE\ControlPanel\Error Reporting]
"Hide"=dword:1
[HKEY_LOCAL_MACHINE\System\ErrorReporting\DumpSettings]
"DumpDirectory"="\\Windows\\System\\DumpFiles"
"CabDirectory"="\\Windows\\System\\DumpFiles\\CabFiles"
"ExtraFilesDirectory"="\\windows\\ExtraDumpFiles"
"UploadClient"="\\windows\\Dw.exe"
"MaxDiskUsage"=dword:00000000
"DumpEnabled"=dword:00000000
"MaxLogFiles"=dword:00000000
Add
Clock on Top
BEIKS dictionary
iSilo
Mobipocket
<< See how to add application to OEM tutorial…. >>
Reboot option in Quick Application (when you press Power Button)
This is how I did it:
Grab HTC quick list
Extract the file
Copy “HTCquickList.dll” and “reboot.exe” to \SYS\OS
Add this registry command to this file
d5ab0034-8aac-4a19-b5c4-a8b01b5bbe87.rgu (SYS\OS) :
[HKEY_CLASSES_ROOT\CLSID\{2ABD8635-9808-4c4c-943B-8173B805FD40}\InProcServer32]
@="HTCquickList.dll"
[HKEY_LOCAL_MACHINE\Software\HTC\HTCQuickList\0]
"ResOver"="1050"
"FilePath"="reboot.exe"
"CmdLine"=""
[HKEY_LOCAL_MACHINE\Security\ResOver]
"1050"="Reboot"
Change the registry (number 2) under this registry:
[HKEY_CURRENT_USER\Software\Microsoft\QuickApp]
with this command line:
"2"="{2ABD8635-9808-4c4c-943B-8173B805FD40}" ;Reboot
And will become:
[HKEY_CURRENT_USER\Software\Microsoft\QuickApp]
"1"="{6D48AB52-635C-4c6a-8508-9D32A0F07863}" ;Power Off Applet
"2"="{2ABD8635-9808-4c4c-943B-8173B805FD40}" ;Reboot
"3"="{33CDB4E1-4CFE-4395-B1B1-9805FB3C9A04}" ;Task Manager
"4"="{0D519EC6-315A-4693-AF1B-B2DA865AC1C7}" ;Radio State Change Applet
"5"="{B7A5E609-3E46-442d-8D32-65926EDA6795}" ;Profiles Applet
DONE….
TIPS: “When you build newer Cooked ROM, don’t forget to backup the previous one.”
TIPS: “you can increase booting process by avoiding or deleting application that use startup process”
V. Freeing up slot 0
Some Module can be Recmod (change module to file) to free slot 0.
What you have to do is:
Open Valencia Kitchen Tool and you will find recmod.exe
Drag module to recmod.exe
Now you get module that already become files (xxxx.dll (module) will be xxxx.dll (file))
Delete the original module and replace with that file.
Note: be careful to do this trick. Make sure you choose the right file. BACKUP YOUR WORK FIRST!!!!
List below are modules that are safe and will not make your system crash (some of this files are not in 232121 cores):
• AdobeFlash = ALL
• AdobeFlashCodecs = ALL
• BaseApps = Beam.exe, caldl.dll, calendar.exe, doclist.dll, fexplore.exe, hotvoice.exe, note_prj.dll, notes.exe, pimg.exe, shptutil.dll, VoiceBar.dll, VoiceCtl.dll and voicedll.dll
• BlueTooth = bthpbap.dll
• BROWSING = browser.dll, iexplore.exe and wmlview.dll
• BROWSINGCORE = jscript.dll, mlang.dll and msscript.dll
• Browsingie = ALL
• Bth_A2DP = Avrcp_MPplugin.dll
• Bth_HID = All except for bthidsvc.dll
• GPSid = gpsid.dll
• InternetSharing = ALL
• MediaOS = ALL
• NetCF = ALL
• OS = dw.exe, dwui.dll, enrollnot.exe, machineenroller.dll, machineenrollerlaunch.exe, networkpolicycsp.dll, omadmclient.exe, quartz.dll, tcpstk.dll, tmarshaller.exe, umarshaller.exe
• Phone = simsec.dll, tkitapp.exe
• PhoneRedist = siclnt.exe
• Redist = configmanager.dll, configmanager2.dll, obexapi.dll, obexinbx.dll, remnet.exe, syscsps.dll, welcome.exe
• RemoteDesktopMobile = ALL
• Shell = autotimeupdate.exe, CertInstaller.exe, fbrowser.dll, find.dll, msnsspc.dll, mstli.exe, peghelp.exe, richink.dll, rnaapp.exe, shfind.exe, sndplay.exe, taskmgr.exe, tskschcsp.dll, tskschedule.exe and tskscheduleu.exe
• SkyBox = All but MyPhoneService.dll
• WindowsLive = ALL but any DLL with Resource in the name.
• WindowsLiveIM = ALL, unless you leave it running.
Thanks to www.techparaiso.com
VI. CUSTOMIZING DESKTOP
TIPS: “Use search engine to find the files”
Note: “Don’t forget to check “Search system folder”, “Search hidden files and folders” and “Search subfolders” in “More Advanced options””.
TIPS: “Decide what theme you want to make.”
OK, if you already sure with your Cooked ROM and no conflict in it, you can start to customize the desktop. You can make as beautiful as you wish……
Let's See…. What part that you can customize? OMG, all of it…!!!
Special applications needed:
Resources hacker (valencia kitchen tool)
PE Explorer (to show image file that are not shown in Resources Hacker)
How to use Resources hacker
Run "Resources Hacker.exe"
Click File and select which file you want to edit
If you want to replace the files, makes sure that you have same files type (image or icon, not png or jpeg (you can replace BMP with PNG or JPEG), same dimension (exp. 44 x 44 pixel, etc)
Right Click --- click “Replace Resources…”
Open the files --- click "replace"
In some case there are three textbox appears: (according picture (for example)) fill the first with Bitmap, second with 4896, third with 1033.
TIPS: “When you want to edit bronzeres.dll, the image won’t be seen. So, open the files with PE Explorer to see what inside and replace resources using Resources Hacker as usual with PE Explorer as guide”
Note:
Some dll such as shellres.dll are still module type. These steps will guide you how to edit the file:
You have to copy the shellres module to another folder
Copy recmod.exe and reversemod.exe from the Valencia Kitchen Tool
Drag shellres.dll module to recmod.exe
Open shellres.dll with resources hacker.exe (tools)
Freely change the icon as you wish
After finished editing, reverse the file by drag it to reversemod.exe
Replace the original module with your edited module.
If you understand the Basic, We will show you which files are require for editing. Let's Started from the Beginning….
Startup and shutdown animation
File: doani_samsung.dll (\OEM\OEMdrivers\)
Info:
File Type = GIF (320 x 240)
Address = startup (1 – 20), shut down (25 – 44)  so you need 20 image each.
Splashscreen
File: doani_samsung.dll (OEM\OEMDrivers\)
Info:
File type = GIF (320 x 240)
Address = beginning 100, last 200
Incoming call and outgoing animation
File: extcall.dll
Info:
File type = GIF, PNG (better), JPEG (better) (320 x 186)
Address = open folder GIF. Incoming = 14110 – 14114, outgoing = 14210 – 14214
Startup tone
File: Phone_power_on.wav (\OEM\OEMDrivers)
Info:
Replace with your own tone
Shutdown tone
File: Phone_power_off.wav (\OEM\OEMDrivers)
Info: Rename your tone as the original and replace it to OEMDrivers
Startmenu icon
File: tapres.dll (use ‘how to edit shellres.dll’ methods)
Info:
File type = ICO (18 x 18)
Address = Icon Entry – 18
Blackbars (Soft key color (pure black))
The easy way:
Search blackbars.cab link
Convert to OEM  you will get initflashfiles.txt, 990c3997-38ba-4998-bc46-1e36abccb2da.rgu, blackbars.scheme.xml, 990c3997-38ba-4998-bc46-1e36abccb2da.dsm, options.xml
What you need to do is (at least what I’ve done):
Copy blackbars.scheme.xml to \SYS\BronzeNONEA_resh_320_resv_240
Insert this code to initflashfiles.dat (OEM\LangDB) (you can find it in initflashfiles.txt):
Directory("\Application Data"):-Directory("Home")
Directory(""):-Directory("Application Data")
Directory("\Application Data\Home"):-File("blackbars.scheme.xml","\Windows\blackbars.scheme.xml")
Insert this code to 0cd1eb95-3e78-4acb-a8fc-09be5623471f.rgu (\SYS\BRONZE_DPI_131) (you can find it in 990c3997-38ba-4998-bc46-1e36abccb2da.rgu):
[HKEY_CURRENT_USER\ControlPanel\Home\blackbars.scheme.xml]
"COLOR_BTNTEXT"=dword:00000000
"COLOR_BTNFACE"=dword:00FFFFFF
"COLOR_TITLEFLATCENTER"=dword:00000000
"COLOR_HIGHLIGHTTEXT"=dword:00FFFFFF
"COLOR_SOFTKEYBTNTEXT"=dword:00FFFFFF
"COLOR_SOFTKEYFLATCENTER"=dword:00000000
"COLOR_SCROLLBAR"=dword:00000000
"COLOR_SOFTKEYBTNTEXT_HIGHLIGHT"=dword:00FFFFFF
"COLOR_TITLEFLATDONEBTN"=dword:00FFFFFF
"COLOR_SOFTKEYBTNFACE"=dword:00000000
"COLOR_TRAYGRADLEFT"=dword:00000000
"COLOR_TRAYGRADRIGHT"=dword:00FFFFFF
"COLOR_HIGHGRADLEFT"=dword:00000000
"COLOR_HIGHGRADRIGHT"=dword:00FFFFFF
"COLOR_WINDOWFRAME"=dword:00000000
To make it shown on first boot
Open f6c8e625-7515-4d93-95ec-ac4999c62a27.rgu (\OEM\OEM_HOMESCREEN)
Scroll to the bottom
Change "ColorScheme" in [HKEY_CURRENT_USER\ControlPanel\Home]
with \\Application Data\\Home\\blackbars.scheme.xml
oem_files
Replace oem_info.gif, oem_ques.gif, oem_yell.gif, oem_volume.gif (\OEM\OEMDrivers) with your images.
Replace samsung-carrier.gif with your images.
TITANIUM
Note: Don’t forget to delete slidingpanel.home.xml (OEM\OEM_HOMESCREEN) (it will crash titanium)
Files needed (already in packaged by frauhottelmann as the author):
bronzeres.dll --- contain: icons
Replace the original (SYS\BRONZE_DPI_131) with this one
titanium.home.xml --- setting: background, scheme
titanium_320x240.cpr --- setting: text
d57a3191-5a79-418b-b394-4678b16e9488.rgu --- setting: plugin, icon
Make new folder ---- rename it with OEM_TITANIUM
Put all files except bronzeres.dll to the folder
Put the folder inside OEM folder
Edit Titanium
File for editing: bronzeres.dll, cpr, rgu,xml
Bronzeres.dll
Open the file with PE Explorer because you cannot see image if you open it wit resource Hacker.
You will see numbers in RCDATA folder
Replace icon as you wish using Resource Hacker with PEExplorer as guide…. Don’t forget to save it.
Titanium background = RCDATA 4000
Titanium.home.xml
Open with Notepad
Change default background for your Titanium Panel : "bgimage-rotated="\windows\ SlidingPanel_bkg_320x240.jpg" with your image. Example: "\windows\ medical_bg.jpg”
Scroll down and you will see which plugin you wish to add to your Panel.
Edit it and fix it…
Note: “After you edited the file, open it with default program (internet explorer). If you cannot read the text, there is a mistake with your editing. Fix it until it can show up. Check every text, header or attribute or something else that aren’t correct. Make sure header and footer have same word because it’s case sensitive.
Titanium_320x240.cpr
Open with Notepad
WOW…. There is a lot of text….
In this file, you can edit Font size, text position, Font type, style, and some other things. You can freely change it. Make sure you are not making any mistakes…. Don’t worry you can fix it again.
d57a3191-5a79-418b-b394-4678b16e9488.rgu
Open it with Notepad++ make sure you add 1 empty break in the end of file
There are a lot of registry entries
You can edit which plugin you want to add, also you can delete it, and you can set icon for your panel.
Note: if you have edited it and cooked it and you find something wrong with your panel, you can edit titanium_320x240.cpr without Cooking again. As long as not bronzeres.dll, it will crash.
Adding text to Titanium Home Screen like Remora or Revalution
Add this command line to titanium_320x240.cpr and fill inside “text=”
<!-- Branding -->
<Layer ID="Page" Clip="False">
<Text ID="FixedText" Left="160" Top="162" Width="151" Height="24" FontFamily="Nina" FontSize="7" FontStyle="Regular" Wrap="False" VerticalAlignment="Middle" HorizontalAlignment="Right" Trimming="EllipsisCharacter" Text="YOUR COOKED NAME">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#444444" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFF" />
</Text>
</Layer>
To make it shown on first boot
Open f6c8e625-7515-4d93-95ec-ac4999c62a27.rgu (\OEM\OEM_HOMESCREEN)
Scroll to the bottom page
Change "Scheme"="\\Application Data\\Home\\Wizpro.home.xml" in [HKEY_CURRENT_USER\ControlPanel\Home] with "Scheme"="\\Application Data\\Home\\Titanium.home.xml" (depend on your titanium.xml file name)
Adding menu background image:
Open “6b9c91d2-c438-411e-be81-f6df29436a78.rgu” (SYS\SHELL\)
Add this following code under [HKLM\Software\Microsoft\Shell\Rai\:MSStart] :
"BKBitmapFile"="\\Application Data\\Home\\startmenubg.gif"
"BKUnselected"="COLOR_ALERTWINDOW"
"BKFlags"=dword:0000001A
"BKBitmapTransparent"=dword:00FF00FF
"BKBitmapLogPixelsY"=dword:00000083
"BKBitmapLogPixelsX"=dword:00000083
"BKDefaultGradient"=dword:00000001
Save your image background anywhere you like (I add it to OEM_Homescreen)
Add this following code to initflashfiles.dat :
Directory("\Application Data\Home"):-File("startmenubg.gif","\Windows\startmenubg.gif")
Done….
TIPS: “use GIF because it has small size and faster to load.”
TIPS: “Increase performance by using GIF not JPEG, BMP or PNG”
TIPS: “Use PNG image as needed”
Icon Edit
TIPS: “Replace the biggest icon size, the smaller will also automatically changes”
TIPS: “If you want to set the smaller icon different with the bigger one, change the smaller first”
Icon (you can find icons in this files) use 44 x 44 pixel:
Iconpkg.dll (\OEM\OEM_ACTICON)
Accessories folder = Icon Entry 1 – 4
Internet folder = Icon Entry 5 – 8
Organizer = Icon Entry 9 – 12
Shellres.dll (\SYS\Base_DPI_131)
Wait cursor = Bitmap 4896 – 4911 (you need 6 icon)
Folder Icon = Icon Entry
You can change Program/ Aplication icons in OEM folder or SYS folder by using Resource Hacker.
TIPS: “Explore your imagination”
Some of this tutorial maybe usefull for other built. So, Enjoy it....
Great Tutorial Gans
will be more beautiful if you install the Shadow Neo Titanium Skin on your ROM
well done sokran = kartolo
Hakim Rahman said:
will be more beautiful if you install the Shadow Neo Titanium Skin on your ROM
well done sokran = kartolo
Click to expand...
Click to collapse
HAHAHAHAHA.....
TJ_Style said to me that every Chef have their own secret recipe....
So, i decide to share the basic... everyone can freely discover what they want and someday we will find another TREASURE inside.
BUT, you can freely share your work, idea, question, etc.
will be wonderful if you can share with us in this forum.....
you won't lose anything if you share your knowledge to everyone.....
(kartolo = Living Legend)
gatutkoco said:
Great Tutorial Gans
Click to expand...
Click to collapse
Yup,....
i try to make this because its difficult to find this one in this forum and other forum.....
i hope this thread will develop as well.....
also, i hope you can share you knowledge with us too.....
PAGEPOOL
What will going to happen if we change the pagepool size.....
i've made an experiment using this ROM and coreplayer (to find out the effect of running application)
this are the result:
pagepool 2:
available storage 121.20 mb
total 135.72 mb
available memory 89.60
total memory 115.60
memori 116
use 26.2
storage 136
use 14.5
movie benc
av speed 79.32%
audio sample 1046474
amount data 2055 kb
benc time 59.835
samp rate 17489
data rate 281 kbit/s
original time 47.459
frame rate 24.996
sample rate 22050
data rate 354 kbit/s
pagepool 8:
available storage 120.96 mb
total 135.72 mb
available memory 82.47
total memory 109.58
memori 110
use 27.4
storage 136
use 14.8
movie benc
video frame 1156
av speed 77.52%
audio sample 1053939
amount data 2062 kb
benc time 59.662
frame rate 19.376
samp rate 17665
data rate 283 kbit/s
original time 46.248
frame rate 24.996
sample rate 22050
data rate 365 kbit/s
Conclusion:
larger pagepool will reduce memory device capacity but it will increase speed (well... not too fast)
If we want to increase speed, we can add more size on pagepool but as the consequence the memory will reduce as well. If we have a lot of application installed, it will make the application run slowly because memory allocation will be less.
As we can see that applications speed are slightly increase but with reducing 6 mb in memory, that is mean a lot..... So, it's up to you who decide how much pagepool size you want to use......
(please, correct it if i'm wrong...)
Tips update...
Adding application to OEM....
If your resources comes from "cab" you don't have to edit initflashfiles.dat because there is already initflashfiles.txt on your folder....
it will be processed while cooking....
sokran said:
HAHAHAHAHA.....
TJ_Style said to me that every Chef have their own secret recipe....
So, i decide to share the basic... everyone can freely discover what they want and someday we will find another TREASURE inside.
BUT, you can freely share your work, idea, question, etc.
will be wonderful if you can share with us in this forum.....
you won't lose anything if you share your knowledge to everyone.....
(kartolo = Living Legend)
Click to expand...
Click to collapse
giving thanks to God if you are familiar with these norms...
thank's Basman (sokran)
Hakim Rahman said:
giving thanks to God if you are familiar with these norms...
thank's Basman (sokran)
Click to expand...
Click to collapse
Thank's for remind me......

[Dec 2012] Android SMS Importer from WM PimBackup files

This utility allows to convert PimBackup files to XML one which is
compatible with Android application "SMS Backup&Restore" created by
Ritesh Sahu (* check the author to match the right application on Market *).
After the conversion the XML file contains all your SMS and you can Import
them to you Android smartphone.
This utility doesn't require any installation process or additional DLLs,
in order to start using it, just run the executable file.
WARNING: I've tried to restore about 11,000 SMS with success on "Motorola Atrix 4G" and it seems to freeze many times while running stock "Text Messaging" application.....so I think 11,000 SMS is too much to handle for Android OS
Versions History
=============
* Version 2.0.0.4 (2012-12-13)
- New Draft Folder support
- Messages in Custom Folders are now moved to Inbox or Outbox
- Minor bug fixes
* Version 2.0.0.2 (2012-11-28)
- New option (only for CMS files): Discard self-test messages
- New option to convert not supported folders in In/Outbox
* Version 2.0.0.1_beta1 (2012-11-14)
- New advanced graphic design
- PimBackup binary files (*.pbm) supported!!!!!!
* Version 1.0.1.0 (2011-09-28)
- If it enconters an irreversible error it will asks if you want to continue without stopping conversion
* Version 1.0.0.9 (2011-09-26)
- Managed splitted Conversation/SMS text in multi-rows (messages with Carriage Return)
* Version 1.0.0.8 (2011-07-27)
- Fixed negative values for TimeZone offsets
* Version 1.0.0.7 (2011-07-27)
- Added TimeZone and Date/Time management to increase/decrease according to your local TimeZone
* Version 1.0.0.6 (2011-07-04)
- Fixed bug while using special characters like "&" or quote
* Version 1.0.0.5 (2011-04-21)
- Fixed bug for Inbox messages if SenderName and/or SenderAddress is empty
* Version 1.0.0.4 (2011-04-21)
- Managed empty "SenderName" and "SenderAddress" for Outgoing messages. Now those messages will be considered well.
- Draft, Trash and Outgoing folders (from CSM file) are not converted in any case because Android hasn't got those folders.
* Version 1.0.0.3 (2011-04-19)
- Added "Text Encoding" option to decide output file text encoder ("UTF-8" is the most common)
- Managed empty "SenderName" and "SenderAddress" data from input files. Now those messages will be discarted
* Version 1.0.0.2 (2011-04-19)
- Added an option to stop decodification after have decoded a specified amount of messages
- Managed "line-brakes" in messages. Those line-brakes will be removed from the message
- Managed "self-test" messages. Those self-test messages will not be added to output file
- Fixed a bug that truncates TextMessage at first "semicolon" character
- Added an "Error" section to show occurred errors
* Version 1.0.0.1 (2011-04-18)
- Uncompressed Executable file for better compatibility on multiple Windows OS
* Version 1.0.0.0 (2011-04-06)
- First release
Create a good backup file with PimBackup
=================================
The software is dummy and need a good/perfect file to work fine; in other words it needs
a good PimBackup file.
Let's create that file:
* open PimBackup in your Windows Mobile phone/smartphone
* choose "Backup" from dropdown list
* select sections as you wish but not forget "Messages"!!
* press "Next"
* (if you have a lot of SMS do not select "Create temp files in memory")
* press "Next" and go-on following the Wizard....
Find CSM or PBM file
===================
At the end of procedure above you will have a single PIB file.
This file is compressed and you can open it with WinZip/WinRAR/7Zip.
* So, please open it and look for "*.cms" or "*.pbm" file.
* Extract it from the compressed file.
That's it!!
Start the conversion
==================
Ones located CSM/PBM file you will want to convert it, right?
* Open "PimbackupDroid.exe" (this software of course!)
* Click "Menu --> Open" and select a CSM/PBM file
* [only for CMS] Enter "Your phone number for comparison". This field is necessary because
this is the only way to identify you as the sender of outgoing messages.
You can use simple numbers without international prefix (Ex: 0039 or +39).
* (optional) Check "Only between dates" to force convert just SMS between
two specified dates. It works for both incoming and outgoing messages.
* (optional) Check "Blacklist" OR "Whitelist" radio button if you want to
EXCLUDE (blacklist) some contacts or you just WANT (whitelist) convert
just some specified contacts.
!!WARNING!! - Blacklist and Whitelist using "Partial" input data, in
other words if you will add "Edward" in one of those all
contacts CONTAINS "Edward" word will be blacklisted/whitelisted,
for example also "Edward2" will be affected.
Both Blacklist and Whitelist are case insensitive (no difference between
"Smith" and "SMITH").
* Press "Start" button. It will generate a NEW file with the same name of original
one but with ".xml" extension. (!!WARNING!! - it doesn't ask for overwriting)
Import XML file on Android OS
========================
Now you have an XML file generated with this utility and you need to download
a small (and FREE) application from Android Market:
*SMS Backup & Restore" created by "Ritesh Sahu" (!!!check the author name!!!)
Install it
Before run this new installed utility you need to create a new "SMSBackupRestore"
folder in you Internal Phone Storage's root directory.
Now you can copy your XML file to this new folder and run the new Android application.
This Android utility is very very easy to understand: just press "Restore" button
and select your XML file.
Now wait until errors (ops!!) or successfully popup window!
System Requirements
==================
This utility works properly on all 32-bit/64-bit versions of Windows,
including Windows 98/ME, Windows NT, Windows 2000, Windows XP, Windows
Server 2003, Windows Vista, Windows Seven and Windows 8.
Personally tested on: Windows 7 Ultimate 64bit, Windows XP 32bit and Windows 8 Pro 64bit
Linux users: I think this software will works with "WINE" but not tested.
Disclaimer
==========
The software is provided "AS IS" without any warranty, either expressed
or implied, including, but not limited to, the implied warranties of
merchantability and fitness for a particular purpose. The author will not
be liable for any special, incidental, consequential or indirect damages
due to loss of data or any other reason.
Issues/Limitations
===============
- MMS/e-mails not supported
- Attachments (like images or files) not supported
Screenshot
===========
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download at Sourceforge.net
======================
https://sourceforge.net/projects/pimbackupdroid/
Any idea on what to add more to this software??
Post reserved to author
This sounds great. I have a lot of old SMS I'm missing after switching to android. I'm going to test it as soon as I'm with my PC tommorow morning. Will report back then.
Sent from my HTC HD2 using XDA App
emandt, I tried to download your SW from the page you have listed, but it looks like folder is empty...?
As I've wrote in first post: project just opened at SF.net, so be patient
I'm creating a small README as Guide and prepare source code to place it on SF.net very soon.
OK, I was under impression at least test version is available. I'll wait
Released the first version few hours ago.
Check the Limitations (first post) before post a bug
I've realized my PIM backup files are .pib, not .csm. Is there any way how to move it to .csm? Except of restoring and archiving again through WM...I have only one phone
Thanks.
Please read the description at first post or the README file following the EXE.....
The ".CSM" file IS INTO the PIB file.
PIB file is just a compressed file to handle multiple files in single one.
Use WinZip / WinRaR / 7-Zip to open the PIB file and extract CSM one.
If your backup was created with "Binary backup(faster)" options it's impossibile to convert with my software (no any description/protocol about "How To Read" a Binary file created by BimBackup)....so, in this case, I think you need to Restore all messages and start the backup (without THAT option!!) again....sorry.
However I will study (raw mode with thousands of tries) "Binary backups" to allow them as non-binary ones.
I'm sorry I have overlooked this step. The problem is that even when I open .pib file, there is no .csm. Actualy, all extensions begin with .p**. Could be the reason that I have somehow checked "binary backup" in WM PIM?
I'm hot to test your SW but obviously I'm not a good tester
BTW, why don't you move this topic between general android applications, to have it more visible in the forum?
I'm trying to read binary backup files but without any description from author is very very hard to resolve this step. I've not found a schema for the data into binary files yet.
I've studied BINARY backup and already found half-solution, at least for NAME, TELEPHONE_NUMBER and TEXT_MESSAGE.....not I'm stuck at "Date and Time field"....
I've wrote to PimBackup author and I hope he will respond me with the solution.
Stay tuned
Nice initiative
Hi,
first of all, congrats for the iniative. Sorrowfully, it doesn't work for me (Access Violation at address 004ccea0 [...] @ address 00000004
If this helps: W7 x64 Pro @i5
For people who have their backups in binary format, from this same forum (don't remember the threads tho, sorry) came these tips:
1) Download Microsoft Windows mobile 6.5 Professional Developer Tools (goole it or "Windows Mobile 6.5 emulator");
2) run the appropriate version of the emulator;
3) "install PimBackup and restore your backup (set up a "shared Folder" for that, it will appear as a storage card);
4) redo your backup without binary format unchecked;
5) have fun! (if you're reading this thread, you know the rest already )
Also, see this link: Transferring contact list from Windows Mobile to Android SANS OUTLOOK
Have fun! I'll have to wait the next stable version.
It's strange....I'm using Win 7 Ultimate 64bit in italian language.
What OS language?
What is your OS alphabet in use?
I've developed this application quiclky and I don't have considered alphabets and non-latin characters. Maybe it could be this.
I'll spend more time to make it works on other OS settings
@tuliogs: if your Error is generated during startup of application you can try new version (v.1.0.0.1 folder on download section) which has an uncompressed Executable file to increase compatibility on Windows OS.
Otherwise: I need more explanations about that Error.
not yet
I get the error when trying to convert the file. Win7 here is in brazilian portuguese, I guess it's UTF-8 (or else, probably Windows-1251, which in turn is an ISO 8859-1 variant, I guess).
Just tried the new version... same issue, but it now shows where it stops: on a self-test SMS (explained below). It was enough to change the "phone number for comparison" field and _that_ issue was solved. However, please keep reading.
I found some "anomalies" in some messages in my file, though:
some are self-tests I sent to myself or just empty drafts. this seems to be the issue described before;
some contain the whole phone numbers including country codes and the plus sign (no trouble with those ones);
some archived messages contain line breaks: these are plain skipped;
duplicate messages, some within a short interval (3 secs or less) disappear also;
different cellphones use different text encodings so you guess the mess... however, overall text is more important than specific characters, so it's relevant to say I had no problem at all with these, apart from getting alien symbols (which don't bother me).
I had to abandon Android on my Kaiser to revamp it from scratch (therefore, WM again aawwww), so I can't test the final result now, but there's a Samsung Galaxy S (Froyo, I guess) coming in a few days. So if you'd wish to attack those issues in the meantime, I'll gladly test the final result when time comes.
Thank you again and keep up the good work.
Nice to have so detailed error description!!
New version was compiled just without "Compress executable" option because I thought your error were caused on startup and not during conversion.
Can you send me just a complete row (you can manually edit a row to create fake text) of CSM file with many brazilian characters??
Now I'll try with:
- self test messages
- many special characters (also line-breaks)
outgoing SMS is sucessfully converted,
but I cannot found any incoming message in the output files...
Here are the first few line of the output:
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<smses count="196">
<sms protocol="0" address="" date="1284300650000" type="1" body="回到家了啦" read="1" status="-1" contact_name="" />
<sms protocol="0" address="" date="1286260959000" type="1" body="整緊" read="1" status="-1" contact_name="" />
@azothterry: TYPE="1" means "Inbox" but perhaps this wrong decode depends of strange Input data.
I've tested with my latinian-alphabet without special chars (comma, points and few single-quote chars) and it works.
To allow other alphabets/characters I need few lines from your CSM file, expecially with special chars.
Don't forget to set "Number for comparison" field with your partial (without international prefix) phone number.
Hi, emandt
Here are some line of my csm file, many thx.
Code:
0x00,0x00;"";"";;"";"回到家了啦";"";0;"\\%MDF1";"SMS";"IPM.SMStext";;;33;262144;2011,04,13,15,07,28;2010,09,12,22,10,50;1;"524296\;Kat\;99999999\;1\;0\;SMS";0;""
0x00,0x00;"Kain Kwok";"\"Kain Kwok\" <88888888>";;"";"幫我開電腦pls";"";0;"\\%MDF1";"SMS";"IPM.SMStext";;16;1;;2008,01,01,16,38,55;2010,09,22,09,29,45;0;"";0;""
0x00,0x00;"";"";;"";"整緊";"";0;"\\%MDF1";"SMS";"IPM.SMStext";;;1;262144;2008,01,01,16,38,56;2010,10,05,14,42,39;1;"524296\;Kat\;99999999\;1\;0\;SMS";0;""
0x00,0x00;"Kat";"\"Kat\" <99999999>";;"";"飲檸檬茶中..";"";0;"\\%MDF1";"SMS";"IPM.SMStext";;14;1;;2011,04,13,15,07,28;2010,10,05,14,46,55;0;"";0;""
0x00,0x00;"";"";;"";"飲緊燈汁!明天俾一支你!";"";0;"\\%MDF1";"SMS";"IPM.SMStext";;;33;262144;2011,04,13,15,07,28;2010,10,05,14,51,24;1;"524296\;Kat\;99999999\;1\;0\;SMS";0;""
0x00,0x00;"Kat";"\"Kat\" <99999999>";;"";"何時買?";"";0;"\\%MDF1";"SMS";"IPM.SMStext";;8;1;;2011,04,13,15,07,28;2010,10,05,14,52,55;0;"";0;""
0x00,0x00;"";"";;"";"今早";"";0;"\\%MDF1";"SMS";"IPM.SMStext";;;33;262144;2011,04,13,15,07,28;2010,10,05,14,53,23;1;"524296\;Kat\;99999999\;1\;0\;SMS";0;""

Categories

Resources