PDA

View Full Version : Yikes! I just fixed my A2DP skipping problem with this patch!


Pages : [1] 2

Sleuth255
1st December 2006, 11:38 PM
Background:

When jompao (his original thread on this is here (http://forum.xda-developers.com/showthread.php?t=284644)) brought an interesting A2DP workaround to light I was intrigued:

Apparently there's this free, opensource taskmanager which, when running, corrects the Hermes skipping problem! So I tried it for myself and damn if it wasn't true! Not only did it allow my iPAQ stereo headset to operate w/o skipping but the non skip range on my HS-12W was doubled too!

So, I obtained the code and found out what was going on. Turns out, this free little gem of a task manager determines CPU usage by running an infinite loop thread (it does a "while(1)" for all you code jocks) at THREAD_PRIORITY_IDLE, then, based on a timer trigger, it periodically stops the thread and sees how much time it got. The more time it gets, the more idle the cpu being the rationale here.

btw: Thanks for generously donating your Taskmanger to the opensource community Yuichiro Ishitani! :)

Anyway, I said to myself "Heck Sleuth, you can build a service process that does this in about 5 minutes". So I did & now I listening to skip-free Jimmy Buffett on my iPAQ headset with my little A2DP fix service running in the background.

heheheheh.....

Installation Instructions

1. Transfer A2DPFix.cab from the attachment to your Hermes device
2. Tap on the cab to install. Note: you must install this to your device! The service dll can't run from extrom or your storage card!
3. When the installation is complete, reset your Hermes
4. Enjoy skip free A2DP!

Early implementor additional instructions

I had to change the service key to allow automatic start so you will need to manually remove the old key. You must do this before installing v1.0. Here's how:

1. Stop the A2DPFix service
2. Remove the entire HKLM/Services/A2DPFix key from your registry.

Latest Breaking News:

12/03/06
There may be registry settings, previously done in an attempt to work around the skipping problem, that are now hindering rather than helping. Changing quality and other A2DP settings with the Hermes registry Tweaker may actually contribute to this. If you are still skipping with a known good ROM/headset combination, please check your registry settings against these and report on your findings!

(all DWORD values are decimal)

/HKLM/Drivers/BuiltIn/BtA2dpSnd
remove any Priority256 value
HKLM/Drivers/BuiltIn/WaveDev,
Priority256=149
/HKLM/Software/Microsoft/Bluetooth/AudioGateway
Capability=37
/HKLM/Software/Microsoft/Bluetooth/A2DP/Settings
UseJointStereo=0
BitPool=58
MaxSupportedBitPool=80
Remove all other values from this key including SampleRate

Don't forget to reset your Hermes if you change any of these!

12/02/06
As promised, there's now a CAB based installation
ROM version dependency confirmed! This patch's effectiveness is inconsistent with the orignal v1.18 TyTN ROM. YMMV on this ROM for sure.
12/01/06
The success of this patch may also be related to the ROM version you're running. I have the latest TyTN ROM loaded and it has quite a few out-of-the-box performance tweaks which are also included in the latest Cingular and DoPod ROMS.


Known Good ROMs/Headsets

These ROMs are known to benefit from applying this patch:

TyTN v1.35 ROM
Cingular v1.34 ROM

In addition to the few headsets that used to work, the following additional Headsets now work with this patch (I'll add more as I find out)

SE HBH-DS970 (http://www.sonyericsson.com/spg.jsp?cc=global&lc=en&ver=4001&template=pp4_1_1&zone=pp&lm=pp4_1&pid=10394)
Moto HT820 (http://www.mobilefun.co.uk/product/6589.htm)
Logitech iPod Headset (http://www.etech4sale.com/Logitech_Headset_Wireless_Headphones/980397-0403/partinfo-id-219226.html)
HP iPAQ Headset (http://mobilitytoday.com/article.php?a=iPAQ_HP_Bluetooth_headphones.html)
Jabra BT 620S (http://www.jabra.com/JabraCMS/NA/EN/MainMenu/Products/StereoHeadsets/JabraBT620S/JabraBT620s.htm)

As always, Enjoy!

Hiryu
2nd December 2006, 12:51 AM
Tried it according to your instructions (imported the .reg with Total Commander), started BT and set my headset as Wireless Stereo (for some reason the TyTN doesn't keep the setting even when selected in the partnership settings.

And it still skips (drops audio) for me. :(

Sleuth255
2nd December 2006, 12:56 AM
Is the service started? What A2DP headset are you using? Did you try the Taskmanager workaround I referenced, and if so did that work for you or not?

Hiryu
2nd December 2006, 01:00 AM
Is the service started? What A2DP headset are you using?

Yes, checked with dotFred's TaskMgr. It autostarts after a soft reset it seems?

Sleuth255
2nd December 2006, 01:02 AM
It will auto-start only if you're also running SPB Pocket plus.

edit:

I'm trying a reset now to see if it's still working afterward....

edit2:

Still working for me. Set your following registry entries to the following and see what happens:

HKLM/Software/Microsoft/Bluetooth/A2DP/Settings

UseJointStereo = 0
BitPool = 58
MaxSupportedBitPool = 80

also: What ROM are you running?

Hiryu
2nd December 2006, 01:09 AM
It will auto-start only if you're also running SPB Pocket plus.



Yeah, I have SPBpp

Hiryu
2nd December 2006, 01:24 AM
It will auto-start only if you're also running SPB Pocket plus.

edit:

I'm trying a reset now to see if it's still working afterward....

edit2:

Still working for me. Set your following registry entries to the following and see what happens:

HKLM/Software/Microsoft/Bluetooth/A2DP/Settings

UseJointStereo = 0
BitPool = 58
MaxSupportedBitPool = 80

also: What ROM are you running?

Done, still skipping. Although it looks like it's skipping a little bit less now. Also, the TyTN is completely unusable when music is playing, it is VERY slow to respond to anything other then the pause/stop and forward/backward buttons on my headset.

ROM version: 1.18.255.3
ROM date: 07/22/06
Radio version: 1.03.03.10
Protocol version: 32.34.7010.01H
ExtROM version: 1.18.255.106

Sleuth255
2nd December 2006, 01:33 AM
Yeah, that's normal with your ROM. You're on an original TyTN ROM. You'll even lose the digitizer occasionally with A2DP running. I wonder if this patch is ineffective on your ROM. I'm using the South African v1.35 TyTN ROM currently.

Edit:

Did you try the Taskmanager workaround? I'm betting that won't work for you either. Part of this patch's requirements may be upgrading to either the latest Cingular, DoPod or TyTN ROM. These ROMs have a quite a few performance tweaks that may just allow my A2DP patch to "take it over the top" from a skipping perspective.

What BT headset are you using btw?

Hiryu
2nd December 2006, 01:44 AM
Yeah, that's normal with your ROM. You're on an original TyTN ROM. You'll even lose the digitizer occasionally with A2DP running. I wonder if this patch is ineffective on your ROM. I'm using the South African v1.35 TyTN ROM currently.

I'm putting off upgrading as long as I can (don't feel like reinstalling all my apps all over again :) ) But it seems I might have to try that now.

Hiryu
2nd December 2006, 01:48 AM
Did you try the Taskmanager workaround? I'm betting that won't work for you either. Part of this patch's requirements may be upgrading to either the latest Cingular, DoPod or TyTN ROM. These ROMs have a quite a few performance tweaks that may just allow my A2DP patch to "take it over the top" from a skipping perspective.

What BT headset are you using btw?

That was the first thing I tried. I have the Jabra 620s headset

Sleuth255
2nd December 2006, 01:52 AM
I'm putting off upgrading as long as I can (don't feel like reinstalling all my apps all over again :) ) But it seems I might have to try that now.
Yeah, I know what you mean... I'm getting used to the routine now tho but it still takes a while. Flashing itself is less stressful now that I have a known good computer with a known good USB port which I use for flashing. The 20 minute Hermes flash process caused high anxiety for sure the first time I tried it.

Hiryu
2nd December 2006, 01:59 AM
Yeah, I know what you mean... I'm getting used to the routine now tho but it still takes a while. Flashing itself is less stressful now that I have a known good computer with a known good USB port which I use for flashing. The 20 minute Hermes flash process caused high anxiety for sure the first time I tried it.

guess I will bite the bullet tomorrow and upgrade, It's 2am here and that's not a good time to do anything that stressful.

Have any good links for upgrading?

Sleuth255
2nd December 2006, 02:11 AM
Not really. Here's some tips though:

Practice safe flashing techniques:

1. Windows XP with nothing else running
2. Screen saver off, sleep mode off, powersave mode off
3. Use a rear USB port. Make sure activesync works ok on it.

Do pof's SuperCID upgrade first. See his thread in the upgrading section for how. There's good step-by-step instructions. I'd read through the whole thread (takes a while) first to be familiar with any pitfalls.

The current TyTN ROM can be found in the Wiki along with flashing techniques and recovery for common errors.

and finally: don't exit until the ride comes to a complete stop.... ;)

jompao
2nd December 2006, 11:24 AM
Excuse me but I'm fairly new to Tytn and Windows Mobile devices. The .zip file should it be renamed to .cab once downloaded or is this something you will upload later? :confused:

Hiryu
2nd December 2006, 02:01 PM
Not really. Here's some tips though:

Practice safe flashing techniques:

1. Windows XP with nothing else running
2. Screen saver off, sleep mode off, powersave mode off
3. Use a rear USB port. Make sure activesync works ok on it.

Do pof's SuperCID upgrade first. See his thread in the upgrading section for how. There's good step-by-step instructions. I'd read through the whole thread (takes a while) first to be familiar with any pitfalls.

The current TyTN ROM can be found in the Wiki along with flashing techniques and recovery for common errors.

and finally: don't exit until the ride comes to a complete stop.... ;)


Thanks Sleuth! Upgraded and now I have no more skipping audio!

Sleuth255
2nd December 2006, 03:45 PM
@jompao:

Sorry about this reply's delay: it's now morning here in the US Midwest. If you unzip the archive on your PC you'll find two files: the reg file and the dll itself. It's strictly for "early implementors" though so if you don't know what to do with these offhand, just wait a few hours and I'll have a full install cab posted. I have to code up a small program to start the dll automatically first.

@Hiryu: that's great to hear :) I'll add your jabra headset to the list of supported hardware. Btw: did the upgrade correct the problem that headset has with pairing or do you still have to go into bluetooth settings to get it to pair?

jompao
2nd December 2006, 03:53 PM
[QUOTE=Sleuth255;1067063]@jompao:
It's strictly for "early implementors" though so if you don't know what to do with these offhand, just wait a few hours and I'll have a full install cab posted. I have to code up a small program to start the dll automatically first.
QUOTE]

No worries! I will wait for the .cab file as to not mess up my device.. :-)

aquanaut88
2nd December 2006, 04:05 PM
A big mahalo to you Sleuth!

Works great on the HTC v1.35 ROM to a pair of NBH-DS970's... one little skip while downloading over UMTS but fixed that by pumping up file caching to 4mb and audio buffer to 2000 msec on pocketplayer v3.01. No slowness whatsoever.

Email, internet, open and closing various programs all while jammin' to a little jeff beck's guitar shop...

Cheers

Sleuth255
2nd December 2006, 04:09 PM
Damn! Streaming audio.... I'm jealous! No UMTS here yet :(

shogunmark
2nd December 2006, 04:11 PM
Damn! Streaming audio.... I'm jealous! No UMTS here yet :(

not to make you anymore jealous but i was streaming my xm radio off my phone... with UMTS it worked fantastic, and now with the patch there is no skipping :D

Sleuth255
2nd December 2006, 04:25 PM
Fine, rub it in.....

jompao
2nd December 2006, 04:27 PM
Damn! Streaming audio.... I'm jealous! No UMTS here yet :(

In Sweden 3 recently announced the HSPDA or Turbo 3G as people likte to call it. Should get 1.8 mbit which is the limit of the Tytn (net does up to 3.6 Mbit now). It's not available where I live yet but it's coming. I'm sure I will use it intead of my normal internetconnections at home and at work.

Nice stuff coming from 3 is the new add on subscrition: X-series some really cool stuff you can use at a flat rate, includes Orb, Sling, Skype, Messenger etc, etc. At a fixed cost for datatraffic these things are getting quite interesting and with HSPDA speeds even moore so.. I only hope it will be available for the Tytn to.

Se it in english here:

http://www.three.co.uk/xseries/index.omp

3 is for sure the most progressive operator in Sweden!

Sleuth255
2nd December 2006, 04:43 PM
What ROM are you running on your TyTN jompao?

jompao
2nd December 2006, 04:56 PM
What ROM are you running on your TyTN jompao?


It says

Rom: 1.18.263.2
Rom-date: 07/22/06
Radio: 1.07.01.10
Protocol: 32.40.7010.02H
ExtRom: 1.18.263.9704


Sounds old, no?

When you upgrade to a new rom version is all special stuff from the operator in the ext rom deleted? Can I upgrade and still have all settings from my operator, Swedish language, keyboard etc, or is all that gone? If so it's not wrth the hassle of upgrading.

Sleuth255
2nd December 2006, 05:06 PM
hmmm...

yes, the TyTN ROM upgrade will remove operator settings for data. Odd that you're working skip-free with that ROM. You have the SE headset too.

strange.... there's still more to this it would seem.

jompao
2nd December 2006, 05:30 PM
hmmm...

yes, the TyTN ROM upgrade will remove operator settings for data. Odd that you're working skip-free with that ROM. You have the SE headset too.

strange.... there's still more to this it would seem.

If you backup all the stuff in ext_rom and restore after an upgrade, then hardreset will it install all those special stuff from my operator as it did when first starting the unit?

I recently uploaded a copy of the swedish ext rom in the other hermes upgrade section.

Hiryu
2nd December 2006, 06:25 PM
@Hiryu: that's great to hear :) I'll add your jabra headset to the list of supported hardware. Btw: did the upgrade correct the problem that headset has with pairing or do you still have to go into bluetooth settings to get it to pair?

I still need to go into BT settings to set it to Stereo Headset. It is selected when I check the properties, but after a refresh it is deselected again.

Sleuth255
2nd December 2006, 06:30 PM
@jompao: Yep, it will. Your operator's customizations are all in the Extended ROM.

After upgrading, abort HTC customizations by pressing reset when it starts the customizations countdown. Then, load your operator's customization cabs from the extrom dump you have. The order to load them will be shown in a file called Autorun IIRC. You can view this with notepad.

zamsky1
2nd December 2006, 09:55 PM
Thank you very much, Sleuth255!
Works like a charm at Wizard aku3.2 with Sonorix OBH-0110

Sleuth255
2nd December 2006, 09:57 PM
As promised, I've added a CAB based installation/instructions to the first post. Have fun with it!

jompao
2nd December 2006, 11:18 PM
Many thanks!!! Never thought I'd see a elegant fix this quick!

Works great here, also I can say that the Conduits Pocket Player works great, as suggested by someone else in this thread. Seem to use up less CPU then wmp.

Hmmm.. seem to lockup the digitizer when fiddling with Pocket Player.

Kicking it to some sweet sounds here :D

bobstarina
2nd December 2006, 11:31 PM
Upgraded my TyTN to South African ROM,
Your A2DPFix patch installed correctly (TaskManagers shows me that service is running) but the working of my Jabra 620s is worse that it was before (on original ROM 1.18 :( ).
I get 2-3 minutes of music with skipping and then I can hear only skipping with some portions of music!

During this my TyTN can't respond on stylus (hardware buttons are still working)...

I don't understand what is going on...

jompao
2nd December 2006, 11:55 PM
Which players are you using successfully with Sleuths great fix and the A2DP hack?

Works ofcourse with wmp, also testing the pocket player by condutis which seem fine, but a little buggy, also forget about the EQ it decreases the soundquality if you listen carefully (listen to some acoustic music and it's obvious distortion).

Sleuth255
3rd December 2006, 12:01 AM
@bobstarina: You're saying that since the upgrade to 1.34 that its now worse than it was on v1.18. You're definately running a known good combination. That is very odd....

Sleuth255
3rd December 2006, 12:08 AM
@bobstarina: Do you have WiFi on or off?

A2DP & WiFi don't get along. Having both on will cause the symptoms you describe. It's a known issue that my patch doesn't fix.

cdyat
3rd December 2006, 12:12 AM
rom version 1.20.161.6

on uk vodafone rom with se bh ds 970

works brilliantly

thanks so much

Sleuth255
3rd December 2006, 12:12 AM
@jompao: coreplayer here. No issues other than a lack of AVRCP support.

jompao
3rd December 2006, 12:16 AM
@jompao: coreplayer here. No issues other than a lack of AVRCP support.

I will check it out. Any luck with streaming over wifi? Just tried it and it seem to be to much for the phone to handle som sound comes and goes every few seconds here. Would be sweet to stream shoutcasts and such at home and in the office over wifi. But this A2DP seem to use a lot of CPU time. Strange that it even works on lower spec phones, or is it just really poorly optimized in win mobile?

Sleuth255
3rd December 2006, 12:20 AM
No, WiFi and BT don't get along on a Hermes. The skipping and breakup is horrible and has been from day 1. It'll take AKU3.x to fix this I'm betting.

Or its a hardware problem and we'll never see it work. :(

jompao
3rd December 2006, 12:27 AM
No, WiFi and BT don't get along on a Hermes. The skipping and breakup is horrible and has been from day 1. It'll take AKU3.x to fix this I'm betting.

Or its a hardware problem and we'll never see it work. :(


I think I will wait to upgrade my phone until there's a rom with AKU3, hope it arrives soon. 3 here has an all you can eat music plan over UMTS for about 8$ a month, there's a lot of streaming channels to choose from, hopefully this will play nice with A2DP.

bobstarina
3rd December 2006, 12:31 AM
Sleuth255
WiFi is set to off.
Tried WMP and MortPlayer - both have perfect handling of AVRCP and both have the same problems with skipping...
Of course I have AudioGateway and A2DP tweaks installed.
/HKLM/Drivers/BuiltIn/BtA2dpSnd/Priority256=60 (Dec)
/HKLM/Software/Microsoft/Bluetooth/AudioGateway/Capability=69 (Dec)
/HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/UseJointStereo=0
/HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/SampleRate=48000 (Dec)
/HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/BitPool=48 (Dec)
/HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/MaxSupportedBitPool=48 (Dec)

Tried your settings of BitPool:
BitPool=58 (Dec)
MaxSupportedBitPool=80 (Dec)
But it makes no sence...

Sleuth255
3rd December 2006, 12:39 AM
ok, lets check your a2dp settings. I'm using these with great results:

HKLM/Software/Microsoft/Bluetooth/A2DP/Settings

UseJointStereo = 0
BitPool = 58
MaxSupportedBitPool = 80

Also, what was the result of your testing with the Taskmanager workaround?

bobstarina
3rd December 2006, 12:48 AM
I've just write down my setting in registry...
Please see my previous post.
And now about TaskManager:
This solution does not help me too so there is not a problem with your service but with the used method itself.

Sleuth255
3rd December 2006, 01:20 AM
ok, here's my differences from yours:

I have no Priority256 value in /HKLM/Drivers/BuiltIn/BtA2dpSnd
/HKLM/Software/Microsoft/Bluetooth/AudioGateway/Capability=37(Dec)
I have no SampleRate value in /HKLM/Software/Microsoft/Bluetooth/A2DP/Settings, only the three values I described earlier.

Don't forget to reset your Hermes if you change any of these: especially the priority256 settings (this is the one I suspect btw). Also, in HKLM/Drivers/BuiltIn/WaveDev, my Priority256 setting is 149 (dec). I suspect that yours may be lower.

Sleuth255
3rd December 2006, 05:06 PM
Updated page 1 with preferred A2DP Registry settings for this patch. See the "latest breaking news" section for these. Check them out if you've applied the patch and are still experiencing skipping issues! If these settings correct the problems then I can update the CAB to automatically apply them when the patch gets installed.

DaleReeck
3rd December 2006, 05:53 PM
OK, question here. It seems to work OK. Well, actually my BT audio never really "skipped". With WMP, it seemed strained, like it was on the verge of skipping. Maybe a pop here or there. The fix cleans it up completely, thanks!

But I noticed a few people mention that that the patch was visible in various task managers. But I don't see it. In Windows Task Manager or Wisbar Lite, there's nothing there. I also have a util that can see processes and it doesn't appear there either (at least as a recognizable name). Other than removing the patch from startup and resetting the PPC, how do you shut it down?

shogunmark
3rd December 2006, 06:06 PM
i actually dont mind just running the new task manager.. or maybe im lazy, lol where is that d@mn cab :D thanks slueth for all of your work on this!

DaleReeck
3rd December 2006, 06:07 PM
And secod question, does it hurt (i.e., suck up unnecessary processor time) to have it running in the background all the time?

bobstarina
3rd December 2006, 08:51 PM
Well guys, I've checked and corrected Registry parameters but I have no luck.
Something wrong with my TyTN... The problem is not with this A2DP fix.

One more question - is it normal that this fix consumes more than 50% of CPU time during its run on idle device (without active tasks)?

Sleuth255
3rd December 2006, 09:02 PM
It's an idle loop thread. It only takes idle cpu cycles. If something else needs the cpu then the thread is suspended. In fact, such a thread can be used to determine cpu load. The more time it gets, the less loaded the CPU is. This is how the opensource taskmanager ITaskmgr, measures CPU load. This process is also what somehow cures the skipping and as such forms the basis of this patch.

Sleuth255
3rd December 2006, 09:21 PM
Here's a bit more info on it. My process a service and as such is part of services.exe. I did this so it wouldn't take up any processes (WinCE can only have 30 unique tasks running simultaneously IIRC). My thread does exactly what the idle process does.

bobstarina
3rd December 2006, 09:53 PM
Sleuth255

Very interesting...

Some investigations. I've just turned off my home WiFi Access Point (Lynksys WAP-54G). What I can say now - MUCH BETTER!
Now I can listen a music all the time (still with skippings but as I said it's much better).
It looks like a problem with very weak Bluetooth radio in my TyTN.
Now I have 1 skip per minute in range of 1 meter.
If I go behind a wall skippings occur more often.

I'm thinking now in this way: when I tried first A2DP on my device with shipped ROM (1.18) I've got an upgraded radio to 1.20.31.10 version.
Now I have radio version 1.18 (it's installed with ROM 1.35).
Do you know Is this radio firmware ralated with GSM radio unit only or with BT-radio too?

Maybe I have to try to flash 1.20 radio?

Sleuth255
3rd December 2006, 11:14 PM
@bobstarina:

Odd that your AP was interfering with bluetooth, but they both run on the same frequency so it is possible.... As far as GSM goes, I'm running the stock 1.18 radio ROM that was packaged with the 1.35 TyTN upgrade. Past experience has made me reluctant to change radio versions so I generally don't do radio-only upgrades. I've had strange issues on my Wizard when I did that.

@others:

To stop my service, simply remove A2DPStart from the windows\startup folder and reset. Or, if you have dotfred's taskmanager installed, simply stop the service and change its execution properties from automatic to manual if you don't want it to start every time you reset.

cr4zyb0y
4th December 2006, 05:25 AM
wow serious kudos points to you dude...i thought i had my skipping problem narrowed down to my headset but you blew that away! no real skipping that can't be put down to inteferrence using ht820s connected to a dopod 838pro (stock firmwares)

eppyramot
4th December 2006, 10:55 AM
Hey Sleuth

Thanks. Your last tip to remove all previous hacks worked perfectly, you are the Maestro! I have this working with an itech iclip r35 and it sounds great as will as a bluespoon spider. I have ROM 1.35. Now that I have decent sound I need an equalizer of some sorts for WM. Any suggestions?

:D

Sleuth255
4th December 2006, 02:53 PM
CorePlayer has a vg equalizer. Or find yourself a free copy of TCPMP which also has one. Coreplayer's AAC decoder has better optimizations but otherwise the two are about the same. This will change with the Coreplayer v1.1 release tho...

johnburn
4th December 2006, 04:53 PM
It's an idle loop thread. It only takes idle cpu cycles. If something else needs the cpu then the thread is suspended. In fact, such a thread can be used to determine cpu load. The more time it gets, the less loaded the CPU is. This is how the opensource taskmanager ITaskmgr, measures CPU load. This process is also what somehow cures the skipping and as such forms the basis of this patch.

Firstly, Sleuth255, kudos for coming up with this solution in such a short time. Much like your Sipchange program which I cannot live without, this util will be another "must have" for the TyTN owner. However, I'm going to hazard a guess (and please correct me if I am wrong) that people's battery life is going to be negatively impacted by having the CPU cycles constantly increased. If this is the case, then I would prefer to just manually load the Task Manager and minimize it just before running WMP, then quit it (TM) when I am done listening to my toons.

Regards,
John

Sleuth255
4th December 2006, 08:14 PM
I've not seen any difference yet, but its only been a few days. However, since this is an idle thread, it would be suspended like everything else when the device goes into powersave mode. Also, there's already standard process called "idle process" which essentially does the same thing. The CPU is always doing something. The instruction pointer always gets incremented every clock cycle. Idle process essentially is the "top level loop" that runs when nothing else needs processor.

Only time will tell for sure though. I can always code up the capability to "wake up" the thread whenever A2DP is active too. A bit more involved, but definitely doable. Hopefully, we won't even need v2.0 of this little hack though....

basilrsa
4th December 2006, 09:24 PM
Hi, I am the guy who posted the new South African Rom. I am glad it helped to solve more problems than it gave.
I need your help now please. On you recommendation read somewhere I today purchased a Nokia HS-12W.
It seem to work fine but I am not getting stereo from the Media Player. I don't seem to have the skipping problem so will it be necessary to use your tweak, just in case. I also don't have a problem with the range.
Please advise in laymans terms as I am a newbie with things of this nature, but learning as I go along
Regards
PS. I am running the new ROM upgrade

Sleuth255
4th December 2006, 10:07 PM
That's probably UseJointStereo in HKLM/Software/Microsoft/A2DP/Settings. Out of the box, that's generally set to 1 (mono). Try changing it to a 0.

You might want to check your registry settings against the one's I posted on page 1 too. I've found that these seem to provide good performance for me.

basilrsa
4th December 2006, 10:47 PM
That's probably UseJointStereo in HKLM/Software/Microsoft/A2DP/Settings. Out of the box, that's generally set to 1 (mono). Try changing it to a 0.

You might want to check your registry settings against the one's I posted on page 1 too. I've found that these seem to provide good performance for me.
Thanks for your quick reply Sleuth. But how do I get into the registry? I am new at this. Also I found that I get a full 10 metres on BT with your tweak.
I really like the HS-12 W. Virtually all the relevant functions operate perfectly.
Now to just get into the registry!
Thanks
Basil

Sleuth255
4th December 2006, 10:59 PM
There are a number of good registry editors out there. dotFred's taskmanager which is in the development/hacking forum is a good one. I use phm regedit myself.

taguapire
5th December 2006, 06:37 AM
Hi,

Can this patch do more than fix the a2dp problem? I mean, Can it give a better overall performance to my Tytn?.

Regards,

Taguapire.

new2city
5th December 2006, 09:09 AM
deleted.........

basilrsa
5th December 2006, 10:14 AM
There are a number of good registry editors out there. dotFred's taskmanager which is in the development/hacking forum is a good one. I use phm regedit myself.

Sorry to bug you Sleuth, but I need help. I have downloaded PhmRegedit and opened it on my laptop with my TyTN attached by USB sync. The file opens on my laptop but where do I go from here? How do I get into edit the register of my device?
Sorry to be so stupid but this is all new to me.
Please help!

aquanaut88
5th December 2006, 02:24 PM
Copy phmregedit.exe to any directory on your device, then run it from your device. That should get you moving in the right direction -- good luck and thanks for uploading the 1.35 ROM... big improvement over original stock ROM. It'll keep most of us happy until AKU3.x is released.

Cheers

Sleuth255
5th December 2006, 03:24 PM
Hi,

Can this patch do more than fix the a2dp problem? I mean, Can it give a better overall performance to my Tytn?.

Regards,

Taguapire.

I would tend to doubt it. My working theory on how 'xactly this works is that the stock idle thread somehow interferes with A2DP bit stream buffering. My little idle thread takes cycles away from it b/c its at peer priority. This gives the A2DP process more time to execute since it can easily interrupt my thread's execution loop.

basilrsa
6th December 2006, 11:24 AM
Copy phmregedit.exe to any directory on your device, then run it from your device. That should get you moving in the right direction -- good luck and thanks for uploading the 1.35 ROM... big improvement over original stock ROM. It'll keep most of us happy until AKU3.x is released.

Cheers

Sorry Sleuth or Aquanaut88, but I am stupid. If I transfer phmregedit.exe to my device it won't open.I get a message [There is no application associated with "PHMRegEdit". Run application first, then open this file within the new application]
Please give me step by step instructions.
Also does your device drop the storage card from the Media Player on a regular basis? Mine has always done so and it is annoying as one has to go through a process to restore the sporage card to the Media Player. I read somewhere on the forum that it is a Windows 5 problem. Is this the case?
Regards

zenkillem
6th December 2006, 03:19 PM
[QUOTE=Sleuth255;1066713]Background:

When jompao (his original thread on this is here (http://forum.xda-developers.com/showthread.php?t=284644)) brought an interesting A2DP workaround to light I was intrigued:

Apparently there's this free, opensource taskmanager which, when running, corrects the Hermes skipping problem! So I tried it for myself and damn if it wasn't true! Not only did it allow my iPAQ stereo headset to operate w/o skipping but the non skip range on my HS-12W was doubled too!

So, I obtained the code and found out what was going on. Turns out, this free little gem of a task manager determines CPU usage by running an infinite loop thread (it does a "while(1)" for all you code jocks) at THREAD_PRIORITY_IDLE, then, based on a timer trigger, it periodically stops the thread and sees how much time it got. The more time it gets, the more idle the cpu being the rationale here.

btw: Thanks for generously donating your Taskmanger to the opensource community Yuichiro Ishitani! :)

Anyway, I said to myself "Heck Sleuth, you can build a service process that does this in about 5 minutes". So I did & now I listening to skip-free Jimmy Buffett on my iPAQ headset with my little A2DP fix service running in the background.

heheheheh.....

Installation Instructions

1. Transfer A2DPFix.cab from the attachment to your Hermes device
2. Tap on the cab to install. Note: you must install this to your device! The service dll can't run from extrom or your storage card!
3. When the installation is complete, reset your Hermes
4. Enjoy skip free A2DP!

BRO...

TXS MAN!.. been waitin for these.... tested on ATOM latest rom.with pocketplayer v3.01..AND Itech R35i..puuuurfect!! no skippin dippin!
my gratitude from SINGAPORE! LOVE YA !http://forum.xda-developers.com/images/icons/icon6.gif
Cool

Sleuth255
6th December 2006, 03:40 PM
Yikes! This fixes a skipping pblm with Atom too? Damn.... Glad it helped :)

I wonder if the Treo700w folks could benefit. Their attempts at A2DP using the Tornado hack were also stymied by skipping issues.....

edit:

Nope, just checked over at TreoCentral and the patch has no positive effect on a 700w/wx.

basilrsa
7th December 2006, 10:23 AM
Copy phmregedit.exe to any directory on your device, then run it from your device. That should get you moving in the right direction -- good luck and thanks for uploading the 1.35 ROM... big improvement over original stock ROM. It'll keep most of us happy until AKU3.x is released.

Cheers
Thanks for your input on the ROM. I could'nt get phmregedit going but I managed to find Resco and worked it out.
Now got "STEREO" at last.

Hiryu
7th December 2006, 04:00 PM
Report after a week or so of usage: Still great :)

I did have some problems with skipping when walking around my house and entering some stores. I figured it was due to interference on the same frequence as BT (WiFi and some theft alarm systems). After reading some of the responses it seems that it was just that.

I also added some of the registry settings and it also improved the audio quality for Core Player, most notably for AAC+ streaming (which could only be described as terrible before).

So once again, my thanks for this great fix! :)

riderxps
8th December 2006, 02:29 AM
thanks for the fix, works for Dopod 838 pro and sony ds970. cheers

Olleman
9th December 2006, 04:02 PM
hey Sleuth!

Just wanted to say thanks, tested on my Tytn with Rom 1.18 and 1.35 and it seems to work great with my SE NBH-670 bluetooth headset on both ROM versions.

Have some skipping in coreplayer, like 1 skip a song and always in the beginning but this seems to be some problem with coreplayer since I've listened to at least 3 songs totally skipfree with Windows Media Player now. Will test mortplayer as well.

This is actully a working solution until we get AKU 3.2 :)

hm...just had a skip now in the third or fourth song, but what the heck, I'll buy that :)

Best Regards, Olle

Sleuth255
9th December 2006, 04:12 PM
Yeah, its not perfect, but perfectly acceptable IMO. I've been playing with the Widcomm stack too. Not ready for prime time yet but it shows promise. Once superdave has the hermes port to the point where he likes it, I'll begin tuning. According to the thread on aximsite, there's a lot of A2DP tweaks that can be accomplished with the stack.

In fact, even if the Widcomm stack bugs are ironed out, I don't think I'll go with it unless it corrects the Bluetooth/WiFi co-existence issue and/or processor utilization when running A2DP is significantly lower than the 70-80% that its at now. These are really the only remaining issues IMO.

Windmiller
10th December 2006, 05:00 PM
Thanks, this fixed the skipping issue for me!!

Windmiller
13th December 2006, 04:52 PM
IS the skipping problem a beeping sound? My issue seems to be with my Jabra bt250 where it beeps the whole time I try and talk. I tried my wifes PLanatronics and did not have the same issue.

Just trying to find out fi I am having the same issue as everyone else or a problem with the Jabra headset.

shogunmark
13th December 2006, 06:08 PM
IS the skipping problem a beeping sound? My issue seems to be with my Jabra bt250 where it beeps the whole time I try and talk. I tried my wifes PLanatronics and did not have the same issue.

Just trying to find out fi I am having the same issue as everyone else or a problem with the Jabra headset.

no.. from what you described i would say the problem is with your headset.. the problem we are discussing here is where the music stream skips, similiar to a scratched cd

Windmiller
13th December 2006, 11:16 PM
Gotcha, thanks!

clearwave1
14th December 2006, 03:54 PM
IS the skipping problem a beeping sound? My issue seems to be with my Jabra bt250 where it beeps the whole time I try and talk. I tried my wifes PLanatronics and did not have the same issue.

Just trying to find out fi I am having the same issue as everyone else or a problem with the Jabra headset.

I also have a Jabra headset and it beeps when it has a low charge.

Hope this helps.

sonofzeus
14th December 2006, 08:04 PM
i have an xda 2i and had skipping issues with a blueant x5, i installed your patch and now it works wonderfully! thanks a million man!

jompao
14th December 2006, 10:13 PM
Yeah, its not perfect, but perfectly acceptable IMO. I've been playing with the Widcomm stack too. Not ready for prime time yet but it shows promise. Once superdave has the hermes port to the point where he likes it, I'll begin tuning. According to the thread on aximsite, there's a lot of A2DP tweaks that can be accomplished with the stack.

In fact, even if the Widcomm stack bugs are ironed out, I don't think I'll go with it unless it corrects the Bluetooth/WiFi co-existence issue and/or processor utilization when running A2DP is significantly lower than the 70-80% that its at now. These are really the only remaining issues IMO.

Is sound quality better, better range, less CPU intensive with the Widcomm stack? I wónder if the curent sound quality is just about what can be acheived over bluetooth? Yeah streaming over wifi and A2DP togeather would be so cool!

Using my HBH-DS970 almost every day in the gym with the phone safe in the gymbag. I use wmp and all commands works fine like play/pause and change song. :)

bjrmd
14th December 2006, 10:32 PM
I have been using bluetooth stereo and wifi streaming (Sirius radio) on the trinity with no skips/dropouts. Quality is excellent using the R35, bitpool changes. Using stock MS stack as shipped.

Sleuth255
15th December 2006, 01:00 AM
@bjrmd: The WiFi/BT issue is hermes specific. My Wizard (8125) worked great streaming to BT over WiFi as well.

Kilihari
15th December 2006, 05:21 PM
Ok, being a super newb.. and just retarted..... blah :D

I baught a 130 doller super awesome fancy new slick cool Logitech Freepulse Wireless Headset http://www.logitech.com/index.cfm/products/details/US/EN,CRID=2412,CONTENTID=12492. I said, so can I use this with a bluetooth device? He was like... Oh .. it's bluetooth isn't it.. should work...anyways.. of couse.. it doesn't .... but sleuth has gotten other headsets to work.... is there a chance that I might get this awesome headset to work without having to connect the dongle? I would honestly give anything right now for someone to say yes before my girlfriend finds out I just wasted 130 bucks... man... so sad...:confused:

Please Help,
-Joe.

johnburn
15th December 2006, 09:53 PM
.... is there a chance that I might get this awesome headset to work without having to connect the dongle?
-Joe.

Joe,

If it is like the older (crappier) Logitech Wireless Stereo Headset, you have to hold down the function button for about 30 seconds. The LED will then start to flash alternating red and blue. This puts it in discoverable mode to allow your device to pair with it.

At least that is how the older (crappier) one worked. Not that it was documented to work that way, but a Google search was all it took...

Regards,
John

P.S. I'd like to know what you think of the newer Logitech headset once you get it to work. My older (crappier) one just did what they all did -- the band between the two ear pieces snapped and now it's a gonner!

Kilihari
16th December 2006, 12:48 AM
I love these headphones! They are fantastic! The sound quality for slim wireless headphones is really second to none! Now... the keyword is... for slim wireless headphones... basically... these headphones are the same quality as a 30 dollar pair of normal wired headphones and 80 dollars worth of bluetooth. The good thing about these headphones is that they wont break as they have a thick steel band around the back. And that is all somone please help me to get these working with my htc !!! :(

Sleuth255
16th December 2006, 12:51 AM
@Kilihari: plz tell us specifically what you tried when you attempted to pair this headset with your Hermes and then specifically what failed.

Kilihari
16th December 2006, 01:54 AM
Ok, so here is all the info, and a big thanks to the people who have responded to this, and a big prethanks to sleuth... ehhehe.. ok


Model: Softbank HTC X01HT
Rom: HTC 1.35.255.2
Rom Date: 11/14/06
Radio Version: 1.18.00.10
Bootloader Version: 1.09 then Downgraded Back to 1.04 cuz I was scared of the 1.09 thing.


I baught the Logicool Freepulse Bluetooth Wireless Headphones in Japan here Model Number : FP-10. I have tried this, some people have told me to try to get it into a search mode. So, I have tried to hold down the power button for a few seconds, then the light will start to flash slowly, so then I will get on my HTC and went to "Bluetooth" under system and then clicked on "Turn On Bluetooth" also I have clicked on "Make this decice discoverable to other devices" and then I clicked on "Devices" and then while the light was flashing (it will flash for about 5 seconds) then I clicked on "New Partnership". Now.... I have absolutely no idea if I am doing anything right, this is my first bluetooth device ever, I am a super newb to bluetooth. So.... if you think I might be doing anything wrong.. your probablly right :D soo.... If ya can... man I would really appreciate some help... if ya can't.... does anyone wanna trade me for something that works? HEHEHEH... Thanks guys..

-Joe

Kilihari
16th December 2006, 01:00 PM
OK! I was feeling like crap because my girlfriend was going to kill me after she found out that i wasted like 150 bucks...anyways... it's all fixed after the logitech guys told me it couldn't be done... so anyways... here we go.. this is what you must do.. and beleive me when I say this, I don't know anything about bluetooth, nothing at all, zero, but honestly I think I am the first person to get these headphones working with a different device.

Anyways...

I baught the Logicool FreePulse FP-10 Bluetooth Wireless Headset.

#1. Buy it... http://www.logitech.com/index.cfm/news/JP/JA,contentid=12999,crid=34

#2. Charge it up. You don't need the dongle, you can just throw it away... heheheh.. actually maybe don't throw it away.... could be usefull... sometime.. maybe.. anyways... charge up the headphones...

#3. Here is the key.... put the headphones in search mode.... hold down the power button for like 45 seconds... it's an oddly long time, it will cycle through the power a couple of time, so you just will give up.. but I got board and was going to commit suicide but so i decided to hold it down and hold my breath at the same time and whoever went into search mode first wins.. anyways.. weirdest thing happened... it turned blue red blue red blue red.. and I was like SON OF A BITCH... HAHAHAHA.. I found it!

#4. Turn on your PDA, goto bluetooth! Find new connection... click on connect to the freepulse...then click next

#5. Passkey=0000

#6. Click next..

#7. Make sure you install the a2dp10.zip thingie... it will give you clear music and all that neat stuff! Also.. use the force...

-DONE... i am awesome.. first! wooo baby... and it's all because i was scared of my girlfriend ehehheehe


*Important note* This is for anyone who thinks that I think that I am actually good and stuff.. I am just being retarted tonight.. i am really a nice normal cool guy who is awesome and cool and simply the coolest guy in the world.. umm... nm hehehehe..:D :D :D :D

Sleuth255
16th December 2006, 04:43 PM
Sounds like the same pairing procedure that the original headset used. I've got one of those myself. The a2dp10.zip thingie is interesting though. On mine, the included software was for iPAQs only.

rpodos
16th December 2006, 10:47 PM
What is a2dp10.zip? Haven;t seen mention of it before.

checkd01
17th December 2006, 05:54 AM
I have the UK T-Mobile MDA compact 3. (The HTC 3300 i think)

Anyway the rom information seems different to you guys, i had dropouts with my HT820's which i have tried to fix with the many fixes around, while i managed to improve the audio quality, i can only make the dropouts more frequent.

But after copying the registry settings here and running the fix, it now appears to be both good quality and not skipping at all.

The task manager fix didnt work at all and actually made my device run at permanent 100% CPU. I don't know what A2DPfix does, but it rocks.

THanks for the information and fix.

rom version - 1.13.110.1 WWE
ROM date - 9/22/2006
radio version - 02.49.90
Protocol version - 4.1.13.25
ExtROM version - 1.12.110.101

Kilihari
17th December 2006, 10:46 AM
If you have a HTC, buy the Logitech Freepulse Bluetooth Wireless Headset, for a almsot not gay looking pair of bluetooth headphones, they are the not-gay-est. They have decent bass, decent high, ok mid, but most notabely.... thy work so nice... OOO MAN I AM SO HAPPY WITH THEM... thanks sleuth.. but definatlly... you have to hold down the power for 45 seconds, it is deceiving because it really looks like you are doing nothing for that time and 45 seconds is an awful long time to hold down the stupid power button! You just wouldn't think it would work.. and then bam.. blue red blue red.. so anyways... buy the junk.. they are awesome, and strong and I have a big assed head so if they fit me, they will fit everyone, on some message boards they say they are uncomfortable ... but... honestly... if your just a normal person and not a fag... you can wear them 24/7 no prob. They are light.. work with the htc.. and i didn't waste my money and also.. it is strange .. i was talking to the logitech guys.. and they couldn't even tell me how to put it in discovery mode.. so weird... anyways.. if ya want some nice wireless headphones for the htc... x01ht.. this is definatlly it.

-Joe.:D

Sleuth255
17th December 2006, 05:21 PM
It would be nice to see logitech sell this headset w/o the included ipod adaptor. That would bring down the price a bit.

URPREY
17th December 2006, 10:37 PM
A couple of quick questions: I just got a pair of Logitech Freepulse headphones. They seem to work great with WMP, but with TCPMP they don't work well at all (I can't get it to hand off the audio signal). Is there something I'm missing there?

Also, will this only work for songs or should it work for videos as well? Thanks.

Sleuth255
17th December 2006, 11:22 PM
@URPREY: no worries. TCPMP doesn't understand when the stream is redirected to A2DP. To get everything to work, first make sure TCPMP isn't running, then pair up your headset. Now run TCPMP and everything will go to the headset. Will work for videos too. However, A2DP's high proc utilization will slow down the video decoder noticably. Fixing this will require either AKU3.x, Widcomm, or Core ATI ImageON support for the Hermes.

URPREY
17th December 2006, 11:43 PM
Thanks Sleuth! I'm not sure if I'm running into a limitation on these headphones, but even trying through WMP, when it changes to the next track the audio gets redirected back to the phone until I power the headphones off and back on again.

Sleuth255
17th December 2006, 11:44 PM
That'll cause TCPMP issues for sure...

edit: The more I think about what you said, the stranger it sounds. What's odd is this: how does the headset know the track is changing? Are you pressing AVRCP track buttons on the headset to cause this? TCPMP just streams everything to the WAV out device so it shouldn't care.

URPREY
17th December 2006, 11:55 PM
That'll cause TCPMP issues for sure...

edit: The more I think about what you said, the stranger it sounds. What's odd is this: how does the headset know the track is changing? Are you pressing AVRCP track buttons on the headset to cause this? TCPMP just streams everything to the WAV out device so it shouldn't care.

This headphone has no AVRCP buttons, so it's just when it changes to the next song in the playlist or I manually change tracks. I agree - some definite weirdness going on.

checkd01
18th December 2006, 09:55 PM
OK so i worked out my skipping audio isn't fixed.

After many combinations I realised whats going on. (i think)
On reset and loaded with just the basics, my CPU is running at 55% under no load. When i say have my bitpool at 48 - 58 the CPU runs at 98 - 99% constant, and occasionally hits 100% (at which point the audio clips out for half a second) I think this is pretty conclusive, as setting my bitpool to 10 and getiing a disgusting sound, runs the cpu around 85 - 87% and no audio dropouts. Am i missing sonthing here? none of you guys seem to be having this issue, maybe the way the MDA compact 3 is setup is taking up way too much CPU load. I have tried ending some some stuff running, but only end up crashing the device as they are clearly critical programs i'm ending. Any ideas? Anyone? I'm thinking of trying to overclock the CPU slightly to squeeze some more % out of it. :mad:


I have the UK T-Mobile MDA compact 3. (The HTC 3300 i think)

Anyway the rom information seems different to you guys, i had dropouts with my HT820's which i have tried to fix with the many fixes around, while i managed to improve the audio quality, i can only make the dropouts more frequent.

But after copying the registry settings here and running the fix, it now appears to be both good quality and not skipping at all.

The task manager fix didnt work at all and actually made my device run at permanent 100% CPU. I don't know what A2DPfix does, but it rocks.

THanks for the information and fix.

rom version - 1.13.110.1 WWE
ROM date - 9/22/2006
radio version - 02.49.90
Protocol version - 4.1.13.25
ExtROM version - 1.12.110.101

Sleuth255
18th December 2006, 10:06 PM
You could be onto something. On the TyTN v1.35 Rom which has efficiency improvements, I get about 70% CPU utilization with bitpool set at 58. Users of older ROMs get mixed results from this patch perhaps for this reason.

checkd01
19th December 2006, 12:11 AM
nope definately not. Tried . ImmierSoft XCPUScalar.
original clock of 195 mhz stepped up several times to 247 mhz, while this dropped the amount of CPU usage to around 90% (not that much for a big clock) It still randomly drops out for a second or so, so while the CPU % may play a part, it isn't the whole story. I'm not happy. :mad:

The roms don't appear to be ready for what we want them to do, apart from some of the TYTN ones, which i dont know and would think would not run on my device. somebody tell me i'm wrong?


You could be onto something. On the TyTN v1.35 Rom which has efficiency improvements, I get about 70% CPU utilization with bitpool set at 58. Users of older ROMs get mixed results from this patch perhaps for this reason.

checkd01
19th December 2006, 05:31 PM
Is it true that one cant use the widcomm or other bluetooth stacks on windows mobile 5 operating system, the makers have effectively prevented the use of such 'third party' stacks? why would they do that? restrict a stack that is underdeveloped and under supported, against, it seems, a stack that uses less power and is more reliable? is this another classic Microsoft tactic? Can anyone confirm that only the MS stack will run on WM5 and above, or is there any way of using a 'third party' party stack? I don't want much for xmas, just bluetooth audio that doesnt glitch and dropout. It also seems that MS leave it to the OEM hanset makers and software to drive the crap BT stack they provide.

Sleuth255
19th December 2006, 06:24 PM
BTW: I never told you this before, but welcome to XDA-developers checkd01! There's nothing like us IMO, in part because of the frustrations you describe. As evidence of this and in answer to your question, take a look at this (http://forum.xda-developers.com/showthread.php?t=285419) thread. :)

I encourage you to spend some time with all the various topics here. Come up to speed on the areas where we are active. We only ask in return that you ask questions only after careful consideration and research. Everything you need is here and free for your use. Enjoy! Finally, if you can (and you seem to me like you just might have potential in this area): contribute!

edit: More on stacks.

The M$ BT stack supposedly underwent a significant update in AKU3. I am still eagerly anticipating a Hermes AKU 3.x ROM update in 1Q07. WidComm has its quirks too. Check out the Widcomm development thread on aximsite to see what I mean. Look for this in the X50 forums. My above link should give you a clue to its author as it did for me.

All this being said, I'm actaully quite happy with the M$ BT stack on my TyTN running the 1.35 ROM. My only complaint is 70% CPU utilization slows down video and the BT/WiFi radios can't co-exist.

Godlio
19th December 2006, 09:35 PM
I have the most up to date device, which is Eten X500 with AKU3.2
And still skipping and dropingouts drives me crazy
Before trying A2dpFix i wasn't able to hear any sound from my Prolife BT55 headphones, now i hear good quality music, but still 1 time in every 40-50 seconds i hear a skipping for at least 2 seconds... damn it... why MS can't ever do something right!

Somebody can advise me smth?

Taskmanager doesn't help me more then that!

Sleuth255
19th December 2006, 11:22 PM
"POP!" (that was the sound of a bubble bursting & hopes being dashed)

:(

emmett
21st December 2006, 06:21 AM
Great work being done here! Unfortunately I still get a skip sound every 40-50 seconds with this patch. It is better than before though at like once every 10 seconds! I'm sure people are telling Microshaft/Cingular/HTC about this, right?

checkd01
25th December 2006, 04:00 PM
Thanks for the welcome. :)

After much frustration, i am still in the same place. To maybe stop some people wasting their tim:) e, a couple things i found out.
1. The audio skips or drops out for a moment and continues after. I'm thinking somthing is interupting or overiding a priority.I tried it without the phone section working, thinking it may be that, nope iy isn't. WIFI is missing on the UK T-Moblie model i have, it's apparently been disabled by T-Mobile, so it's not that either.

2.) I gave noticed somtimes turning my head to one side cuts out the audio for a second, but other times it doesn't. It seems to be spardic and random.

3.) I found a firmware update on here for my HT820, but i can't put my headset in flashing mode, i think they are the later model.

4.) I am considering that there may be outside radio interference causing the random dropouts, it's very strange, on occasion i can start my album going and go all the way to work with zero dropouts, on other days, random glitches and dropouts. I would like to have an effe4ctive way of measuring the output of the bluetooth transmission to prove it is stable and not fluctuating, but i dont know how to do that. (it is certainly a suspect at this time)

5.) Of the registry settings, some didnt work for me, the priority 256 gives me no audio at all, the max bit pool at 80 makes it very unstable and bitpool of 58 also causes to much dropout. I am currently running BITPOOL 48 deleted maximum BITPOOL key. (please always backup your registery before making changes)

My investigations continue. If i find anything else out, i will post here for sure.

merry xmas folks


BTW: I never told you this before, but welcome to XDA-developers checkd01! There's nothing like us IMO, in part because of the frustrations you describe. As evidence of this and in answer to your question, take a look at this (http://forum.xda-developers.com/showthread.php?t=285419) thread. :)

I encourage you to spend some time with all the various topics here. Come up to speed on the areas where we are active. We only ask in return that you ask questions only after careful consideration and research. Everything you need is here and free for your use. Enjoy! Finally, if you can (and you seem to me like you just might have potential in this area): contribute!

edit: More on stacks.

The M$ BT stack supposedly underwent a significant update in AKU3. I am still eagerly anticipating a Hermes AKU 3.x ROM update in 1Q07. WidComm has its quirks too. Check out the Widcomm development thread on aximsite to see what I mean. Look for this in the X50 forums. My above link should give you a clue to its author as it did for me.

All this being said, I'm actaully quite happy with the M$ BT stack on my TyTN running the 1.35 ROM. My only complaint is 70% CPU utilization slows down video and the BT/WiFi radios can't co-exist.

Sleuth255
25th December 2006, 07:42 PM
hey, if you have WiFi where you are, try turning the access point off to see if that helps.

Moaske
26th December 2006, 12:16 PM
... Btw: did the upgrade correct the problem that headset has with pairing or do you still have to go into bluetooth settings to get it to pair?...
I found this little entry in his thread, and it's the exact same problem i'm having with my Trinity and Jabra 620s which is anoying me to madness...
Does anyone here know how this can be fixed ? On my iMate Jam when i used to turn on a headset, it immediatly auto-connected to the handset. But with trinity nothing connects unless i go into Bluetooth settings in the comm-manager... The only thing that does auto-connect is an incoming phonecall over my old mono SE HBH600 when i use it for regular handsfree...somehow the trinity picksup the old headset when call comes in.
But i want to be able just turn on the BT on trinity and having to do nothing more than simply turn on the Jabra to get the audio redirected in an instant: why does this not work ?
It's driving me nuts... :(

No issues here with skipping however... :)

edmond_wmw
28th December 2006, 11:38 AM
Hello Sleuth,
I install your patch and found the behaviour below
Player: pocket player
Setting: Decoder Priority "Below Normal"
Behaviour: Sound drop when i keep on click on my Dopod 838Pro:(
No sound drop if i never get touch during music playing:confused:

Setting: Decoder Priority "Above Normal"
Behaviour: No sound drop even i keep on click on my phone:)
BUT my phone response VERY SLOW.:mad:
I check the CPU and Memory consumption is just 2M Memory and
2-3% CPU consumption.

My Rom: 1.23.708.4
Rom Date: 07/24/06
Radio: 1.06.00.10
Protocol: 32.37.7010.01H
BlueTooth headSet: HBH-DS970
Is there any advise for me?

Thanks alot!!

Edmond

GarrisRP
29th December 2006, 02:40 AM
Like many of you I too am having skipping problems with my 8525 and BT-620's. Started reading this thread and installed the Task Manager program and still had skipping, then I installed the A2DPFIX1.0 CAB and did a soft reset. Still skipping.

Went into Task Manager to see if A2DPFix was running and do not see it listed in the processes? What name am I to look for? How would I manually start the program?

I did check the Windows/Start-up folder and A2DPStart is in there.

I am so looking forward to being able to stream Sirius over my headphones while working out!

Also, my processor is running at around 90% when WM and Sirius are running. Is this normal in your opinion to have the processor running with this high of a load?

Many, many thanks to everyone for their great posts.

Sleuth255
29th December 2006, 03:08 AM
A2DPfix is a service, not a process which is why you can't see it with the open source taskmanager referenced here. You'll need dotFred's taskmanager to work with services on your device. Also, my TyTN doesn't stream to bluetooth w/o skipping either. This patch corrected my skipping problem when listening to mp3s with coreplayer though.

The problem is that A2DP itself runs the processor at about 70%. With Sirius taking up that much more I would expect bad skipping.

This may be fixed in AKU3. There are mixed reports on this. We'll just have to wait & see I guess...

GarrisRP
29th December 2006, 03:28 AM
Thank you for explaining this. Loaded some .mp3's and started listening. With the audio quality set at "highest" I am definitely getting skipping. Changed setting to medium (using Hermes Tweak Tool) and still getting skip but not as bad. Also, the CPU load is at 80-85%. Damn if I have just listened to Slow Ride by Foghat all the way through with no skipping! WTF...

What is AKU3?

Was hoping to leave the iPOD at home and stream some Sirius while working out but I guess that will have to wait.

I can't tell you enough who awesome the info is in this thread and you are to be commended for your help to all. Thanks for sharing!

GarrisRP
29th December 2006, 04:14 AM
Hold On, I got something..... I lowered the BitPool rate to 24 and I am now listening to Sirius without skipping!!!!! CPU load averaging around 90%. Sound quality is a little "tinny" but is definitely acceptable for me.

I am super pleased with the result so far and hope it continues to be skip free!

AndyDGS
4th January 2007, 02:50 PM
I've been skimming through this thread but admit it's pretty well all over my head! Is this dicussing the issue of Windows Media Player crashing if the GPRS connection is active, and does it provide a patch to solve it, for the O2 XDAIIi (Alpine?)?
I'm kind of hoping it does, as I'm keen to start enjoying tunes on the pda, rather than just waiting for the thing to crash!

Sleuth255
4th January 2007, 02:54 PM
@AndyDGS: this thread (generally) is about a patch fixes an A2DP skipping problem that's unique to the hermes. without it, on most A2DP headsets, songs sound like records with bad scratches. The success of this patch is dependent on a number of variables such as the ROM version and some registry settings.

benmorris
7th January 2007, 06:28 AM
Thank you for the patch. Resolved the skipping on my Cingular 8525 and Sony HBH-970.

However, with PocketPlayer, the buttons don't work on HBH. The play/pause/next track, previous track.

Any hints?

Sleuth255
7th January 2007, 03:43 PM
Pocketplayer doesn't support bluetooth AVRCP (AV remote control protocol). IIRC, the only players that do at this point in time are WM and MortPlayer.

Stormdog
7th January 2007, 10:54 PM
Yes, it does..
If the WMP plugin is installed...

Works great for me...

aswaddington
8th January 2007, 04:18 PM
Pocket Music 4.3.4 from PocketMind works and has AVRCP as well. I use it with Cingular 8525 and HBH-970 with success.

daedalia
9th January 2007, 11:26 AM
benmorris; you have to install the Windows Media Player plugin adapter for Pocket Player to use your headset controls, works flawlessly for me. Check the Pocket Player website & forum for details.

#Oops, missed Stormdog's response#

adhard
9th January 2007, 01:23 PM
[

As always, Enjoy![/QUOTE]

dear Sleuth255 ! thanks a lot - for the first time I can finally now enjoy listening to music on my trion with a hama bt headset without interruptions! great work

KingMinos
11th January 2007, 03:41 PM
Thx, it also worked for me... I have the jabra BT620s headset with e T-Mobile MDA Vario

Rom 1.21.114.3
Radio 1.05.02.00

It also doubled my range to a total of 7 metres without skipping...

Id had to adjust the A2DP registry entry UseJointStereo and put it to 0
It improved quality and made it skip less...

But now we have another issue, when you connect your headset it activates the Handsfree profile, instead of the A2dp wireless stereo profile...
The switching between phone/voicecommands/music back and forth goes well...
But is it possible to ever adjust this? So it will connect using A2DP instead of handsfree??

Sleuth255
11th January 2007, 06:07 PM
that's a quirk of the BT stack itself, unfortunately. the fixes are an improved ROM or a completed Widcomm stack. HTC is releasing a new TyTN ROM soon and superdave is close to having a widcomm update so there's hope for sure :)

sta11ion
12th January 2007, 07:50 AM
Sleuth I was looking threw and I was wondering if you can do a complete step by step with the rom and your upgrade of the a2dp just because im new to this that would be great by the way I have qtek s200 with g3. thanks

d1g3by
14th January 2007, 01:56 AM
Hi Sleuth

(another newbie) I have installed your CAB and the phone has the original (orange spv m3100) ROM1.23.61.4

I have paired it with the Jabra 620 the controls for play pause skip etc work fine but i can only get 2-3 sec of music before it cuts out.

would i need to change my ROM to fix this?

Sleuth255
14th January 2007, 02:30 AM
The original ROMs are problematic. Most report failure when attempting to use this patch on those.

d1g3by
14th January 2007, 11:08 AM
Thanks!

I take it there is no simple CAB style ROM updates available? or is that just wishful thinking?

Where would i get the updated ROM and do you know of any threads that give a step by step instruction of how to update it?

I saw earlier in this thread there were some basics but a step by step would be great.

Thanks

Sleuth255
14th January 2007, 03:56 PM
Start with the Wiki d1g3by. There's real good stuff on ROM upgrading there.

Mobiletuur
18th January 2007, 08:58 PM
HKLM/Software/Microsoft/Bluetooth/A2DP/Settings

UseJointStereo = 0
BitPool = 58
MaxSupportedBitPool = 80


Hi Sleuth,

I have a T-mobile MDA Vario II, rom version 1.21.114.3 date 20/6/2006. T-mobile Netherlands did not release any newer version than the original one.
I bought a Jabra BT620s stereo headset. Pairing was no problem, but the music quality was terrible and it skips a lot.
The first time I found out was that in the registry the UseJointStereo was set to 1 (!); I was listening to dual mono ... After changing the registry key to 0, the soundquality was perfect but there was still a bit skipping.
When I read all you advises I decided not to use your patch (because I have the first, original ROM) but edited the registry further like in the quote above.
Wauw! Everything worked fine. It was amazing that such a simple correction did so much!!!
Thank you very much for all. Now I can enjoy listening my music.

Many thanks from the Netherlands!!!

JPW
21st January 2007, 07:11 PM
FANTASTIC

Just installed CAB file on my SPVM3100 and listened to a whole track for the first time through moto ht820s without skipping.

Well done for this must have fix !!

Regards Jon :D

UnrealTechno
21st January 2007, 08:24 PM
8525 with cingular 1.34 and Southwing SA505's

seems to be working, sweet! sleuth comes through again!

ovidiugm
22nd January 2007, 02:48 AM
Hi Sleuth,

You're the best! I installed the CAB and A2DP it's working fine, no skip for me.
I just modified
HKLM/Software/Microsoft/Bluetooth/A2DP/Settings
UseJointStereo = 0
to get stereo, but all other registry changes (and I tried a few - priorities, pools) proved to be worthless so in the end I reverted to the one above + your essential CAB.

A few mentions:
- out-of-the-box my M3100 had about one skip every 40 secs
- no, it doesn't work skip-free with WiFi on
- doesn't skip in videos but video framerate is unbearably low
- listening through A2DP will slow down the device (I wonder how other not-so-smart phones manage to do this?! Some hardware-accelerated A2DP would have been great on TyTN, I think)

hknoener
23rd January 2007, 08:21 PM
Anyone get luck using the headphone controls? On my old Dell X50v, when i used an hacked BT driver to get A2DP, the controls works fine on the TCPMP and Pocket Player. Now i can't get the controls working with this. In the Pocket Player have this plugin and in the TCPMP doesn't works too. Have anyway to make them work?

Sleuth255
23rd January 2007, 08:59 PM
sorry, no AVRCP support in TCPMP on WM devices using wmp 10. There was a skin based workaround for wmp 9 equipped devices but the hermes doesn't have it. The problem itself will be adressed in a subsequent CorePlayer version.

st3v3
24th January 2007, 11:44 AM
if no one has tested this on Magician i can say that it works with HT820 and Magician

aircanon
24th January 2007, 02:17 PM
Dear Sleuth,

I'm using Dopod 838Pro CHT & I had bought a SONY DR-BT20NX, it can connect but they having "Skip" problem when listening music, please help with my problem, my 838Pro is a Traditional Chinese Ver. and the settings are:

ROM Ver.: 1.23.708.4
ROM Date: 07/24/06
Radio: 1.06.00.10
Comm Ver. 32.37.7010.01H

Thank you :o

Sleuth255
24th January 2007, 02:55 PM
@aircannon:

Welcome to XDA Developers!

First doublecheck that the A2DP fix service is running using dotfred's taskmanager. Next doublecheck your a2dp registry settings against what's been posted here.

Finally, its hit & miss. I wish I could tell you why this patch corrects a lot, but not all, issues. I have no XP with your headset. Can you get your hands on a known good headset to troubleshoot?

hknoener
24th January 2007, 04:48 PM
@Sleuth255: thanks. I did read something here, don't remember where, mentioned that it works on WM10 and Mortplayer. I've tested in the WM10, it works well, i'll try on the Mortplayer now.

lifterus
24th January 2007, 08:56 PM
............

lastnikita
27th January 2007, 01:33 PM
Hi mate, thanks for this patch !

Just tried it on my prophet and it worked GREAT, no more sound drops. Thx !!!

One (big to me) downside, my cpu clock scaler app (battery status), keeps showing 100% cpu load, which results in a constant o/c.
I'll contact the author and ask if he may add your trick to his (great) app.

Didn't notice any trouble except that one, I'll keep testing once my o/c problem will be solved :)

it's still bad quality sound btw, but flawless now :)

One step forward !

Sleuth255
27th January 2007, 03:21 PM
What headset are you using lastnikita?

quality can be changed with UseJointStereo and Bitpool registry settings. If you haven't played with these yet then try setting UseJointStereo to 0 (gives true stereo sound), then change BitPool to 58 and MaxBitPool to 80.

lastnikita
27th January 2007, 05:34 PM
What headset are you using lastnikita?

quality can be changed with UseJointStereo and Bitpool registry settings. If you haven't played with these yet then try setting UseJointStereo to 0 (gives true stereo sound), then change BitPool to 58 and MaxBitPool to 80.

Ok, ikaru (the author of Battery Status program (http://forum.xda-developers.com/showthread.php?t=270751)) has already included that workaround into his app, pretty responsive hehe ^^

I've played with the registry, set a bitpool of 51 (81 decimal) and it seems much better now :) still no sound drops, btw
(is the maxbitpool key in the same folder as bitpool ? have to create it)

My headset is an unknown (I guess) brand : "CallStell"
It's a ~40€ found at Pearl (france and germany I guess) and is really nice except the playing time, around 5 hrs..... AVRCP works (mortplayer).

btw, I'm still getting a random sound drop (~2s.) from time to time (got 3 of them during approximately 1 hour of listening) , I guess it's more cpu-related but I'll check that ASAP.

edit : it's not :'(

lastnikita
28th January 2007, 04:28 PM
I've played with the registry, set a bitpool of 51 (81 decimal) and it seems much better now :) still no sound drops, btw
(is the maxbitpool key in the same folder as bitpool ? have to create it)

I already have stereo, but I'm still getting a crackling sound (not much but disturbing), especially at high pitches... did anyone successfully got rid of this ?

Sleuth255
28th January 2007, 04:35 PM
some headsets break up a bit on the high end. I had a Moto set that did this. Also, your 2s sound drop could be related to wifi or other BT interference. When I was at CES, there was so much BT in use that my TyTN did a lot of frequency hopping. I'd get those identical dropouts.

lastnikita
28th January 2007, 05:11 PM
yes, it's kind of noname so I guess I could try with a branded one.
Still investigating for those few sound drops left, but isn't the BT techno supposed to completely avoid those interferences by constantly switch the frequency thousands of times per second ?

Nicky
28th January 2007, 05:20 PM
I am struggling to get skip free playback. I am running the UK T-mobile rom with a Nokia HS-12W. With the patch I can play music fairly skip free as long as I am within a metre of the phone and there is a clear path between the phone and the headset.

Is this about right or should I be able to achieve better results with my rom/headset combination?

Sleuth255
28th January 2007, 05:26 PM
Yep. That's exactly how my Nokia worked. I didn't need A2DPFix to use them btw. When I installed my little patch, range increased to 3-4 meters. I assumed that the HS-12W compensated for skipping by buffering the stream so needed the fastest possible connection (very close) to overcome the dropouts.

Nicky
28th January 2007, 05:32 PM
Okay Sleuth, thanks ... it is usable, just a little annoying that it skips but we can't have everything I guess :) I have been waiting for the Motorola Soundpilot S705 to be released but am now a little uncertain whether to buy one when they come out .. the S705 is class 1 with 100m range so I am hoping I should be able to maybe get 10m out of it with the Vario II :)

agopman
31st January 2007, 10:53 PM
I'm a newb to PPC but not XP. I am stunned at what a great fix this is and how anyone could track it down.
Great work. Playback now is flawless with A2DPFix.CAB fix using TCPMP, Mort or WMP. Keep up the good work!

emmett
1st February 2007, 04:18 PM
I'm a newb to PPC but not XP. I am stunned at what a great fix this is and how anyone could track it down.
Great work. Playback now is flawless with A2DPFix.CAB fix using TCPMP, Mort or WMP. Keep up the good work!

What headset are you using? Also, does this fix eliminate the skipping for you 100% or do you still hear a skip about every 30 or so seconds? I've installed the patch and it clears most of the skipping. However, both the IOGear and Jensen headsets I own still have the (much reduced) skipping.

lastnikita
1st February 2007, 05:38 PM
I've installed the patch and it clears most of the skipping

Same here, I won't have one skip (~1s.) per track anymore,but I still have a skip once in a while (I would say every 2-3 tracks).... which is longer ! about 2s...

Btw, be aware that this patch may (and he certainly does) drain more battery power as it keeps some functions active all the time, thus preventing power save to act as it should...

rmo67
2nd February 2007, 04:03 PM
Ok I have a question, sorry for how long this is going to be but you will understand once you read through it. Keep in mind the areas in bold as these are my problems or worries.

Please do note the equipment I am using and the settings. I am wondering if I use this fix will I get the same bluetooth problem again:

Dell Axim X51V ROM12(newest model purchased in December 2006)
Motoroloa Headset HT820
and also I sometimes use a Bluetooth Reciever for my PC Speakers.
Installed:
Broadcom Bluetooth StackX51V05.cab
Aximsite_wirelessPower.cab

Problem is the same when using either the headphones or the speakers with the Dell:

I have installed all the tweaks using the downloaded tweaks provided both on here and also the other tweak:

WidcommBtConfigSerialTransportFlowTransport.reg
WidcommA2DPLineSpeedHack.reg
WidcommA2DPBlocksAndSubbandHack.reg

I have even increased my proccessor power to max and also to auto. (I had done this before the below changes and still had skips also)

So I tried to reset the speed here is what I did:

change these values :
[HKEY_LOCAL_MACHINE\Software\WIDCOMM\BtConfig\Seria lTransport]
BaudRate=115200 (Won't start at higher rate.)
Device=COM
FlowControl=0
Parity=0
Port=1 (This is the most important thing!)
-soft reset
-at the today screen you will find a BT icon, click on it and have fun

Did the above, Port was originally set to 5, I changed it to 1 / Also changed the baud rate from 115200 to 921600(note: After I made the above changes and did a soft reset I got the flowing message: the Bluetooth Radio failed to turn on due to insufficient driver memory available. You must perform a normal rest before you can turn on the Bluetooth radio. ---But I also tried a hard reset and got the same message ---Then I lost my Bluetooth all together, the little widcomm Icon on the bottom right of the screen is gone now, when I go into settings and try to click on it it gives me the same message: the Bluetooth Radio failed to turn on due to insufficient driver memory available. You must perform a normal rest before you can turn on the Bluetooth radio. So I changed the above back to the original settings: baud rate to 115200 and Port to 5---and I the Bluetooth is still not there on the bottom of the screen anymore and when I try to go to settings and click on it I am still getting the same message about the memory driver. Finally after everything else, I pushed the little wifi and Bluetooth button on the side and the little white screen with the option of turning either one on or off came one, but it froze so I had to do a hard reset and then my Bluetooth icon was back and I was able to use activesync. Still have no idea what happened. This is a Dell Axim X51V which should have plenty of driver memory and this should not have happened).

So even though I got my bluetooth back, I am also back to my original settings with the Wdicomm Stack and still having the skipping problem. I am a little scared to try to change the settings again, however I really want to be able to listen to my music without skipping.

I use my Dell both with my wifi in order to stream music from Shoutcast, that is how I connect to the internet and also I use my dell's SD Memory card to listen to music, both times I get the skipping. Also I have both programs: GSPlayer and TCPMP, but when I go to Shoutcast.com using I.E. and click on the station I want to lsiten to only GSPlayer comes up and I have not found anything in TCPMP that allows me to set it as the default player nor go to a url.

So I am thinking of using or trying this A2DPFix.cab, but will it work with a widcomm stack?

If yes, do I just install it and nothing more, or do I need to make other adjustments, if yes what and how?

Will I loose the controls I have already with my headphones, in otherwords, the ability to jump to the next song, pause, play rewind and also record my voice?

Lastly, if I have any problems or loose my bluetooth icon or ability again, is there anyway to roll back without having to flash my axim again?

If anyone answers can you please be as detailed as possible as I am a bit of a newbie, thank you very much.

wratran
2nd February 2007, 10:06 PM
agopman
I am using tcpmp because it can play everything, including all the apple's stuff. Will using this player stream to my stereo bluetooth headset...Mine is coming in the mail.? did you have to install btaudio to get music stream to your headset using tcpmp?

Sleuth255
2nd February 2007, 10:12 PM
@mo67: this patch will have no effect on your device. Sorry. Feel free to try it out if you like because it can't harm your existing configuration either.

RonWestle
2nd February 2007, 11:52 PM
Hi Sleuth,

At first I only got skipped music with my Jabra BR620 but now I did the following:

Entered the advised (general) registry tweaks into registry,
Used HTweaksC with sound quality set to HIGH

and that did the trick! I have no skips anymore!

Thanks for the effort you put into this.

Ron

babai
3rd February 2007, 04:52 PM
I have applied the zoa2dp and ADPfix v1.0 on my 8125 with HT820.

With out any of the above, Ofcourse there is no Stereo !
When i installed Only Zoa2dp, i had my music skipping every 5 seconds are so....very annoying...But there is stereo and quality whenever it works is great!!
Installed ADPfix on top of the Zoa2Dp and now its a lot better. I still skip atleast once every 3-4 minutes. Here are some of my readings.

-- If the headphone and Phone are very close by, the skipping is minimized.
-- The more distance, more skip/lag
-- If you have a metallic case for 8125(or may be other cellphones)....i find that it causes more skips. (possible explanation being the metal somehow impacting reception ???)

I wish i somehow can fix this. But atleast what i have now is manageable.

I have NOT applied any registry fixes..yet. Not sure if they make a huge difference on 8125. Can someone post their experiences.?
(i am using factory installed ROM. )

agopman
3rd February 2007, 06:08 PM
wratran and emment:

As posted in the subject line, I'm using the Southwing SA505 paired with the Cingular 8525. Skipping was terrible at first. Would usually begin a couple of minutes into the first mp3.

Tried the regedits first as outlined in Slueth's original post "change BitPool to 58 and MaxBitPool to 80", etc., with no change. (I wanted to avoid loading unnecessary processes.)

Lastly, I installed the Slueth's A2DPFix.CAB. After that, performance has been flawless... just finished 4:33 minutes of Welcome to the Jungle ABR mp3 to perfection!
I'll add, that I use the Taskmanager program to start and stop the service when needed to cut CPU load when I not listening.

Hope this helps. Thanks again to all.

RonWestle
4th February 2007, 07:59 AM
I'll add, that I use the Taskmanager program to start and stop the service when needed to cut CPU load when I not listening..

Which Taskmanager program is that? I also would like to ne able to start and stop the service.

Also, when I want to use the Jabra bt620, I first need to go into bluetooth settings, select the BT620 and select it for use as wireless stereo. Does someone have a better solution for this?

Take care,
Ron

z3eed
4th February 2007, 02:47 PM
Have anyone tested to patch this phone?
I tried it and I got a lot of changes:
The skipping went from every 10-20s to skip every 2-5s but instead of 2s skipps it became 0.5s skipps.
The sound quality went worse. And it sounded like the base level was higher after the patch.
Next bad thing was that it actually hung my phone. I had to reset it to be able to do anything and remove it.

I use a completely new ROM to this phone model that have activated the GPS module.
So the specifications are:
Phone: HTC P3600
ROM: 1.23
Headset: HT820

Please help me to get rid of the skipping...

agopman
6th February 2007, 03:11 AM
Ron,

Look for TaskMgrv2.7 at buzzdev.net

...advertised as freeware.

Cheers,
agopman

Menneisyys
10th February 2007, 12:23 AM
Works great here, also I can say that the Conduits Pocket Player works great, as suggested by someone else in this thread. Seem to use up less CPU then wmp.



Strage you find it less CPU-hungry than WMP - in my tests (see the MP3 CPU Usage article posted to the General forum), WMP has always been less CPU-intensive than CPP, particularly the latter with enabled visualization / EQ.

IMHO there're much better players out there than CPP; for example, iPlay.

Menneisyys
10th February 2007, 12:29 AM
I have applied the zoa2dp and ADPfix v1.0 on my 8125 with HT820.

With out any of the above, Ofcourse there is no Stereo !
When i installed Only Zoa2dp, i had my music skipping every 5 seconds are so....very annoying...But there is stereo and quality whenever it works is great!!
Installed ADPfix on top of the Zoa2Dp and now its a lot better. I still skip atleast once every 3-4 minutes. Here are some of my readings.

-- If the headphone and Phone are very close by, the skipping is minimized.
-- The more distance, more skip/lag
-- If you have a metallic case for 8125(or may be other cellphones)....i find that it causes more skips. (possible explanation being the metal somehow impacting reception ???)

I wish i somehow can fix this. But atleast what i have now is manageable.

I have NOT applied any registry fixes..yet. Not sure if they make a huge difference on 8125. Can someone post their experiences.?
(i am using factory installed ROM. )

1. welcome to XDA-Dev :)
2. if losing the BT headset AND BT DUN/PAN functionality aren't a problem, tried to install the Widcomm BT stack on your Wizard? it's working just great on mine - no A2DP / AVRCP problems at all, 6-8 meters range etc.

Menneisyys
10th February 2007, 12:34 AM
But this A2DP seem to use a lot of CPU time. Strange that it even works on lower spec phones, or is it just really poorly optimized in win mobile?


Yes, the MS A2DP implementation uses pretty much CPU time. Interestingly, the Widcomm A2DP, which is of substantially better quality, uses sligtly less CPU.

However, even with this, when running on a non-overclocked HTC Wizard together with WMP playing back ~80-90 kbps WMA's, the battery level only decreases some 7% an hour (!). TI CPU's are really cool when it comes to battery friendliness - on my Dell Axim x51v (with the Widcomm stack), one hour of listening to music decreases the battery level by about 30%.

Menneisyys
10th February 2007, 12:35 AM
@jompao: coreplayer here. No issues other than a lack of AVRCP support.

You may already know this as a customer of the app, but it may be worth mentioning for the others: the latets builds / versions already support AVRCP.

Menneisyys
10th February 2007, 12:42 AM
Now that I have decent sound I need an equalizer of some sorts for WM. Any suggestions?


In addition to what Sleuth has recommended, I also recommend http://forum.xda-developers.com:80/showthread.php?t=292169

emugpp
10th February 2007, 02:49 AM
My XDA-trion works great with my HBH-DS970 headset, no more skipping at all after this hack! I installed the Hermes Tweaker and then the skipping hack. I couldn't believe my ears, it completely stopped the skipping during normal playback! I did notice a lot of cpu-load though, don't know to what extend it drains the battery..

Thanks for this excellent hack! The only problem left is, other than on my old Wizard, when you put the trion in standby mode the wireless audio playback stops...has this been fixed yet?

babai
10th February 2007, 04:41 AM
1. welcome to XDA-Dev :)
2. if losing the BT headset AND BT DUN/PAN functionality aren't a problem, tried to install the Widcomm BT stack on your Wizard? it's working just great on mine - no A2DP / AVRCP problems at all, 6-8 meters range etc.

How do i install Widcomm BT stack?

kalrykh
10th February 2007, 06:45 AM
haha, mennie, do you ever miss an opportunity to plug your articles? :p

Menneisyys
10th February 2007, 08:47 AM
Thank you for the patch. Resolved the skipping on my Cingular 8525 and Sony HBH-970.

However, with PocketPlayer, the buttons don't work on HBH. The play/pause/next track, previous track.

Any hints?

You need to do some hacking to make Pocket Player AVRCP-compliant; please see http://forum.xda-developers.com:80/showthread.php?t=279459 for a comlete tutorial

Menneisyys
10th February 2007, 08:49 AM
haha, mennie, do you ever miss an opportunity to plug your articles? :p

I hate / don't want to type much when answering questions I've already addressed in some of my articles; this is why I prefer linking them in :)

Menneisyys
10th February 2007, 08:52 AM
How do i install Widcomm BT stack?

See the Widcomm BT stack thread at http://forum.xda-developers.com:80/showthread.php?t=285696

Menneisyys
10th February 2007, 09:17 AM
- listening through A2DP will slow down the device (I wonder how other not-so-smart phones manage to do this?! Some hardware-accelerated A2DP would have been great on TyTN, I think)

It seems the TyTN has a very bad or incompatible A2DP implementation. 70-90% CPU usage on the 400 MHz (!!!) Samsung is unbearably high. Just for comparison: on the 195 MHz Wizard, the CPU usage is about 65-70% (Widcomm A2DP + WMP; with the MS BT stack, the CPU usage is about 1-2% higher but is still way lower than on the TyTN).

I'll thourughly test the A2DP CPU usage on our Trinity (as it has a very similar hardware to that of the TyTN, except for having AKU3 on by default) on Monday.

Menneisyys
10th February 2007, 09:38 AM
I already have stereo, but I'm still getting a crackling sound (not much but disturbing), especially at high pitches... did anyone successfully got rid of this ?

In general, if none of the BT quality tweaks help (as is the case with, say, the Plantronics 590A headphones - NONE of the tweaks helped with that), your only choice is switching to the Widcomm BT stack entirely

Sleuth255
10th February 2007, 03:37 PM
You may already know this as a customer of the app, but it may be worth mentioning for the others: the latets builds / versions already support AVRCP.

The 1.04 CorePlayer build doesn't support AVRCP on WMP10 equipped devices. The reason is that they were using a skin scraping technique that worked with WMP9 only.

Some WMP10 owners have experienced success with the patch but in all cases they have upgraded from previous WMP9 devices.

I'm checking now to see if a more current version was just released :)

yelrx8
15th February 2007, 04:03 AM
Thanks sleuth for this fix.

I have this working perfectly on the 8525 Cingular (v1.34ROM) and the Nextlink Spider headset. I did everything including installing the patch and all the regedits on the sleuth's post except I changed BitPool=28. With BitPool=56 it would skip so much that it was unusable.

BTW, the nextlink spider headset (from radio shack) was real impressive for the range, since its a Class 1 bluetooth. I picked it up ~2 weeks ago when they had them for $50!:D

I don't have much music on the phone, but slingbox worked great.

alexsenxt
16th February 2007, 10:18 PM
Wow got a Parrot MK600 where you are supposed to be able to play bluetooth stereo through the car speakers.  noooot …. HTC P3600 sound is skipping. I called Parrot in France and they are aware of the problem but say there won’t be a fix for it until a few months. Is there any one who has any good ideas? did a2dpfix and reg stuff no luck, Here is the site for the unit: http://www.parrot.biz/usa/products/parrotmk6000 really cool stuff, “”iPod”” good luck.

richardtty
26th February 2007, 04:56 PM
Thank you Sleuth255 for the patch. May I know if I can delete the A2DPFix CAB file after I have install it?

Sleuth255
26th February 2007, 05:39 PM
absolutely.

NeoCole
1st March 2007, 07:19 PM
Thanks for the great patch!!

johnburn
1st March 2007, 07:31 PM
Thanks for the great patch!!

So one of the things I was curious about WM6 is whether Sleuth's patch would even be necessary in WM6. According to Jason Langridge (M$ employee who has his own blog), the WM6 BT stack has no issues with it that would cause poor quality, skipping, etc. Of course, I took that with a grain of salt, seeing as he does work for M$.

Can anyone confirm or deny that WM6 indeed fixes skipping and quality problems with BT A2DP, without the need of workaround such as Sleuth's patch or running Task Manager in the background?

John

NeoCole
1st March 2007, 09:14 PM
WM6 was skipping for me, but I am using the Vanilla version.

So I tried this patch and it fixed the problem. Quality still isn't the greatest, but the skipping is fixed. Maybe it's fixed in the RTM?

johnburn
1st March 2007, 09:20 PM
WM6 was skipping for me, but I am using the Vanilla version.

So I tried this patch and it fixed the problem. Quality still isn't the greatest, but the skipping is fixed. Maybe it's fixed in the RTM?

I wouldn't hold my breath waiting for it! I suspect the issues may actually relate to HTC's drivers, not the BT stack itself.

John

Globalrebel
7th March 2007, 02:21 AM
i have IOGearHeadphones and they are Bluetooth 1.2 (or 1.3 i forget) and the distance i could walk away from my phone was much much better with my 8125 then it is with my 8525 now. I am running xdalive .10, and have the A2DP fix and all reg values correct. It skips every like 1 min to 1.5 min very slightly but i can only walk away from my phone maybe 15-20 feet and it will start skipping pretty bad. On my 8125 it was like 30-almost 40 feet. Anyway, just letting ya know.

ITAdmin
13th March 2007, 01:40 AM
Will this A2DP "Fix" work with it? I have to connect a patch cord to get audio from my 8125 to my Pioneer BT stereo. The phone side of the BT works fine, but I have never been able to stream audio to it.

One more question. I have a Jabra V250 and I also had audio play through it for 2 seconds when pressing the connect button on the earpiece, but it thought I wanted to voice dial and then cutoff again. Will this patch fix that also?

Any help would be GREATLY appreciated!!


Thanks

ITAdmin

Sleuth255
13th March 2007, 04:51 AM
All this patch will do is correct skipping problems. For some reason its effective on WM6 as well....

basilrsa
13th March 2007, 02:41 PM
So one of the things I was curious about WM6 is whether Sleuth's patch would even be necessary in WM6. According to Jason Langridge (M$ employee who has his own blog), the WM6 BT stack has no issues with it that would cause poor quality, skipping, etc. Of course, I took that with a grain of salt, seeing as he does work for M$.

Can anyone confirm or deny that WM6 indeed fixes skipping and quality problems with BT A2DP, without the need of workaround such as Sleuth's patch or running Task Manager in the background?

John

Hello again John,
As you know I am running the AKU 3.3 Test ROM on WM5 with the permission of the distributor.
Here are my findings:
On both the Nokia HS-12W as well as the HTC BH S100 I experience absolutely so skipping at all and the stereo quality is very good indeed.
The unimpeded range has improved as well with the HTC giving 15 plus meters.
The advantage of the HTC is that the mike is built into the small contoller, and that the earphones can be unplugged and any 3.5mm jackplug equipped earphones can be used.
In South Africa the HTC is half the price of the Nokia!
There are other advantages as well and they are posted elswhere.
Thanks Sleuth, you really helped out on the AKU 2.3 ROM versions.

The official AKU 3.3 ROM will be out very soon, with WM6 following in May/June.

ITAdmin
13th March 2007, 05:56 PM
Ok, I had so many threads open I guess I posted my above message in the wrong thread. As Maxwell Smart always said "Sorry about that chief"!

Anyway, I loaded the zoa2dp fix on my 8125 and now I get the option to use Stereo headset! And it worked too! WOOHOO!!

But....

As long as I don't make or receive a call, it's fine, once I get a call though, it starts skipping badly! I am going to install the skipping fix related to this thread and see if that helps. If anyone has any different ideas, let me know and I will post the results here!

It was really sweet to finally be able to do what I have been wanting to do since I got the 8125 and the 9800BT almost a year ago, but I wasn't anxious to install a non cingular firmware to get the A2DP protocol.

Thanks to ALL who make all this possible! This place ROXS!!

ITAdmin

ITAdmin
14th March 2007, 03:26 PM
Ok, I think I'm getting in over my head here. I am new to this Pocket PC world, but I am very good with desktops and servers...

I added the A2dp skip fix, but I don't see it running in task manager and my reg keys don't match what you posted...

Here's what I have...

Cingular 8125

ROM Version: 2.25.11.1 WWE
ROM Date: 5/11/06
Radio Version: 02.25.11
Protocol Version: 4.1.13.12
ExtROM Version: 2.25.11.102

[B]/HKLM/Drivers/BuiltIn/BtA2dpSnd/[B/]

Dll bta2dp.dll
Flags 65538 (0X010002)
Index 8 (0X000008)
Order 8 (0X000008)
Prefix WAV

[B]/HKLM/Drivers/BuiltIn/WaveDev/[B/]

Dll wavedev.dll
IClass {A32942B7-920C-486b-B0E6-92A702A99B35}
Index 1 (0X000001)
Order 2 (0X000002)
Prefix WAV

[B]/HKLM/Software/Microsoft/Bluetooth/AudioGateway[B/]

BTAGExtModule OEMAGW.dll
BTAGPBModule \Windows\BthAGPhonebook.dll
Capability 37 (0X000025)
NoRoleSwitch 1 (0X000001)
SupportCLI 0 (0X000001)


[B]/HKLM/Software/Microsoft/Bluetooth/A2DP/[B/]

No "Settings" subsection under this entry??

[B]/HKLM/Software/Microsoft/Bluetooth/A2DP/Devices/1[B/]

A4 13 EE C7 02 00 00 00

The other three devices have...

00 00 00 00 00 00 00 00

for the rest...

As far as the reg entries, was the cab file supposed to modify them or do I have to add them?

As I said previously, I am now able to stream audio to my Pioneer 9800BT stereo in my car, but it skips after a call is made or received. I installed this skip fix, but no joy. I think it's because either the registry wasn't modified or the app isn't running? I don't see it in task manager and can't figure out how I start it or get it to run in startup??

Any help here would be appreciated by this noobie!!

Thanks

ITAdmin

Sleuth255
14th March 2007, 03:35 PM
Ummm... this is a Hermes specific patch. Results on a Wizard are "undefined" :eek:

In your case, there's a A2DP patch that's Wizard specific that actually adds the capabilities to the device. It was first developed on the Tornado. Not sure where the Wizard is now in terms of this however.

drp
14th March 2007, 09:31 PM
Hey Sleuth255,

A note of thanks for posting this fix. I purchased an 8525 about 3 weeks ago, and recently picked up the iPhone Mini Bluetooth headphones, which I found unusable due to skipping. Your fix smoothed things out (just the occasional glitch now) so that the combination is a usable music system at work (less to carry) and casual listening in general. I’m a headphone geek and have other gear for critical listening, including a dedicated portable with amp. For replay, I’m using TCPMP with a plug-in so I can use my existing iTunes stuff (reduced to 320).

Cheers,

Dave

vayip
14th March 2007, 11:47 PM
I have WMXL 0.20 with radio Radio v1.35.00.11.

I bought the Plantronics 590a.

Last week when I used it with WM5, i had problems with skipping now and then. I also set Jointstereo to 0. I did not use the BitPool setting because I didn't look the result. It used about 90% resource @ 400 MHz. I use XCPUscaler.

Now I have WMXL 0.20 with the A2DP FIX and must say I'm verry satisfied.
Used it today for a couple of hours and no skipping. Music sounds verry good, some songs do sound weird sometimes. Specially songs with lots of S in them, you get sssss.
It uses about 70% resource @ 400 MHz, so also a decrease in that. Going online with mini opera or play Bubblebraker was no problem also, ofcourse it went slower than usual.

So the A2DP fix really worked out for me. Thanks.

Update: today connected the headphone to my PC with the included Bluetooth transmitter, no problem with the S. Al songs sounds very good. I hope the widcomm bluetooth stack will even improve the already great quallity.

viji_island
23rd March 2007, 04:27 AM
Thanks sleuth!!!! the patch worked with my tytn rom 1.18 and no skipping a2dp music for me! im using the SE HBH-DS970 . i was using this with my SE P990i and when i first got the tytn i was really disappointed with the music quality, i wanted to send back the tytn to the store, but i researched and found your patch really worked!!! i tried the other method of running the task manager in monitor system load mode, but yours worked perfectly fine!! you dont know how much this means to me since i use my tytn as my ipod!!!!:) :) :) :)

viji_island
23rd March 2007, 04:42 AM
I know this isnt related to the patch, but just an FYI for those complaining of poor quality music on their PPC's.

I installed the HTweakC 2.0 program and tweaked the bluetooth settings. I set the A2DP audio quality to excellent, and I must say, the media player's music quality is no longer acceptable anymore, it became excellent! I know, because I have been using the sony ericsson P990i with 11 equalizers and my ears are already familiar to those equalizer's sounds, especially the megabass which i use alot. I must say, the tweak bumped up the audio to MegaBass quality!!! Of course not exactly megabass, but you could hear those deep "thumps" of the bass which i couldnt hear without the tweak. And now you could really appreciate music files with higher bit rates, such as 192 or even 320kbps!

But of course, i couldnt have really enjoyed the music on my tytn without sleuth's patch! No skipping, megabass quality music, perfect!

viji_island
28th March 2007, 04:52 AM
OK i just read the previous posts and this is suppose to work in WM6. thanks anyway.

lastnikita
28th March 2007, 11:57 AM
today connected the headphone to my PC with the included Bluetooth transmitter, no problem with the S. Al songs sounds very good. I hope the widcomm bluetooth stack will even improve the already great quallity.

Hi, I can't get any sound out of my stereo headset from my computer (it's working fine with my prophet)... I can pair it and it discover a headset profile only, but then I don't get any sound out of it, either if I set my players, or softphones, to Audio bluetooth out (or audio high quality)...
Does anyone has an advice for me ? I guess it comes from the headset (kind of a generic one)...
BTW I tried using a trust bluetooth adapter, a laptop which has bluetooth integrated, and with the logitech di novo hub, and I get quite the same results.
Any advice is more than welcome, I wish I could use my headset with both my computer and my pda !

3dot
11th April 2007, 03:09 AM
a2dpfix.dll cause service.exe in 100% cpu full load.I am using x50v wm2003se.
Hope it can be fix later.:(

Sleuth255
11th April 2007, 04:03 AM
I'm surprised it worked at all on wm2003se actually. :eek:

3dot
11th April 2007, 06:49 AM
a2dpfix.dll cause service.exe in 100% cpu full load.I am using x50v wm2003se.
Hope it can be fix later.:(

yep.... its the infinite loop thread executed at THREAD_PRIORITY_IDLE that's doing it. Rem'ing out the resumes for the thread results in a taskmgr that shows 100% cpu utilization (the thread's never getting started so it isn't getting any time) with no effect on A2DP skipping.


Is it the reason of 100% cpu utilization?That mean it is normal after patched?

3dot
11th April 2007, 06:50 AM
yep.... its the infinite loop thread executed at THREAD_PRIORITY_IDLE that's doing it. Rem'ing out the resumes for the thread results in a taskmgr that shows 100% cpu utilization (the thread's never getting started so it isn't getting any time) with no effect on A2DP skipping.


Is it the reason of 100% cpu utilization?That means it is normal after patched?

lastnikita
13th April 2007, 11:39 AM
Hi, I can't get any sound out of my stereo headset from my computer (it's working fine with my prophet)... I can pair it and it discover a headset profile only, but then I don't get any sound out of it, either if I set my players, or softphones, to Audio bluetooth out (or audio high quality)...
Does anyone has an advice for me ? I guess it comes from the headset (kind of a generic one)...
BTW I tried using a trust bluetooth adapter, a laptop which has bluetooth integrated, and with the logitech di novo hub, and I get quite the same results.
Any advice is more than welcome, I wish I could use my headset with both my computer and my pda !

Anyone would help me with that ? :) :) :)

Kronalias
22nd April 2007, 05:44 PM
Top marks for Sleuth!

May I add my tuppenceworth please? I'm using an Axim X51V, WM5 and Widcomm stack. The BT device is a Sony Ericsson MBR-100. I'm streaming audio wifi from an ASUS WL-HDD into my Ax, then out again through BT via the MBR-100 to my stereo.

I tried the A2DPFix.cab approach, which worked! The downside, not unexpectedly, was that my Ax ran at full whack (624 MHz) unless I stopped it down manually, and that the response time for running other programs went up hugely.

I tried the Task Manager approach - started TCPMP playing over BT, skips as normal, ran the Task Manager and monitored System Load, and no skips. The spooky thing was that when I stopped the Task Manager running there were still no skips.

Food for thought? Could someone else try this please?

Cheers, Kronalias (of the Beebotron (http://beebotron.awardspace.com/) )

tallshorty
5th May 2007, 07:59 PM
Hi,

The A2DPFix stopped the skipping. THanks Sleuth! But I am still getting really bad sound quality. There is a constant static sound at higher volumes. I tried the HTC TWeak 2.0 and I dont' know if it even helped but still have same sound issues. Now I can't disable the HTC Tweak A2DP hack. I must mention though, I don't get these audio issues when watching avi videos.

I am using a Logitech Freepulse BT 2.0 headphone. Also I installed the most recent Cingular 8525 ROM with AKU 3.5 (what exactly is this??) so I don't know if that might involved.

And how do you check the CPU load? I.e. What % of the CPU is being used?

Please help.

Synner
9th May 2007, 03:58 AM
1. Transfer A2DPFix.cab from the attachment to your Hermes device
2. Tap on the cab to install. Note: you must install this to your device! The service dll can't run from extrom or your storage card!
3. When the installation is complete, reset your Hermes
4. Enjoy skip free A2DP!

As always, Enjoy!

I just wanted to extend a warm hearted thank YOU for this post and the attached file. I have an Imate Jasjam coupled with a SE HBH-DS970. I was very annoyed to find the unit cutting out every 40 or so seconds... I thought maybe one of the apps I was running was causing it. Tried a hard reset - had the same issue. Contacted IMate support and was told that I was running the current versions of the ROMs - but an update was soon coming... Why not try a different headset...!!

I knew someone out there was working on a fix and had the same problem...

And such a simple fix - followed the 4 steps above and all is PERFECT!!

Now to see if I can receive a phone call without locking up the phone with this setup...

edited a few minutes later:

I can receive a call. However when ending the call by pressing the phone button on the DS970 the phone locks up.

Any ideas?

ROM 1.31.305.2
Date: 09/08/06
Radio: 1.21.31.10
EXTRom 1.20.305.104
WM5

Synner

am820
9th May 2007, 05:11 AM
Thanks for the information! I was upset with the skipping - downloaded and installed the cab - now just beautiful music without the delays.
Thanks again!

tallshorty
10th May 2007, 03:25 AM
I don't understand why I can get good quality with my Logitech Freepulse Headphones??? Can someone help? I applied the patch and used the HTC Tweak for BT audio. But there is still a lot of static sound with the music.

lexotic242
11th May 2007, 05:05 PM
Thank you all for saving me from having to buy a new phone. :D
I just purchased the Spider BT Stereo headset and was wondering if the patch works on these as I too get the skipping with my Cingular 8125. Again, y'all are awesome. Thanks!!

Skydog
12th May 2007, 07:30 AM
I just want to post a big thank you for those involved with a fix for the skipping problem. I am extremely grateful!

With the fix installed and the registry change to BitPool/MaxSupportedBitPool, I am now enjoying skip-free, excellent quality music with my 8525 and SE HBH-DS970.

Life is good! :D

My sincerest thanks,

-Patricia

smagic
2nd June 2007, 11:19 PM
Hi Sleuth2^8

Thanks for the path, works fine on my Hermes with WM6 Dymond 3.5 but... your App is causing 100% CPU utilization and this is draining the Battery (current consumption from about 64mA to 130mA after your Service is started).

Would be possible for you somewhere in your while(1) loop implement a sleep command? This should decrease the CPU usage.

Thanks,
Magic

tallshorty
2nd June 2007, 11:37 PM
Hi Sleuth2^8

Thanks for the path, works fine on my Hermes with WM6 Dymond 3.5 but... your App is causing 100% CPU utilization and this is draining the Battery (current consumption from about 64mA to 130mA after your Service is started).

Would be possible for you somewhere in your while(1) loop implement a sleep command? This should decrease the CPU usage.

Thanks,
Magic

How do you check for CPU consumption?

sWuRv
3rd June 2007, 06:44 AM
Works like a charm on my wizard with the faria wm6 rom. Before the patch it would skip with my BT device 3 feet away. Now I get a good 15+ feet. Still not the magic 30, but at least it doesn't skip while my phone's in my pocket. O btw I have a sony DR-BT10CX. Thx fer the patch!

smagic
3rd June 2007, 09:42 AM
tallshorty,

With "BatteryStatus" application (See Heremes wiki, must have apps) you can see very nice the CPU usage under the clock )depends on skin) or as icon on Today screen as weel the power consumption for your dev.

Cheez,
mag

jurjen
6th June 2007, 11:16 PM
The patch works excellent on my Hermes with Jabra250V. Where I am really glad of is that I have now wireless commands of TomTom thrue my headset. So when I am riding my Motorbike, i don't need my wired headset anymore. Much saver!

ben0513
7th June 2007, 04:35 AM
I have installed the patch in my Hermes, My Bluetooth Headset has been worked, it is great! Thanks a lot!

anusinsanus
15th June 2007, 09:18 AM
Thanks for this tool, it has really improved the BT functionality of my Mio A701. Before, with a SE HBH-DS970, it would skip for a split second every 1-2 minutes, now this has gotten even less. What is even better though, is the fact that before, after disconnecting and wanting to reconnect the BT connection, I would have to re-pair the devices, as it would otherwise stutter immensely. Now, I can just turn the headset on, set it as wireless stereo and it works again!
The only problem I noticed is that my CPU usage is around 50-55% with this app on, is there anyway this could be changed as it kills my already so short battery time?

Good work though mate!:D

Sleuth255
6th July 2007, 03:43 PM
@smagic: the loop is implemented at the lowest thread priority (THREAD_PRIORITY_BACKGROUND) specifically so that the device can still sleep.

Perhaps the battery status program is being thrown off by the loop and is calculating current consumption incorrectly. For sure, the CPU usage is a false indication. I don't know of an sdk function that actually returns current consumption btw...

DJ_Nitro
16th July 2007, 09:51 PM
Hi Sleuth, well I have a question, I'm trying to listen music streamed with orb, but the sound in the headphones stops and then resumes, same with the video.

The question is, is this normal?, I read all this thread and in one part you wrote that the fix is for listening Mp3s, which makes me thing that there was a problem while playing Mp3s through the BT headphones, that's not my case, my problem is the unstable sound while streaming with orb and youtube.

OH, one more thing, when I play an mp4 video en WMP the sounds plays through the speaker of the phone and not through the BT headphones.

Thanks in advance for any input. ;)

quinxy
20th July 2007, 07:52 PM
Thanks to Sleuth (and jompao) and whoever else contributed to me finally being able to use my headset properly. Sleuth, I just sent you a donation to thank you for this most excellent fix!

It would be difficult to capture the quiet rage that's built inside me over the 9 months I've had a skipping phone and headset. It might as well have had a cracked screen, or a battery that lasted only 1 hour. I couldn't listen to music with it, it was just far too irritating, even audio books could be annoying, and now, apparently, everything is happiness and light. Ah, what a wonderful calm has come over me. :)

It is amazing the volume of flaws and bugs we are expected to put up with these days... Every new Windows Mobile phone I buy irritates me just slightly less than it benefits me, and always because things that should just work (like quality, non-skipping stereo bluetooth), don't or do so only after 5 hours of searching and patching/registry fixing.

If anyone ever wants to start a revolultion, let me know.

Quincy

normestd
23rd July 2007, 03:50 AM
So there's no way to stop the skipping if im using WiFi?

Pocc
23rd July 2007, 03:19 PM
Hi all. Noobie in posting, so please don't shoot me down in flames!

I recently bought a Parrot MK6000 car kit (if you don't have one it's the dogs danglies) - handsfree for phone and also can stream audio as a BT stereo headset so can use my 2gb Micro SD as a MP£ player thro' car stereo speakers.

Had skipping problem as all you guys have had with various devices. Having read this thread, decided I didn't want to add 10 patches and 3 suspect ROM upgrades to phone still in contract, but read remainder regarding reg edits and itskmgr. These are my findings:

ROM 1.21.110.3 T-Mobile, date 06/19/06

Bit pool 58, max bit pool 80, Use joint stereo 0 - still skips
Bit pool 58, max bit pool 80, Use joint stereo 0, itskmgr running - reduced skipping until phone operated
Bit pool 30, max bit pool 80, Use joint stereo 0 - skipping eliminated regadless of whether itskmgr running or not.

I guess by reducing the bit pool I reduce quality a little, but it is acceptable to me (about FM radio quality in car)

I suspect this is specific to my ROm, but it works for me and now I can have my MP3's from my PDA coming thto' the car stereo - made me a proper happy little bunny!!

pipofiasco
25th July 2007, 11:18 PM
Super! Incredible!

A few weeks ago I bought a Blaupunkt USB/Bluetooth-interface that's compatible with the Blaupunktradio in my car. So now I can enjoy streaming audio from the mediaplayer on my TYTN. The sound quality was good, especially when I used the HTweakC to set the bluetoothquality to "excellent". But like many others I had problems with skipping/little sequential "ticks" during playback.
This patch did it! No more skipping or ticks, super stereosound!! Thanx!
Making phonecalls is still possible during playback and afterwards the A2DP-playing resumes. The only little minus is that when I start TomTom, the playback-musicspeed reduces seriously. While running TomTom this occures often. It seems that it's not possibe running TomTom during A2DP-musicstreaming

Any suggestions?

I use the original TYTN-rom NL 1.18.254.2.x
Radiorom 1.41.00.10

delta9
31st July 2007, 01:20 AM
Warning! Using the below settings, without the UseJointStereo one (I don't want no such value, for I know no reason why I wouldn't want to use Joint Stereo), I got skips every couple of seconds. Resolution: remove all items in the Settings key. There wasn't a Settings key to start with (I used the tornado A2DP patch), so I guess this is the way to go. Would anybody mind telling me why one would want to disable jointstereo?

/HKLM/Software/Microsoft/Bluetooth/A2DP/Settings
UseJointStereo=0
BitPool=58
MaxSupportedBitPool=80

Pocc
31st July 2007, 03:35 PM
Hi Popofiasco.

I would suggest that running a sat nav system (probably using a BT GPS mouse) and streaming music across a BT connection is probably just a little too much for 8 cubic inches of device! Like all devices, to multitask it timeslices and the use of TOm Tom is very resource hungry.

crss
2nd August 2007, 10:44 PM
WOW!!! my ipaq hx4700 + motorola bt headset doesnt skip !! Non oem rom on my ipaq, this patch is tops. I used to get a skip every few minutes, clean, stable.

Steffan
4th August 2007, 09:58 PM
Does it mean i just install the cab without doing anything or still need to change the registries..?

Thanks..

Sleuth255
5th August 2007, 02:53 AM
Warning! Using the below settings, without the UseJointStereo one (I don't want no such value, for I know no reason why I wouldn't want to use Joint Stereo), I got skips every couple of seconds. Resolution: remove all items in the Settings key. There wasn't a Settings key to start with (I used the tornado A2DP patch), so I guess this is the way to go. Would anybody mind telling me why one would want to disable jointstereo?

/HKLM/Software/Microsoft/Bluetooth/A2DP/Settings
UseJointStereo=0
BitPool=58
MaxSupportedBitPool=80

prior to WM5 AKU 3.5 jointstereo wasn't implemented correctly & actually resulted in monophonic transmission.

Ronnymes
5th August 2007, 11:24 AM
Can someone help me,
I have a Sony-Ericsson HBH-DS970, and using the new Schap's 3.54b ROM.
And also a skipping problem :(

And no problems with the original HTC release, or you're ROM Sleuth.

problem solved :D

resusminus
10th August 2007, 07:00 PM
@Sleuth255: I'm writing this enjoying skip free music of high quality with my HBH-DS970 and TyTN combination. I’m doing this while surfing the internet, using the phone as a modem for my computer.

I have used this fix for a while. Today I upgraded my phone to the official Norwegian WM6 ROM, this just made it even better. So thanks a lot Sleuth255 for providing this great upgrade for my mobile phone:D

@Steffan: My findings are that the registry modifications are essential for getting good quality music when using a Bluetooth stereo headset. The default settings on the Norwegian WM6 ROM was:
/HKLM/Software/Microsoft/Bluetooth/A2DP/Settings
UseJointStereo=1
BitPool=30
MaxSupportedBitPool=30

When changed to:
/HKLM/Software/Microsoft/Bluetooth/A2DP/Settings
UseJointStereo=0
BitPool=58
MaxSupportedBitPool=80

it dramatically improved the listening pleasure. I should note that using TotalCommander to set the reg keys, the settings did not get saved the first time I tried. But the second time around I was able to successfully set these registry keys. I also used the power button, on the side of the device, to restart my TyTN the second time.

Again thanks for this great fix!

keithwwalker
13th August 2007, 08:05 AM
Has anyone installed this patch on an X7501 running WM6?

I changed my BT registry settings to:

SampleRate 48000
UseJointStereo 1

and deleted the others.

Playback is very good and now there is only a skip every couple of minutes or so.
~~~~~~~~~~~~~~~~
Update:
I installed the patch and got one skip in about 15-20min of music. I will change UseJointStereo to '0' and see if that makes a difference.

I have noticed greatly increased battery consumption.

nrm
15th August 2007, 05:12 AM
I have a X7500 WM6 and Jabra BT 8010. I was setting skips every 30-60 seconds. After installing A2DPFix and NO other register changes I now get a skip every 3-5 minutes. I'll try this for a few days and then make the registery changes and report back.

Many thanks to every one - especially Sleuth255 - for all your help.

keithwwalker
15th August 2007, 08:36 AM
I removed the patch, the battery consumption seemed crazy, I had it connected to the USB charger with bluetooth on and it would not build up a charge...

nrm
15th August 2007, 07:17 PM
I had the same problem as keithwwalker on my X7500. After a few hours my battery was down to 30%. I'll keep the app installed and try to find find out what is causing the drain.

Any suggestions would be appreciated.

keithwwalker
16th August 2007, 02:23 AM
Just to lend perspective, I had the patch installed and with bluetooth active, even though plugged into USB and charging for at least half the day, the battery charge was down to 40%.

Today without the patch, bluetooth was on and spent 2.5 hours in the field taking notes and photos and charge is still at 90%.

Quite a difference.

I had the same problem as keithwwalker on my X7500. After a few hours my battery was down to 30%. I'll keep the app installed and try to find find out what is causing the drain.

Any suggestions would be appreciated.

nrm
17th August 2007, 06:52 PM
Device: X7500 WM6 Jabra BT 8010

With a2dpfix installed, the X7500 has a constant drain of about 425 mA. With a2dpfix removed, the constant drain drops down to about 90 mA.

The Plan:
(1) Keep a2dp.cab on my X7500 and install it when I want skip-free music. Uninstall a2dpfix when not needed. The whole install/uninstall process should only take a minute or two.
(2) Search the forum for information on power management to find a more elegant solution.
(3) Hope someone already knows how to fix the problem and will post the soultion here.

Many thanks!

dawnhaycraft
28th August 2007, 05:59 AM
Moved --- sorry

powerman1988
31st August 2007, 06:29 AM
Hi all

I hv the D810 and hv flashed the ROM to WM6 vers. Bought the SE HBH DS200 headset. Pairing was fine - both Wireless Stereo and Handsfree function works wonderfully. But the WS funct drops out after about 1 hr and I hv to delete and re-pair the device before it comes back.

So I added the patch to my D810, and repaired the headset. The WS dropped even faster. Tried tweaking the reg to JtStereo to 0, and Bitrate to 48 (original 30). The WS function worked well until a call is made, and then it will disappear. Hv to off the headset and on it again before it comes back to the phone.

Wonder if any seniors here could advise what is the prob and how to tweak the reg or do something to have continuous WS and Handsfree function... :confused:
Tks a million
PW

AX3L
8th September 2007, 09:55 AM
Hi!
Your "A2DPFix" is great! abosolutly indispensable on many device!

But it drain quickly the battery!.........

you can make a "GUI" to complitly disable it when not used??

The only solution that I've find to not drain the battery is un-install this application when I not use the A2DP connection, and install it again when necessary...

Tnks so much!

AX3L
9th September 2007, 09:30 PM
Hi!
Your "A2DPFix" is great! abosolutly indispensable on many device!

But it drain quickly the battery!.........

you can make a "GUI" to complitly disable it when not used??

The only solution that I've find to not drain the battery is un-install this application when I not use the A2DP connection, and install it again when necessary...

Tnks so much!

please, helpme!

bjrmd
10th September 2007, 11:06 PM
please, helpme!

I am using the original task manager found here http://www.iaccarino.de/silvio/ppcstuff.htm
It fixes the problem and you can then quit out of it when you are done to save battery.
I am using it on trinity with Bepe .76 light ROM

cocchiararo
18th September 2007, 02:44 AM
i have an eten x500
se hbh-ds970

the headset works like a charm on my ex se w710, but it looks like the eten device is lacking some procesing power, my unit is defective, or something, other than setting the bitpool to 24 and having HORRIBLE quality, i found no way of having NO skips :( (i tried changin g the value under capability dword on the gateway key, the priorty, joint stereo, samplerate, wm5 and wm6, a2dpfix on wm5 AND wm6, and maybe some more stuff :p)

sometimes after a hard reset / fresh install, a2dp SEEMS to work fine when i just paired my headset, but then it gets broken (really fast) >

any help would be apreciated.

BoBaH77
20th September 2007, 05:58 PM
WM6.0 Rus official&custom russian roms:
no A2DP patch - Coreplayer Benchmark = 500%
A2DP patch - benchmark =200%

does it mean Patch slow down system ???

A2DP patch installed = K-Rally - like slideshow (5-7fps)
No Patch = K-Rally - (visual 50fps!!!)

Am I 1 with this trouble??? :eek:

Wam7
26th September 2007, 05:13 AM
Device: X7500 WM6 Jabra BT 8010

With a2dpfix installed, the X7500 has a constant drain of about 425 mA. With a2dpfix removed, the constant drain drops down to about 90 mA.

The Plan:
(1) Keep a2dp.cab on my X7500 and install it when I want skip-free music. Uninstall a2dpfix when not needed. The whole install/uninstall process should only take a minute or two.
(2) Search the forum for information on power management to find a more elegant solution.
(3) Hope someone already knows how to fix the problem and will post the soultion here.

Many thanks!

Has this power use slight problem been solved. No word from Sleuth on the matter...

ITAdmin
30th September 2007, 09:48 PM
Ok, now that I have unlocked my Wizard and installed Ferreira's "WM5SE rev 4.0 - WM5 without stylus but style!" I now have audio quality that is absolutely fabulous! The only issue is that it still skips when making or receiving a call on my Pioneer 9800BT indash stereo once I make or receive a call. As long as I don't do that, it plays perfectly, but the minute I go off hook, and then hang up and the player starts back up, I get bad skipping.

Since I now have a ROM installed that has the wireless BT Stereo profile, will this patch possibly fix the skipping?

Thanks for any help!

ITAdmin

rsum
2nd October 2007, 11:40 PM
Patch worked ..with an old Sharper Image BT headset..thanks

ITAdmin
4th October 2007, 12:38 AM
Can NO ONE answer my question above?

It looks like this thread is dead??

Lars18TH
26th October 2007, 12:26 PM
Amazing man. I was getting nuts with the skipping issue with my Hermes and a Parrot MK6000. I even updated to the latest firmware of the Parrot.
Honesly, when I first saw the problem and the explanation on what the patch does, I was not quite confident with it. But it works like a charm !! No more skipping (4 songs out of 4, fingers still crossed!!)

Thanks and congratulations :D

Kayser
12th November 2007, 10:51 PM
Hi
I first tried to tweak registry, didn't solved the problem on hermes (schap's 3.54 FR).
Tried the ad2p fix, and it works like a charm !!!
No battery draining, consumption looks almost same.

Headset Sony Ericcson HBH-DS980.

BIGUP
THANKS o/

Edit 2:
After some tests, it's draining more than usual
From ~24mA to ~92mA on idle (screen off)
Tried to disable Bluetooth to see if it continue draining the battery anormaly, and it continue. It's never under 90mA (usualy 24mA)
I removed the A2DPFix then restarted, when my Hermes is idling (same condition than above), the power comsumption is 21mA

I just can't believe that this fix continue to work even if the bluetooth is disable -_-, but it's a sad reality ...

So now, i have to do a choice:
- Getting my battery life decreasing even if bluetooth is inactive
- Installing, uninstalling (with a great reboot procedure) when i need it.
- Or living with that helly skip every 2 minutes.
- Getting that A2DPFix fixed !

I've read all the thread, if anyone have a workaround, it will be very nice

To get my battery a little bit drained when i use it, isn't in fact a big problem.
The most inconvenient part is that the fix don't stop if bluetooth is disable. (so it drains uselessly your battery)

More informations related to my test:
I used Battery Today Plugin to get mA values
I'm using a windows mobile 6 cooked rom (schap's 3.54 FR)
My device is an Hermes HERM100

Kayser
13th November 2007, 08:09 PM
Anyone tested BlueMusic ?
Link: http://www.teksoftbluemusic.com/index.php?section=home
Is the skipping problem gone with it ?

I'll appreciate any feedback !
Thanks