[Q] Is it possible to have audio through both speaker and headphones? - HD2 General

I know that software can choose between speaker and headset even when the headset is plugged in (since the FM radio can do that). But is it possible to force audio out of both the headset and the phone speaker? I ask because I have an audio docking that I'm going to use in the car, and if this is impossible, I'll have to put up an extra speaker and amp for when I listen to the radio but want TomTom to warn mea bout those pesky speed cameras... So is it possible with a sneaky trick to choose both headset and speaker?

That can only be done over at the kernel's and the framework's side. The best bet is to customize the kernel. Detection of the headset plugging/unplugging is done by kernel’s switch driver and the event is sent to 'HeadsetObserver.java' which broadcasts the intent 'Intent.ACTION_HEADSET_PLUG' with information about state as plugged/unplugged. This is received by 'PhoneApps.java' and the audiomanagerr is informed to turn on/off the speaker which further passes the information to Libaudio.so (AudioHardware.cpp). These information is passed to the kernel to switch between the speakerphone and Headset. This might differ with Android 2.3, but forcing the kernel to play sound to both the headset and the speaker might be the only way. The first few actions are done by the framework itself. You can try or suggest this feature to the CM team. I know this is not what you want, but for the time being, you can perhaps use a dual audio jack splitter and connect your headset and a speaker. Alternatively, there a few apps in the market which enables live streaming on your PC over Wi-Fi. You can try streaming the media so that the audi is played by the PC and the connected speakers. At the same time, you can plug in your headset. This should work, but no guarantees...hope this helps, and i have to say that it will be an awesome feature if the devs can find a way to cook this feature into a stable android build!

Android? Yuck! Good on tablets, totally hopeless on phones! Was going to use my brother's Desire for on day, begged him to give me back something that actually worked efficiently after two hours! No, I'm talking about good old Windows Mobile 6.5 here. Didn't really think I'd have to specify that in a thread about general HD2...

While it might be possible, I doubt anyone will do it.
however, you can get audio through both headphones and external speakers using a special jack. it has a male part on one side and two female parts on the other.

of course. I've used the jack splitter on several things (I do a lot of work with custom installation of computers as whole house media servers). And that's what I meant in the first post when I wrote "if this is impossible, I'll have to put up an extra speaker and amp for when I listen to the radio but want TomTom to warn mea bout those pesky speed cameras."
But I have found sort of a solution: Start the HD2's FM radio, switch that to playback through the speaker (which is why I know this not only might be possible, but is possible with software, since the FM radio can play through the speaker even with a 3.5 mm jack plugged in) and mute the radio. Then all sound will come through the speaker. Kind of a pain in the ass to do it that way. I have found a Mort script that does it, with a few modifications, but I haven't had the time to check that out yet.

that's a weird workaround XD
I'll try it later.

Yeah, weird all right. Actually it's been used before. Found it on Google, with a reference to this thread: http://forum.xda-developers.com/showthread.php?t=444581 Another phone, same method.

Related

Music via micro usb?

Hello,
I'm considering to buy the new Desire HD, its the perfect HTC. Most of the time l'll be using it to listen to music. However there is a big problem. There is no joystick to operate easily the volume, next, previous... (my current phone is Tytn 2). That will be ok, if it was possible to operate the music form the headset. But as far as l know the 3.5mm jack cannot do that. So l'm asking, if is it possible to use the micro-usb to listen?
I'm using "special" 3.5mm headphones, l cannot (don't want to) replace them. But they don't have volume slider. I don't want every time to pull out the phone out of my pocket, out of the case and to operate it two handed just to switch the song, pause it or adjust the volume.
I don't want to use any other mp3 player. This is a habit of mine (using phone for music) since 5-6 years.
Thank You, l'm sorry for the dumb question and for my English.
The RC E160 should be compatible although I can't find any reference on HTC.com. Probably because the DHD is so new. The booklet I got within my DHD box does state the RC E160. But with bluetooth virtually everything is possible, eg. the Jabra BT3030.
--
Just checked the box again and found out that the included 3.5mm headset has a wired remote ;-) And oh yeah, they suck. Better go buy some cheap but real 'phones like Sony's EP-630, found them at bol.com for 23 euros. Just use the DHD screen, I'm sure you'll want to ;-)
(Would have posted links, but can't since not enough posts..)
Yes, l know about this headset, but l'm sure it sucks. l have nice Philips headphones, which are amazing. But in my every day l switch more than 200 songs, pause them et cetera. Its not practical and comfortable to use the screen every time, while hurrying.
You should consider one of those Bluetooth wathces.
Look at this thread for more info: http://forum.xda-developers.com/showthread.php?t=554551
Thats quite genious! It's really good!
But why HTC and other companies made it worse?! Is it too hard to leave the joy pad?! Just to copy the bloody "fashion" design of the i-phone
And yet l have to invest more money just to listen to music....
Not always simple is better!
Thanks anyway!
However my question was, is it possible to use the usb port to listen music? Is it hardware or software thing?
The headphones are of very good quality, the sound is marvelous... it even can control next/previous/pause... can't control volume though

HTC Headphones Mod, or something...

.
Hi, first of all, I did this thread here because I'm not quite asking about the accessories, but about a modification. But if any Moderator thinks this should be moved, please do so.
At any rate, the thing is, I'm still beaten up about the fact that the headphones bundled to the cellphone are such low quality. Ok, there are some superb phones that comes with crappy headset, but you can replace them with any other headphones you have. But this one doesn't support detaching them. That's low quality for me.
So, I went to search for detachable HTC headsets. To my wonder - or bad searching skills - I found none. All are just one-piece headset. Really?
Ok, maybe makes sense when we take into account the fact that for an odd reason, HTC headsets works different than the rest. Just incompatible with other phones.
And here is my question. Is it possible to mod this headphones? My idea is to just trim the original bundled and re-wire the plug to some kind of 4 bands 3,5 female plug, so I can connect non HTC heaphones with mic to this sort of adapter and that could operate the phone.
Or, maybe there's such adapter out there in the world? theory says I'm not the first one to think in this, but I've found nothing so far.
In resume:
a) Are there detachable HTC headsets out there?
b) Is it possible to make an adapter for non HTC headsets?
c) Does this adapter exits already and I'm just wasting time and not money?
bonus) Is there some sort of schematics about HTC headsets? I just can't guess why others are incompatible, but a different wiring...
Many thanks before hand!
.
Really? no one? :/ I cant believe everyone is just satisfied using that lousy headset or just headphones with no mic.
why bother. Any set of decent cell phone headphones work great.
I got a pair of rocket fish headphones. It comes with a mic, and a voice dial/answer button that works great on the Aria.
edit: here is a newer version of what i have.
http://www.rocketfishproducts.com/products/mobile-phones-gps/RF-EB22.html
Don't use headphones here, I have bluetooth in my car .
But, I'd suggest buying skull candy headphones, or even the headphones that come with some nokia xpressmusic phones are awesome. (particularly 5800).
i use these skullcandies because i mainly listen to music on my phone they have a mic on them to so i kan use the on a call if i get one while i have them on
I found that if you download a music player with an equalizer built in, you can improve the quality of the sound 100%

How to listen to FM radio using loadspeaker?

Good afternoon
I have been pulling my hair out over this for a bit.... basically i cannot get my Defy to play the FM radio out of the loadspeaker! When i access the media app in homescreen 2 on the right, it plays radio flawlessly, however i like to listen to it via loadspeaker until i sleep. There is a button for the headphones, i have tried pressing this and it turns off the headphones, if i increase the volume after this it just tells me the ringer volume is going up!
Any ideas?
Am i missing the blatently obvious?
Am i a useless freak?
Am i mildly insane?
any help advice suggestions greatly appreciated
Thanx!
gobble_di_gook said:
Good afternoon
I have been pulling my hair out over this for a bit.... basically i cannot get my Defy to play the FM radio out of the loadspeaker! When i access the media app in homescreen 2 on the right, it plays radio flawlessly, however i like to listen to it via loadspeaker until i sleep. There is a button for the headphones, i have tried pressing this and it turns off the headphones, if i increase the volume after this it just tells me the ringer volume is going up!
Any ideas?
Am i missing the blatently obvious?
Am i a useless freak?
Am i mildly insane?
any help advice suggestions greatly appreciated
Thanx!
Click to expand...
Click to collapse
Calm, calm... it's not your fault. The radio won't work without the headphones being jacked-in because they act as the antenna. I believe this is the reason.
scrannel said:
Calm, calm... it's not your fault. The radio won't work without the headphones being jacked-in because they act as the antenna. I believe this is the reason.
Click to expand...
Click to collapse
Yep. Smartphones don't have a built in FM antenna (none I'm aware of anyway) so yeah...unless you are under the broadcast tower you don't have much of a chance of getting any stations.
I have the touch pro which has the same issue. I think someone could likely make a hack to use the speaker, but you would still have to have the antenna present.
Hi guys... thanx but I don't think you are quite understanding my issue . I have the heaDphones plugged in to get reception, however I would like to play the radio through the loudspeaker...whilst leaving the headphones plugged in I could do this with my nokia 5800
gobble_di_gook said:
Hi guys... thanx but I don't think you are quite understanding my issue . I have the heaDphones plugged in to get reception, however I would like to play the radio through the loudspeaker...whilst leaving the headphones plugged in I could do this with my nokia 5800
Click to expand...
Click to collapse
When you plug in the headphones it MUTES the main speaker. I think it's a physical thing. I don't think there's an app that can over come it. Unless you've listened to some other source that plays through the main speaker with the headphones also plugged in -- then there should be a way to over-come it. According to a Motorola tech the radio's designed to turn off when the headphones are removed.
ahh!
so it is simply not possible with stock firmware... i shall investigate how to overcome this
gobble_di_gook said:
ahh!
so it is simply not possible with stock firmware... i shall investigate how to overcome this
Click to expand...
Click to collapse
Actually I'm just saying I don't know how to do it. But if it's a mechanical connection then I'm not sure any firmware would make it work.
You could try toggleheadset widget from here:
http://code.google.com/p/toggleheadset2/ or the original version http://code.google.com/p/toggleheadset/
It is on the Android market but you have to pay for it.
It was originally developed for the G1 because sometimes it was not recognising that the headset was plugged in. It enables you to toggle between headset and earphones. I had the same problem on my Hero. Although it says it is for Android 1.6, I had it working on a 2.1 rom, but don't blame me if it blows your device up!
crazy
thats retarded of motorola, the stock radio app should have a button to switch the audio from earphone to speaker-phone.
An alternate solution, if you have a good data plan or reliable wi-fi by your bedside, is to just stream the same station over the Internet. Get XiiaLite from the Market and queue up your favourite streaming station. You can set a timer from within the app to turn off after a specified number of minutes or even to fade out slowly.
Very clumsy but incredibly complete is "Radio Time", which Sonos uses as their radio source. It's streaming though.
There's an app on the market called "Sound route switcher." Anyone try that?
gobble_di_gook said:
Hi guys... thanx but I don't think you are quite understanding my issue . I have the heaDphones plugged in to get reception, however I would like to play the radio through the loudspeaker...whilst leaving the headphones plugged in I could do this with my nokia 5800
Click to expand...
Click to collapse
Instead of using the headphones as an antenna, you could try using an FM antenna wire like the ones that came with car navi's. It has four seperate sections at the mini jack; it uses the headphone slot on my navi and does not switch off the main speaker of it (probably bridges the contacts that are unbridged by a headphone three piece jack).
Cannot try it here; I have the antenna but no Defy here.
scrannel said:
When you plug in the headphones it MUTES the main speaker. I think it's a physical thing. I don't think there's an app that can over come it. Unless you've listened to some other source that plays through the main speaker with the headphones also plugged in -- then there should be a way to over-come it. According to a Motorola tech the radio's designed to turn off when the headphones are removed.
Click to expand...
Click to collapse
Actually it`s not a physical thing, it can be routed via software to the headphone or the speaker, you can test it by connecting the headphones and them calling to your phone, it will ring through the speakers not the headphone. The Milestone have a standalone radio app and let you hear fm radio through the speaker.
FM Radio loudspeaker fix
I installed a FMRadio.apk on my T-Mo US Defy and it works fine. Just copy to root of SD card and use Astro File Manager to install. Loudspeaker works fine with headphones plugged in. Hope it helps.
realityrat said:
I installed a FMRadio.apk on my T-Mo US Defy and it works fine. Just copy to root of SD card and use Astro File Manager to install. Loudspeaker works fine with headphones plugged in. Hope it helps.
Click to expand...
Click to collapse
Confirm with 2.2 Pays-ROM
Also since it's possible send audio on loudspeaker may it be possible route it on BT headsed?
More than that - there a lot of phones with radio (samsung, for example) which have built-in radio works with earphones plugged in, and i've used pathces on their firmwares to make radio works WITHOUT headset. Ant it worked. @City with good signal, at least.
I too am interested in this, routing audio through my bluetooth headset could be achieved on a Nokia E51, is it possible to do the same thing on Android?
As I known - FM Radio Speaker is an easy-to-use tool that can turn on the speaker to play when the headphones are inserted.
https://play.google.com/store/apps/details?id=com.wikimediacom.fm.radio.speaker

Car Dock Modfication Request

Hi Guys,
Running on Stock 2.3.4 with root and owner of the Atrix Car Dock. One of the most handy bits of kit I've got for my Atrix.
I'm not overly happy with the Car Dock Home on the phone its self though. When I make a call on Google Talk or on normal phone, it diverts the audio via the loud speaker, and not the car speakers. Is it possible to modify this as otherwise whats the point of having the audio lead in the usb cable if its just for music??
I had a look around the SQLite database to see if there was anything there, but maybe there is a config file somewhere or needs a new APK I don't know.
One for the devs?
Thanks
Andy
tehrules said:
I'm not overly happy with the Car Dock Home on the phone its self though. When I make a call on Google Talk or on normal phone, it diverts the audio via the loud speaker, and not the car speakers. Is it possible to modify this as otherwise whats the point of having the audio lead in the usb cable if its just for music?
Click to expand...
Click to collapse
My bluetooth Pioneer deck only used the drivers speaker, and it had a few dif noise cancelation modes. So its posible the person talking to you will hear every word they say or worse it can cause static or other distortions.
When using the phone plugged via headphone socket in the actual phone I have not suffered any form of feedback or distortion, which is why I'm interested to see if someone out there can do this
This has been asked before, and nobody ever came up with a solution, other than what you're already doing by plugging in the headphone jack.

Phone call audio not routing through 3.5mm jack audio cable or headphones

This is a general appeal for ideas, but mostly directed at Havoc [Havoc-OS v2.8 2019-09-09] users - I need your help. I've searched high and low for a solution and at this point I need someone else using Havoc to confirm something for me. The issue is phone call audio routing when headphones or 3.5mm audio cable is plugged in. On my old S2 for many years when I was driving I'd connect an audio cable to the 3.5mm jack and it would send audio (music, audiobooks, podcasts etc) to my car stereo. Then if I made or received a phone call, the audio from the other party would also come through the car stereo and the phone mic would easily pick up my voice a metre or so away, just like it would on speakerphone mode for a regular call.
Now I have an issue with the Note 4 where all regular audio out, music etc, will go to the car stereo but for some reason it isn't routing phone call audio to the car stereo OR the phone's external speaker. They can hear me fine from the Note 4 mic but I hear nothing. In addition, the call recording reveals that their voice IS being recorded along with mine....but there's no way for me to hear them.
I have tested this at home as well with regular wired headphones (not the handsfree type designed for phones with a mic on the cable), just plain old headphones I use to listen to stuff at the PC. The same thing happens: music and other normal audio goes to headphones but I cannot hear any audio in a call.
This is weird and I can't figure it out. My old S2 did this effortlessly for many years through multiple different ROMs and still does it now running Nougat. In my searches I came across what appears to be a solution, one of the only apps of it's kind for many years called SoundAbout, but it crashes straight away on my phone, and I read the same complaint from several users on Oreo onwards. The app seems to have been abandoned by it's dev years ago.
I've looked everywhere in Havoc settings and I can't find anything obvious that addresses the issue so I'm turning it over to you smart people. Any ideas? Before you say something like "just use a bluetooth headset in the car" - No. I'm not looking to change anything, I just want this (very simple) thing to work as it has for years, since Gingerbread! Btw, I only discovered this today for the first time as I'd never tried it before so I have no idea if it would have worked on earlier versions of Havoc or any of the Oreo ROMs I ran.
Thanks guys.
TLDR - [Havoc-OS v2.8 2019-09-09] phone call audio not routing to car stereo via 3.5mm jack, all other audio goes out just fine.

Categories

Resources