[Windows Mobile] hilaireg:
Kitchen 9.7 & implantxip 1.1: Validating NoCERT Patch on Raphael

Hi Ervius,

I just created a clean new kitchen (Tools 9.7 & implantxip 1.1) using the official HTC 5.05.405.1 .NBH file. I added added the following switches to the kitchen_build_rom.bat, command line looks like this:

..\TOOLS\implantxip -xip xip.bin -payload OS.nb.payload -imgstart 0 -uldr -NoCert -PP 16 | ..\tools\mtee /+ ..\%LOG_FILE%

Selected Raphael from drop-down list and clicked Create ROM. Output in log shows the following:

...

Implantxip & Payload Resizer v. 1.1 by ervius!!!

BLOCKS SIZE IS: 00020000

ROM Block is : 00000800

ImgStart MIN Val. SETTED - ULDR Reducing...
....................................
Preparing payload to be resized.....
....................................
Before:
XIP.BIN Target Size: 003DE1F4 AdjSize: 003DFFFF

ULRD in Payload Start:00001000 Size:0031EFFF End:0031FFFF
XIP in Payload Start:00320000 Size:0047FFFF End:0079FFFF
IMG in Payload Start:007A0000 Size:0001FFFF End:007BFFFF
FAT in Payload Start:007C0000 Size:1D01FFFF End:1D7DFFFF
After:
XIP.BIN Target Size: 003DE1F4 AdjSize: 003DFFFF

ULRD in Payload Start:00001000 Size:0001EFFF End:0001FFFF
XIP in Payload Start:00020000 Size:003DFFFF End:003FFFFF
IMG in Payload Start:00400000 Size:0001FFFF End:0041FFFF
FAT in Payload Start:00420000 Size:1D01FFFF End:1D43FFFF

[COLOR=blue][B]XIP PagePool Sign not Found![/B][/COLOR]
[B][COLOR=blue]XIP PagePool from: 6 Mb, to: 16 Mb[/COLOR][/B]
[B][COLOR=blue]XIP Successfully Nocert patched![/COLOR][/B]

Payload resized and XIP Inserted into: OS.nb.payload
ImgfsFromNb 2.1rc2

Sector size is 0x800 bytes
ImgFs partition starts at 0x00400000 and ends at 0x00420000
Dumping IMGFS at offset 0x00400000 (size 0x00020000)

Done!
ImgfsFromDump 2.1rc2
Using compression type 'XPR'!
Sector size is 0x800

...

PagePool Validation:

PagePoolChanger 2.21 by OM-BY

URL: http://xdaforums.com/showthread.php?t=323269

Opened the final ROM to confirm PagePool was changed and could be changed to a different value using the tool.

OK :)

No CERT Patch Validation:

AutoPatcher 01 by cmonex

URL: http://xdaforums.com/showpost.php?p=2812111&postcount=23

TEST1:

Opened the final ROM to confirm CERT was patched to "No CERT". The tool indicates that "Cert Patched Successfully".

TEST2:

Opened the .\TEMP\XIP\NK.EXE\S000 to confirm CERT was patched to "No CERT". The tool indicates that "Cert Patched Successfully".

TEST3:

Re-opened the final ROM to confirm CERT was patched to "No CERT". The tool indicates that "Already Patched By This Program".

TEST4:

Opened the .\TEMP\XIP\NK.EXE\S000 to confirm CERT was patched to "No CERT". The tool indicates that "Already Patched By This Program".

I was expecting to see the Already Patched By This Program in TEST1 and TEST2. I have attached the tools I used to this post and here is the link to the source .NBH that I am using in case you need to test.

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

http://rapidshare.com/files/1939660...igned_Raphael_52.58.25.30_1.11.25.01_Ship.rar

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

* EDIT *

Stuck a pause Pre and Post implantxip; made a copy of the Pre XIP.BIN and a copy of the Post XIP.BIN. Compared the two - different; dumped both via XIPPORT and tried autopatcher01 on Post NK.EXE -

it is

indeed NoCERT patched.

Thanks Da_G.