[Help] Use Speaker when Headphones are Plugged In - Windows Mobile Development and Hacking General

I posted this on the Raphael forum but got no answer, and as this question probably applies to several devices I thought I might ask the knowledgeable folk who stop by here too:
I'm trying to find a way to have sound coming from the speaker even when headphones are plugged in (same as the option in the FM Radio application). I was hoping it would be as simple as changing a registry value, but I've compared the registry with the setting in the FM radio enabled and disabled, and found no difference in the registry.
Any ideas how this can be done? I can program in vb.net for mobile devices if the solution needs coding.
Cheers
Rowan

Bump.
Any suggestions at all anyone?

opened and moved back.

Related

Question: registry hack to boost volume on bluetooth headset

I'm using a Cingular 8125 running 2.17.7.2 WWE (I'm running this: Cingular_RUU_WIZARD_217_AKU2_WWE_CF2_A2DP-fixed.exe) with a Cardo Scala 500 Bluetooth headset. I also have Microsoft Voice Command installed and operational as the default dialer.
The system volume can be as high as it goes, the phone volume can be as high as it goes, and the headset turned all the way up, and the volume seems quite low to me when I think it should be blowing me out.
I've searched to try to find a registry hack to increase the earpiece volume so it's louder, but can't seem to find a definitive answer as to how to do this or if it's even possible. Since I read positive reviews about the Cardo Scala here, I have to assume others have experienced this, too. Has anyone found a solution for this - or perhaps this is not common and maybe something is wrong with my hardware?
Any help is appreciated!
I am also looking for the same solution.
I have tried many of the other registry hacks and such, however no matter what bluetooth headset I have tried, I have had no luck getting any more volume either.
If anyone has any solutions or insights please point us in the right direction.
Thanks.
Re: Question: registry hack to boost volume on bluetooth hea
100Tbps said:
I've searched to try to find a registry hack to increase the earpiece volume so it's louder, but can't seem to find a definitive answer as to how to do this or if it's even possible. Since I read positive reviews about the Cardo Scala here, I have to assume others have experienced this, too. Has anyone found a solution for this - or perhaps this is not common and maybe something is wrong with my hardware?
Click to expand...
Click to collapse
try tweaking HEADSET_UPLINK_VOLUME in all HKLM\Software\HTC\AUDIOGAIN(x) registry keys
eva_d said:
try tweaking HEADSET_UPLINK_VOLUME in all HKLM\Software\HTC\AUDIOGAIN(x) registry keys
Click to expand...
Click to collapse
do you know how to do it on gigabyte's g-smart i300?
i cant find the audiogain key!!!
Hi, If it's not too much trouble could you briefly explain what Hex settings increase the value and/or decrease the value. I my headset_uplink_volume key the default value is 11, so how does this get changed to hex, or cannot I change the numerical value to equal the hex value?
i have a TYTN with wnmobile6 (shcap's 4.1 edition) and i d'ont find the Audiogain? How i can increase the volume? i use Stereo bluetooth Headphone Motorola HT820.

answering machine (without recording, I have read others)

Well from reading other threads I learned that an answering machine software is not possible due to lacking ability to record from the radio audio output (on most phones, possible on univ?).
Well then how about not recording, but automatic pickup and sending prerecorded audio? Would that be possible? Like in: someone calls my phone->software picks up and plays back prerecorded message to caller "I'm in a meeting, please call back at 5pm" ->software hangs up.
Possible or not? Who would be willing to write something like this?
I think there's the same issue - the phone audio path is seperated from the PDA audio path. Read Odeean's posts on TAPI and his frustrations. However, the http://teksoftco.com boys seem to have hinted that this may in fact be possible anyway.
It may be possible I suppose, by writing specific drivers, but I don't think any of us have ever tried I guess.
V
We'll keep you updated with what can be done altough the system is not built to support this kind of features. Firstly because in the US recording audio on phone conversation is ilegal so MSFT doesn't supports this and onestly i don't see HTC being able to offer this kind of support.
Also what Vijay outlined is correct... but we have a few more ideas that we are curently testing...as i said we'll post it if we succeded.
Cheers,
Raul
i believe that it is not a hardware limitation.
The sound from the gsm is not analogue. It passes through the OS somehow, otherwise how is the audio transmitted to the bt hfree?
I don't believe that the transmition of audio (from gsm) to the bt hfree is done only by hardware.
Please comment
andrew_sh is making a good point there. Maybe something can be done by "faking" bluetooth data input?
We have a working answering machine on Himalaya.
See last ROM from TofClock...
Good point made by Andrew. A new bluetooth headset driver or a fake one might do the trick. Cross your fingers guys.
The OS has evolved since Himalaya and HTC has restricted access to drivers by creating a locking mechanism and also the signing process is a hop to pass.
Guys, from my understanding and a poll I've run:
http://forum.xda-developers.com/viewtopic.php?t=40100&highlight=telephone+poll
it doesn't seem like many people have succeeded in recording calls, and those that have are generally using the Himalaya only. The gigabyte can, but it has custom hardware.
We've discussed spoofing the bluetooth audio path before by using a dummy driver and receiver, but mamaich has stated that the audio path for the bluetooth is in hardware only, and seperated from the interceptable paths in the OS.
Rain (for those who don't know, is one of the genii at http://teksoftco.com) - if you have any new ideas, may I ask you to PM me?
Odeean, Mamaich and I have had numerous discussions about this and I'd be interested to know how your research is going. I read that you guys have experience at low level audio driver work (great work on the speakerphone btw!), and I think that might be a good way to go. There is certainly some OS control of the audio path (speakerphone, mute, headset<>bluetooth etc), so I've thought about this way...
V

Dialer / Bluetooth Question

Greetings.
This is my first post to this forum section. I'm more of a Windows/web developer who's just beginning to get his feet wet with WM development - I've written a process manager and a "kill task" command line tool so far.
I own a 8125 (Wizard), and I've had a blast customizing it. I'm currently running the latest release of TNT's WM6 ROM and quite content. However, I do have one issue that I have not been able to resolve.
When using a Bluetooth headset, most audio is redirected to the headset as expected. However, when I invoke a call via VoiceCommand, the dialer still outputs the dial tones to the internal speaker. This can be annoying when in a crowd.
Has anyone come across this issue? Does anyone have a solution? I've considered trying one of the dialers posted under the HTC thread, but I thought it might be wise to consult with experienced devs.
Thanks much,
W James
P.S. I originally posted this question under the Wizard WM6 section. Unfortunately, no one was able to offer a solution. Sorry about the cross posting. Hopefully someone can provide some suggestions here.

Looking for a specific program/piece of code

Hi,
I am currently looking for a piece of software that will do a specific job, or possibly a better solution to what I am trying to do. Let me give you a little bit of background...
I have got an O2 XDA Mini S, and a Parrot hands-free kit that does not support the A2DP bluetooth profile (only the handsfree profile). I am currently using TomTom 6 on my XDA with a bluetooth GPS unit. Everything works really nicely together, except I cannot get instructions from TomTom through my parrot (which is ultimately my goal).
The only way I can see of getting the TT instructions through my Parrot is to make use of the programs floating about that allow you to turn on and off redirection of sound through bluetooth. The idea I had was that if there was a program about (or maybe even write something myself) that would be able to signal when the sound coming out of the XDA exceeded and then dropped back below a threshold level, and then somehow link that into the bluetooth redirection programs, I could basically have any sound that is produced go through the Parrot only when they occur (including obviously the TT instructions).
Does anybody have any ideas on this? Any help would be greatly appreciated.
Thanks.
Point UI, a UI wrapper, has a feature similar to what you're describing. It's used just to save battery power by turning on BT only when an incoming call is detected, and then killing BT after the call is ended. I don't know if it's open source, but you might want to head over to their forums and see if you can find out how they did it.
You probably also want to haunt any TomTom forum sites (if any even exist).
As a final option, look into Mortscripts. People have done amazing tricks with Mortscripts, and this might be just the ticket. Mort haunts these boards, and may pipe in with an "I can (or cannot) do that with Mortscript" too...
I have a question, though. What's wrong with using the Wizard's built-in speakers for getting directions?
Myrddin Wyllt said:
I have a question, though. What's wrong with using the Wizard's built-in speakers for getting directions?
Click to expand...
Click to collapse
To be honest, it's not too bad through the speakers although if I have my radio on which I usually do, sometimes it can be a little bit hard to hear, and it would be nice to just have the radio mute while it gives me the directions.
It's more of a "want" than a "need" really.
Thanks very much for the info
Myrddin Wyllt said:
Point UI, a UI wrapper, has a feature similar to what you're describing. It's used just to save battery power by turning on BT only when an incoming call is detected, and then killing BT after the call is ended. I don't know if it's open source, but you might want to head over to their forums and see if you can find out how they did it.
Click to expand...
Click to collapse
It is quite easy for programs to detect when you're in a call - MortScript, I presume, probably can detect that quite easily as it's an overall Windows feature and will probably have a readily available part in the API.
The problem is not with turning the bluetooth on and off, it's actually detecting when TomTom is giving an instruction. To be honest I think I'll look into MortScript and if that can't do it then I'll probably just give up.
Detecting phone calls isn't that easy, and it's especially not easy to make a check in a simple procedural script language like MortScript (up to WM5, there's no way to check whether a call is active, you have to monitor all the time if a call is accepted or hung up).
Detecting sound output of another application is entirely impossible - at least for most applications. If the app opens the output channel only during output (which most don't because it takes valuable time and causes ugly "click" noises on some devices), one could maybe query the number of free output channels - but that would need a CPU hog monitoring all the time, or half of the message would be over until it's detected.
And even if that would work, there's simply no way to redirect output to a BT headset (except with A2DP). At least on most devices. Once there was a simple way to do that (you just had to open a virtual port, and as long as it's open, everything was redirected similar to the A2DP way nowadays), but most manufacturers didn't implement it, and nowadays it seems like no modern device supports it anymore. (Had it for test purposes in a MortPlayer beta, no user reported it works...)
So, to put it short: Currently it's impossble. Maybe WM8 might change that... (Few hope for WM7, it's proposed to have the same kernel as WM5 and WM6.x)

Radio playback

Hi all
Does anyone know of a tweak to allow radio to be played without inserting a wired headset, I often listen to music via bluetooth and would like the option of radio as well, thanks in advance.
By the way, I did search the forum before posting this as I know you guys have certain protocols in place.
Cheers.
try this and see if it works
Change the following registry : HKLM\System\State\Hardware\Headset from 0 to 1
hi, thanks for the reply.
I don't have my headset with me today but after I changed the reg the radio still would not play directly through the phone, what exactly should this reg edit do?
it should make the phone think that a headset is plugged in..havent tested it myself to be honest but it should work..however whether or not you will have a signal from the radio is another story
Dude, ther is no use for this... Even if you would get the device to start the radio without the headset pluged in, there would be no sound since the headset is the antenna...
So it would be like you are watching tv without cable... no reception!
There must be at least something in the mini usb plug. I found that it works at least a little bit when plugging in this thing only and playing the sound over the internal speaker though reception is poor at best.
http://www.pdashop.nl/product-gallery/41080/0
Good luck!
There is some use to it... although the wire is the antenna the phone will act as an antenna also so you will recieve some signal it just won't be as strong.
Without fully testing there is no way of telling how good the signal would be, surely a phone that can pick up a GPS signal and a mobile signal should be capable of also picking up a radio frequency?
no, its not possible:
http://forum.xda-developers.com/showthread.php?t=432619
ok, I get the message. Thanks for all your help.
OT - I searched "Radio without Headset" accross this forum and had no hits.
I noticed that innocent people get shot down when they don't search before posting a question, how are they supposed to get decent results with a search engine that doesn't work properly. - Great site guys, the people here really know there stuff but perhaps go a little easier on people who search to no avail before posting. You don't have to reply to the post and if you do wouldn't it be best to simply give the answer or direct them to another post, up to you but it doesn't help anyone to just put - SEARCH THE FORUM or RTFM (a new one on me!)
Hope you see the point of this post, I am simply giving my opinion as an outsider who has just purchased a Diamond and I'm just getting into mods and tweaks!
p.s. Loving the GPS cycle computer. Best app by far!
GSM is in a very much higher frequency band, so it uses a very much smaller antenna than you would need for your radio. This is two very different systems. It will not work without an antenna

Categories

Resources