Notices

X50 / X51 Forums Talk about anything related to the X50 / X51 series.

Reply
 
LinkBack Thread Tools
Old 03-21-06, 04:20 AM   #151 (permalink)
beemer
Guest
 
Posts: n/a
Originally Posted by mikelspikel
Just a thought:
I've just remembered OzVGA 192dpi dlls didn't work at the begining. It was because they weren't digitally signed and we needed a new signed version. Maybe we have the same problem with widcomm drivers. The dlls we have aren't signed. Maybe they are not loading for this reason. What do you think?
It could be the reason. I'll try to investigate this. But the people from XDA developers have managed to install these versions on XDAs with WM5.

Last edited by beemer; 03-21-06 at 04:33 AM.
  Reply With Quote
Sponsor Ads
Old 03-21-06, 07:34 AM   #152 (permalink)
Aximsite Veteran
 
Li0rE's Avatar
Uber Member
 
Join Date: Nov 2005
Posts: 1,251
Thanked 0 Times in 0 Posts
Yes, a $10000 award was given to the first person who got XP to run on Mac successfully with instructions. This is far easier than that though it isnt easy. That is why the goal for the reward is $500-$1000
Li0rE is offline   Reply With Quote
Old 03-22-06, 09:54 AM   #153 (permalink)
Aximsite Major League
 
mikelspikel's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bilbao
Posts: 311
Thanked 29 Times in 5 Posts
C'mon guys! Only thinking in the money?

Some interesting news here:

It seems BtCeIf.dll (and friends) don't load at boot time. I still think it's because they are not signed. I've developed a little C++ program that calls several times to ActivateDeviceEx API. With this, drivers.exe loads BtCeIf.dll, BtCeProfiles.dll and BtCeStack.dll using the settings stored in the registry.

Well, using version 1.6, Beemer's .reg file for this version and another .reg file built taking some keys from the full x50 WM2003 registry dump, I've managed to switch bluetooth on (blue led flashing) without the driver memory error. I can run bluetooth manager too. Anyway, there's still something not working because I cannot "see" other devices.

I'll post the files tomorrow morning (football match on TV this evening, sorry).

It'll be interesting if someone with Visual Studio 2005 and WM5 SDK could try to sign the dlls with SDK Certificate in order to test if they load at boot time this way.
mikelspikel is offline   Reply With Quote
Old 03-22-06, 11:41 AM   #154 (permalink)
Aximsite All Star
 
kpc1's Avatar
Super Member
 
Join Date: Apr 2005
Location: West Cork, Ireland
Posts: 547
Device: HTC Touch Pro2
Carrier: O2, Ireland
Thanked 0 Times in 0 Posts

Awards Showcase
Aximsite Contest Winner 
Total Awards: 1

That sounds promising, mikelspikel, well done. Enjoy your football match, you deserve it!
kpc1 is offline   Reply With Quote
Old 03-22-06, 12:17 PM   #155 (permalink)
mrp04
Guest
 
Posts: n/a
how do you sign it?
  Reply With Quote
Old 03-22-06, 03:57 PM   #156 (permalink)
beemer
Guest
 
Posts: n/a
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...
  Reply With Quote
Old 03-22-06, 07:16 PM   #157 (permalink)
Aximsite Major League
 
mikelspikel's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bilbao
Posts: 311
Thanked 29 Times in 5 Posts
Quite a lot of new information! Good work beemer!

Reading your post, I think maybe I wasn't in the right way, as I was using BtCeBCSPTrans.dll.

I've attached ActivateBTDrivers.zip. It has the little c++ program mentioned above used to make devices.exe load BtCeIf.dll. It has to be run after soft reset and before BtTrayCe is loaded.

The following drivers must exist in the registry for the program to work:

BtCeStack
BtCeProfiles
BTC1
BTC2
BTC4
Serial7
Serial8

The drivers are loaded in this order. If anyone of them fails to load, you'll get an error message with the name of the driver that failed and an error code (1610 when the driver is not in the registry or 2404 when it's already loaded). If everything works ok you'll get a success message.

Regarding signatures, I've read there is a test purpose certificate available with WM5 SDK. I don't know anything more about this as I don't have VS2005 available.

I have as well security prompt disabled with setsecurity but if I try to use the 192 dpi dlls available in OzVGA website (not signed) and switch to true VGA, the Axim freezes while booting (-> hard reset). With the signed ones it works great. That's why I still believe the signature has something to do about this. Maybe dlls can only be loaded at boot time if they are signed.
Attached Files:
File Type: zip ActivateBTDrivers.zip (1.9 KB, 77 views)
mikelspikel is offline   Reply With Quote
Old 03-22-06, 08:44 PM   #158 (permalink)
Aximsite Rookie
 
Join Date: Mar 2006
Posts: 57
Thanked 0 Times in 0 Posts
Originally Posted by mikelspikel
Quite a lot of new information! Good work beemer!

Reading your post, I think maybe I wasn't in the right way, as I was using BtCeBCSPTrans.dll.

I've attached ActivateBTDrivers.zip. It has the little c++ program mentioned above used to make devices.exe load BtCeIf.dll. It has to be run after soft reset and before BtTrayCe is loaded.

The following drivers must exist in the registry for the program to work:

BtCeStack
BtCeProfiles
BTC1
BTC2
BTC4
Serial7
Serial8

The drivers are loaded in this order. If anyone of them fails to load, you'll get an error message with the name of the driver that failed and an error code (1610 when the driver is not in the registry or 2404 when it's already loaded). If everything works ok you'll get a success message.

Regarding signatures, I've read there is a test purpose certificate available with WM5 SDK. I don't know anything more about this as I don't have VS2005 available.

I have as well security prompt disabled with setsecurity but if I try to use the 192 dpi dlls available in OzVGA website (not signed) and switch to true VGA, the Axim freezes while booting (-> hard reset). With the signed ones it works great. That's why I still believe the signature has something to do about this. Maybe dlls can only be loaded at boot time if they are signed.
:approve: keep up the good work
itpsp is offline   Reply With Quote
Old 03-22-06, 09:03 PM   #159 (permalink)
Aximsite All Star
 
coolbre304's Avatar
Elite Member
 
Join Date: Aug 2003
Location: Lexington, SC
Posts: 919
Device: Motorola V710
Carrier: Verizon
Thanked 0 Times in 0 Posts

Awards Showcase
Aximsite Contest Winner 
Total Awards: 1

A bit over my head, but I understood bits and pieces. Amazing, keep up the good work.
__________________
BM

"If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get one million miles to the gallon, and explode once a year, killing everyone inside." Robert X Cringely

Addition who needs that kind of stuff any way huh?

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Who cares if I'm only 16?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
coolbre304 is offline   Reply With Quote
Old 03-22-06, 09:18 PM   #160 (permalink)
Aximsite Veteran
 
Patrick Y.'s Avatar
Uber Member
 
Join Date: May 2005
Location: US
Posts: 1,153
Device: My x51v with Skype!
Carrier: Skype!
Thanked 0 Times in 0 Posts
Good work guys. We're counting on you. BTW, don't forget the big prize!!;)
__________________
Got my first PPC when I was 12:approve:

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Acer n10 > x50v > x51v :approve:
2200mah secondary
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

3 year warranty
Dopod Bluetooth Keyboard- NOW WORKS WITH WM5 THANKS TO WIDCOMM PROJECT!!
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Big thanks to Solsie, Shsmith, Beemer, Menneisyys, and many others who provided various tweaks/fixes :approve:

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Patrick Y. is offline   Reply With Quote
Old 03-22-06, 10:02 PM   #161 (permalink)
Aximsite Veteran
 
Li0rE's Avatar
Uber Member
 
Join Date: Nov 2005
Posts: 1,251
Thanked 0 Times in 0 Posts
yea the prize is almost $500! Listen, beemer. Setsecurity just disables the security prompt, but I'm not sure if that means you still don't need signed drivers. Someone PM mrp04 and ask him to sign the drivers, because I think he has VStudio WM5 SDK.
Li0rE is offline   Reply With Quote
Old 03-22-06, 10:55 PM   #162 (permalink)
Aximsite All Star
 
Join Date: Nov 2005
Location: Canada ( East )
Posts: 851
Thanked 0 Times in 0 Posts
HP rolled out WM5 upgrade for the 4700 the last couple days ... wondered if they did their homework this time ... since their WM5 upgrade for their other models also suffered the MS BT woes ...

if they did their homework ... posibilities are just at the horizon :p

http://www.pdastreet.com/articles/20...0-Windows.html


~~~~~

Last edited by Kazkin; 03-22-06 at 11:01 PM.
Kazkin is offline   Reply With Quote
Old 03-22-06, 11:02 PM   #163 (permalink)
Aximsite Veteran
 
Li0rE's Avatar
Uber Member
 
Join Date: Nov 2005
Posts: 1,251
Thanked 0 Times in 0 Posts
how is this related to bluetooth? It would only be related if hx4700 has widcomm and used a CSR bt radio.
Li0rE is offline   Reply With Quote
Old 03-22-06, 11:09 PM   #164 (permalink)
Aximsite All Star
 
Join Date: Nov 2005
Location: Canada ( East )
Posts: 851
Thanked 0 Times in 0 Posts
Originally Posted by Li0rE
how is this related to bluetooth? It would only be related if hx4700 has widcomm and used a CSR bt radio.
as their other models also suffered from the lack of BT services ...

I was thinking in the line of ... they did their homework this time with the 4700 ...

if they can make their device operating properly using WM5 OS and have BT profiles ...etc..etc ... that we could learn something from them ( being optimistic of the talents we have on this site :p )

ofcourse ... it could just been wishful thinking :p
Kazkin is offline   Reply With Quote
Old 03-22-06, 11:14 PM   #165 (permalink)
Aximsite Veteran
 
Li0rE's Avatar
Uber Member
 
Join Date: Nov 2005
Posts: 1,251
Thanked 0 Times in 0 Posts
You are right. WOW! I think for the first time in a while, PDA consumers can learn something from PDA manufacturers. Anyway, lets get back on topic now. I don't want to hijack a thread this important. But guys, keep your eyes on the prize!
Li0rE is offline   Reply With Quote
Reply

Tags
dumped, extracted, image, reusing, rom, stack, widcomm, wm2003se

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:55 AM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC