Package Tool is an extension to Mamaich's imgfs tools
- Main function of this tool is to build packages for a new Rom Kitchen I'm working on
- Using this tool you can also extract the following information after creating a dump folder using viewimgfs.exe:
This tool is very useful for analyzing an unknown ROM, especially to extract the OS version and it will be much more useful after the release of the new ROM Kitchen.
It is also possible to execute the tool using the command line
About the package names
The names of the packages can be extracted from the dump folders for WM6, but WM5 contains GUIDs instead of names.
To provide the ease of WM6 "Package Names" for previous (i.e. WM5) ROMs, the tool collects all package names inside map.txt and replaces the GUIDs with the actual Package Names.
You must let the tool read a WM6 dump to collect the Package Names before it can replace WM5 GUIDs.
e.g.
- Building packages from a WM5 dump creates: 1bc57b2f-c0f3-46c6-8c2a-257952317eac
- Building packages from a WM6 dump creates: OEM_Lang_0409
- Building packages from a WM5 after it was used for a WM6 ROM also creates: OEM_Lang_0409
Extending the map.txt can be disabled by: Menu - Tools - Expand Map
Download: View attachment package_tool_v1.01.zip
- Main function of this tool is to build packages for a new Rom Kitchen I'm working on
- Using this tool you can also extract the following information after creating a dump folder using viewimgfs.exe:
- Core OS
Value: "Windows Mobile-based Pocket PC" or "Windows Mobile-based Smartphone" - Versions
Shows the version of the packages- SYS
This is the OS version
The example shows Crossbow, CE 5.2 Build:15341 AKU 0 - NET
This is the .NET Compact Framework version - OEM
This is the version of the OEM packages
The example shows only one,
but I've also seen ROMs with different versions for each OEM package.
In that case there would be multiple OEM entries
- SYS
- Language
The LANGID and the language of the ROM - DPI
The DPI (dots per inch) of the resources
this also depends on the resolution of the device
Value: 96 or 128 or 131 or 192 - Certificates
List of all certificates used for the packages.
The OS is signed my Microsoft and the OEM packages are using a certificate from the OEM - Missing Manifests
This is a list of all packages that are missing inside the dump folder.
It is normal that there are missing packages, because the packages from the boot section (XIP) are missing... don’t worry about them - Missing Files
This lists all missing files.
Someone edited the ROM or removed files from the dump folder!
Code:
[Selected Path]
C:\dump
[Core OS]
Windows Mobile-based Pocket PCs
[Versions]
SYS: 5.2.15341.0
OEM: 2.18.0.0
NET: 2.0.6129.0
[Language]
0409 - English (United States)
[DPI]
96
[Certificates]
CN=Microsoft Windows Mobile PCA, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
CN=OEM Sign 2005
[Missing Manifests]
d92a4f0a-378a-4482-8fd3-bd127a05e4de.dsm
723fb954-d931-4348-b672-82a188e587b5.dsm
13cb07c1-20b6-567f-dfcc-39d58b95e374.dsm
This tool is very useful for analyzing an unknown ROM, especially to extract the OS version and it will be much more useful after the release of the new ROM Kitchen.
It is also possible to execute the tool using the command line
- Usage: PKGTool.exe <path to the dumped ROM>
- This would just create packages, without any output
Because of this usage, you can just drag & drop the dump folder onto the tool
- This would just create packages, without any output
About the package names
The names of the packages can be extracted from the dump folders for WM6, but WM5 contains GUIDs instead of names.
To provide the ease of WM6 "Package Names" for previous (i.e. WM5) ROMs, the tool collects all package names inside map.txt and replaces the GUIDs with the actual Package Names.
You must let the tool read a WM6 dump to collect the Package Names before it can replace WM5 GUIDs.
e.g.
- Building packages from a WM5 dump creates: 1bc57b2f-c0f3-46c6-8c2a-257952317eac
- Building packages from a WM6 dump creates: OEM_Lang_0409
- Building packages from a WM5 after it was used for a WM6 ROM also creates: OEM_Lang_0409
Extending the map.txt can be disabled by: Menu - Tools - Expand Map
Download: View attachment package_tool_v1.01.zip
Attachments
Last edited: