[Touch GSM ROM Development] leondaphillips:
Hi Everyone

I'm posting this to help out CyZeek.

To capture ELF/ELFIN Device ID and CID ID using MTTY and USB Monitor Lite on

XP SP2 and Vista x64

You will need:

1. A demo copy of USB Monitor Lite

http://www.hhdsoftware.com (the demo is fully functional for 14 days).​

2. A Copy of MTTY (and you need to be basically familiar with it)

Put your Device into Boot Loader

Assuming your device is not already at the TSoD (Tricolour Screen of Death) - if it is skip this instruction and move on to the next section.

1. Press and hold your camera button

2. Press reset with stylus

3. Wait 5 seconds and release the camera button

Kill ActiveSync USB Connections - XP

1. Reboot your PC with without a mobile device connected to USB.

2. After your PC has rebooted Right Click the Active sync Icon in the system tray and select "Connection Settings"

3. Turn off USB

-or-

Kill ActiveSync USB Connections - Vista

Download and install MS Windows Mobile Device Centre from here: http://www.microsoft.com/windowsmobile/devicecenter.mspx

1. Reboot your PC with without a mobile device connected to USB.

2. After your PC has rebooted click Start -> All Programs -> Windows Mobile Device Centre

3. Hover over Mobile Device Settings and Click on Connection Settings.

4. Turn off Allow USB Connections

Connect Your Device to USB

1. Plug in the USB cable

Turn On Spoofing / packet capture

1. Install the demo version of USB Monitor Lite (DMS) and Start Device Monitoring Studio.

2. Connect your device which should be in TSoD (Tricolour Screen of Death) boot loader.

3. Click the item entitled "Pocket PC USB Sync" which activates the main screen

4. Double-Click the item entitled "Packet View" in the Session Configuration Screen.

5. Click the Start button in the selected processing region

You'll know you got this right because you will see two packets displayed:

PnP: Device Connected

Internal: Pipe Info Transfer​

6. Leave the USB Monitor running

Run up MTTY, Log In and Issue “getdevinfo” Command

For details on downloading MTTY and recovering from the TSoD see this thread: http://xdaforums.com/showthread.php?t=347700

1. In "Open Port Setting" Dialog Set to Port = USB

2. Flow Cont = RTC/CTS

3. Click OK

4. When a new communication page opens press Enter and the Cmd> prompt will be displayed

5. Type password BsaD5SeoA <enter> (a lot of diagnostic info will be displayed).

Somewhere near the end you should see

g_cKeyCardSecurityLevel = FF

Which will tell you that you're CID Locked​

Check that USB Monitor is running (you may need to press the "continue 14 day trial" button to get the capture to continue)​

6. Type getdevinfo and press <enter>

These commands are case sensitive!

Cmd>getdevinfo

HTCSELF030050œ=Ó HTCE​

7. Leave MTTY running

Swap Back to USB Monitor

1. Starting at the last packet in the list, double click each row whose Direction is "Up"

2. The 12th packet from the end of the list when I did mine had the device ID and CID packet shown below.

45 4C 46 30 33 30 30 35 30 00 00 00 00 00 00 00 ELF030050.......

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

54 2D 4D 4F 42 30 30 35 00 00 00 00 00 00 00 00 T-MOB005........

00 00 00 00 00 00 00 00 00 00 00 00 00 00 -- -- ..............

Copy and paste the text into a text file and keep for future reference as the Device ID and CID ID are useful in determining the right ROM files to use as well as the wrong ones.

To Re-Enable Boot on a Good Device

Unless you tell the device where to boot from it will go back to boot loader every time so you need to re-enable boot from ROM.

These commands are case sensitive!​

1. Swap back to MTTY session

2. Type ruurun 0 <enter>

3. Type ResetDevice <enter>

Hope this helps.

Yours

Leon