[Upgrading, Modifying and Unlocking] mikeycrawford:
Simon,

I recently had problems getting my XDA Exec to sync over Bluetooth with Activesync. I was able to prove that it was an issue with the phone and not the PC as I also have an XDA2 running WM5 and it could pair with the PC and then Sync fine. Also, if I hard reset the XDA Exec, it would pair again.

Whenever I paired the XDA to the PC it would always offer "Serial Port" as a service and not "Activesync". I spent a good while thinking that it must be the PC at fault, maybe Activesync was setup wrong, but the XDA2 proved the PC was fine.

In desperation I had a dabble with the Registry and deleted a few sub keys in and around HKLM\Software\Microsoft\Bluetooth and eventually got it working again. The NON working Registry is below. The subkeys I deleted were

Bluetooth\Activesync\000a3a644396

Bluetooth\Device\000a3a644396

and I also changed

Bluetooth\Activesync\Initialised=1 (was 0 before)

After this, when I paired to the PC and it looked for the services, the WIDCOMM icon on the PC would kick into life and say that the XDA Exec was trying to access a COM port, click here to allow it, and when I did I was presented with "Activesync" as a service. Before, I was getting nothing from the WIDCOMM icon (other than to say to enter the PIN).

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Serial]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Serial\Ports]

"SupportedPorts"=hex(7):43,00,4F,00,4D,00,30,00,00,00,43,00,4F,00,4D,00,31,00,00,00,43,00,4F,\

00,4D,00,32,00,00,00,43,00,4F,00,4D,00,33,00,00,00,43,00,4F,00,4D,00,34,00,\

00,00,43,00,4F,00,4D,00,35,00,00,00,43,00,4F,00,4D,00,36,00,00,00,43,00,4F,\

00,4D,00,37,00,00,00,43,00,4F,00,4D,00,38,00,00,00,43,00,4F,00,4D,00,39,00,\

00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Device]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Device\000a3a644396]

"trusted"=dword:00000001

"class"=dword:00320104

"name"="XXX-688C1B7913A"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Device\000a3a644396\Services]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Device\000a3a644396\Services\00001106-0000-1000-8000-00805f9b34fb]

"sdprecord"=hex:35,64,36,00,61,09,00,00,0A,00,01,00,04,09,00,01,35,03,19,11,06,09,00,\

04,35,11,35,03,19,01,00,35,05,19,00,03,08,03,35,03,19,00,08,09,00,05,35,03,\

19,10,02,09,00,06,35,09,09,65,6E,09,00,6A,09,01,00,09,00,08,08,FF,09,00,09,\

35,08,35,06,19,11,06,09,01,00,09,01,00,25,0E,46,69,6C,65,20,54,72,61,6E,73,\

66,65,72,00

"name"="OBEX File Transfer"

"channel"=dword:00420003

"enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Device\000a3a644396\Services\0000111e-0000-1000-8000-00805f9b34fb]

"sdprecord"=hex:35,62,36,00,5F,09,00,00,0A,00,01,00,08,09,00,01,35,06,19,11,1E,19,12,\

03,09,00,04,35,0C,35,03,19,01,00,35,05,19,00,03,08,06,09,00,05,35,03,19,10,\

02,09,00,06,35,09,09,65,6E,09,00,6A,09,01,00,09,00,08,08,FF,09,00,09,35,08,\

35,06,19,11,1E,09,01,00,09,01,00,25,08,48,65,61,64,73,65,74,00,09,03,11,09,\

00,16

"name"="Hands Free"

"channel"=dword:00610006

"enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Device\000a3a644396\Services\00001101-0000-1000-8000-00805f9b34fb]

"sdprecord"=hex:35,67,36,00,64,09,00,00,0A,00,01,00,00,09,00,01,35,03,19,11,01,09,00,\

04,35,0C,35,03,19,01,00,35,05,19,00,03,08,01,09,00,05,35,03,19,10,02,09,00,\

06,35,09,09,65,6E,09,00,6A,09,01,00,09,00,08,08,FF,09,00,09,35,08,35,06,19,\

11,01,09,01,00,09,01,00,25,16,42,6C,75,65,74,6F,6F,74,68,20,53,65,72,69,61,\

6C,20,50,6F,72,74,00

"name"="Serial Port"

"channel"=dword:00650001

"enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Device\hid]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\ActiveSync]

"Initialized"=dword:00000001

"LastConnected"=hex:96,43,64,3A,0A,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\ActiveSync\000d9312b6cc]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\AudioGateway]

"BTAGExtModule"="\\Program Files\\Voice Command\\vcbthag.dll"

"SupportCLI"=dword:00000000

"NoRoleSwitch"=dword:00000001

"Capability"=dword:00000025

"BTAGPBModule"="\\Windows\\BthAGPhonebook.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\AudioGateway\Devices]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Services]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Services\00001118-0000-1000-8000-00805F9B34FB]

@="Basic Printing"

"btp_ui_ext.dll"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Services\00001106-0000-1000-8000-00805F9B34FB]

@="OBEX File Transfer"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Services\0000111A-0000-1000-8000-00805F9B34FB]

@="Basic Imaging"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Services\0000110B-0000-1000-8000-00805F9B34FB]

@="Audio/Video"

"btp_ui_ext.dll"=dword:00000000

"bthutil.dll"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Services\0350278F-3DCA-4e62-831D-A41165FF906C]

@="ActiveSync"

"BthASPlugin.dll"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Services\00001124-0000-1000-8000-00805F9B34FB]

@="Input Device"

"bthidsvc.dll"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Services\0000111E-0000-1000-8000-00805F9B34FB]

@="Hands Free"

"btagsvc.dll"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Services\00001108-0000-1000-8000-00805F9B34FB]

@="Headset"

"btagsvc.dll"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Services\00001103-0000-1000-8000-00805F9B34FB]

@="Dialup Networking"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Services\00001101-0000-1000-8000-00805F9B34FB]

@="Serial Port"

"bthutil.dll"=dword:00000000

"BthASPlugin.dll"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\l2cap]

"ScanModeControl"=dword:00000001

"RTX"=dword:0000003C

"PicoCapable"=dword:00000000

"NoRoleSwitch"=dword:00000001

"LinkPolicy"=dword:0000000F

"IdlePhys"=dword:0000000A

"IdleConnect"=dword:0000000A

"ERTX"=dword:0000012C

"ConnectPacketType"=dword:0000CC18

"ConfigTimeout"=dword:00000078

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\sys]

"DisableAutoSuspend"=dword:00000001

"COD"=dword:00120114

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Settings]

"IgnoreExternal"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\rfcomm]

"timeout"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\pan]

"MediaDelay"=dword:000493E0

"InquiryLength"=dword:00000008

"Encrypt"=dword:00000001

"Authenticate"=dword:00000001

"ActivateOnBoot"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Hid]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Hid\Instance]

"Dll"="BTHHID.DLL"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Hid\Hid_Class]

"Prefix"="BHI"

"Order"=dword:00000009

"Keep"=dword:00000001

"Index"=dword:00000000

"Dll"="BTHHID.Dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\HandsfreeProfileOn]

@=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\debug]

"mask"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\BTHLINK]

"Prefix"="BTL"

"Index"=dword:00000001

"Flags"=dword:00000002

"Dll"="bthlink.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\HCI]

"baud"=dword:000E1000

"BTCOMstatus"=dword:00000000

"driver"="bthuart.dll"

"flags"=dword:00000001

"Name"="COM7:"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports]

"BthUnivPresent"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports\BuiltIn]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports\BuiltIn\3]

"Name"="COM7:"

"flags"=dword:00000001

"driver"="bthuart.dll"

"BTCOMstatus"=dword:00000000

"baud"=dword:000E1000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports\PnP]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports\PnP\{FE8730B4-C802-4b79-BE1B-227572556B0D}]

"resetdelay"=dword:00001388

"flags"=dword:00000000

"driver"="bthuart.dll"

"baud"=dword:0001C200

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports\PnP\{FDC0D92F-C0CC-4e5b-89A3-8AD9E78C068F}]

"flags"=dword:00000004

"driver"="bthuart.dll"

"baud"=dword:0001C200

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports\PnP\{E5329142-59DF-485b-B146-0CFD6F14D93B}]

"flags"=dword:80000001

"driver"="bthsc.dll"

"baud"=dword:00002580

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports\PnP\{BC425227-6617-44b7-932E-FD0B4EB7ABF3}]

"flags"=dword:80000001

"driver"="bthuart.dll"

"baud"=dword:00070800

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports\PnP\{B3DD867A-1E6E-4215-8AA7-EAC1DFC46548}]

"resetdelay"=dword:00000000

"PacketSize"=dword:00000200

"flags"=dword:80000000

"driver"="bthusb.dll"

"BlockSize"=dword:00000005

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports\PnP\{77F394E5-9F8B-4167-A4E6-DE5A54AAF77A}]

"flags"=dword:00000004

"driver"="bthuart.dll"

"baud"=dword:00001C20

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports\PnP\{6523D1BF-45E4-47aa-B394-A0333A4C32FC}]

"flags"=dword:00000001

"driver"="bthcsr.dll"

"baud"=dword:000E1000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports\PnP\{61F10771-B483-48fd-94A1-498C0F6F3C10}]

"driver"="bthamb.dll"

"baud"=dword:0001C200

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports\PnP\{54DA86F7-9B78-46d1-8022-51BFA88D7F03}]

"flags"=dword:00000001

"driver"="bthcsr.dll"

"baud"=dword:0001C200