[Windows Mobile Development and Hacking General] y0himba:
Pardon me if this is the wrong spot for this post, I am old and this is actually my first real request for help. MODS please put it where it goes and let me know? See, I love my Imagio phone, it is the best since my Fuze, and I really want just this one issue resolved.

I have been beating myself up for days over this. I am not a programmer, and have hit the limits of what I can research. The HTC Imagio is touted as a Media Phone, yet the Stereo Audio profile is disabled by default. Read my original post below for more. I have narrowed it down a bit since that post.

It has something to do with dependency on bthutil.dll I THINK. This forces the phone to unload the Stereo Audio profile somehow, I THINK.

I have messed about in the registry and added some registry keys, and finally got the BTAGSVC to start with the phone, yet the Stereo Audio profile will not start automatically. I have to start it each time. I would think on a media phone that it would, but no go. I even added hklm\software\microsoft\bluetooth\handsfreeprofileon and it still will not start.

There are 2 ways to fix this, neither of which I can figure out.

A: When "Stereo Audio" is tapped in the Bluetooth manager (btmanager.exe) what command does it execute? I could then put that in the startup folder and poof, fixed. Then we need to find what shuts it off after a bit of non-use so that I don't need to start it again.

B: Initially, when the phone starts, the Stereo Audio indicator icon appears, but then quits just before TF3D starts. If I manually enable Stereo Audio, it exits after non-use for a while. When I am on the road, and decide I want to listen to music, I cannot reach over and drill through menus to restart the Stereo Audio profile. We need to figure out what HTC has done to cause this behavior, what DLL or EXE is excuted and how, and then remove the dependencies to stop it.

I just got off the phone with HTC *support*. I listen to music on my phone a LOT. I have a BT8040 headset for when I am on the road, and on every other PPC I have had the BT stereo audio service run at the start of the phone. I just hit play and poof, I have music.

Not so with the Imagio. According to HTC, the ROM is configured so that the hands free profile starts, but the stereo audio profile doesn't (Lies, BS). You manually need to drill down through Start-->Settings-->All Settings, tap the bluetooth icon, hit the second tab, and tap Stereo Audio to start it up.

This just plain SUCKS.

When the PPC first starts, right before it loads TF3D, for a brief second I see the icon indicating the Stereo Audio profile has started, then it switches quickly back to the hands free profile icon.

Now then, using Memmaid, I see that the BTAGSVC (Bluetooth Audio Gateway) is there and set to automatic, and I also see that the dll referenced is on the Windows directory (btagsvc.dll). However, when trying to start the service it tells me that the system cannot find the file specified. I am sure it is something that HTC has placed to prevent it.

A search for "btagsvc" brings up hklm\services\BTAGSVC and a few hklm\software\microsoft\bluetooth\services entires that are numbered with big long strings that my old hands can't type due to the cold.

Here are my questions:

When I tap "Stereo Audio" in the location above, what does it do? Start an EXE and execute a command line? Can a shortcut be made to that command line or whatever and put in startup? Can the service be added to startup by getting around how ever HTC has prevented it from starting? A registry edit?

Can we find what HTC has done to prevent it from starting and running?

Any help is appreciated, I have hit the limit of my knowlege.