Go Back   xda-developers > HTC Universal: JASJAR, XDA Exec, MDA Pro > JASJAR, XDA Exec, MDA Pro Software Upgrading


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14th March 2006, 02:53 PM
universaldoc universaldoc is offline
Senior Member
 
Join Date: Sep 2005
Posts: 220
Default Operation A2DP (A2DP for all devices) - One step closer

I have downloaded the new T-Mo MDA Pro ROM and decoded it with the tools made by mamaich and with the procedure given by Buzz.

I then dumped the contents of the "nk.nba" file to a subdirectory called Dump . I opened the subdirectory and noticed that it had all the ROM files in it including those for Bluetooth (obviously). I also noticed many BT files as shown in the screenshot below.

Now, what is the next step that we need to do to be able to port A2DP and probably even the Remote SIM access profile to the other devices? I know its possible, i just want to know how!!!

Ideas anyone?

Reply With Quote
Sponsored Links

  #2  
Old 14th March 2006, 02:58 PM
universaldoc universaldoc is offline
Senior Member
 
Join Date: Sep 2005
Posts: 220
Default

Contents of the "imageinfo" text file of "bta2dp.dll":

"Module name: bta2dp.dll
e32_objcnt: 00000004
e32_imageflags: 0000212E
e32_entryrva: 0000B3E8
e32_vbase: 016D0000
e32_subsysmajor: 00000005
e32_subsysminor: 00000001
e32_stackmax: 00010000
e32_vsize: 00018000
e32_sect14rva: 00000000
e32_sect14size: 00000000
e32_timestamp: 663CB98F
e32_unit[0].rva: 0000C090
e32_unit[0].size: 0000009A
e32_unit[1].rva: 0000BF24
e32_unit[1].size: 0000003C
e32_unit[2].rva: 00000000
e32_unit[2].size: 00000000
e32_unit[3].rva: 00017000
e32_unit[3].size: 000008A0
e32_unit[4].rva: 00000000
e32_unit[4].size: 00000000
e32_unit[5].rva: 00018000
e32_unit[5].size: 00001000
e32_unit[6].rva: 00001000
e32_unit[6].size: 0000001C
e32_unit[7].rva: 00000000
e32_unit[7].size: 00000000
e32_unit[8].rva: 00000000
e32_unit[8].size: 00000000
e32_subsys: 00000009

o32[0].o32_vsize: 0000B12A
o32[0].o32_rva: 00001000
o32[0].o32_psize: 0000B12C
o32[0].o32_dataptr: 20000203
o32[0].o32_realaddr: 016D1000
o32[0].o32_flags: 60002020

o32[1].o32_vsize: 000092E4
o32[1].o32_rva: 0000D000
o32[1].o32_psize: 00000200
o32[1].o32_dataptr: 00000000
o32[1].o32_realaddr: 016DD000
o32[1].o32_flags: C0002040

o32[2].o32_vsize: 000008A0
o32[2].o32_rva: 00017000
o32[2].o32_psize: 000008A0
o32[2].o32_dataptr: 00000000
o32[2].o32_realaddr: 016E7000
o32[2].o32_flags: 40002040

o32[3].o32_vsize: 00001000
o32[3].o32_rva: 00018000
o32[3].o32_psize: 000001F8
o32[3].o32_dataptr: 10000000
o32[3].o32_realaddr: 00000000
o32[3].o32_flags: 42002042

Can someone make anything out of this? The folder called "bta2dp.dll" also contains 4 other files named:

1) S000
2) S001
3) S002
4) S003
Reply With Quote

  #3  
Old 14th March 2006, 03:03 PM
universaldoc universaldoc is offline
Senior Member
 
Join Date: Sep 2005
Posts: 220
Default

All the files in the dump with the letters "bt" in them can be seen in the attached screenshot.

Notice there is a folder with the name "BthAGPhonebook.dll"

Reply With Quote

  #4  
Old 14th March 2006, 03:14 PM
bepe's Avatar
bepe bepe is offline
Senior Member
 
Join Date: Dec 2005
Location: Munich
Posts: 1,112
Default

Sorry for by bad english

Have you tried to move this modul to another ROM and to set this in the registry

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\BtA2dpSnd]
"Dll"="bta2dp.dll"
"Prefix"="WAV"
"Order"=dword:8
"Index"=dword:8
"Flags"=dword:10002
Reply With Quote

  #5  
Old 14th March 2006, 03:20 PM
universaldoc universaldoc is offline
Senior Member
 
Join Date: Sep 2005
Posts: 220
Default

Hi Bepe,

Your English is fine!

The problem is that the BT dll files are packaged into folders rather than the regular .dll files. I cannot create a dynamic link libray (dll) file without the help of applications i don't know and don't have.

If someone has the knowhow, i will be more than happy to upload the file for you guys so that you can do the necessary.

Cheers.
Reply With Quote

  #6  
Old 14th March 2006, 03:28 PM
universaldoc universaldoc is offline
Senior Member
 
Join Date: Sep 2005
Posts: 220
Default

I have attached the BT files from the ROM just to save time Let me know if you guys need any other files.
Attached Files
File Type: rar bt_193.rar (333.1 KB, 629 views)
Reply With Quote

  #7  
Old 14th March 2006, 03:56 PM
bepe's Avatar
bepe bepe is offline
Senior Member
 
Join Date: Dec 2005
Location: Munich
Posts: 1,112
Default

Yes I know, this folders are moduls.
But it is posible to integrate this folders/moduls to other roms using viewimgfs.exe and BuildImgfs.exe.

Or are you traying to convert a folder to a regular .dll?
This would difficult, I only managed to rebuild resource-dll's.
Reply With Quote

  #8  
Old 14th March 2006, 04:09 PM
universaldoc universaldoc is offline
Senior Member
 
Join Date: Sep 2005
Posts: 220
Default

Hi Bepe,

I was trying to rebuild the dll's but it was difficult just as you said. Luckily, Asukal has uploaded the Bluetooth dll files from this T-Mobile MDA Pro.

I copied over all the dll files to my Jasjar but it messed up my device so i had to restore everything through a backup i had taken. I am now going to add only the a2dp and acrcp files to the Jasjar and see what happens.

Will keep you all posted.
Reply With Quote

  #9  
Old 14th March 2006, 04:57 PM
universaldoc universaldoc is offline
Senior Member
 
Join Date: Sep 2005
Posts: 220
Default

Well, i just ported "bta2dp.dll" and "btavrcp.dll" to my Jasjar and added the necessary registry entries, but still didn't get the Wireless stereo profile when i was pairing with my headset.

Something is missing somewhere. Anyone else have an idea what it could be?
Reply With Quote

  #10  
Old 14th March 2006, 06:57 PM
Asukal's Avatar
Asukal Asukal is offline
Senior Member
 
Join Date: Nov 2003
Location: Shenzhen/China--But Japanese
Posts: 692
Default dll

i compared carfully.

1:TMUK has more dll than i-mate

sbc.dll
Avrcp_MPplugin.dll
bta2dp.dll

2:also some dlls file size were different.
other dlls are seems to be same size in explore,
but actualy sizes were very little diffenrt each other.

for your refference
Attached Images
File Type: jpg tmuk_bt.jpg (45.8 KB, 111 views)
File Type: jpg dependence.jpg (16.1 KB, 84 views)
File Type: jpg bta2dpdll.jpg (16.1 KB, 100 views)
__________________
Asukaly yours!
Too many things i want to do.
Too DARK to tell the others!
http://asukal.seesaa.net - Previouse
http://asukal.net/blog
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 12:44 AM.


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