Wired headset audio routing problem - Touch Cruise Android Development

Hello all
I don't know if it is just me, but wired headset audio routing is not working with new kernel images. I've seen it working with previous kernels but I can't remember which works.
Is it happening to you? Can someone tell me if it is a kernel or build issue?
Thanks to everybody and specially to dzo

Same here, no audio output to wired headset. Even phone's speaker doesn't turn off when headset is connected (if it plays something).
It is the greatest feature that I am missing - I cannot connect Pola100 with Android to my car audio system (hands free and music).
And I have never used any zImage which worked with it.

A long time ago it used to work, but you needed to stop audio playback before connecting wired headset. After this, hopefully it worked sometimes.

kallt_kaffe has answered me in Linux and Android for Vogue thread (http://forum.xda-developers.com/showpost.php?p=7007716&postcount=5444). He says that maybe it could be fixed with kernel inside VaniljEclair RLS7 package.
I can't test it until I go back home after work. Can someone check if it is fixed?

No luck, still doesn't work

Related

BT stack problems - need working A2DP for PDA2

Hi, I have read a lot about updating the BT stack to allow for A2DP on my PDA2, and especially a previous post (XDA2i - bluetooth stuff - newbie question) where the solution was to install the BroadcomCorporation BT-PPC AV.cab file. I did this and it does give me the High Quality Audio profile when bonding and the bonding process seems to work fine. However this results in no sound from my PDA, nor any from the headphones when playing audio! (which by the way are the Blueant BT headphones). Headset mode works fine still. I have tried all the different versions of the BT stack on the ftp site but no joy. Is there something else I need to do to get this working, and is this, maybe, a problem with the PH10D, but not PH10C ??
I am really stumped so any help, suggsetions or pointers greatly appreciated! Thanks.
Roger

A2DP help on ppc-6700

Hello,
I am having some issues getting A2DP working on my sprint ppc-6700, I recently got a moto s805 stereo bluetooth headset and cannot figure this out. Searching didn't help much since the recent AKU upgrades confuse (at least for me) what should and should not be done, so please bear with me.
The headset work with windows (and linux) via A2DP and with my phone as hands free, I can make calls.
I just upgraded to kirvin's 3.5 clean & simple ROM, I thought this would give me A2DP "out of the box".
When I start any player morts (3.31b59), coreplayer or wmp I get a blip of audio and then for most part nothing. Sometimes after it stops, I get audio out of the speaker or wired headphones, however setting the s805 to "wireless stereo" seems to keep the audio stream over the headset, but I only get a low hiss or random blips of sound. The AVRCP seems to work as I can control mort's skip fwd & back even when no audio is coming out of the headset.
It seemed like the poor thing couldn't keep up so I also tried XCPUscalar to overclock the processor, but that did not help either.
Are there any reg hacks to get his working?
Is the widcomm stack an option and should I consider it?
Should I be using a specific file format/bit rate? I tried just about everything including mp3 128bps with no change in performance.
Should I be using another AKU version or build?
Are there any decent how to's? I wouldn't mind learning a bit, but just getting it done would be fine too.
Thanks in advance.
-shiggs
I figured this out, but still don't have a sure fire way of getting it workikng every time.
In short it will only work if the wireless stereo icon pops up when I enable bluetooth, if not I get a blip of audio and them nothing or just nothing at all.

A2DP Issues

Hi all,
Laurentius and I are looking at resolving the current issues with A2DP (Many fixes will be in our latest rom, however issues vary from headset to headset.
Some work fine, others are poor quality and some receive PDA lockups or long pauses between streams.
Please could those with A2DP issues, and the need for this protocol to work properly, post the following information.
The current Rom you are you using
The make and Model of your headset
A list of issues you are currently having with A2DP.
Please also try the following to resolve the issue.......
HKLM\Software\Microsoft\Bluetooth\A2DP\Settings\
Remove (Delete the following entries)
BitPool
MaxBitpool
and add the following
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\AudioGateway]
"Capability"=dword:0000003C
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\A2DP\Settings]
"SampleRate"=dword:0000BB80
"UseJointStereo"=dword:00000001
Please then remove (un-pair) your headset and Soft Reset
After SR please re-pair Headset and test A2DP again.
Please keep this thread clean and only post A2DP issues with the required information listed above.
Thanks,
Cheers,
Beast
Hi Beast,
Isn't:
"UseJointStereo"=dword:00000000
to get proper stereo sounnd?
Regards,
KOR!
I have latest V1 rom from Lt.Cmdr.Ivan - BT headset is Philips SHB7102 (works great with my Wizard and SEk800i). I did exacetely what U have asked for (but i have left jointstereo=0) and nothing happend. It sounds like 2s of music folowed by 15s of silence, then again 2s of music and 15s of silence. I messed with bitpool walues and couldn't find any working set. I'm afraid that's something wrong with max BT speed and not with A2DP implementation. I had BT speed switch app when I used broadcom BT stack and A2DP works great. Unfotunatelly normal mono BT headset doesnt work at all with this BT stack so I'm back to original stack
jarekt said:
I have latest V1 rom from Lt.Cmdr.Ivan - BT headset is Philips SHB7102 (works great with my Wizard and SEk800i). I did exacetely what U have asked for (but i have left jointstereo=0) and nothing happend. It sounds like 2s of music folowed by 15s of silence, then again 2s of music and 15s of silence. I messed with bitpool walues and couldn't find any working set. I'm afraid that's something wrong with max BT speed and not with A2DP implementation. I had BT speed switch app when I used broadcom BT stack and A2DP works great. Unfotunatelly normal mono BT headset doesnt work at all with this BT stack so I'm back to original stack
Click to expand...
Click to collapse
I've found that with MS stack and my Jabra BT620s the best bitpool is 33... good quality and good range (no interruptions)... jointstereo must be 1 otherwise the sound uses too bandwidth...
jarekt said:
I have latest V1 rom from Lt.Cmdr.Ivan - BT headset is Philips SHB7102 (works great with my Wizard and SEk800i). I did exacetely what U have asked for (but i have left jointstereo=0) and nothing happend. It sounds like 2s of music folowed by 15s of silence, then again 2s of music and 15s of silence. I messed with bitpool walues and couldn't find any working set. I'm afraid that's something wrong with max BT speed and not with A2DP implementation. I had BT speed switch app when I used broadcom BT stack and A2DP works great. Unfotunatelly normal mono BT headset doesnt work at all with this BT stack so I'm back to original stack
Click to expand...
Click to collapse
I also have Ivan's V1 Rom and have an Itech Radio headset. I completed the changes that you suggested and found that A2DP works well it did before the changes too. I have noticed that the sound quality may be a little better and the pauses are slightly reduced.
The main problem I have found with A2DP with all AKU0.5 ROMS is the pairing of the headset. If you soft reset you phone while the headset is on, A2DP will be auto detected when the phone comes up. If you play music then the music starts and stops and the phone becomes unstable. The work around is to turn your headset off, soft reset the phone. When the phone comes up turn the headset on and activate A2dp by pressing the button on the phone. Music then plays fine.
The registry changes you suggested did not help the above problem. AKU0.5 ROMS all seem to have this A2DP autodetect error on reset at least with my headset. Very frustrating.
gewin said:
I also have Ivan's V1 Rom and have an Itech Radio headset. I completed the changes that you suggested and found that A2DP works well it did before the changes too. I have noticed that the sound quality may be a little better and the pauses are slightly reduced.
The main problem I have found with A2DP with all AKU0.5 ROMS is the pairing of the headset. If you soft reset you phone while the headset is on, A2DP will be auto detected when the phone comes up. If you play music then the music starts and stops and the phone becomes unstable. The work around is to turn your headset off, soft reset the phone. When the phone comes up turn the headset on and activate A2dp by pressing the button on the phone. Music then plays fine.
The registry changes you suggested did not help the above problem. AKU0.5 ROMS all seem to have this A2DP autodetect error on reset at least with my headset. Very frustrating.
Click to expand...
Click to collapse
Sorry I meant to say " When the phone comes up turn the headset on and activate A2DP by pressing the button on the HEADSET."
mamiware said:
I've found that with MS stack and my Jabra BT620s the best bitpool is 33... good quality and good range (no interruptions)... jointstereo must be 1 otherwise the sound uses too bandwidth...
Click to expand...
Click to collapse
Hi Maniware,
Can you please further shed light in detail on the jointstereo?
Why jointstereo to be 1 or 0?
Thanks in advance!
KOR!
It goes well with joint stereo. Seems that it needs much less bandwidth. I've heard that jointstero=1 means that there is mono sound in effect.
"UseJointStereo"=dword:00000001 << mono
"UseJointStereo"=dword:00000002 << joint stereo
"UseJointStereo"=dword:00000000 << stereo
AFAIK
qtek 9000 - Logitech Mobile Bluetooth Headset
I'm not quite sure if my problem is right here - because i still have the original (last build) WM5 ROM (130.96 GER, Radio 1.09.00, ExtROM 1.30.185 GER).
I encounter statics while using the Logitech bluetooth headset, which is a mono one, making phone calls impossible due to stressed phone partners ... Only the person on the other end of the line encounters interruptions, me, as calling, not.
This is the main issue for me to update the ROM, and I'm trying to find out if any of your nice new ROMs will be of help.
Anyway, I haven't tried yet I'm afraid to destroy my device ...
thanx
Anna
my feedback:
device:
itech r35
Problems:
sound muted after 2 seconds of music.
audio players used:
audio manager
windows media player
i tried your advices, but not worked for me....
Sometimes it works when i put 70 (binary) on both Maxbitpool and bitpool...but on next device activation or reboot it just stop working...
A2DP and wireless
Just to be clear, my results are when I do not have wlan activated.
I changed UseJointStereo=dword:00000000.
Quality is good and it is definitely stereo.
Still have the auto detect problem. Interesting though, if I walk out of range for a while with the headset on, when I come back into range the A2dp is autodetect and the music starts playing through the headset again, quality is good. If I soft reset with the headset on and A2DP is autodetected, the headset is unusable.
If you do any of this with wlan on the quality is very poor with starts and stops.
Also noticed that audio manager does a better job with bluetooth than gsplayer, I think audio manager may have better caching.
Freezing
I think there's a problem with the latest core os files (AKU 0.7.0)... i havent' tried the MS BT stack, but with the Widcomm, using the bluetooth for anything more than 1 min, completely freezes the phone.
It does when listening music, transferring files, etc... if BT is idle, nothing happens (except than freezing the device when the Comm Manager gets confused and enables BT instead of gsm radio).
So it seems related to the core files.
Switching on and off, transferring data thru BT is a critical task and subject to lockups.
For the record, i used to use the BT A2DP and file transfer without ANY problem whatsoever in my old and horribly-underpowered HTC Tornado (omap850 @195mhz) so IT MUST WORK!
im using your latest rom and Motorola HT820 does not have a problem with it... even in the earlier roms you cooked... even tried it in indra's xoj version and darkforce's rom..
just wanted to clear it out just so you can rule something out...
rnzk8 said:
im using your latest rom and Motorola HT820 does not have a problem with it... even in the earlier roms you cooked... even tried it in indra's xoj version and darkforce's rom..
just wanted to clear it out just so you can rule something out...
Click to expand...
Click to collapse
Hi,
Now that sucks,
I have the same headset HT820 and audio sucks, long pauses etc etc.
Can you post your firmware Revision for me please, it should be printed on the inside of the headband.
Cheers,
Beast
Haha.. can you help my friend Beasty please
He's so happy with his new headset.
rofl......
Cheers,
Leo
@Beast J.K.
rnzk8 said:
im using your latest rom and Motorola HT820 does not have a problem with it... even in the earlier roms you cooked... even tried it in indra's xoj version and darkforce's rom..
just wanted to clear it out just so you can rule something out...
Click to expand...
Click to collapse
Plantronics Pulsar 260
Sound stops coming fter about 1 second of playback (used TCPM,
Audio Manager)
The same result after applying those reg mods....
Please try and install the stack found here: http://forum.xda-developers.com/showthread.php?t=291639
A2DP problems should go away, but then will come the freeze-after-1-min problems, like with my HP Stereo bluetooth headset
I've flash to your latest WM6 AKU 0.7 (WIFI Fix update 3) ROM just now. But sadly to say, the freezing thing still occurs after playing music with Audio Manager. It even freezes when watching videos using WMP. Usually around 1 minute it shall start freezing. FYI:
Bluetooth model: i-tech Clip
AnnaD said:
I'm not quite sure if my problem is right here - because i still have the original (last build) WM5 ROM (130.96 GER, Radio 1.09.00, ExtROM 1.30.185 GER).
I encounter statics while using the Logitech bluetooth headset, which is a mono one, making phone calls impossible due to stressed phone partners ... Only the person on the other end of the line encounters interruptions, me, as calling, not.
This is the main issue for me to update the ROM, and I'm trying to find out if any of your nice new ROMs will be of help.
Anyway, I haven't tried yet I'm afraid to destroy my device ...
thanx
Anna
Click to expand...
Click to collapse
I had the Qtek 9000 with italian version WM5 and i flashed WM6 with no problems. if you dont wanna have any problems unzip the attached file and add in the folder the 3 files (ms_.nbf ; nk.nbf ; radio_.nbf) from your prefered WM6 ROM (I personally use the latest Laurentius & Beast ROM http://forum.xda-developers.com/showthread.php?t=325466) start into bootloader (Power+backlite+softreset) and ROMUpgradeUt.exe
VERY IMPORTANT: you have to charge your batery before any flashing

Bluetooth fileshare on Hero?

Hello all,
I have pulled the Bluex program from one of the other build an ion version and trying to get it on hero. But any time that I search for devices i get an error "Error in local device (power disabled?)" any one know why that it does that or how it can be fixed. any help would be geratly appreciated.
The Hero Bluetooth drivers are all messed up, that's why it's not working.
sorry 4 OT, but
imho there should be no support for apps, which you have not bought in the market!
uh..
I don't think he's trying to pirate software, I think he just wants bluetooth transfers. I understand his desire as well, as I also like transferring pics and music through bluetooth.
Caid.
444
Yeh I am not trying to pirate software at all. It was included in one of the other builds that i have downloaded from here before. It did work on the build. I am able to use the bluetooth on the Hero rom for calls and music just that this application don't work. Just was wondering if anyone knew if I can just try and use the bluetooth files from the other build and push into the Hero rom but as I was looking over everything it does not seem to be just a overlay but a different version of the OS not just standard 1.5 with a fancy UI as I had thought. Does anyone know how that I can pull the config files from the 1.5 and put on hero I have had no luck so far.
bluetooth issues
I can get the Hero bluetooth working for stereo but it won't connect for calling.
I'm attempting this with my car's bluetootn (2009 acura tsx)
I can start a call but when someone answers, there's no sound.
Once again, bluetooth stereo works like a charm.
Tried a bluetooth stereo headset with exactly the same result,
Any ideas?
facevalue said:
I can get the Hero bluetooth working for stereo but it won't connect for calling.
I'm attempting this with my car's bluetootn (2009 acura tsx)
I can start a call but when someone answers, there's no sound.
Once again, bluetooth stereo works like a charm.
Tried a bluetooth stereo headset with exactly the same result,
Any ideas?
Click to expand...
Click to collapse
Theres usually different profiles that handle a handsfree connection to your car, and different ones that handle audio, so in this case A2DP for stereo headset. Other then that, I would know nothing else on how to go about fixing it. Unless your up for a complete reflash...
masterveovis said:
Hello all,
I have pulled the Bluex program from one of the other build an ion version and trying to get it on hero. But any time that I search for devices i get an error "Error in local device (power disabled?)" any one know why that it does that or how it can be fixed. any help would be geratly appreciated.
Click to expand...
Click to collapse
Same Problem for me.
facevalue said:
I can get the Hero bluetooth working for stereo but it won't connect for calling.
I'm attempting this with my car's bluetootn (2009 acura tsx)
I can start a call but when someone answers, there's no sound.
Once again, bluetooth stereo works like a charm.
Tried a bluetooth stereo headset with exactly the same result,
Any ideas?
Click to expand...
Click to collapse
I also have the 09 tsx and been trying to get my magic to transfer my contacts to the car but doesnt work. nk02's ion rom works flawless on cars. the hero roms not so great. maybe we have to wait for the next update from google to get proper contact transferring among other profiles?
I have the same problem
and as it to see,there is no solution so far.
I have the same problem with Hero ROM.
When I want to send file this error appear: error in local device (power disabled?)
And I can not receive any file.
Can anyone solve this problem?

Bluetooth A2DP warble with 2010 Toyota non/nav radios.

I'm looking at buying a new car and I tried playing music through a couple 2010 Toyota non-navigation radios. All the Android music/video players I tried would sound great for the first few seconds and then start a subtle warble/echo that continues until you pause/resume or switch tracks.
I've got an ADP1 currently running Cyanogen 4.2.11.1, but I saw the same problem with 4.2.9 and 1.6 (don't know about all the other various builds). I have several A2DP headsets and they always work fine (no warble).
I believe this Toyota radio is running Symbian OS from what I found on the web; and I'm going to try to see if Toyota has a software upgrade tomorrow. (I doubt it) Toyota does mention that most Bluetooth features are supported for the MyTouch, but doesn't mention A2DP either way. http://toyota.letstalk.com/brands/toyota-bt/home.htm
I'm downloading the whole Cyanogen tree and preparing to build it and then sniff through the code for buffer sizes and other likely suspects.
I just thought I'd pop this on XDA and see if anyone else has seen the same problem and found a solution.
Or does anyone know specifically where to look in the source to adjust buffer sizes and other things that might cause a warble with Bluetooth audio.
You should test before getting the car, ask the dealer if you can test the BT with the car when you get there.
I have been running A2DP on my Sony headunit for some time now. I have never experienced a warble on any of the roms I have used. I do get another issue however and maybe they are related. I can not stream stereo audio over BT to any device it seems, IF I also have my phones wifi enabled. As stated I do not get a warble, I get an audio drop for a few seconds every 30secs or so. This does not seem to happen if the headset is the only part connect, as soon as I connect the A2DP portions it starts up. Disabling wifi is my work around at present.
I have tried A2DP with/without WIFI enabled. No difference; still warbles.
Nothing interesting shows up in logcat.
I run A2DP through my ford focus with the microsoft sync system with no issues. Although the AVCRP does have issues. The control won't work after the phone goes to sleep.
The warble or echo may be due to an active system used to reduce road noise when using the phone hands free via bluetooth. Might check and see if there is a way of turning that off. Some of the foreign cars have active mics placed in the car that might cause this.
try an eclair rom (like manup456's 1.3)
BLUETOOTH IS IMPECCABLE ON THESE ROMS
it will work.
I tried turning off/on the auto volume; no help.
I'm not sure how to check/disable any bluetooth feedback; but it doesn't sound like that.
My friends Blackberry either worked fine (no warble) or was very very jerky (played quarter second, cut out a half second). And split its time about 50/50 between these modes.
I should mention the "warble" is not very pronounced, I can listen to most music without it making me crazy; but it bugs me.
Finally got all the stuff from git; now compiling the kernel.
I will try the compiled kernel tonight and if no luck there I may try the eclair rom mentioned; but I thought Steve's build already had most of the eclair stuff; maybe he is waiting on his experimental branch.
Edit:
oops, looks like a2dp stuff is not in the kernel....
I run A2DP on my kenwood deck. The only issue I experience is if I turn off the car and kill the stereo before killing my BT on my phone, my phone goes into freak out mode. I can't enable or disable BT untill I give a 3 finger salute and it just runs really slow. No warble, actually from CM 4.2.11.1 it sounds pretty damn decent.
I'm still trying to figure out how to compile the code from git; got the kernel and main tree compiled; but not the external apps (like a2dp).
Toyota gave me phone #s for Panasonic and somebody else who make the head units. So I am still pursuing a software update from that end as well. I'll call them next week after the holidays.
I've read thru the liba2dp.c code and have a couple ideas to try if I can figure out how to compile it (haven't really tried that hard, just looking for the official directions so I don't waste hours on something that is already known)
dude your doing too much work just try the eclair rom!!

Categories

Resources