Good job, Mikelspikel.
Now what I've found:
1-Comunication path
X51, as nearly all BT devices, are based on Cambridge Silicon Radio (CSR) chipsets
http://www.csr.com, and probably on Bluecore2
This chipset can be accesed in three ways: USB, syncronous serial port (usually called BCSP protocol or UART serial port. The last is the case on X51.
This Serial port is controlled by BTUartDMA.dll driver that is called from device.exe reading the registry key HKLM\Drivers\Builtin\BTTart and load it as COM5:
Opening COM5: from a program (Telnet program) and sending several CRs BT chip turns on (Blue LED start blinking).
It seems that if under HKLM\software\Widcom\btconfig\general\TransportLib rary we use BTCESerialTrans.dll (an inexistent dll) BTTrayCE.exe tries to activate BT by means of COM5: (defined in HKLM\software\Widcom\btconfig\SerialTransport), but if we put BTCeBCSPTrans.dll it tries it by means of the syncronous BCSP serial protocol that is not the case on the Axim.
Then I think BTUart registry entry must be maintained.
2-Error Log
When BTTRayCE.exe tries to load the stack and tuen on BT, it writes a small error log under HKLM\software\Widcom\BtConfig\Debug\Log One line each error and rewrites it each 5 lines.
In this error log I've found that the only TIBinaryParser.dll that does not causes an error is the one in 1.5.200 but if we remove it's entry there are not error also.
The error that is persistent and I associate with BTCEif.dll not loaded (as MikelSpikel does) is "BTStack (MAGICNUMBER) load failed" or something like that.
3-CPL
Using BTcplCe and BTTrayCE from1.5.200 is the only way that allow to clik advanced buttons on BT control panel and see things like the version of each file. With others the program hangs.
4-HKLM\Microsoft\Bluetooth\Transports\BuiltIn\1
This key is the main transport for the Microsoft Stack. On X50 it load USB comunications Transport ¿¿¿??? but on X51 it load somecing called BTHCI.dll that as said in
http://msdn.microsoft.com/library/de...chitecture.asp
seems to be the HCI part from Microsoft (the part from CSR is in firmware) and I'm pretty sure that it must be removed from the registry and that BTCEif.dll is the equivalent from Widcomm.
5-BTCeif.dll
I don't know whi it doesn't load. MikelSpikes sais that the problem is that this driver is not signed: I've tried with and without WM5 security activated (using setsecurity.exe from Ctitanic) and had no results. Also, the guys from XDA-developers.com have maneged to run Widcomm stack on HTC based machines with WM5 and MS BT Stack (but always based on BCSP protocol) without the need of sign any driver. Remember that X51 is the only WM5 device that has MS security enabled by default, but it can be easily disabled.
I'll try to sign this driver, but I have heard that it cannot be done without buying a digital sign....
And this is all up to this moment...