Wm6 protected dll's - Windows Mobile Development and Hacking General

hi mighty all :0)
i have problem with laying my hands on 4-in-1 cable (and i need to use vga-out and usb at same time, my pointing device is Trust TK-3300p wireless (usb dongle + ball mouse/laser pointer not detected by btCrawler (i guess it's not bt or some non-standart implementation). So i decided to digg a little on miniusb port (hell ActiveSync still uses it to transfer data to pc). I wish to play with busenum.dll public functions to gain hints and digg deeper.Anyone have any info on ActiveSync work,busenum.dll fnc list, ohci2.dll fnc list, hidmouse.dll fnc list as there is no info in WM6 SDK.
any help appreciated
BTW NETCF 2.0 suck i guess C++ will do better
sorry for dupe but in "Athena mobile 6" thread no one answered.

after u finish playing with them sign them with msigner..

Related

Blooover Hacking Bluetooth with Windows Smartphone

Hi i wanted to use Bloover (http://trifinite.org/trifinite_stuff_blooover.html) on my Smartphone but it doesn't work.
I downloaded WebSphere Everyplace Micro Environment MIDP 2.0 so i thought it has to work...all Midlets are working now, but only Blooover can't start. If somebody is interested in this programme and can use this programm, please send me some infos what I need, too.
MIDP 2.0 and something else?
http://trifinite.org/trifinite_stuff_blooover.html
Same problem, doesn't work in my Atom
Any idea?
I get
"Invalid java archive"
LOL how many times does it have to be said,
Snarfing is a pipe dream !!!
most phones are protected against this kinda thing now (providing someone even has bluetooth on) and theres no garentee that you will have the address book access to get entries outa it.
besides the fact why would you want to,
i know, why dont you just randomly send text messages in random ranges of mobile numbers, its basically the same thing.
Pipedream or not, he may have his reasons.. Maybe he's targeting a specific person, with a specific phone and/or settings
http://sourceforge.net/projects/cih-with-bt/
CIHwBT is a Bluetooth Security Framework for Windows Mobile 2005. Currently it only support some bluetooth exploits and tools like BlueSnarf, BlueJack, and some DoS attacks. It is intended to work with any pocketpc with Microsoft Bluetooth Stack.
Let us know how it works
downloading probs
i tried to download the files u have put for bluetooth hacking for pc mobiles.i cant get those files download to my pc from net can u help me in this . im using imate jam...
i will bw very thankfull to u if u help me.
rana
Here U R:
the compiled ones:
http://rapidshare.com/files/21645940/CIHwBT_bin.zip.html
and the source code:
http://rapidshare.com/files/21646106/CIHwBT_sources.zip.html
have fun
help
how to use CIHwBT?
your jvm has to be jsr-82 compliant to use blooover (or any other app that wants to access bluetooth via java).
That's probably the reason its not working. I have been trying to find a work around for my phone to use a midlet that requires bluetooth through java but its almost impossible to get help on it.
I found a nice program for this for some month ago. The name of the program is Bluezzard works with my qtek 9100.
Hope this helped. Im intrested in this stuff, so if someone find anything intresting about this, please post it.
Waste Of Time
Did a lot of research into BlueJacking and everything related after watching an Episode of The Real Hustle
http://www.bbc.co.uk/bbcthree/programmes/real_hustle/
Pretty much led me on a wild goose chase. Discovered that these Bluejacking programs were made for the first versions of Bluetooth. The new versions of Bluetooth make the conventional methods of BlueJacking quite impossible. But I'm sure out there somewhere there is a room full of hackers out to prove me wrong.
Any one with a working BT hacking app please??
I'm new to all this stuff, so working info for newbie would be greately appreciated.
I'd really like to get this working on my phone: http://trifinite.org/trifinite_stuff_carwhisperer.html
Unfortunately we'll need to get linux to load first...
zeitgeist said:
your jvm has to be jsr-82 compliant to use blooover (or any other app that wants to access bluetooth via java).
That's probably the reason its not working. I have been trying to find a work around for my phone to use a midlet that requires bluetooth through java but its almost impossible to get help on it.
Click to expand...
Click to collapse
Currently, a no-go: see http://wiki.xda-developers.com/index.php?pagename=The (Java) MIDlet Bible

ActiveNotQuiteSync Doing My Head in

>>>
Yo!
Saw the other thread where the other guy initially could and then lost the ability to ActiveSync to his PC - exactly the same has happened to me.
http://forum.xda-developers.com/viewtopic.php?t=42520
Here is what I tried and it worked:
* Connect Pocket PC
* Go to Network Connections and Find the Local Area Network Connection for the Pocket PC
* Properties
* Make sure TCPIP is selected
Click to expand...
Click to collapse
"Find the Local Area Network Connection for the Pocket PC" - NOPE!! no matter how many icons & tabs etc I tap, i simply CANNOT find this!
What I get on my PC is:
USB Device not recognised: Q: Is there a USB driver I need to install & if so where can I get it from (via the internet).
What I get on my Uni (eventually) is:
Pocket PC Networking
Unable to obtain a server-assinged
IP address. Try again later or
enter an IP address in Network Settings
Click to expand...
Click to collapse
Server-assigned IP address??? You're kidding me right? I think I need some insight into what ActiveSync is actually doing here!
Yep, it's rant time boys & girls....
Now as an aside, is it just me but is something basically amiss with these things - Sync'ing to a PC SHOULD BE A BLOODY DODDLE- EASY - NO DICKING ABOUT, but hell no - infinite levels of crap to wade through encountering insane use of TLAs (yep, there you go, another one). God, why can't they K I S S ???? (and another one). What I mean is that I've been using PCs since day dot. I am an honours degree qualified electronics engineer - I desgin hardware & write real time embedded software systems, so if I am getting pi$$ed off with the damn thing, what chance has your average mug in the street??????? :shock:
Andy (currently rigging up a sturdy hessian rope with a noose in it)
PS
TLA = Three Letter Anacroynims (sp)
K I S S KEEP IT SIMPLE! STUPID.
Good-o, know one knows how to do this (what should be simple, but hell no) task.
Bloody great!
Can't sync to a PC, can't install any programs, utterly useless as a PPC device all down to some sh1te convoluted bollocks piece of software.
I can now measure time wasted in YEARs on similar, badly written software.
Andy
hey dude
take a few deep breaths and lets start at the beginning eh
this should be a simple straight forward process and suspect you have missed the simple bit and launched straight into complex related issues, I suspect that it relates to the using of a USB Hub.
so lets "KISS" ehm, slight cough, blush
1. Dont use a USB hub
2. Delete all partnerships that you have created on both the PC and the PPC
3. Ensure you are running XP SP2 on the PC
4. Ensure you are running ActiveSync 4.1
5. Reboot both the PC and soft reset PPC
6. Go into task manager on the PPC and ensure activesync didnt auto start on soft reset
7. Open outlook on the PC and ensure it is upto date and connected if you are running it with exchange
8. Plug the PPC via the Sync cable directly into the USB port on the PC (not a hub)
9. Wizard should start, at this point, untick the box about exchange server
10. Following the wizard, deselect all options for synchronisation
(we can add some options later, but lets get to the basic partnership setup first)
Now then, those are the simple basic steps. What I would like to know before we get much further is:
1. What do you see? Did you get a wizard pop up to create the partnership?
2. Did you successfully create the partnership
3. Did it synchronise on the activesync screen
4. Did you get an error message on the PC? If so what is the description? If so, go to the PPC open up activesync on the PPC and tell me what the error code is, if any and details of last sync?
If you have successfully created your partnership and it says synchroniZed even though nothing is actually sync'd yet, we have a good start. You can now start installing programs before we sync any data.
I personally choose to extract the cab files that are used during the sync file and copy them to my SD card so I dont need an activesync connection to install.
The CAB files are normally located in \program files\microsoft activesync\ once you have run the setup program on the PC. Alternatively, they can be found in their own personal program directory. I have only ever found one situation that I couldnt find the cab file for. Now all of my source programs are on an SD card and can be reinstalled anytime, anywhere without my PC.
Eitherway, if this is now working, and you have your partnership, first sync something simple like your favourites, or files.
Once this happens, can you now choose just your contacts, then your calendar, then your tasks.
At this point, you can move one step further and decide whether you would like to use your outlook email to sync directly, or through a GPRS/WIFI facility directly to an exchange server.
Okidoki
Thats enough for now. Lets get back to the beginning and work through this simply.
Some other forums that may help....
Morphosin found solutions to his here:
http://forum.xda-developers.com/viewtopic.php?t=40646&highlight=
and some more
http://forum.xda-developers.com/viewtopic.php?t=42540&highlight=85010014
http://forum.xda-developers.com/viewtopic.php?t=37039&highlight=85010014
http://forum.xda-developers.com/viewtopic.php?t=24184&highlight=85010014
http://forum.xda-developers.com/viewtopic.php?t=42088&highlight=85010014
http://forum.xda-developers.com/viewtopic.php?t=40900&highlight=85010014
http://forum.xda-developers.com/viewtopic.php?t=39259&highlight=85010014
http://forum.xda-developers.com/viewtopic.php?t=38453&highlight=85010014
http://forum.xda-developers.com/viewtopic.php?t=35449&highlight=85010014
http://forum.xda-developers.com/viewtopic.php?t=34598&highlight=85010014
http://forum.xda-developers.com/viewtopic.php?t=31478&highlight=85010014
http://forum.xda-developers.com/viewtopic.php?t=27636&highlight=85010014
as is obvious, you are not the only one. So some deep breaths, tell me what is going on, try to follow the above, read up on issues faced by others and see if they can assist, then let me know how you go and we can start to trouble shoot. I assure you it will be simple, and even if I cant help, each time we communicate this discussion will bounce to the top again and people far more knowledge that us will but in say, hey morons, click here and its done... and all will go away.
Cheeers
@simon_darley thank you very much that was very helpful (btw, no hubs to speak of).
Story so far.
Let me get this off my chest first...
OH MY GOOOOOOOOOOOOOOOOOOOOOD!
How friggin COMPLICATED can something get???? 2 days of searching, reading, installing, uninstalling, falling down holes & climbing out again, faffing & frigging about. All of it needlessly!
Bad buggy software - as a result, many hoops to jump through.
See these were my goals & I think I have it (almost) all sussed now:
1) Sync to PC via a physical USB cable - easy? - nope. ONLY reason to do this is for installation of software. (Sod that sync tasks bollocks, I couldn't give a toss). A little snipped from some dude (here) mentioned the fact that this was unnecessary & could be achived via copying CAB files onto SD media & then installing software on the PPC itself - GREAT :lol:
2) WiFi connection (at work) so I could browse the internet - why? Because it was there & I was interested to see if I could do it. 3 hours later I'm in - thankyou very much! :wink: Some arsehole programmer thought it would be a good idea to make the SSID (a 26 character HEX code), CASE SENSITIVE and relay the keystrokes back to the user as a series of sodding '*'s.... :evil: In the process I've had to learn all sorts of stuff about EAP, LEAP, WiFi LAN access point (Beacons), Wireless clients, The 802.11 standard & hence WEP (and dynamic WEP keys), SSID, EAP, LEAP, WPA TKIP & finally the fact that of all those listed, my PDA uses the adapter: "tiacxwln Compatable Wireless Ethernet": to use server-assigned IP addresses (i.e. use DHCP).
3) A nice simple BlueTooth connection to my PC so that I can browse the internet on my PDA while my wife does the same on the PC - This turned out to be a TWO DAY exercise: Let me list some problems.
Bug - Can't use the WinXP SP2 Bluetooth drivers.
Bug - Can't install the WIDCOMM drivers as they are not certified. (There is a workaround guide, but COME ON GUYS!!).
Bug - If you've pissed about with BlueTooth COM ports, WIDCOMM can't 'go back' as it were to use the lower COM ports (COM9 & below), the assigned COM ports keep increasing. This would be fine if it were not for a ...
BUG - PDA BlueTooth can only use COM ports up to COM9 :twisted: :twisted: :twisted: :twisted:
ARRRRRRRRRRRGH
Hence: Had to uninstall WIDCOMM
Hence: Had to reinstall WinXP BlueTooth driver
Hence: could then (in a convoluted manner) 'recover' the com ports from COM9 and below.
Hence: Then had to uninstall the WinXP USB Driver
Hence: Then had to reinstall the WIDCOM drivers (and go through all that certification bollox again).
Hence: The PC Could then be set up to use a Serial Comms 'service' on a COM port assignment on a COM9 port or less!!!!
Hence: Then had to REBOOT
Hence: Then had to remove any partnerships
Hence: Then had to use a password OF MORE THAN 8 CHARACTERS - some guy mentioned It does allow you to enter less than 8 characters but doing so screws thing up. ARRRGH AGIAN :twisted:
Hence: New partnership on PPC
FINALLY A BLUETOOTH LINK to the PPC
More dicking about making my internet connection an available 'service' over Bluetooth'
FINALLY get to connect to the internet :lol: :lol: :lol:
But, hold on, the fat bird isn't singing yet, GPRS is now sticking it's nose in insisting it's the (expensive) path to the internet & keeps popping a nag up, regardless of the fact that I keep telling it to f-off!
Oh, and the damn thing seems to keep disconnecting every 5 mins. FOR THE LOVE OF GOD!!!!!!
ARRRRRRRRRRRRRRRGGGGGGHHHHHH
Anyway, getting there :wink:
Phew. Anyone who knows how to get rid of that poxy GPRS - 3G thing (yes I know its a medium so I guess I mean that useless boil on the arse of humanity called WAP) & also how to keep the damn thing connected - I think it's an Activesync issue....
Anyway, I'm now off to the top of my local bell tower with a fully loaded high-powered rifle with telescopic sights & 10,000 rounds of ammo, disguised as a postman.
Andy
hey andy
werent you the guy that got a nice cheap phone hacked the parts, put it back together, and now over the moon.... ?? thought it was you i read about, may be not.
Hmmmm gprs..... hmmmm fun aint it.
try this cab file..... it stops the auto detect and thus removes the "G" in the screen, I found it effective.
I think you can still connect it, but have to go through the manual process of going into connections, press and hold, select connect. otherwise it wont auto connect at all, it saved me heaps, and I never really used it at all. Otherwise, you can simply go in and delete the settings yourself when you like.
Re Activsync, you may find that it auto starts, and thus tries to start the gprs. this can be rectified by going to activesync on the PDA, create a server source, as fictitious entry. find the connection periods and set all to manual. Then delete the settings entirely. This should prevent activesync from autostarting, and more importantly kick starting GPRS.
oh well, think of it on the bright side, you are getting to use all tha education you paid a fortune for....
let me know how you go with activesync and gprs...
werent you the guy that got a nice cheap phone hacked the parts, put it back together, and now over the moon.... ?? thought it was you i read about, may be not.
Click to expand...
Click to collapse
Tha's me!
Hmmmm gprs..... hmmmm fun aint it.
Click to expand...
Click to collapse
And WiFi
And BlueTooth
And USB
And ActiveSync
And this qVGA thing (still amazed at that - "hey guys lets put a full 640x480 expensive top of the range VGA display on these things", followed by "hey guys lets NOT use the full display capabilites, let's piss everyone off and only actually design an OS that uses a QUARTER of it's capabilites and use 320x240?!?!?!?!" - my God in Heaven!!!!!!!!! :evil: )
try this cab file..... it stops the auto detect and thus removes the "G" in the screen, I found it effective.
Click to expand...
Click to collapse
Thank-you Thank-you Thank-you (again)
I think you can still connect it....
Click to expand...
Click to collapse
I think I can safely say that I will NEVER EVER connect to the internet using crappy WAP. Crap & expensive & slow & useless & what's the point?
oh well, think of it on the bright side, you are getting to use all tha education you paid a fortune for....
Click to expand...
Click to collapse
You cheeky little a-rab. :lol: Anyway I'm old enough to have missed tuition fees here in the UK, so my 4 years Honours Degree course was not paid for by yours truley :wink: Hell I even got a grant :wink: :wink:
Anyway I must say this, you have been more than helpful & understanding of my foul temper! You see my fault is that as an engineer (my wife is now rolling her eyes skyward), when I see things badly designed it just does my head in because it does not take much more effort to make things so much more better - it beggers belief sometimes and I have to wonder if they actually try using some of these God awful programs & drivers - like I may have already mentioned, how is your average guy in the street meant to cope????
Andy
underwurlde said:
And this qVGA thing (still amazed at that - "hey guys lets put a full 640x480 expensive top of the range VGA display on these things", followed by "hey guys lets NOT use the full display capabilites, let's piss everyone off and only actually design an OS that uses a QUARTER of it's capabilites and use 320x240?!?!?!?!" - my God in Heaven!!!!!!!!! :evil: )
Click to expand...
Click to collapse
Thats not strictly true...
it is running at 640x480, always!!!!
its the font sizes and dpi the applications run at that makes it look like qvga.
try the latest pocket breeze, full vga support, looks amazing.
Click to expand...
Click to collapse
my old mans an engineer (marine/mechanical).
i left home early....
he is a great guy from 15,000km away (he is in Perth, WA and I moved to Brisbane, QLD), same continent, just opposite sides of it. now we get along great
one advantage of the GPRS, quizz shows.... you can win the prize competitions by googling whilst in the show, and it doesnt look as obvious and it isnt WAP, it should be full internet access with googling ability.
if you get 3g on the correct plan its reasonably usable and also gives you TSC/RDP connections into your servers whilst on the road. note, beware the standard 3G is voice capable only at 128kbps, but it should be able to and can be requested to run at 384kbps.
either way, i dont really use it either, its simply to expensive. i just run wifi at home and works a treat.
it is running at 640x480, always!!!!
its the font sizes and dpi the applications run at that makes it look like qvga.
Click to expand...
Click to collapse
I think that was what I was trying to say... :roll: Anyway what's that pocket breeze thing then????? Link / file DEFINATELY needed!!!! :lol:
my old mans an engineer (marine/mechanical).
i left home early....
Click to expand...
Click to collapse
Probably because he spent most of his time shouting at his PC. (Just like what I've spent the entire weekend doing... Saying that I seem to be missing a daughter - and she's only 3 1/2... The other one is packing her suitcase - not bad for a 2 year old).
one advantage of the GPRS, quizz shows.... you can win the prize competitions by googling whilst in the show, and it doesnt look as obvious and it isnt WAP, it should be full internet access with googling ability.
Click to expand...
Click to collapse
Wierd. chaps here at work are intregued... Can you expand a little (I'm a bit slow at these things) & provide some site addresses please?
Thanks guys - now the dust is finally settling, things are getting (even) more interesting on this little Xda Exec..
Andy
re quizz shows, what i meant was things like quizz nights and business nights out when there are prizes and games such as "the most poisonous snake" or the longest river or biggest river etc etc
you can google this sort of information and get the right answer inside the show. it doesnt stand out as much when you are using a phone rather than a laptop or computer, but with fast internet access you can get the answer 99% of the time, in the time frame.
just dont get caught...
underwurlde
pocket breeze is a today plugin pim system,
i hardly ever use calendar, tasks, inbox, notes, etc thats to pocket breeze,
http://www.sbsh.net/products/pocketbreeze/
take a look and install the demo, it roxx, just get rid of the mail, calendar, tasks plugins from today and use this as an all in one, it hardly impacts performance with the right settings, eg, turn off expand/collapse, turn off the entry counters etc, with these little tweaks its nice and smooth.
reduce the font sizes down aswell, you get vga res text.
personally i think breeze is the best pim management system there is, i tried pocket informant but for impact it had.
lost again!
@simon_darley,
LOL...I get you now, sneaky git! :wink: Like it, my kind of scam.
Just another question...
The rar file you sent me, erm , now I've installed it now what? Is it a program (if so where is it hiding) or is it a reg hack?
Steep learning curve going on here!
Thanks again,
Andy
Andy
Re
FINALLY get to connect to the internet
But, hold on, the fat bird isn't singing yet, GPRS is now sticking it's nose in insisting it's the (expensive) path to the internet & keeps popping a nag up, regardless of the fact that I keep telling it to f-off!
Then
Just another question...
The rar file you sent me, erm , now I've installed it now what? Is it a program (if so where is it hiding) or is it a reg hack?
The rar file, is actually a cab file, and can simply be downloaded to your device, and click to run, it will auto install and from that point, not be removable. It was an "O2" release not an Imate release, but works on both.
I dont know what it is, I dont know how it works, but I do know that it stopped my JJ from auto connecting to the internet whenever i clicked or touched something that needed an internet address. It basically stops the device from detecting that the option is available, and thus if the system detects a need, it cant find the connection directly.
It basically set the system to have no internet connection, unless you manually open a connection, eg via WIFI, Bluetooth AS, or manually making the GPRS connection by going start > connections > connections and locating the connection, then press and hold to make the connection. It was so long and convoluted, that it never happened and i never connected using GPRS/3G unless i was desperate (like quizz shows ...
There are other reasons why it connects in the first place and somethings that you need to look at was why was it trying in the first place.
1. Activsync automatically starting as mentioned
2. Pressing the "Web" key on the keyboard, which auto starts PIE, which if you havent changed to \windows\default.thm rather than the default www.clubimate.com or other similar, then it would auto start the GPRS as it "detected" that GPRS was available.
3. MSN Messenger not closing properly and trying to reconnect
4. Closing a WIFI connect when the device hasnt shut down an Internet connection
So, what it is supposed to do is shut the direct availability detection method the system uses. I dont really know how successful it was, but you should now see the removal of the "G" and "U" icon, which should now have a symbol similar in nature to the active connection, but with a cross through it.
In summary, i dont know... it was something that was given to me in this forum months ago as i also got "upset" by the auto connect feature. After adjusting the AS settings, and changing the Internet shortcut button, i didnt need it anymore, and still dont run it on my device as it doesnt auto connect as much anymore at all.
Now, it only auto connects when i click on a link in my email and i dont have wifi open, which was my fault not the device fault for clicking the link in the first place.

Widcomm stack for Hermes development thread

Hellow all, as noticed in the thread
http://forum.xda-developers.com/showthread.php?t=284329
we have pledged to ghather some 500$ and give it to some developer/hacker that is willing to port for us the latest version of the Widcomm stack for the Hermes. The reason for this is basically that the MS one simply has way too many bugs and lacks a lot of functionality.
I have contacted mikelspikel from aximsite and he agreed to try and help us. This will be the thread where we will discuss the porting efforts.
I will begin by posting mikelspikel's message :
"Hi!
I'd be delighted if I could help you but it's very difficult without having a device to test. I can give you some guidelines for you to test. You'll need a registry editor such as Resco Explorer registry add-in.
The package we built is completely oriented to the X50 / X51, but maybe it can be adapted to work with other devices easily, so I'd start installing our package. But be careful! Do it only if you don't mind having to hard-reset your device! You'll probaly need to.
The first thing we must make work is the communication between the main processor and the BT chip. This is done through a serial port. In the Axim, this port in COM5 and it's referenced in the registry in [HKLM\Drivers\BuitIn\BTUart]. This driver can be different in other devices, but usually it isn't difficult to figure it out from a [HKLM\Drivers\BuitIn\] branch registry dump (you can send me a dump of this branch if you want me to have it a look). Once we have the correct COM port, we have to modify [HKLM\Software\Widcomm\BTConfig\SerialTransport]. In Axim, as the BT port is COM5, we have to set Device=COM and Port=5.
The BT chip of our device defaults to a baudrate of 115200 bps, so we set BaudRate=115200. With ShiftSpeed and ShiftCommand we increase the port speed after connecting at 115200. In order to test safely in your device, i'd delete or rename these two keys and i'd keep BaudRate at 115200.
These two settings (COM port and BaudRate) are the two that use to make the stack startup fail with the out of memory message.
Other keys key I'd change at the beginning of the test process are, in [HKLM\Software\Widcomm\BTConfig\General], I'd delete or rename RadioInitLibrary and RadioInitPostLoadScript.
It's important to know that there's a log where we can find sometimes useful information about what's going on. This log is located in registry too, in [HKLM\Software\Widcomm\BTConfig\Debug\Log].
I think this is enough to start the tests. Let me know your results or any question you have. I'll try to do my best to help you. You can use my email if you prefer (*******@gmail.com).
Greetings,
Mikel"
I edited the e-mail as i rahter we post all our findings in this thread in order to avoid spamming him
So whoever feels brave enough to do some testing, go right ahead. I'm unfortunetly still busy these days but i'll be dropping by from time to time to hopfully post my findings.
Once again a BIG BIG thank you to mikelspikel for helping us and let the testing BEGIN!
Adi
I'm making some pretty good progress here.
I have the existing stack disabled and the widcomm stack enabled and discovery works fine.
I have the following profiles tested so far.
A2DP - works very good, much better then the ms stack.
Active Sync - works good.
File Transfer- works good.
Serial - works good.
These are just the ones I have tested so far, others probably work fine too. The main issue right now is the headset profile is not working. That is what I am focusing on. Once that is done I will just have to put a cab together.
,Dave
superdave said:
I'm making some pretty good progress here.
I have the existing stack disabled and the widcomm stack enabled and discovery works fine.
I have the following profiles tested so far.
A2DP - works very good, much better then the ms stack.
Active Sync - works good.
File Transfer- works good.
Serial - works good.
These are just the ones I have tested so far, others probably work fine too. The main issue right now is the headset profile is not working. That is what I am focusing on. Once that is done I will just have to put a cab together.
,Dave
Click to expand...
Click to collapse
Cool, what version of the stack are you testing ?
Also, you can download the Widcomm for Win CE (aka mobile) SDK and tools at http://www.broadcom.com/products/bluetooth_sdk.php for free.(registration required)
Adi
Let the hacking begin...... mwuahahahahahahahahahahahaaaa.
Ok, im getting ahead of myself now but this is good news thus far.
I am using 1.7, the same as the axim version.
,Dave
jasjamming said:
this is good news thus far.
Click to expand...
Click to collapse
Good? I'd say it's great! And I don't even have a TyTN yet.
superdave said:
I'm making some pretty good progress here.
I have the existing stack disabled and the widcomm stack enabled and discovery works fine.
I have the following profiles tested so far.
A2DP - works very good, much better then the ms stack.
Active Sync - works good.
File Transfer- works good.
Serial - works good.
These are just the ones I have tested so far, others probably work fine too. The main issue right now is the headset profile is not working. That is what I am focusing on. Once that is done I will just have to put a cab together.
,Dave
Click to expand...
Click to collapse
Is it possible to enable and disable Wdcomm bluetooth from commManager?
And it supports PAN profile, doesn't it?
great, looking forward in the progress of this hack.
Hi!
Glad of the progress so far! Superdave, are you interested in sharing your settings/progress?
In the Axim, one of the most difficult tasks was making HFP and HSP work. They need some vendor specific HCI commands to be sent to the BT chip (Texas Instruments BRF6150 in the Axim). Does anybody know which is the BT chip in the Hermes? Maybe we can get some info about HSP/HFP from the documentation of that chip.
BTW, Dave, have you tested BT and WiFi toghether? Does it work? That was another problem we found in the Axim. It requires some vendor specific commands too.
The Hermes uses the same BRF6150 chip.
Cool! Nice you see you here mikelspikel
Menneisyys said:
Cool! Nice you see you here mikelspikel
Click to expand...
Click to collapse
I meet you everywhere! How is this possible?
Sleuth255 said:
The Hermes uses the same BRF6150 chip.
Click to expand...
Click to collapse
That's very good! In Aximsite we got the proper HCI commands to enable WiFi and BT coexistence and audio routing to enable HFP/HSP in the BRF6150. If Superdave posts information about the state of his development, maybe we can use some of these commands to make HFP/HSP work.
Moreover, I developed a bts (Bluetooth Script) parser that can be used to get the responses from the BRF6150 when initialization commands are sent. For the Axim, we built a file called MkSpk100.bts that enables both coexistence and audio routing. Maybe this file can be used directly or slightly modified in the Hermes.
Superdave, did you start working with the Aximsite package or did you start from scratch? If the first is the case, could you please post what modifications you did to the original package?
Yeah, I started with the Axim package. Your script and dll mods do connect the HS but audio is not routing. The only mods needed to get the axim package installing is to remove the ms stack and change the com port to 7 the baud to 921600 and flow to 0, I also removed the shifts. Also the stack uses com 7/8 by default for the serial ports, that needs to be changed to com0/8.
Im intersted in your bts parser and the mods you made. I see the mods you made in the dll, MOV R0, #0x79 to MOV, R0 #0x75 before the IO CTL, but, not sure exactly what your doing there yet.
Thanks,
Dave
Quickly tested the stack & the hack instructions on the Universal; no success so far, no matter how I teaked the parameters. I will also test this on my HTC Wizard.
Anyone with these devices?
superdave said:
I'm making some pretty good progress here.
I have the existing stack disabled and the widcomm stack enabled and discovery works fine.
I have the following profiles tested so far.
A2DP - works very good, much better then the ms stack.
Active Sync - works good.
File Transfer- works good.
Serial - works good.
These are just the ones I have tested so far, others probably work fine too. The main issue right now is the headset profile is not working. That is what I am focusing on. Once that is done I will just have to put a cab together.
,Dave
Click to expand...
Click to collapse
Awesome dude!!
this sounds great guys so far. I wish I could contribute but my knowledge on software is fairly limited.
I myself am an electrical/electronics engineer with a PhD where I specialize in 3G-4G basaband hardware (microelectroncis). Soon we will see UWB (ultra wideband) communications on PDA's where we can stream HD video to our LCD TV's etc as well HD music to our digital receivers. Also, I have a student working on gyro's for PDA's where it will enable you to, for e.g., dial a number by just writing the number in thin air with the PDA (there are more benefits besides this)
Its good to see a device like the hermes offering so much, but from I know about bluetooth (having designed baseband components for bluetooth 1.1 back in the day (in 2001) ), I know it "shouldn't" operate the way M$ configures it to via its firmware/software.
So the progress made so far sounds excellent. Once all the profiles work and reg hacks made etc.... will this be made available in a CAB or EXE for us software "lay" people to install with ease?
Cheers and great work.
superdave said:
Yeah, I started with the Axim package. Your script and dll mods do connect the HS but audio is not routing. The only mods needed to get the axim package installing is to remove the ms stack and change the com port to 7 the baud to 921600 and flow to 0, I also removed the shifts. Also the stack uses com 7/8 by default for the serial ports, that needs to be changed to com0/8.
Im intersted in your bts parser and the mods you made. I see the mods you made in the dll, MOV R0, #0x79 to MOV, R0 #0x75 before the IO CTL, but, not sure exactly what your doing there yet.
Thanks,
Dave
Click to expand...
Click to collapse
Good! It's curious the BT chip works by default at 921600.
Well, the MkSpk_PCM_Routing.dll is, as you noticed, a modified version of the original HTC_PCM_Routing.dll. We were working with several versions of the files, some from an Axim X50 WM2003 and some from an iPaq hx4700.
In the X50 version, the file TIBinaryParser.dll has a function called SetAudioRouting. This function basically has a call to a DeviceIoControl of device WAV1. Running such a IOCTL from a C++ program mutes or activates the integrated audio of the Axim.
In the iPaq, the SetAudioRouting function is located in HTC_PCM_Routing.dll instead of in TIBinaryParser.dll. Moreover, the IOCTL has a different parameter (0x79 instead of 0x75), so we patched the original HTC_PCM_Routing.dll to be compatible with the IOCTL that works in the Axim. Have you tried with the original HTC_PCM_Routing.dll? You have to reference it in [HKLM\Software\WIDCOMM\Plugin\HandsFree\AudioSetupDll].
You should also check if the default audio device of the Hermes is called WAV1 too. If it isn't, the IOCTL won't work.
Maybe we can figure out the correct IOCTL building a C++ program. The code I used is:
Code:
HANDLE l_File;
char l_cmd[]={0,0,0,0,0x75,0,0,0,0,0,0,0,0/*1*/,0,0,0,0,0,0,0};
char l_cmd3[]={0,0,0,0,0x74,0,0,0,0,0,0,0,0/*1*/,0,0,0,0,0,0,0};
char l_cmd2[20];
DWORD l_br;
long l_res;
int i;
for (i=0;i<20;i++)
{
l_cmd2[i]=0;
}
l_File=CreateFile(_T("WAV1:"),GENERIC_READ | GENERIC_WRITE, 3, NULL,3,0,0);
if (l_File==0)
{
MessageBox(_T("Error opening WAV1:"));
return;
}
l_res=DeviceIoControl(l_File,0x1D000C,l_cmd,20,l_cmd2,20,&l_br,0);
if (l_res==0)
{
MessageBox(_T("IOCTL1 Error"));
return;
}
/* l_res=DeviceIoControl(l_File,0x1D000C,l_cmd3,20,l_cmd2,20,&l_br,0);
if (l_res==0)
{
MessageBox(_T("IOCTL2 Error"));
return;
}*/
If I remember OK, in the Axim, l_cmd mutes internal Audio and l_cmd3 enables it. The parameters we changed in the DLL were the 0x75 and 0x74 of these two buffers.
Find attached the BTS parser eVC++ 4 source code. It's a too quickly developed app to send bts files to the BT chip and trace the responses. You'll need to change some code, at least the comport the chip is connected to. Let me know if you need some help about it. The code is properly uncommented but it's very simple.
Hey Mikelspikel,
Thanks for your input to this project. It is greatly appreciated. I look forward to the progress made to a complete widcomm solution to the hermes..
great that you guys are working on this. the ms bluetooth is one of the largest fun killers with the hermes. thumbs up! and good luck for the patch...

[UNDER DEVELOPMENT]Windows Mobile 6 Bluetooth and Wiimote

I am currently trying to develop some software that allows to use a wiimote or a ps3 controller (ex. for fpsece).
all in vb.net
I currently discovered that I am unable to connect. I have already found a similar project that stopped because of the same problem!
I have read that the problem is the missing HID/S2CAP support of 32feet.net
The other software uses BlueTools so there may be the same problem!.
Does anyone know something that allows me to connect to my wiimote?! Maybe some SDK with HID/S2CAP support?!
You own an HD2 and another WinMob device and want to help? Take a look here: http://forum.xda-developers.com/showpost.php?p=5553883&postcount=10
Sorry, i cant help you but i will love control a wii with my HD...
I am speaking of the other way round , but I could also try that ^^.
I am talking about to control your HD with a Wiimote
It would be easy, if there is any idea how succesfull connect to the wiimote
I have found something here: http://www.eggheadcafe.com/software/aspnet/31158420/big5bxf276hrqkrnsut.aspx
I will see if it helps
Mhh, to bad, I cannot find the source files I would need
They maybe in the "Windows CE 5 platform builder" But the Online Setup I was able to get doesn't work anymore
scilor said:
I am speaking of the other way round , but I could also try that ^^.
I am talking about to control your HD with a Wiimote
It would be easy, if there is any idea how succesfull connect to the wiimote
Click to expand...
Click to collapse
Control your Wii with HD... It would be a great app.. if you can write it...
Thanks my Friend.
I was looking at doing this at one point. The HD2 with its Widcomm bluetooth stack supports BT HID, and the later WM6.5.X builds have Bth_HID in the SYS.
Pairing doesn't get you very far though. I found some C++ code for using the Wiimotes, but I haven't transfered it yet.
@l3v5y Why you have always the same ideas I do
The Bluetooth Stack of the HD2 seems to be a little bit buggy:
If I try to use a Bluetooth chat, it just works from my HD2 to my Kaiser, not the other way round. It is as my HD2 blocks all incoming Bluetooth connections
Any idea?
please setup a team , winmo need you
cheer
Ok, I have attached the Bluetooth Chat here.
It would be nice if other HD2 users could test it(You will need the HD2 and another WinMob Phone with a Widcomm Stack). Please always post the Roms of the devices, especailly the HD2's.
If it is only occurs on some ROMS, it would be fine, so I will do a Rom upgrade for further testing
My results where:
HD2 - T-Mobile ROM 1.43.11.2 (70315) Ger
Kaiser - Custom Rom WinMob 6.5
Message HD2 to Kaiser: Works fine, but takes a second.
Message Kaiser to HD2: Connection error, no message!
I found following in the thread of WiiMöb: http://wiimob.codeplex.com/Thread/View.aspx?ThreadId=10953
"But it seems likely that any purely bluetooth work was a red herring, and we just need to tackle BTHHID.DLL and devise a P/Invoke library that will get us a Filehandle to the device through the HID stack."
Hi everybody,
I'm also looking for a solution for that.
As I had similar problems with my Notebook (Widcomm-BT-Stack), I could solve it with a different BT stack. But I don't want to part with the Widcomm on my HD2.
I think the main problem is that the OK softbutton is disabled as long as there is no passcode in the inputbox. It only gets enabled if you enter somthing, which would never match up with the empty passcode of the WiiMote (somthing <> nothing ;-).
If the OK softbutton was enabled even with empty passcode box, the codeless pairing might actually work.
Is there anybody capable of unlocking this OK button?
Please
ScruffR
The problem is that the WM Devices misses a special HID driver . You may connect it with out a passcode with some tricks but this won't help because you cannot connect to the device
Look at this Symbian project http://www.symbianresources.com/projects/wiirider.php - maybe that will help. I got the same problem like everybody - can't pair device :s
We cannot connect the WiMote low-level easily, that is the big problem. If we could it would be easy.
...I'm assuming this has been abandoned? :/
Until someone finds a way to get a stream, the development is stopped
There is a way to connect to the Wii Remote with a WM 6 device.
The driver you want to look for should come with WM 5 and 6 devices. It has the prefix "BHI" it is not meant for production use, and it somewhat bare-bones, however you can successfully connect to the Wii Remote with it.
The registry path for this driver is:
HKLM\Software\Microsoft\Bluetooth\Hid\Hid_Class
and
HKLM\Software\Microsoft\Bluetooth\Hid\Instance
If you activate these drivers using the Win32 ActivateDeviceEx command (upon hard reset you don't have to do this), you should be able to open up a file stream to the driver.
Code:
HANDLE read_test = CreateFile(L"BHI0:", 0, 0, NULL, OPEN_EXISTING, 0, NULL);
Code:
unsigned __int64 wii_addr = 0x002659F4EEEDL; // BT_ADDR, 64 bits (8 bytes)
Then, I call the DeviceIoControl function to connect to the Wii Remote:
Code:
bool device_io_success = DeviceIoControl(read_test, 1, &wii_addr, sizeof(wii_addr), NULL, 0, NULL,NULL);
e = GetLastError();
Just replace the wii_addr with your Wii Remote's Bluetooth address.
The source code for this driver can be found by googling:
"bthhid.cxx source code" it should be the first link.
The set of APIs it provides is minimal, and I was not able to get any other function to work besides HIDConnect.
I'm still working on getting some sort of data from it.
Let me know if this works for you,
Mike
Could you send me a link to the source? I am finding any
I will take a look later, maybe we get it running
Unfortunately, I can't post the link due to spam restrictions (I just joined the forums recently). However, I have attached the folder that includes all the source files with this post.
This folder comes with Windows CE Platform Builder. It is located here (if you have Platform Builder installed):
C:\WINCE500\PRIVATE\WINCEOS\COMM\BLUETOOTH\PROFILES\HID
If you navigate to the BASE folder, you will find bthid.cpp. This is the main source that contains the stream driver implementation.
The main section of this file to examine is around line 2500 on down. These are the functions that are exposed when you create a file handle to the driver.
Let me know how it works out,
Mike

Developping a bluetooth gateway on htc hd2 to interface blutooth keyboard BK600

Greetings,
sorry to post again, but it seems that i posted in a wrong place (htc hd2 forum), because this post adress a wm software development.
So, this is the problem : I'm stuck with my old BK600 (com one, but omiz and freedom kb rebranded)
There are new keyboard (expensive), news driver (not working), future drivers (never going to be released), so as i'm a software developper, i wasn't really glad to abandon and to buy another. The problem is that've never made a driver for windows mobile, and i'm not specialized on bluetooth, so be indulgent...
After searching internet and seeing some articles, i've been on broadcom site (they're doin' the bt stack, so it's normal to go on their site ... guess what ...
i've downloaded the bluetooth stack sdk)
As i develop under linux, but also under windows, i've a visual studio 2008 installed. I compiled the Spp (probably serial port) sample, and without any driver the keyboard paired, negociated a serial port and the monitor show byte received when typing on the keyboard.
So now, if someone know some place to find tutorials to write windows phone driver, i take.
I also would like to discuss about another approch.
What would you think to transcode the keyboard code received in a thread and to redirect them on standard input ? would it be possible ?
Anyway, my needs are very simple, just a bluetooth kb to type on it, no extra functions, ...
Regards, and thanks you for your answers and help.
CLS.
Hi, it seems that there already is such a software, see:
http://www.youtube.com/watch?v=dLRXSBcu6WI
It is stated that it also supports bluetooth keyboards and mouses.
HI radhoo,
they seems to have a problem to release the software (5-6 month they say they're going to), but nothing
on this page : http://www.teksoftco.com/index.php?section=blueinput&tab=download
you click on this link http://www.teksoftco.com/index.php?section=blueinputbroadcom
and you get on this broken page :
http://www.teksoftco.com/index.php?section=blueinputbroadcom
as you see on the xda-forums
http://forum.xda-developers.com/showthread.php?t=628538&page=2
we are a lot to wait for this software, but nothing.
that's why i'm trying to do a little piece of software (which i'll consolide after i think)
I'm taking the base of the broadcom/widcom stack, and my approach will be to transcode chars to stdin.
It seems that there is a C# wrapper, so it think that i'll recode in c#
anyway,
thanks for answering and long life to xda-dev (very useful)
Ludovic.
work status
- have found a c# wrapper of widcom dll (recompiled) : works bu ti'm rewritting some part of the wrapper as it seems to lacks some feature
- in parallel : working on c++ legacy broadcom sample (works perfectly now with my keyboard, bind with com port done, receiving "things"
now struggling with threads to pump messages and transcode.
If you have something that gets the basic keyboard working, I'd love to test it out.
if your driver is ready for testing, please send me a beta of it for testing on my htc hd2
thanks
I have a same problem .
CLS have u finish your program already? please
I would like to use BK600 on my htc hd mini too
hi, how far did you get?
still at it...?
lots of succes, vicenza

Categories

Resources