[WM Kitchen] OsKitchen Zero v1.33.5: The Easiest & Most Complete Kitchen (20/10/2010)

Search This thread

tidus18

Senior Member
Nov 23, 2008
179
10
Kuala Lumpur
....
But I now have 8 different WinMo builds in my kitchen (mostly for testing purposes) and use the same dummies for all of them. Is it possible to implement the same feature you have for SYS also for EXT? This way we can use only one dummy package for all WinMo builds, instead of having to copy them to each SYS.

+1. Me too, i place my dummy packages under EXT, so i get warning on each build attempt. I try not to modify any files in SYS, so i copy the required files to EXT packages and modify them. So, it should overwrite the files in SYS during build process.

Great job airxtreme! Thanks.
 

jjblaster3

Inactive Recognized Developer
Jan 4, 2009
853
87
Hi,

Does anyone know if the new beta 5 version cfc compresses ext packages like GTX Theme or do i need to do that seperatly

Many Thanx

as long as u have enabled cfc compression it will check all ext packages if manila graphics files are available, and then works on compressing them so no matter what manila theme/graphics customization u add it will be compressed


File creation of the image files you are using: you should check the dates of the files you are using to replace the resources to see if they're the same. I changed the code to check for last modified instead, hoping that if that's the issue it will be fixed.

sorry for the late reply, had internet probs the past week so wasnt able to download the update, just wanted to let you know that it works fine now in beta5(skipped beta4), THANKS :)
 

Kalip

Member
Dec 17, 2006
16
0
I have a problem with this kitchen.

I have extracted all and have the right folder structure.

After trying to start oskitchen.exe, i'm getting the following error message.

Beschreibung:
Stopped working

Problemsignatur:
Problemereignisname: CLR20r3
Problemsignatur 01: oskitchen.exe
Problemsignatur 02: 1.0.0.0
Problemsignatur 03: 4c376d67
Problemsignatur 04: System.Xml
Problemsignatur 05: 2.0.0.0
Problemsignatur 06: 4a275e0f
Problemsignatur 07: 210a
Problemsignatur 08: 224
Problemsignatur 09: System.InvalidOperationException
Betriebsystemversion: 6.1.7600.2.0.0.256.1
Gebietsschema-ID: 1031


Running Win7 64bit, i have .NET 3.5 (updated today to 4.0), Visual C++ 2008 Redist x64, MSXML 4.0.
Was searching the whole forum, but no luck finding anything related to it.

Anyone know whats the problem ?
 

KilZone

Senior Member
Sep 14, 2008
145
1
Just overwriting the osKitchen.exe and the Resources folder will do the trick, the kitchen structure is the same. You might want to move the 'Dummy SQM' and 'Dummy FWUPDATE' to your EXT, as it saves a little disk space (couple of MB).

wow... i'm still on beta3....hehe working fine for me!

Do i need to redump everything on beta6??? :(
 

KilZone

Senior Member
Sep 14, 2008
145
1
I couldn't recreate the exact same problem, but the symptoms suggest your 'Resources' folder is incomplete. Try to re-extract everything from the archive, and not to create the folder structure yourself.

Just do the following:

  1. Download RAR
  2. Extract to Location
  3. Execute osKitchen (make sure you run it as 'Administrator')
  4. Import ROM

If this is still not working, you will have to wait for AirXtreme to see if he can recreate the problem (he is the real master here, I just know how to use the kitchen...).

[...] Beschreibung: Stopped working [...] Anyone know whats the problem?
 
Last edited:

KilZone

Senior Member
Sep 14, 2008
145
1
Sure, here they are: View attachment 359598

These files will replace SQM and FWUPDATE in the SYS, so make sure that you disable those packages from SYS (both dummies are smaller, contain only the required files, where the originals are larger). I included the registry settings I use for both packages, so should be plug-n-play...
Thanks for the tip Kil...

Do u want to share those packages???

@NIKOSXRI Those packages are OEM packages rather than EXT. They work great, but for use in the EXT of this kitchen they need to be altered slightly (like the packages in the download above). [And there is no reason to be sorry!]
 
Last edited:

airxtreme

Retired Recognized Developer
Feb 19, 2008
1,119
23
Running the latest BETA(5) and it's working great. Thanks for including the "disable kernel cleanup option".


I've read anecdotal reports that extreloc does a better job than platformrebuilder at handling modules. I found an old-style kitchen made for the Omnia that used extreloc and coverted it over for the rhodium. I've found that when using extreloc, modules (e.g NotificationEnhancement)) that have to be recmodded with platformrebuilder work fine with extreloc.

The big problem I've had with the old-style extreloc kitchen that I made is that the rgu files are not processed in the correct order by BuildOS. Using batch file, I can replicate everything that BuildOS does except rebuilding the packages.sof, so I'm stuck with BuildOS and ROMs that exhibit rather strange behavior.

Could this kitchen be converted to use extreloc?

Edit: Removed the part where I said I saw extreloc was in the OSKitchen tools folder. I was mistaken.

EXTReloc may be compatible with more modules but it's hard to automate (the window won't stay shut) and requires XIPPort that is a very nasty tool. Da_G is going to write relocation in his library and as soon as he's done I already wrote an internal build system that does everything platformrebuilder does without all the file copying to build ROMs with it. The only concerns with platformrebuilder are speed and compatibility because usually when platformrebuilder works even if slow it does the job very well however getting rid of platformrebuilder would allow me to could cut the building time from minutes to seconds because I probably won't even have to copy a single file but just feed a list to imgfsfromdump (and if I added a compression cache to imgfsfromdump the building would be almost instant because most of the files won't have to be compressed again).

I have a problem with this kitchen.

I have extracted all and have the right folder structure.

After trying to start oskitchen.exe, i'm getting the following error message.

Beschreibung:
Stopped working

Problemsignatur:
Problemereignisname: CLR20r3
Problemsignatur 01: oskitchen.exe
Problemsignatur 02: 1.0.0.0
Problemsignatur 03: 4c376d67
Problemsignatur 04: System.Xml
Problemsignatur 05: 2.0.0.0
Problemsignatur 06: 4a275e0f
Problemsignatur 07: 210a
Problemsignatur 08: 224
Problemsignatur 09: System.InvalidOperationException
Betriebsystemversion: 6.1.7600.2.0.0.256.1
Gebietsschema-ID: 1031


Running Win7 64bit, i have .NET 3.5 (updated today to 4.0), Visual C++ 2008 Redist x64, MSXML 4.0.
Was searching the whole forum, but no luck finding anything related to it.

Anyone know whats the problem ?

You have a problem with XML libraries (not MSXML 4.0 but the ones .NET uses) but I have no idea what it is about: it could be a corrupted Windows install or an antivirus messing with the XML library but it's a problem that is only happening on your machine since nobody reported it before and I tested the kitchen on clean windows installs.
 
Last edited:

toadlife

Inactive Recognized Developer
Aug 19, 2008
1,208
1,012
Lemoore, CA
EXTReloc may be compatible with more modules but it's hard to automate (the window won't stay shut) and requires XIPPort that is a very nasty tool. Da_G is going to write relocation in his library and as soon as he's done I already wrote an internal build system that does everything platformrebuilder does without all the file copying to build ROMs with it. The only concerns with platformrebuilder are speed and compatibility because usually when platformrebuilder works even if slow it does the job very well however getting rid of platformrebuilder would allow me to could cut the building time from minutes to seconds because I probably won't even have to copy a single file but just feed a list to imgfsfromdump (and if I added a compression cache to imgfsfromdump the building would be almost instant because most of the files won't have to be compressed again).

Thanks.

I know what you mean regarding automating extreloc and xipport.
 

Kalip

Member
Dec 17, 2006
16
0
You have a problem with XML libraries (not MSXML 4.0 but the ones .NET uses) but I have no idea what it is about: it could be a corrupted Windows install or an antivirus messing with the XML library but it's a problem that is only happening on your machine since nobody reported it before and I tested the kitchen on clean windows installs.

Thanks for the Info.
Yes, it's my machine. I testet it yesterday evening on my brothers machine and it was working. Hmm, i need to investigate then.
AntiVirus shouldnt be a problem, we both have the same with identical settings.
Maybe you have an idea where i have to look to fix it ? Re-Install of Win7 is the very last option, because i have so much stuff on it.
 

KilZone

Senior Member
Sep 14, 2008
145
1
Try re-installing the .Net Fx 4.0. You can do this by either going to the 'Repair' option in the Control Panel and then Software or by downloading the installer again. I think that if it is the .Net Fx, this is the most likely option to fix your problem!

Thanks for the Info.
Yes, it's my machine. I testet it yesterday evening on my brothers machine and it was working. Hmm, i need to investigate then.
AntiVirus shouldnt be a problem, we both have the same with identical settings.
Maybe you have an idea where i have to look to fix it ? Re-Install of Win7 is the very last option, because i have so much stuff on it.
 

tidus18

Senior Member
Nov 23, 2008
179
10
Kuala Lumpur
Bravo!

@airxtreme

Bravo! Your latest release seems no longer gives me prob with manila management. In previous builds with my kitchen setup, it would go into "Idling" when it hits Digital Compass with CFC compression enabled. I tried deleting dsms, removing my custom packages, etc and couldn't get it to work previously.

Thanks airxtreme! Your kitchen is getting better day by day and cooking rom never been easier! :):):D
 

pongskie

Senior Member
Mar 18, 2010
160
3
Riyadh (due to work..)
Hello guys! i'm really new about cooking roms but i'm willing to learn to be best that i can. Today i tried using this osKitchen, i loaded the stock rom:_HTC HD2_RUU_Leo_HTC_ARA_1.66.415.3_Radio_Signed_15.30.50.07U_2.06.51.07_Ship

and i loaded the build: 23569_MSXIPKernel_SYS_QVGA_WQVGA_VGA_WVGA_0409

then i remove some useless things in the sys packages,

then i hit the start building button..

but i'm afraid of flashing the output rom.. my hspl was 1.42, the current settings of my phone are in my sig.. please advise anyone..

Thanks and Regards,
Pongskie
 

NilsP

Inactive Recognized Developer
Jul 31, 2009
5,921
5,510
Near Albany NY
Samsung Galaxy S21
@airxtreme

Since you get a lot of "I am having problems" posts I thought I would post a positive experience.

Background: I have not had any luck with the 1.31 betas however, 1.30v3 was working perfectly. Kitchen would load and create a ROM but it would not boot.

Today: Installed 1.31beta6 and it is working flawlessly. Seems to run faster and the ROM is working perfectly.

By the way, this is on a DC22 i910 Omnia with 23569, 28236 and 23123
 

Kalip

Member
Dec 17, 2006
16
0
Try re-installing the .Net Fx 4.0. You can do this by either going to the 'Repair' option in the Control Panel and then Software or by downloading the installer again. I think that if it is the .Net Fx, this is the most likely option to fix your problem!

Yes, i did. Also, i tried the Net Framework Cleaner. No luck.
Anything else i can do ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    [WM Kitchen] OsKitchen Zero v1.33.5: The Easiest & Most Complete Kitchen (20/10/2010)

    Index of this thread
    1. (This Page) General Informations, Download links, Screenshots
    2. Using OsKitchen Zero (Tutorial)
    3. Moving from Ervius Visual Kitchen to osKitchen
    4. Frequently Asked Questions
    5. Useful Resources (Links where to find the latest Windows Mobile Builds and EXT packages)

    Description

    What does this kitchen do that others don't? You should ask yourself what the other kitchens do that this one doesn't because it literally does everything: importing the ROM directly from the EXE updater, detecting all the informations to rebuild the ROMs from the ROM file itself (no more messy BAT/CMD to edit to get things working), sorting the packages with the best EXT packages conversion engine available (no more EXT packages with weird names or out of place), building ROMs for different languages in the same pass picking all the correct windows mobile packages (EA/NonEA/AH/CS/Transcriber/Uniscribe/Fonts) to use, directly installing packages on the devices without having to flash each time (package installer), automatically recmodding of packages (without touching any of the original files) to allow cooking windows mobile 6.5 ROMs using older kernels, automatic manila CFC compression to save space and improve speed (and supporting latest manila builds where CFCGui has issues) and much, much more while keeping all the user interface well organized and being extremely easy to use. Start the kitchen, import a stock ROM and go! Give it a try and find out yourself how it lives up the hype or if still unconvinced scroll down to see how much simple yet complete the kitchen is by looking at the screenshots.

    Features

    The kitchen has the most streamlined and self-explanatory UI you can find, it can natively import and rebuild ROMs for all the devices in the supported list without having to mess with any batch/cmd files, it shows detailed informations about every Windows Mobile package and warn about conflicts and unmet dependencies, it can build multilanguage ROMs in the same pass by automatically choosing all the right localization packages required for each language, it can import windows mobile builds of any kind, convert OEM packages/CABS/HTC Hotfixes directly to EXT packages, can automatically recmod/UPX and natively compress/patch manila manila files with CFC, it automatically detects older kernels and suggests all the right packages to recmod to get the ROM working, it checks the ROM integrity while building to avoid many common user mistakes, has a lot of tweaks directly selectable with just a click from the kitchen interface, it has the most advanced search system available and much more.

    Supported devices
    • HTC: Artemis, Athena, Blackstone, Diamond, Elf, Gene, HD Mini, Herald, Hermes, Iolite, Jade, Kaiser, Leo, Mega, Nike, Opal, Polaris, Pharos, Quartz, Raphael, Rhodium, Sedna, Titan, Topaz, Trinity, Vogue, Whitestone (CDMA variants of all phones are supported as well)
    • Palm: Treo Pro
    • Sony-Ericsson: Xperia X1 (HTC Kovsky)
    • Samsung: i900/i910 (Omnia) (delete the giisr.dll in the OEMXIPKernel folder or the ROM won't boot)
    • Asus: P565 (XDA Zest) (even thought not officially on the list the kitchen can import the NB0 ROM extracted from the ABI file with p835abisplit2)
    • Other devices, with caveats: as long as you have tools to convert between NB and your phone format the kitchen should work fine unless platformrebuilder doesn't support your device (I.E. it crashes). If platformrebuilder DOES NOT support your device you can still put a dummy NK.exe from another device to stop platformrebuilder from crashing (be sure the NK version (6.1/6.5) is the same) and insert your own crafted XIP.bin (there's a setting in Advanced Tweaks to use a custom xip file).

    Download link
    (First time using osKitchen? Read the brief tutorial in the 2nd post)
    v1.33.5 All in one package:

    DISCLAIMER: This software is provided "as is" and I don't take any responsibility for any damage caused to phones or anything else. I added all sorts of integrity checks I could think of to prevent the generation of invalid ROM files and so far none of the thousands of users who downloaded the kitchen reported invalid ROM files but just like when flashing any cooked ROM don't forget that there is always the risk that the phone may end up bricked (due to defective usb controllers, defective cables, defective phone memory, wrong radio file, software interfering with the flashing tools, power outages, etc).

    System requirements
    • Microsoft .NET 2.0 (.NET 3.0 and 3.5 are 2.0 based so those work as well), already preinstalled on most computers, the kitchen won't start without it so it's easy to find out if it's missing
    • The following three system requirements also are preinstalled on most computers; the kitchen will warn you if they are needed so don't worry installing them unless required:
      • Microsoft Visual Studio 2008 runtime, required by xidump during the importing process
      • Visual Studio 2003 (7.1) Runtime Libraries, required by platformrebuilder to solve the "cereg400.dll cannot be loaded" error message, required by XIDump to solve the "Failed to init decompression!" error message and required by IMGFSFromDump to solve the "Unable to load compression DLL!" error message. Copy those libraries in the Resources\Tools folder and if that still doesn't work in the system32 subfolder of your windows folder (the right subfolder for 64bit systems is syswow64)
      • XmlLite Update Package required to solve the "Unable to load LibNB.dll" errors (only for Windows XP SP2)

    Changelog from v1.33.4 to v1.33.5
    • Fixed os.nb file deletion issue for devices with no sectorinfo

    Changelog from v1.33.3 to v1.33.4
    • Fixed delete shadow order entries not being saved
    • Implemented internal manifest management to reduce disk overhead during package scanning
    • Implemented detection of registry values that are found without a preceding registry key specifier
    • Improved file copy and file deleting speed

    Changelog from v1.33 to v1.33.3
    • Fixed issue with packages with duplicate files causing errors in the package installer
    • Fixed issues on CAB files with "\." InstallPath attribute
    • Un-tied Calibration Data and Skip Welcome screen settings
    • Fixed IMGFS cache not being applied correctly
    • Fixed issues when installing packages registry files containing multi_sz strings with the package installer
    • Fixed new packages sorting issue

    Changelog from v1.32 to v1.33
    • Fixed issue when using a drive root directory as temp folder
    • Fixed a localization manager issue that was causing longer startup times
    • Fixed some issues in CAB file folder mapping
    • Fixed the kitchen truncating i780/i900 BIN files
    • Added error messages when the DPI or MUI settings are missing on the phone
    • The kitchen now allows importing ROMs even when the language folder is missing (multilanguage Samsung ROMs)
    • Added a warning when the initflashfiles/app.dat files are not Unicode
    • The kitchen now reads app.dat as ASCII when Unicode characters are not detected
    • Fixed issue in which the initflashfiles.dat file was left locked for a few seconds during the import process prompting a retry/cancel file operation
    • Added detection and parsing of DPI_ EXT subpackages

    Changelog from v1.31 to v1.32
    • Implemented total integrity check that checks all the structure of packages, modules and every single line of initflashfiles/registry files for issues. All the issues within the package will be shown next to the package name in the packages list.
    • Added support for variables in initflashfiles.dat, app.dat to make localization easier (because the variables will be replaced with the correct localized folder when the ROM is built). The list of supported variables can be found in the FAQ of the official osKitchen thread.
    • Added “RAM Drive Mode” setting to have additional cleanups performed during the build process to reduce the space usage of the temporary folder
    • Fixed crash when trying to open a search result file that has a defective associated application
    • Implemented total integrity system: every package, DSM, module and initflashfiles file will be validated for integrity and all the problems detected will be shown with an error/warning icon on the left of the package
    • When importing a ROM the initflashfile values are saved with the converted hexadecimal values like the generated app.dat files
    • When importing a ROM the progress bar will now warn of temporary folder cleanup even when the import has failed
    • Removed the unnecessary PackagePath attribute from the project files
    • Fixed the kitchen crashing when the resources folder was missing or the command line parameters were wrong
    • Renamed universal package converter to universal package importer
    • Fixed LCID validation not checking the LCID length correctly
    • Fixed the pagepool size patching message reporting unlimited instead of the real size
    • In-line comments are now maintained when the initflashfiles is split during the ROM import
    • When importing a ROM the initflashfiles lines that are not valid will now be commented out
    • Removed the %LCID% variable as alternative to %ROM_LCID% in the ROM filename
    • The ROM filename variables replacement is now case-insensitive and the value of the variables has any non-filename friendly characters removed
    • Remove Uniscribe/Transcriber mutual exclusion warning
    • Improved error handling during the NBH generation process
    • Fixed error message during build when packages contain more than one RGU file
    • Fixed some registry entries being unrecognized when tabs were used for spacing
    • Fixed the recmod messagebox appearing twice when the device is selected and no is chosen as answer
    • Fixed the windows mobile build importer not deleting the imageinfo.txt files in modules
    • Implemented a rudimentary “Install Package on device” function that allows installing a package on the device to avoid having to flash the phone for every changed file. Currently only sends the main package (no LCID/res subpackages), doesn’t apply registry entries and applies initflashfiles entries with no variables replacement.
    • Fixed the kitchen crashing when the packages contained corrupted DSM files
    • Fixed WinCENLS_Lang_RTL_0401 detected as having the wrong syntax
    • Fixed error messages saying that the packages had a wrong syntax on _CS packages
    • Fixed Danish appearing as “da-dk” and “Portuguese” listed as “Portugese”
    • Fixed the locale listview showing the LCID in the country code column
    • Now the locale combobox shows the locale name and country instead of just the LCID
    • Implemented automatic Unicode detection in initflashfiles.dat files
    • Fixed the file copy operations continuing even after the non-resumable error message
    • Fixed package validation not working in the universal package importer/windows mobile build importer
    • Added an “Expand all” context menu entry for search results
    • Added warning when wince.nls ends up in both XIP and IMGFS partitions
    • The packages issues are now listed by subpackage
    • The “Install Package on Device” function now also includes the subpackages, the settings to compile the packages are extracted from the phone itself and all registry values except multistring/binary are added
    • Removed missing DSM warnings
    • Implemented binary entries support in the “Install Package on Device” function and fixed temporary folder issues
    • Fixed duplicate DSM creation in package properties and reduced the wait before the packageproperties form is shown
    • Fixed error message when loading old kitchen project files
    • Added support for REG_NONE registry keys
    • The kitchen GUI is now shown before the project files or imported ROM informations are automatically loaded
    • Fixed the new DSMs file for SYS/OEM packages being saved with a Guid different from the registry key one
    • Added support for REG_MULTI_SZ on “Install package on device”
    • Fixed the kitchen leaving old combo box values when loading projects referencing non-existing devices, profiles or windows mobile builds
    • Search now removes unnecessary wildcard characters from the search string when wildcard mode is enabled to improve search speed
    • Renamed “Empty project” to “New project”
    • Fixed crashes in “Install package to device” with some SYS/OEM packages
    • Implemented integrity check support for boot_ms.rgu and boot.rgu files
    • Removed TGTool from the kitchen archive
    • Disabled F5 refresh during ROM generation
    • Implemented path variables support in the “Install package on device” function (note: the WM build on the phone must be present in the kitchen and have the build number as folder name for the localization to work)
    • Fixed issue with "Install package on device" function and short filenames and multiple initflashfiles files
    • Halved the time required for project loading and packages list refreshing
    • Implemented IMGFS support for unicode characters
    • Implemented CE variables support in “Install package to device” function
    • Added HTC Oboe to the devices list
    • The sort column order is now reapplied after loading a project instead of defaulting to sorting by name
    • Fixes some issues with empty DSM files
    • Fixed crash when using unicode package names
    • Added check to prevent boot.rgu and boot_ms.rgu from being present in non-XIPKernel packages
    • Fixed the locales combo box not being refreshed after a new ROM has been imported
    • Fixed issue in which the kitchen would save a DSM file with random name instead of overwriting the correct DSM file if the source DSM file was corrupted
    • Implemented case insensitive manila.exe/mode9 CFC patch
    • Completed translation entries list for ROM importer
    • Added tools error handling in UPX/Recmod/PNG Compression/xidump/nbimagetool/TGTool/o2Util/ImgfsFromDump/OsNbTool/Platformrebuilder
    • Fixed erroneous error handling in imgfsfromdump that was causing file copy error messages if the tool failed
    • Fixed reduced OS file generation ignoring imgfsfromdump error messages
    • Fixed TSW/MST management not checking that the output file was correctly created
    • Fixed the kitchen ignoring missing custom user tools error messages and continuing the build process
    • Initflashfiles parsing now parses files as UTF8 when the UTF16 BOM header is not detected
    • The registry file validation now checks if the REGEDIT4 header is present
    • Fixed the locales selection combobox not detecting new language changes during refresh
    • Fixed “Install to device” function copying square resolution packages for some resolutions
    • Fixed LCID EXT packages lacking the RGU file not being moved into the correct main package folder
    • Fixed registry validation generating errors about dwords where values have initial spacing/tabulation
    • Added translation entries for the module validation messages
    • The kitchen now reads partitions informations from the OS.NB file and calls osnbtool with the proper partition numbers (to support older ROMs without ULDR)
    • The kitchen can now extract BIN files from more updaters (Samsung i780 and others)
    • Added translation entries for OS.NB generation error management
    • Added translation entries for the registry validation error messages
    • Improved error messages (added categories) on the error tooltips
    • Added translation entries for the package validation error messages
    • Added translation entries for the initflashfiles validation error messages
    • Added translation entries for the manifest validation error messages
    • Added initflashfiles variables for Application Data (%CE19%) and Program Files\Games (%CE8%)
    • The initflashfiles entries of imported CAB files are now mapped to the correct initflashfiles variables

    How to use

    Once unpacked the kitchen is ready for use, as soon as you start it you will be asked to import data from a stock ROM.

    Screenshots

    oskitchenv1321.png

    oskitchenv1322.png

    oskitchenv1323.png

    oskitchenv1324.png

    oskitchenv1325.png

    oskitchenv1326.png

    oskitchenv1327.png

    oskitchenv1328.png

    oskitchenv1329.png

    oskitchenv13210.png


    Tree Structure

    The new kitchen structure is very simple however it requires a ROM to be imported for device configuration files to be generated. Always import a ROM for your device and start working on it.

    • Output - Where generated roms are saved
    • Projects - Where the project files are saved
    • Resources - Tools and other internal kitchen files, shouldn't be touched!
    • Sources - Contains all the files of your Windows Mobile builds and Devices
      • Devices
        • #DEVICE NAME# (You can use the name "Common" to share packages between multiple devices)
          • EXT Packages - All the EXT packages must go here
          • OEM Packages - All the OEM packages must go here
          • Profiles
            • #Device Profile Name# - Contains the "Device Informations.XML" file and all the various packages required for building the ROM
              • NBH Structure - Contains files required by the kitchen to rebuild the NBH correctly
              • OEMXIPKernel - The OEMXIPKernel with all the device drivers and native kernel must go here
              • NB Structure - Contains files required by the kitchen to rebuild the Os.NB correctly
              • ROM Parts - .ROM, .VM, imgfs-template.bin, romhdr.bin and other files needed for relocation and XIP/IMGS generation must go here
      • Windows Mobile Builds
        • #Windows Mobile Build Number#
          • All - The language-neutral DPI and Resolution files must go here
          • Common - All the language-neutral Main Packages must go here
          • #LCID FOLDER# - All the localized packages must go in the appropriate LCID folder

    Additional files
    4
    Using OsKitchen Zero

    What you need to know first
    The first thing you need to know is that Windows Mobile is not like a desktop operating system: you can't take a ROM from another phone and flash it on a different phone model because Windows Mobile relies on an extremely specific kernel and drivers that are compiled by the manufacturer for each device model. The Windows Mobile ROM contains only the Windows folder - yes, that's right, the ROM is just the plain Windows folder with NO subfolders - while every other folder (Windows\Start Menu, Program Files, My Documents and also Start Menu links etc.) is generated when the ROM boots the first time.

    Every official Windows Mobile ROM is composed of packages. Microsoft and device makers create those packages to split windows mobile and the additional software into separated components. The real "Windows Mobile" code, interchangeable between phones, is stored in packages commonly called SYS packages, while everything the manufacturer added (the drivers and the additional applications for customization) are called the OEM packages. The EXT packages are "fake" packages that the kitchen uses to overcome the limitations of standard packages (for example EXT packages are often used to build multilanguage packages without having to create a single additional package for each language).

    The Windows Mobile package structure is very simple. SYS and OEM packages are identical in structure and can only contain:
    • A DSM file (a file that contains some package informations, 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)
    • 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.
      Note: A SYS/OEM package cannot have any subdirectory with the exception of modules directories.

    EXT packages - that as already said are "fake" packages that are converted to the Windows Mobile package format by the kitchen - have a different layout: everything goes into a "files" folder except the registry files (app.reg), dsm files, initflashfiles entry files (.dat) and there can be subfolders with a LCID (language-ID) code as name (a LCID is a string composed of four HEXadecimal numbers identifying a language, e.g. 0409 for US English, 040C for Spanish, etc.) to store language-specific files in the same structure (.dsm and .reg in another "files" subfolder, like for the main folder).

    EXT packages are the main way custom packages or packages from other devices are distributed on websites and forums. Recent HTC ROMs contains additional informations that allow kitchens to automatically convert OEM packages to the more user-friendly EXT packages: this allows to quickly remove applications just by disabling the package; other ROMs instead have everything stored in a single package (usually OEMMisc) and require more work to remove original applications.

    The only important thing you still need to know is how the rest of the filesystem structure (Program Files, My Documents, Start Menu, etc.) is created during the first boot. All the system folders are generated and populated during the first boot because, as wrote before, the ROM contains only the Windows folder. Windows Mobile has two facilities for the first-boot (hard-reset) initialization: INITFLASHFILES.DAT, a text file that is usually in the OEM_Lang folder and that only allows creating folders and copying files (Documents folders, default pictures, and most start menu entries are usually added this way) and .PROVXML files that are some XML files that can do other advanced operations (like setting registry keys, certificates, phone settings).

    Usually anything you can perform with PROVXML files, that unfortunately are difficult to edit and require a large knowledge of the format, can also be easily performed using initflashfiles and registry files. You can use the app.dat and app.reg files inside EXT packages (or initflashfiles.txt and RGU files in OEM packages) to add entries to both the initflashfiles file and to the registry: the kitchen will use them properly during the building process adding the app.dat entries to initflashfiles.txt and the reg entries to the final registry (the ROM boots with a precompiled registry HV file but you'll usually never have to mess with that when using a kitchen).

    Manufacturers also use some advanced proprietary post-install tools to install custom cabs, apply themes and operator configurations (e.g. AutoRun, RunCC). Those rely on TXT configuration (*config.txt) files and can cause trouble (error messages about missing files during the first boot) when removing packages or files from packages that those config file point to if you don't update them.

    When you want to upgrade a Windows Mobile Build the changes in the start menu are usually so many that it's REALLY recommended to start over with a new fresh initflashfiles.txt for that windows mobile build (you can find one for each language in the Da_G's rollup threads). Since in the official ROMs the start menu entries are all crammed into the initflashfiles.txt file (the app.dat exists only in the "fake" EXT packages) you will have to either take the time to create app.dat files for each package or to copy back all the initflashfiles entries for OEM/EXT applications back after you put the new initflashfiles for the windows mobile build you changed. The kitchen will try to move the config.txt and initflashfiles entries inside the correct packages while the ROM is imported to make SYS upgrades easier.

    Now that you know the basics you can proceed to the first step...

    Preparing the kitchen (Importing the Device ROM file)
    1. Download osKitchen Zero and unpack the ZIP archive
    2. Find a ROM update file for your device: the kitchen can import the EXE from all HTC and some Samsung updaters or alternatively the raw ROM file (the main used extensions: .NBH,.BIN and .NB are supported)
    3. Open osKitchen Zero and the Import ROM Wizard will open
    4. Select the device you want to work on from the drop-down list, you can actually write any device name because the list is just for reference to make sure people understand that the kitchen has been tested only with those devices
    5. Select the ROM update file
    6. Click NEXT

    Building your first ROM to make sure everything works
    At this point the main kitchen window will open. Since you imported a ROM all the "Project Settings" options will only have one choice, go on and select the only available choice for all the fields (device model, device profile, windows mobile build, language) and clicking Yes in case the kitchen asks you to automatically apply recommended changes should be enough to build a bootable and working ROM. The only setting that has more than one choice is the Compression setting that if you want to have the most available space to add your programs should be set to "LZX", if you want to use another compression first make sure that your phone will be able to flash a bigger ROM file.

    Now you can go ahead and build your first ROM by clicking the "Start building button": the kitchen will work for a while, then tell you that the building process has been completed and ask you if you want to open the Output ROM folder; you can then answer yes, take the ROM file that has been generated and flash it, making sure it's the right format for your phone.

    NOTE: don't try importing a ROM made for other phones different than the one you want to flash because the kitchen will rebuild the ROM for the device you imported and not any other. If you flash a ROM made for another device you risk bricking your device.

    Once the ROM works (if it's a supported device it should work fine on the first try, if it doesn't please report the issue here so we can help fixing it) you can start working on the ROM. So that's it, you're ready to go. If you read the "What you need to know first" you will probably already have an idea of where to start for whatever change you want to do.
    4
    This is what I found in my archive.

    seems like i packed a useful file it into the kitchen zip... maybe it's the right thing for ya.

    [edit]further research revealed this msvcr file
    1
    Moving from Ervius Visual Kitchen to osKitchen
    1. Open osKitchen and import the latest ROM for your device
    2. Replace the OEM packages
      • Locate the folder oskitchen created in your device (it's in the Sources folder) and delete all the packages in the "OEM Packages" folder
      • Open the OEM folder in the Ervius Kitchen folder, locate the folder of your device and copy&paste all the OEM packages that are inside the Common and the LCID folder (0409 for english, etc.) into a folder with any name you want inside the osKitchen "OEM Packages" folder (where you deleted them). The .VM folder can be ignored.
    3. Replace the EXT packages
      • Locate the folder oskitchen created in your device (it's in the Sources folder) and delete all the packages in the "EXT Packages" folder
      • Open the EXT folder in the Ervius Kitchen folder, locate the folder of your device and copy&paste all the folders that are inside the Common (usually empty) and the Windows Mobile Build subfolder (it's a 5-digit number) in the osKitchen "EXT Packages" folder (where you deleted them).
    4. Replace the OEMXIPKernel
      • Locate the folder oskitchen created in your device (it's in the Sources folder), go in the Profiles subfolder and then in its "default" subfolder, you'll find a folder named OEMXIPKernel, delete it.
      • Open the ROM folder in the Ervius Kitchen folder, locate the folder of your device, open the Windows Mobile Build subfolder (it's a 5-digit number) and then copy the OEMXIPKernel folder in the osKitchen "Profile\default" subfolder (where you deleted it).
    5. Import the Windows Mobile Build
      • Locate the oskitchen Sources folder, open the "Windows Mobile Builds" subfolde and delete any folder in there.
      • Create a new folder with the number of the windows mobile build present in ervius kitchen (5-digit number) and create three subfolders inside: Common, All and a LCID one for each language (0409 for english, etc)
      • Open the ROM folder in the Ervius Kitchen folder, locate the folder named "Shared", open its Windows Mobile Build subfolder (it's a 5-digit number) and copy the MSXIPKernel folder in the osKitchen Windows Mobile Build "Common" folder you created earlier.
      • Open the SYS folder in the Ervius Kitchen folder, locate the Windows Mobile Build subfolder (it's a 5-digit number) and proceed as following:
        • Everything in the "Common" subfolders of the folders that start with DPI_ goes in the "All" folder you created in the osKitchen Windows Mobile Build folder.
        • Everything in the LCID (0409 for english, etc) subfolders of the folders that start with DPI_ and of the SHARED folder goes in the LCID (0409 for english, etc) folder you created in the osKitchen Windows Mobile Build folder.
        • Everything in the "Common" subfolder of the "SHARED" folder goes in the "Common" folder you created in the osKitchen Windows Mobile Build folder.
    1
    I have extrated cryp32.dll from my cooked rom 29315 AKU 6.5.3.12.37 (enable/fix SHA2) using ROM Extractor. Maybe files can be copied to windows folder with total comander.

    Other option could be recmod the crypt32.dll & crypt32.dll.0409.mui folders with this tool: http://xdaforums.com/showthread.php?t=576027

    Not sure if it will work. Please report.

    Use at your own risk.