Startrek A2DP: Mono - HTC Startrek

Anyone who uses A2DP will have realised by now that the implementation in the Qtek 8500 only supports mono - the quality is good but both channels are identical.
For Dopod S300 users this ROM is rumored to fix the problem. Of course we cannot use this rom on STAR100 devices other than the S300 due to the signature and operator ID checking for ROM updates. Therefore we need a way to either set the CID to 11111111, or manually extract the relevant A2DP dlls from the dopod ROM.
Any thoughts?

Yeah I tested my bluetooth stereo headset also and it plays Mono from both earpieces. Not sure why they call it stereo when it isnt. I hope this is fixed in the next ROM or maybe there is a registry hack for it

I tried the DLLs from the Dopod ROM - still mono

s300
I have a dopod S300 with A2DP working fine. I use it with the Motorola headphones.
OS:5.1.195
Radio Version: 4.1.13.14_02.26.31

s300
I have a dopod S300 with A2DP working fine. I use it with the Motorola headphones.
OS:5.1.195
Radio Version: 4.1.13.14_02.26.31

To have real stereo with your bluetooth stereo headphone you have to change the following registry key:
HKLM\SOFTWARE\Microsoft\Bluetooth\A2DP\Settings
Change the UseJointStereo value 1 to 0.
The value 1 means dual mono, value 0 means stereo.

[HKLM_LOCAL_MACHINE/Software/Microsoft/Bluetooth/A2DP/Settings]
Modify, Value name=UseJointStereo; Value data=0 (Decimal, Originally 1)
1 - Join Stereo (Mono)
0 - Real Stereo
To improove Audio Quality modify the following keys:
Dword, Value name=BitPool; Value data=48 (Decimal)
Modify, Value Max SupportedBitPool; Value data=48 (Decimal)
For BitPool:
Microsoft suggests the following bitpool values for optimal buffer sizes.
30 - Low audio quality
40 - Medium audio quality
48 - High audio quality
58 - Excellent audio quality
Chose one you like. I think 48 is good enough.
Thanks Wiki for the info.

hello everyone!
just go the qtek 8500 2 days ago and was trying to implement the a2dp fix mentioned in this thread - http://forum.xda-developers.com/vie...ostorder=asc&highlight=a2dp+lag+patch&start=0 - but found to be unable to create or modify entires in the HKEY_LOCAL_MACHINE\Drivers\BuiltIn\BtA2dpSnd section. This is sad since the audio interrupts too much more often then on my qtek9100 before it was stolen . Does anyone have an idea as to why i cant make a modification and whether anything could be done about that?
thanks!

abbot33 said:
[HKLM_LOCAL_MACHINE/Software/Microsoft/Bluetooth/A2DP/Settings]
Modify, Value name=UseJointStereo; Value data=0 (Decimal, Originally 1)
1 - Join Stereo (Mono)
0 - Real Stereo
To improove Audio Quality modify the following keys:
Dword, Value name=BitPool; Value data=48 (Decimal)
Modify, Value Max SupportedBitPool; Value data=48 (Decimal)
For BitPool:
Microsoft suggests the following bitpool values for optimal buffer sizes.
30 - Low audio quality
40 - Medium audio quality
48 - High audio quality
58 - Excellent audio quality
Chose one you like. I think 48 is good enough.
Thanks Wiki for the info.
Click to expand...
Click to collapse
Can you tell me where I would do this on my 8125 phone? I use the path you stated and I don't have a setings folder. The only folder inside a2dp is devices. This is the path on my phone:
HKEY_LOCAL_MACHINE/Software/Microsoft/Bluetooth/A2DP/DEVICES
Thanks

it works!
now I can listen to the stereo music from my startrek.
but the sound quality is still not so good, even after I did what the above said,
is there any good way to solve that?
thanks

Related

Sound enhancement

Hi All!
I've been thinking about lack of the bass when playing music to headset.
There might be three ways to solve this problem:
1. Modifying headset. Just put some brand headphones (koss the plug).
2. Modifyning output filter for DAC (Increasing value of capacitors of filters on pins 24 and 26 of UDA1341).
3. Enabling bass-boost mode programmatically, because it's present in UDA1341.
So the questions are:
1. Does somebody already tried to solve the problem?
2. To developers: is there a way to access UDA1341 registers from the application level or it's accessible only by drivers? Did somebody try to disassemble it?
Thanks, Alexey.
Bass and treble
Hi there, i'm not any kind of programmer but there is a .cab file in the ftp that seems to work it, called Bass and Treble, check it out.

Wizard+Jabra BT620s Headset

Hi,
I got mine finally working with the orig. BT-Stack on my wizard with german T-Mobile ROM 2.21.2.8
To install the stack, I used the two CABS from Denmark(?):
1Enable A2DP.cab, 1Enable A2DP.cab
I did the following changes to the registry after a softreset:
HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/Bitpool=48 (new key as DWORD)
HKLM/Software/Microsoft/Bluetooth/Audiogateway/Capability=69 (was initally at 37)
Note, that you do not have to do a soft-reset in order to let them take effect, just switch BT off an on after 5sec. Of course, "use as Wireless Stereo" needs to be done after each switch.
What is really helping for the usability of the device is the use of Battery Status as today-plugin-you can switch between 195 MHz CPU-Speed and (working) 273MHz with just one click.
As mp3-player, PocketMusic works fine for me. CPU load with BT on at 273MHz: ~65%
Hope to help, Horst-Vario
Gps and AD2p
Have you been able to use the GPS and the AD2P at the same time?
i get sound skipping when i try to do this.
I have modified the registry, but i have no improve.
I overclock the phone at 252Mhz (omapclock) but it does not improve anything.
As soon as the GPS soft stops, the sound goes back to normal playback.
What does this settings actually do?
Got my Jabra BT620s working with HTC HD2
Same skipping problem as has been described before, the problem for me was that when I got a registry editor on my phone, there was no branch that went as far as A2DP.
So I created the branch. I seems to have greatly diminished the skipping and the sound bending, though I am keeping my eyes open for a better more modern BT headset.
cingular wiza100 rom update
any can help me to update rom of cingular wiza100
thx

Enabling a2dp on Ameo

Hi All
I'm trying to get my BT headset working with my ameo. At first I could only get Headset capability's. After installing zoa2dp_113.cab file the stereo headset profile worked once. Now I can't get it to work anymore.
Can anyone help me please?
PP88 said:
Hi All
I'm trying to get my BT headset working with my ameo. At first I could only get Headset capability's. After installing zoa2dp_113.cab file the stereo headset profile worked once. Now I can't get it to work anymore.
Can anyone help me please?
Click to expand...
Click to collapse
try to uninstall. if not, hardreset.
the athena wiki has instructions for a2dp
Hope this Helps ... Took it from the Wiki
Q: How do I activate the A2DP Stereo in Bluetooth? A: Sorry but no simpler way. You must use reg edit and to the following:
HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/?BitPool=30 - change to 48
HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/?MaxSupportedBitPool=30 - change to 58
HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/?UseJointStereo=1 - change to 0
Can anyone advise whether a2dp is activated on the X7501 Advantage?
I am unclear on this...
Thanks
Keith Walker
pshetty said:
Hope this Helps ... Took it from the Wiki
Q: How do I activate the A2DP Stereo in Bluetooth? A: Sorry but no simpler way. You must use reg edit and to the following:
HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/?BitPool=30 - change to 48
HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/?MaxSupportedBitPool=30 - change to 58
HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/?UseJointStereo=1 - change to 0
Click to expand...
Click to collapse
Yes A2DP is active on ameo.
You may not need to do anything to the original settings, except delete two items. Look here
http://forum.xda-developers.com/showthread.php?t=308752
Edit: You may not have to delete the bitpool items. Use the above settings , but keep Jointstereo at 1. Just got pm from some audiophile
This issue has already been discussed here on Ameo. People should learn to SEARCH before asking the same questions all over
It's not the same question.
The X7501 Advantage has a different ROM from the Ameo/X7500 and it runs on WM6 and not WM5.
So before I go messing with the registry, I thought I would ask to see if anyone else checked on those settings for the newer device.
So I guess no one checked?
victoradjei said:
This issue has already been discussed here on Ameo. People should learn to SEARCH before asking the same questions all over
Click to expand...
Click to collapse
FYI: Bluetooth Registry Settings on WM6 X7501
It appears that the settings did not change.
I downloaded Resco Explorer v6.10:
http://www.resco.net/pocketpc/explorer/downloads.asp
and the files are located in a somewhat different file:
HKEY_LOCAL_Machine\Software\Microsoft\Bluetooth\A2DP\Settings
Then follow the instructions on this thread for WM6 settings, which are different from the above settings:
http://forum.xda-developers.com/showthread.php?t=308752
I am playing with the settings now, and I can't see a difference, and whats worse, I get drop outs of about a second when listening to music with my Jabra BT8010
Update:
Having good luck with these settings:
UseJointStereo = 1
SampleRate = 48000
and deleting these settings:
BitPool
MaxSupportedBitPool
Thanks
Keith Walker

[REF]Information for the ROM CHEFS out there.

Hello PPL,
i dont usually post in the forum but iv got some info for those cookers out there. Got my Touch pro yesterday, been playing around with it. Found some bits with the standard HTC rom Version 1.90.405.1 Radio 1.02.25.19
Wifi- Works fine but gets very warm at top of device (posible power usage problem,Radio)
Bluetooth A2DP- had to change bit rate from 44100 to 48000 (through Adv config)
FMRADIO- works fine but will not feed radio stations through bluetooth headset. Only to wired headset.
TF3D- can be sluggish.... hope you guys can speed things up out there.
Voice Call record-any chance of this in upcoming roms. have heard this is possible on device
Graphic equalizer- any chance this can be modified for Bluetooth Headset.
Landscape mode via shortcuts menu. runs without graphic acceleration. (use TOMTOM 6.030 in landscape. No option to change to this in tomtom program. screen refresh (2fps if lucky) very wiered whole phone slows down until return to home screen which then returns to portrait.
This device is a great platform for you guys to develop your roms on to. Cant wait to see some of your work in the next comming weeks. I hope some of this info is a help to you lot out there
Goodstone
A2DP only works on a bitrate of 48000 it doesnt support other
the fm radio probably uses the wired headset as antenna like the old sony phones. even if one gets it to work through bluetooth it would still be needing this wired headset to receive broadcasts
reply
i thought by having the wired headphones and connected the bluetooth that i would get the volume from radio through to bluetooth but still reroutes to wired.
in regards to A2DP. the playback quality from touch without adjusting value was pretty poor. especially at top range sounds. if A2DP only supports 48000 how comes there is an adjustment on SCHAPS ADV config to change bitrate to 44100.
I have a question, are the wired headphones any good?
Is it possiable for someone to extract the software for the fm radio? Curious to see if it works on the fuze...
....
Wired headphones not to bad to use, earphones dont stay in my ears one of those people with funny shapes ears.
Anyone do you think there will be a fix to the landscape issue because i use my tomtom alot for my job and i like the display in landscape.
cheers
Remember people, Raphael is still in the VERY early stages, loads of stuff should be fixed fairly rapidly, best part of having a PPC
goodstone said:
i thought by having the wired headphones and connected the bluetooth that i would get the volume from radio through to bluetooth but still reroutes to wired.
in regards to A2DP. the playback quality from touch without adjusting value was pretty poor. especially at top range sounds. if A2DP only supports 48000 how comes there is an adjustment on SCHAPS ADV config to change bitrate to 44100.
Click to expand...
Click to collapse
probably the radio application not supporting it.
A2DP should work with 32000 , 44100 and 48000 , but i found out it only works well on 48000 with the blue soleil software i use on my pc.
further investigation showing that the device and rom support all bitrates.
most logitech a2dp devices work well on 44100 joint stereo mode. allmost all nokia a2dp devices use 32000 joint stereo. jabra uses 48000 stereo. sony uses 48000 stereo. the rest im not familiar with. older a2dp devices tend to work better at 32000 joint stereo mode.
goodstone said:
Hello PPL,
Wifi- Works fine but gets very warm at top of device (posible power usage problem,Radio)
Bluetooth A2DP- had to change bit rate from 44100 to 48000 (through Adv config)
FMRADIO- works fine but will not feed radio stations through bluetooth headset. Only to wired headset.
Graphic equalizer- any chance this can be modified for Bluetooth Headset.
Click to expand...
Click to collapse
I'm using SRS Wow HD in ELF, but will definitly give it a try on the Pro.
It works through BT.
And maybe then the BT trick that was tried with having the earplugs connected might work.
Attached you'll find the version i made the with the advanced settings.
As for Wifi what is the default setting in it's power mode?
suppose this works on a wizard also ?
da_jojo said:
suppose this works on a wizard also ?
Click to expand...
Click to collapse
I have a wizard but haven't tried it, been playing to much with my ELF
hehe i would too if i got one ^^
im still waiting for my touch pro to arrive
in the meanwhile i will give the srswow a shot and try it on a friends plain mda vario, since mine allready got the srswow thing.
i'll report back on that one.
We'll i'll be ordering mine on Friday morning so with luck it's in on Saturday.
Def the first thing to install and test can't live without it anymore.
Once your used to Sound enhancements and go back to regular you realise what your missing.
And i never tried the HTC equalizer as it did not support me ST-BT headset.
thanks will try WOWHD tomorrow. default power setting in wifi is best battery. HTC should really work on there software, hopefully there music player should get better with later rom versions. Now using windows media to play audio getting a much better sound quality.
goodstone said:
thanks will try WOWHD tomorrow. default power setting in wifi is best battery. HTC should really work on there software, hopefully there music player should get better with later rom versions. Now using windows media to play audio getting a much better sound quality.
Click to expand...
Click to collapse
Well it wasn't working over the headset it had no effect using the HTC Player.
But then switched to my BT headset and WMP and it's doing it's jiggy.
Also working on the build in speakers using WMP.
Looks like the HTC player is using it's own Audio Driver.
But with the ToiuchFlo3d config tool it gets even better.
I can't compare it to a previous diamond situation though.
For me that's an easy choice. WMP it is then. Gives me one less tab on the Home screen
I'll try the BT Sample rate tomorow.
Touchflo was doing fine barely glitches
Noonski said:
Well it wasn't working over the headset it had no effect using the HTC Player.
But then switched to my BT headset and WMP and it's doing it's jiggy.
Also working on the build in speakers using WMP.
Looks like the HTC player is using it's own Audio Driver.
But with the ToiuchFlo3d config tool it gets even better.
I can't compare it to a previous diamond situation though.
For me that's an easy choice. WMP it is then. Gives me one less tab on the Home screen
I'll try the BT Sample rate tomorow.
Touchflo was doing fine barely glitches
Click to expand...
Click to collapse
WMP is wicked with WOW. iv got to say HTC media player is rubbish.Hope someone tweeks the htc player. i like the graphic interface on it

Audio input signal path - minimizing phase distortion/HPF

After digging into the kernel code for the Qualcomm WCD audio codecs on a few phones (Hammerhead, Pixel, Nexus 6P) I'm having some trouble figuring out how to access the DC blocking/high-pass filter being applied to a signal coming in through the headset mic line (ADC2 on some phones). Looking at the spectrum on all of these phones shows a definite high-pass filter shape with a cutoff between 50-100 Hz depending on the phone. What is more problematic is the phase distortion that the DC blocker is applying.
Originally I tried modifying the TX HPF Cutoff settings as well as turning it on in cases where it was still off during recording, just to see if it would have an effect. These values don't seem to affect the signal at all, whether it's set to 3 Hz, the default of 75, or the max of 150. I believe the TX HPF is only part of the signal chain during telephony modes and not during normal recording. There are also IIR filters available with these Qualcomm codecs but looking at the datasheet for the WCD9311 (the only one publicly available) shows that these are for sidetone processing and not the direct ACD headset mic path, so again it seems these are only applicable in telephony modes.
For my application the raw signal is desired - so minimal HPF effects, no ANC, no Compander, and no automatic gain control. Basically what the new UNPROCESSED config in Nougat is supposed to provide, but testing so far on the Pixel has shown that this HPF+phase distortion are still happening even when running a clean square wave or similar signal in through the headset mic line. I'm using TinyMixer to check exposed mixer path values over adb in real-time while recording (and comparing the values to what they are before recording).
In the past on the Nexus S this problem could be overcome with root by modifying a register (the enum was something like ADC High Pass Filter Switch), but the mixer paths for these WCD9xxx codecs are a little more complex with no signs of a single HPF switch for this ADC line that exists outside of the TX one. This doesn't seem to be a problem that many people face but I was hoping for any insight anyone here may have, and also hoping that anyone who needs to use this line in without distorting their signals will be able to find a solution in the future, at least before USB C over and the 3.5mm jack becomes obsolete.

Categories

Resources