Go Back   xda-developers > HTC Hermes: 8525, TyTN, MDA Vario II, JasJam > 8525, TyTN, MDA Vario II, JasJam General


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st December 2006, 11:38 PM
Sleuth255's Avatar
Sleuth255 Sleuth255 is offline
Moderator
 
Join Date: Mar 2006
Posts: 3,432
Talking Yikes! I just fixed my A2DP skipping problem with this patch!

Background:

When jompao (his original thread on this is here) 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
Moto HT820
Logitech iPod Headset
HP iPAQ Headset
Jabra BT 620S

As always, Enjoy!
Attached Files
File Type: zip A2DPFix v1.0.zip (9.0 KB, 9762 views)
__________________
AT&T Tilt 2
ROM: Stock AT&T derivative
Radio: v4.48.25.20

My apps/patches (click them!)
All: SIPChange , UC v2.0
Hermes: PTTFix, ATI ImageON Fix, v3.2 Sleuth
Kaiser: v3.0 Sleuth



Last edited by Sleuth255; 3rd December 2006 at 05:13 PM..
Reply With Quote
Sponsored Links

  #2  
Old 2nd December 2006, 12:51 AM
Hiryu Hiryu is offline
Junior Member
 
Join Date: Nov 2006
Posts: 13
Default

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.
Reply With Quote

  #3  
Old 2nd December 2006, 12:56 AM
Sleuth255's Avatar
Sleuth255 Sleuth255 is offline
Moderator
 
Join Date: Mar 2006
Posts: 3,432
Default

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?
__________________
AT&T Tilt 2
ROM: Stock AT&T derivative
Radio: v4.48.25.20

My apps/patches (click them!)
All: SIPChange , UC v2.0
Hermes: PTTFix, ATI ImageON Fix, v3.2 Sleuth
Kaiser: v3.0 Sleuth



Last edited by Sleuth255; 2nd December 2006 at 01:00 AM..
Reply With Quote

  #4  
Old 2nd December 2006, 01:00 AM
Hiryu Hiryu is offline
Junior Member
 
Join Date: Nov 2006
Posts: 13
Default

Quote:
Originally Posted by Sleuth255 View Post
Is the service started? What A2DP headset are you using?
Yes, checked with dotFred's TaskMgr. It autostarts after a soft reset it seems?
Reply With Quote

  #5  
Old 2nd December 2006, 01:02 AM
Sleuth255's Avatar
Sleuth255 Sleuth255 is offline
Moderator
 
Join Date: Mar 2006
Posts: 3,432
Default

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?
__________________
AT&T Tilt 2
ROM: Stock AT&T derivative
Radio: v4.48.25.20

My apps/patches (click them!)
All: SIPChange , UC v2.0
Hermes: PTTFix, ATI ImageON Fix, v3.2 Sleuth
Kaiser: v3.0 Sleuth



Last edited by Sleuth255; 2nd December 2006 at 01:10 AM..
Reply With Quote

  #6  
Old 2nd December 2006, 01:09 AM
Hiryu Hiryu is offline
Junior Member
 
Join Date: Nov 2006
Posts: 13
Default

Quote:
Originally Posted by Sleuth255 View Post
It will auto-start only if you're also running SPB Pocket plus.
Yeah, I have SPBpp
Reply With Quote

  #7  
Old 2nd December 2006, 01:24 AM
Hiryu Hiryu is offline
Junior Member
 
Join Date: Nov 2006
Posts: 13
Default

Quote:
Originally Posted by Sleuth255 View Post
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
Reply With Quote

  #8  
Old 2nd December 2006, 01:33 AM
Sleuth255's Avatar
Sleuth255 Sleuth255 is offline
Moderator
 
Join Date: Mar 2006
Posts: 3,432
Default

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?
__________________
AT&T Tilt 2
ROM: Stock AT&T derivative
Radio: v4.48.25.20

My apps/patches (click them!)
All: SIPChange , UC v2.0
Hermes: PTTFix, ATI ImageON Fix, v3.2 Sleuth
Kaiser: v3.0 Sleuth



Last edited by Sleuth255; 2nd December 2006 at 01:44 AM..
Reply With Quote

  #9  
Old 2nd December 2006, 01:44 AM
Hiryu Hiryu is offline
Junior Member
 
Join Date: Nov 2006
Posts: 13
Default

Quote:
Originally Posted by Sleuth255 View Post
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.
Reply With Quote

  #10  
Old 2nd December 2006, 01:48 AM
Hiryu Hiryu is offline
Junior Member
 
Join Date: Nov 2006
Posts: 13
Default

Quote:
Originally Posted by Sleuth255 View Post
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
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:58 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.