[Touch Pro2, Tilt 2 Windows Mobile ROM Development] At0mAng:
Continued

Preparing Your Facility

Before you can begin to cook your own ROM, you need to equip your facility with some Kitchen utensils. Your Kitchen is going to require a good Unicode & UTF-8 text editor; I personally use ConTEXT & Notepad. Another handy utensil to have is a comparison utility for date/file/binary comparisons; I use WinDiff & BeyondCompare. Some other utensils that you're going to require are: Microsoft ActiveSync, .NET Framework 2.x/3.x. You will also need an archive extraction utensil; I use IZArc, WinRAR, and WinZIP. You’ll also need a good Hexadecimal calculator; I use Windows Calculator (Scientific Mode).

It's also a good idea to ensure that your Kitchen remains "pest" free; common pest control services include AVG, McAfee, and Symantec anti-Virus. You'll need to add the RaphaelWrapper tool to your list of anti-virus exclusions as it may be detected as a "Generic Dropper (Trojan)".

References

CustomRUU for Raphael

http://xdaforums.com/showthread.php?t=410761

To assist you in your apprenticeship, I have included a link to the Generic Visual Kitchen that I used to prepare this guide - the kitchen also includes a .DOC and .PDF format of this guide. The procedures were tested against a GSM Raphael device. I can’t confirm that these procedures will work on CDMA device ROM’s. Additionally, other device ROM’s may not be compatible with this kitchen format.

Generic Visual Kitchen (17 MB)

http://rapidshare.com/files/24006232...n_31052009.rar

You’re going to need a RUU_SIGNED.NBH file; I used the following HTC Official Generic ROM – you’ll need to extract the contents of the .EXE and .RAR/.ZIP using an archive utensil.

[ROM] [WWE] Raphael HTC 5.05.405.1 Radio Signed (52.58.25.3 0,1.11.25.01)

http://rapidshare.com/files/19396608...25.01_Ship.rar

http://www.megaupload.com/?d=0F50UM5K

For the purpose of this guide, I will assume that you have added the C:\XDA\ folder, sub-folder, and files to your anti-virus exclusion list – at the very least RaphaelWrapper.exe – and that the contents of the Generic Visual Kitchen were extracted to the following folder.

C:\XDA\MY_VISUAL_KITCHEN

The guide is divided into the following sections:

Extracting the RUU_SIGNED.NBH Contents ....... 4

Reducing the .PAYLOAD File ................... 5

Extracting the XIP.BIN Contents .............. 6

Increasing the Data Cache .................... 7

Unlocking the Paging Pool .................... 8

Disabling Certificate Checking ............... 9

Reducing the Update Loader (ULDR) Partition .. 10

Changing the Unsigned CAB Policies ........... 11

Changing the Unsigned Themes Policies ........ 12

Changing the Remote API (RAPI) Policies ...... 13

Compiling the New RUU_SIGNED.NBH File ........ 14

Flashing the RUU_SIGNED.NBH File ............. 15

Advanced Topic: XIP Porting .................. 16

Sous-Chef's TIPs ............................. 20

I will attempt to provide an overview, the list of tools required, and the process to follow in each section. As you become more comfortable (and familiar) with the activities, you will find that you can consolidate (or skip) certain outlined steps. Incidentally, you'll probably want to keep these web links open in case you need to lookup some of the terms or concepts in the guide.

Acronyms

http://wiki.xda-developers.com/index...ename=Acronyms

Glossary

http://wiki.xda-developers.com/index...ename=Glossary

Development Resources for Windows Mobile

http://xdaforums.com/showthread.php?t=445396