yashsingh1/xdaforums huggingface dataset:
[Touch HD General] elammertsma:
Wow, sorry to hear about your screen, MAMeingast. I wouldn't dare attempt that with my dear HD, although I do wish it had a capacitive screen. I haven't touched my stylus in months.

If I can get Sashimi to do decent backups and automated installs, I might be able to experiment with ROMs more freely, but for now XML provisioning and other settings restorations don't seem to work well and reflashing and configuring still takes a few hours each time. I might try a full backup of my current setup this weekend and test a few Manila 2.5 ROMs. Maybe I can pinpoint what the differences are between the working and non-working BT configurations are and make a cab to fix it. Unfortunately, I'm not aware of a method to monitor file or registry key access so I can't see what's active during BT headset pairing. In other words, getting that together will have to be a pretty labor intensive process.

The cab file simply contains a version of the BTHCI.dll driver file. I haven't been able to find Gooru's original post (using Google translate considering the site's all Russian), so I don't know which ROM(s) the cab file is meant for, where the file comes from or which build of WM it is included in. A quick search turned up this post by Da_G from way back in May, noting that the 216xx WM6.5 build comes with a BTHCI.dll version that isn't bound to WMP. How the binding is done isn't clear to me, but it's possible that the currently running media player (usually AudioManager_Eng.exe) would accept the input without extra configuration. If people can grab that version (see below) and post results here (or any other versions for that matter... it can't hurt to try more!), we could see if it fixes the problem. It's starting to look like that file is indeed the culprit, so good news there! :)

Thinking out loud: If it turns out to be more than just the driver, I might try replacing the dll on Dutty's Leo R5 first, followed by others until I find a Manila 2.5 that the cab file fixes. If that works, I can dump the file system and registry before the fix, and the file system and registry of other uncabbed ROMs to see if a general fix can be made and hopefully pass that along to Dutty and the other cooks to add to future releases. If anyone is running a Manila 2.5, please try installing the cab and posting your results. It would be additionally helpful to let us know which version (or date and size) your original BTHCI.dll is.

I'm sorry to hear that. Naturally, I hoped someone had come up with a general fix, but we'll keep looking. I changed the topic title back from [Solved] considering it didn't work for you. If you find out more, let us know! Maybe you can help with the dll questions, considering you're running a 2.5 ROM.

Edit: Found a download of the proposed older working BTHCI.dll! Try the cab from this post and let us know if it works for you: http://xdaforums.com/showpost.php?p=3807872&postcount=114

It should be uninstallable, but I still recommend backing up your original. You can never be too careful, right? :)
[Touch HD General] i-PDA2006:
neither #8, nor #12 can fix my problem, ROM udk Leo R3. still looking for solution...
[Touch HD General] mauriceheath:
Hi elammertsma,

I've already tried the T-Back 6.5 BT Driver.cab, still launches WMP so I'm guessing there's more to this than just the version of BTHCI.dll. The BTHCI.dll included in Miri's V10 ROM is dated 01/10/09 16:31 (although that may be the date I installed the ROM, not sure) and is 63K in size. Hope this helps.
[Touch HD General] i-PDA2006:
seems the bthci.dll is a rom file, and prevent copy? I try to copy the file from a rom which headset could interface with manila audiomanager, but fail - say the file in not allow to copy...
[Touch HD General] mauriceheath:
You'll need to use another file manager like Total Commander or Resco File Explorer to copy the BTHCI.dll file
[Touch HD General] i-PDA2006:
I'm using the Resco, but still same problem. Properties of the bthci.dll is checked for hide/ready/sys/rom. It can not be seen both in WM file explorer and Resco, but in Resco search for the name you can find it. I try to copy via Resco, it said copy fail...
[Touch HD General] i-PDA2006:
For mine:

1. BTfix.cab, still activate WMP, and seems no change at all.

- I try WMP, my headset is still interface with it, works well.

- Manila audio - sound was transferred to headset but interface no.

- CorePlayer - sound was transferred to headset but interface no.

2. T-Back 6.5 BT Driver.cab, not activate the WMP any more, and others unchanged.

- I try WMP, need manually open WMP first, and my headset is still interface with it, works well.

- Manila audio - sound was transferred to headset but interface no.

- CorePlayer - sound was transferred to headset but interface no.
[Touch HD General] iamdata:
being a bluetoth headphones ower to i ued the htc audio player too. im using nrgz photon rom 11.10.09 manilla 2.1. the default launched audio player from headphones is media player. tried this fix it dont fix it. yes i know its for m.2.5 i was just hoping it would work.

guess i will have to make playlists there instead. i remember there being issues with Wmp it wouldnt recognise all my content. like eminem album i got from play.com. all my own cd rips are good though lol. i will post a fix if i find one. i got a cab. the for s2p which is called tback but all that does is the opposite and unlocks the htc audiomanager and reverts to WMP or s2p. ive looked at nitrogen but unable to find anyway to make headphones work.
[Touch HD General] BlueAnt1958:
My Observations on this

Now my observations on this is that it was not happening on NRG Leo release 14092009 (think it may have been the last Genisis version). We know that NRG's rom platform on 23016 is rock solid as he has stated that many times so I'm suspecting it must be something in the lastest M2.5 version 1919xxx or another package addition as it seems to be effecting all the current Roms running this version of the Leo Manilla. I'm really suspecting that it is something in the way M2.5 HTC audio player is interfacing with WMP but that is just my humble non technical opinion

Can't find if BT stack has been updated in all of this. :( Bit of a bugger as I have the same issue in the my current version 23092009 release and it is also in the 11102009 release. Hope NRG can take a look at this as I use my BT headset constantly or my bit helps in some small way in finding a solution. In the meantime I'm falling way back to 14092009 NRG Leo version.
[Touch HD General] rlatarche:
I know Laurentius was also having a good hard look at this issue too. He seems to spend a lot of time testing his roms so maybe on his release that may or may not appear on friday the bluetooth will be compatible with HTC Audio
[Touch HD General] Smade:
I'm running PDAViet V67 WM 6.5 rom with Manila 2.5. I use the Jabra BT3030 headset (although it looks like a dogtag, it has the advantage that you can use it with any 3.5mm jacked headset). Anyway the AVCRP controls work well using this combination.
[Touch HD General] elammertsma:
That's good news Smade! Any chance you could upload your bthdi.dll for us to test? If that doesn't work at least we'll know the problem lies elsewhere.
[Touch HD General] cezarL:
After flashing several ROMs, I'm pretty sure it's neither WM6.1 vs VM6.5 nor Manila 2.1 vs 2.5 :)

Here's what I tested:

Dutty's M2.1 R14 WM6.5 - BT controls OK on Music tab

Dutty's M2.1 R15 WM6.5 (released this evening) - BT controls not working on Music tab, but WMP is not starting either (when pressing BT buttons)

Dutty's M2.5 R5 WM6.5 - BT controls not working, WMP is launched

Dutty's M2.5 R6 WM6.5 (another new one) - BT controls not working on Music tab, but WMP is not starting either (when pressing BT buttons)

Miri's M2.1 V29 WM6.5 - BT controls not working, WMP is launched

Topix v3.0.2 M2.1 WM6.1 - BT controls not working, WMP is launched

Topix v3.1.1 M2.1 WM6.1 - BT controls OK on Music tab

So... the conclusion: ROMs that do not have the new Weather animations on the Home tab have no BT controls issues, while on ROMs that have the weather animations the BT controls are not working for Manila Music (and neither for CorePlayer) - I think all these versions are all called Manila Sense, rather than TF3D.

I think Dutty has included a new version of the file in the latest ROMs because WMP is not starting anymore when I press a button on my headset (Sony BT20NX, btw), it's probably the second file mentioned in this thread.

Anyways, after three flashes in less than two hours, I don't think my HD can take much more right now, so I'll leave Topix 3.1.1 until tomorrow. But I plan to flash Dutty's Leo R6 again in the morning, I'll install the cabs provided here, and let you know if the issue is solved (but I doubt it).

I'll just second elammertsma on his request: Smade, please upload that .dll somewhere, we want to try it out on our ROMs :)
[Touch HD General] i-PDA2006:
Wow..........

Bude, this is a lot of work.

About the Weather animation, I had the udk Leo R2 once and it is 6.5+manila2.5 and has the weather animation, and the AVRCP do controls the audiomanager. And I'm now using his Leo R3 the AVRCP activating the WMPlayer. I dont want to go back to R2 is because udk's R2 dont have footprint and twitter in R2's manila.

I been search in this forum, and saw somebody got this solved by a AVRCP modifyer. But that solution not work for me, says, even I use that AVRCP to route to /windows/audiomanager_eng.exe, it still activate the WMplayer.
[Touch HD General] cezarL:
What can I say, I have a lot of time on my hands (and a second phone where I can use my SIM:) - not a HTC though).

Now... I'm afraid I've got some bad news:

I flashed Dutty's Leo R6 this morning. The original bthci.dll has 76k and it's dated Oct 16th (I assume this is when Dutty cooked all the files).

I tried replacing it with three other versions:

- the one from Dutty's R14 - this causes WMP to start when BT controls are pushed

- the first fix here BTfix.cab - again, WMP is started when BT controls are used

- the second fix (T-Back's) - WMP doesn't start anymore, but Manila Music still cannot be controlled via BT - this one acts like the original .dll in the ROM, but the file size is different (this one is larger)

Bottom line is... I will have to create some new playlists, this way I won't have to use the controls on the headset too often :) At least, until someone comes up with a working fix.

By the way, if anyone is using an older ROM with no BT problems, we could send out the current bthci.dll and ask them to replace their own files. If they have the same problems as us, we know that this single driver is the issue. If not, then maybe we should start looking for additional files that need to be changed.
[Touch HD General] Kangburra:
I don't know if this helps but I have gone back to Dutty's M2.5 R4 WM6.5 which operates the manila music player from the headphones.
[Touch HD General] MAMeingast:
Holy crap! Thank you for all your work, CezarL!

As soon as my HD is working again, I'll try to contribute to the search for a solution again... ;)
[Touch HD General] elammertsma:
Wow! Very nice work cezarL! Thanks for testing all those ROMs. That certainly gives us a lot more information than we had.

Kangburra, could you upload your bthci.dll for us? Then those of us with non-working ROMs can give it a shot with that. I've also been thinking it's probably a more complicated problem that just that driver, but it would certainly be good to know if it works or not.
[Touch HD General] Kangburra:
Here you go, hope it helps.
[Touch HD General] manutd_ken:
sorry, i am English is very bad

i am now use [Miri WM 6.5 21869 :: MANILA 2.5 :: REV 10.1], Bluetooth handfree can't Control FLO 3D Music, only can Control window player, to automatic open window player, how to set control Control FLO 3D Music?

install that one cab or that one dll?
[Touch HD General] MAMeingast:
We haven't found a solution yet... We're testing different ideas to find out, what we can do to solve this issue! ;)
[Touch HD General] manutd_ken:
OH, thank, wait for you:)

I before Flash one 6.5+2.5 rom, can bluetooth earphone control manila music tab, copy this BTHCI.dll overwrite [Miri WM 6.5MANILA 2.5 REV 10.1] Inside BTHCI.dll is ok?
[Touch HD General] cezarL:
It's not working for me on Leo R6. Behaviour is similar to the older versions of the files, WMP is opened when you try to use the headset buttons to change tracks.

Thanks for the upload!
[Touch HD General] manutd_ken:
Run WMP ram 80%:(
[Touch HD General] manutd_ken:
fiX~~~~~~~~~~~~~~~~~~?
[Touch HD General] MAMeingast:
nO~~~~~~~~~~~~~~~~~~~~~~~! ;)
[Touch HD General] elammertsma:
Haha, indeed!

Thanks for your help, Kangburra. The fact that it isn't helping has me thinking this is probably over my head. It would take a lot of flashing, registry exporting and windows directory file comparison between ROMs to find out which files and settings might be the culprits. It might be the Audio Manager itself, in combination with the BT driver, but I really don't know. The reason I think that is because the only way that WMP can fire up when using bluetooth controls is if something that's already running initiates it. That can logically only be the driver, a windows setting or Manila. We've ruled out the driver alone and in my searches (though not exhaustive) didn't turn up any simple registry setting.

Hopefully this ends up just getting fixed in future ROMs or someone more knowledgeable chimes in! :)
[Touch HD General] Kangburra:
Yes, I need Manila to play music, I tried various fixes on the forums, nothing worked. That's why I went back through the ROMs one by one until I found one that does work. Maybe once the chefs get a stable WM6.5 and Manila 2.5 these bugs can be fixed.

I have issues with SMS times, but Leo 4 from Dutty allows me to have Manila 2.5 and Manila music together.
[Touch HD General] MAMeingast:
I guess we'll have to wait a few days until the first RTM Leo ROMs are cooked into ROMs for the HD. They should not have this problem anymore - I can't imagine HTC releases a new device with this problem! ;)
[Touch HD General] sleepnow:
I've been using Dutty's Leo R6 and as many of you using it and reading this know that none of the bluetooth buttons work. After becoming fed up with Manila's general slowness, I disabled HTC Sense and enabled Windows Default (Titanium) in the today screen settings. Tried my bluetooth buttons, and whaddaya know... they work. It still opens WMP instead of HTC AudioManager, but WMP is integrated in with Titanium anyway so it doesn't bother me. Would still be nice if worked in Manila though.
[Touch HD General] rumpleforeskin:
Is true, AVRCP is always operating WMP sometimes even with manila running.

But still there is not solution for AVRCP to instruct manila music tab :(
[Touch HD General] rumpleforeskin:
Downloading dutty R7 release for my topaz, apparantly includes new drivers, not sure if they are bluetooth related or not.

will test in the morning
[Touch HD General] maxym77:
tested? news?
[Touch HD General] cezarL:
I'm running Dutty's R7 now, unfortunately the BT controls open up WMP as usual.

However, I installed Pocket Player just a few minutes ago, because someone suggested it overrides WMP for bluetooth, and I thought I'd give it a try. When I started it the first time, a pop-up warned me that when not using TF3D, bluetooth controls are not working and that I should download a plugin to redirect controls from WMP. Funny thing is, Manila Sense was running at the time, so it looks like Pocket Player was expecting a .dll to be loaded by Manila, the file wasn't there, so it assumed Manila (mind you, TF3D, not Sense) isn't running.

Anyways, BT controls only worked in Pocket Player when I installed that plugin, but not without it (WMP would start in this case).

So.... I'm thinking... would anyone venture to disect this .dll plugin, maybe they can figure out which part of it Manila should be using too. Or maybe even find a way to use the same file in Manila. I'm afraid I have no idea what to do with it :)

direct link to the file is: http://www.conduits.com/products/player/plugins/gen_wmhost.zip

and a short description on this page: http://www.conduits.com/products/player/plugins.asp#tf3d (section Conduits WMP Plugin Adapter)

PS- I did try a couple other ROMs since my last post here, none of them working: Miri's V11 and Xannytech Grid 1.9
[Touch HD General] cezarL:
By the way, if any of the mods are reading this... I'm thinking it would be a good idea to have this thread moved to the ROM development section.

This way, there's a chance the chefs will see it and maybe try to fix the bluetooth issue in their future releases.

(now... don't get me wrong, I'm not saying they don't know or don't care about it)
[Touch HD General] manutd_ken:
i am now use [Miri_23071_Manila25_TEST2], Bluetooth handfree can't Control FLO 3D Music, only can Control window player, to automatic open window player, how to set control Control FLO 3D Music?
[Touch HD General] MAMeingast:
That is indeed the question!

If you had cared to even read a few posts of this thread, you would have realized that we don't have a solution yet! ;)
[Touch HD General] rumpleforeskin:
sorry to say dutty R7 not fixed the problem, i have seen that R8 is available, for topaz. will attempt that over the weekend.

I will also try a new rom on the girlfriends HD see if there is any difference.
[Touch HD General] galapogos01:
Is it worth putting together a list of roms which have working BT controls?

[edit just found this post]

Duttys R14 has the new M2.1 weather clock and has working BT... just my 2c :)
[Touch HD General] Chris Cross:
Thanks for the Info. I might have to leave Leo R7 and go with R14 M2.1 weather clock until the issue is fixed.
[Touch HD General] Gooru:
decision of problem with MediaPlayer on Sense 2.1 and Sense 2.5: change of files ManilaToday.dll and ManilaDesktop.dll, and change HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\HTC Sense to HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\TouchFLO 3D

files attachment: View attachment ManilaFLO.zip

translate english thx xaos747
[Touch HD General] xaoc747:
Gooru one of the best russian chef and Rom cooker;) Tested - working!!!
[Touch HD General] arqmsgo:
A Question?

HI, Gooru

Could you tell me what do you mean by "change HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\HTC Sense to HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\TouchFLO 3D"?

Thanks.
[Touch HD General] Gooru:
rename folder registry
[Touch HD General] arqmsgo:
Registry

Thank you for the reply. But my registry has an item called "HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\ TouchFLO 3D", so that I cannot rename "HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\ HTC Sense". I am using [Dutty's HD WM6.5 Leo R7].
[Touch HD General] Gooru:
then the response is sufficient to simply replace files

P.S. We try to make one more way to incorporate including the name of HTC Sense
[Touch HD General] arqmsgo:
Gooru: Thank you for your effort. I am looking forward to your new modifications.
[Touch HD General] Gooru:
For those who wrote startup Manila TouchFLO 3D top way, for the same who wrote Manila startup HTC Sense attach two fixed driver file View attachment 242857. Make support for the driver of both types of connections as is done in Topaz, alas did not work
[Touch HD General] arqmsgo:
After replacing two files of my system with the ones provided by you, my HTC HD cannot boot into Manila interface any more. I have to restore my system from a previous backup. Anybody knows why?
[Touch HD General] arqmsgo:
Gooru: One more thing, can it be possible to form a working cab file?
[Touch HD General] Gooru:
think about it in the morning, and all that I still gave it to chef and Rom cooker
[Touch HD General] galapogos01:
Good work Gooru, hopefully we will see some new cooked roms with this fix included!!
[Touch HD General] James62370:
Do I need all 4 files from manilaflo.zip and htcsense.zip?
[Touch HD General] James62370:
Sorry, but I don't quite understand what needs to be done here. Can someone elaborate a little bit more as to what needs to be done to get AVRCP working?
[Touch HD General] Gooru:
All that I have laid out is working, but this information is useful only for cooks. Cooks on the basis of this information release new versions of the firmware and kitchen that will work player Manila.
[Touch HD General] jivkonik:
Good news!

I'm using EnergyROM_21864_BLACKSTONE_28.Oct.2009_Standard

OS ver.: 5.2.21862

Manila ver.: 2.1.19193517.0

Just replaced two DLL-s from HTC Sense.zip, reboot and the magic is done! Didn't do any registry changes (in my registry I have "HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items \ HTC Sense" by default).

Now Bluetooth stereo trandsfree activates Manila Player!

Gooru - thank you very very much!

:p
[Touch HD General] Chris Cross:
The same thing happened to me. I use Dutty's Leo R7 ROM. Manila won't start anymore. I had to restore my system from a previous backup file too.
[Touch HD General] manutd_ken:
I UES [Miri_23071_Manila25_TEST2], registry I have "HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items \ HTC Sense" by default, ManilaToday.dll).

BUT replaced two DLL-s from HTC Sense.zip, can't done
[Touch HD General] manutd_ken:
I UES [Miri_23071_Manila25_TEST2], how to fix

I replaced DLL-s HTC Sense.zip and ManilaFLO.zip, can't work:(
[Touch HD General] Gooru:
All four files used in any case can not, you can use either the first option, or second, but not both.

Both the workers, but to use them simultaneously is strictly prohibited.

P.S. As I have said both ways for Cooks, but not for users.
[Touch HD General] arqmsgo:
After replacing the files in HTC Sense.zip, my Dutty's Leo R7 ROM can now be controlled by the Bluetooth for the HTC music player. Thanks, Gooru!
[Touch HD General] Laurentius26:
Thank you for this awsom solution. :)

I've used the files attached.

No need to cook them in I've just overwritten them in the Windows directory of my mobile using Total Commander.

No registry modifications as well just the two files.

After that I did a softreset and now my A2DP headset controles the Manila musicplayer.

The Manila version I use in V4 RC1 (not public yet) is 2.5.19202525

If you need any further help just let me know.

Grtz Leo :)
[Touch HD General] elammertsma:
Great news! Thank you so much for offering your solutions Gooru and to le chef, Laurentius26 for noticing our humble thread. Looks like, for now, your HD Sense ROMs will be the first ones with working A2DP!

Sorry for my absence from the thread, btw. My job has me completely swamped so I couldn't help out as much as I'd wanted to. I'd love to slap a CAB together with the two files from Gooru's zip, but I'm sure someone will beat me to it as I won't be home to do that until Friday night, even though it's only a 5 minute job. :P

Again, it's great that this is looking like it's resolved! Also, if you still have bluetooth control problems with newer ROMs after applying this fix, please continue to post.
[Touch HD General] manutd_ken:
Duttys Rom is OK, Miri Rom can't work?
[Touch HD General] gachax:
WORKING!!!

Using EnergyROM 28th Oct 2009:

Just replaced the two .dll files in the windows directory using Total commander.

When I re-started the device, TouchFLO 3D was not starting up so I had to make the registry change from HTC Sense to TouchFLO 3D and restarted again.

Went to today screen and chose TouchFLO 3D and it worked.

Connected my stereo bluetooth headset (SonyEricsson HBH DS 205) and the avrcp controls worked with TF3D player!! No more WMP!!!

Wonderful solution, thanks very much to those involved!!! :)
[Touch HD General] mauriceheath:
Working on Miri V10.1

Can confirm the ManilaFLO.zip dll's work on Miri's V10.1. Be careful to edit the registry setting exactly as I had made the mistake of not capitalizing the LO in TouchFLO 3D and it didn't work, after correcting this error TouchFLO 3D now launches after soft reset and bluetooth AVRCP now controls Manila Music Player.

Big Thanks to Gooru for supplying this fix.
[Touch HD General] James62370:
Did you use manilaflo.zip or htcsense.zip files?