[P3600 ROM Development] xdmcdmc:
An easy and step by step tutorial of how to cook your own ROM for your Trinity using attached kitchen at the bottom of the post.

This kitchen uses Ervius and bebe work so I would like to thank them and all credits should go to them

for this great cooking tools (let me know if by mistake I forgot other guys).

This is a brief description of what you will find in the kitchen and how to use it.

OEM

================================================== ================================================== ==========

I used last WM6 official Trinity ROM to extract Trinity OEM packages (a lot of work to create those packages as

you find them on new devices). You may find all this packages in OEM_Trinity folder.

OEM folder contains Trinity original drivers, Trinity camera and a few Trinity packages that must be there

because new versions of those packages found on new devices are incompatible with Trinity drivers.

My advice is to always include the following Trinity packages in OEM folder:

DRIVERS

----------------------------

OEM_Lang_0409

OEM_DPI_96

OEMAPPS

OEMDrivers

OEMMISC

OEMOPERATORS

OEMVERSION

APPLICATIONS

----------------------------

PACKAGE_Trinity_Camera

PACKAGE_Trinity_HTCUtil

PACKAGE_Trinity_mHubVO

PACKAGE_Trinity_Power

PACKAGE_Trinity_VersionInfo

PACKAGE_Trinity_WLANSettings

IMPORTANT

----------------------------

1. When using packages from new devices (eg: Jade in my case) take care to NOT OVERWRITE

listed DRIVERS packages.

2. Also YOU SHOULD REMOVE Camera, HTCUtil, Power and WLANSettings from new

device OEM packages (eg: PACKAGE_Jade_HTCUtil, ...).

2.a Exceptions are mHubVO and VersionInfo: you have to include both of them (Trinity and new

device versions) in order to have Camera and other applications (eg: YouTube) functional.

3. DO NOT USE new device PhoneCanvans package as is not compatible with Trinity.

My current configuration uses packages from Jade device (look in OEM folder).

SYS

================================================== ================================================== ==========

For new builds of WM please use the same structure of folders as you find it already in the

kitchen (eg. SYS\21215).

ROM

================================================== ================================================== ==========

Use tool in Ervius kitchen to port new XIP to Trinity.

HOW TO PORT new XIP

----------------------------

1. Clean (erase all files and folders) Tools\XIP_new_ported folder

2. Clean Tools\xip.bin_old folder except *.bin files

3. Clean Tools\xip.bin_new folder except *.bin files

4. Copy new xip.bin file to Tools\xip.bin_new folder (overwrite if needed)

5. Run Ervius kitchen and press Xipporterex & ROM button

6. In Xipporter window uncheck option "Change PP to MB [16]".

7. Press PortIT!!!

8. Check that new xip is found in ROM\SHARED and ROM\Trinity folders (eg: ROM\SHARED\21215, ROM\TRINITY\21215).

Sometime the Xipporter crashes (something related to Cert or PP patcher): just close the error window

and let the tool to continue. In the end will ask if you want to copy new ported Xip to ROM folder and

press YES.

RELEASE_TRINITY

================================================== ================================================== ==========

Prepare ROM update utility depending on operating system you have installed on your machine:

1. Windows XP - copy content of RELEASE_TRINITY\Windows XP to RELEASE_TRINITY (overwrite any files there).

2. Windows Vista or Windows 7 - copy content of RELEASE_TRINITY\Windows Vista to RELEASE_TRINITY (overwrite any files there).

BUILDOS

================================================== ================================================== ==========

1. Copy new OS folder to SYS (must have the same folder structure as SYS\21215,

if not you will have to creat it using 21215 as a template)

2. Add/remove packages you want from OEM (see OEM section for more details)

3. Port XIP (see ROM section for more details) (optional - only for new build)

4. Run Ervius kitchen (in Windows Vista or 7 you might have to run as administrator -> right click on

Erviuskitchen.exe file and choose "Run as Administrator")

5. In Ervius kitchen choose the device, language, Xip build, ROM dpi, ROM res and SYS build you want.

Eg:

DEVICE -> TRINITY

Language -> 0409

XIP Build -> 21215

ROM DPI -> 96

ROM RES -> dpi_96_resh_240_resv_320

SYS Build -> 21215

6. Modify Version ROM (by default: 2.0.00.00)

7. UNCHECK Real WM 6.5 AKU (with this option enabled new ROM won't boot).

8. Check LZX Compression to reduce the size of ROM (might have an inpact on performance 1-4% reported by

author) (optional)

8. Press Save ROM (optional)

9. Press Create ROM and wait for the process to finish (until ROMUpdateUtility appears on screen)

10. Follow the instructions and flash the device (DON'T FORGET to backup all data you need from

main memory otherwise you will loose that data for good).

11. Wait until device is flashed.

Happy cooking :)

DOWNLOADS - UPDATED

==============================================================================================================

Changes:

1. Modified SYS in order to be able to run EzInput

2. Added WiFiSettings from Iolite

3. Added SDAutoRun, so ROMs are no complient with UC (user customization).

4. Removed QuickGPS due to some problems with the ROM.

5. Windows Live and Windows Messenger not working.

TRINITY kitchen - Build 21221 Full

http://www.4shared.com/file/104639324/ec3d5ec5/Dev_build_21221_Full.html

TRINITY kitchen - Build 21221 Light

http://www.4shared.com/file/104642584/777e91ec/Dev_build_21221_Light.html