BMW E46 Bluetooth Fix - Android 6.0/7.0 - N6

hewewe

Member
Jan 30, 2011
39
12
8
izmir
For those who have BMW E46 series car, attached is the recompiled bluetooth.default.so file to make it work with this model. Just replace the file in the archive with the one in \system\lib\hw. As you may know, a modification must be done for the bluetooth to stay connected with this specific model of BMW. I compiled the file and thought some people may also need it.

source: https://android-review.googlesource.com/#/c/48164/1/bta/ag/bta_ag_sdp.c

Edit: added file for android 8.x
 

Attachments

Last edited:

poncespr

Senior Member
Jul 22, 2007
454
151
73
Vega Baja
For those who have BMW E46 series car, attached is the recompiled bluetooth.default.so file to make it work with this model. Just replace the file in the archive with the one in \system\lib\hw. As you may know, a modification must be done for the bluetooth to stay connected with this specific model of BMW. I compiled the file and thought some people may also need it.

source: https://android-review.googlesource.com/#/c/48164/1/bta/ag/bta_ag_sdp.c
What issue did you have? My Honda CRV will drop Bluetooth connection when I place a call and regain it once connected, and randomly transfer calls back to the phone. I had to go back to M preview 3.
 

hewewe

Member
Jan 30, 2011
39
12
8
izmir
What issue did you have? My Honda CRV will drop Bluetooth connection when I place a call and regain it once connected, and randomly transfer calls back to the phone. I had to go back to M preview 3.
Bluetooth does not stay connected for more than a few seconds without this modification. In the below topic, shimodax says that it is the case since Android 4.2 because of the change Google made. Yours is another problem I guess.:
http://forum.xda-developers.com/android/help/qa-lollipop-bmw-e46-carkit-bluetooth-t3045523
 
  • Like
Reactions: poncespr

hapklaar

Member
Jan 15, 2006
17
6
0
For those who have BMW E46 series car, attached is the recompiled bluetooth.default.so file to make it work with this model. Just replace the file in the archive with the one in \system\lib\hw. As you may know, a modification must be done for the bluetooth to stay connected with this specific model of BMW. I compiled the file and thought some people may also need it.

source: https://android-review.googlesource.com/#/c/48164/1/bta/ag/bta_ag_sdp.c
Thats wonderful, unfortunately the bluetooth.default.so doesn't work on my Note 4 (Android 6.0.1, may 2016 build). I would be grateful if you could recompile for this device as well!
 

Attachments

g0053man

New member
Nov 23, 2016
1
0
0
Galaxy S5

For those who have BMW E46 series car, attached is the recompiled bluetooth.default.so file to make it work with this model. Just replace the file in the archive with the one in \system\lib\hw. As you may know, a modification must be done for the bluetooth to stay connected with this specific model of BMW. I compiled the file and thought some people may also need it.


Hello,

Is it possible that you could update this to work with Galaxy S5 with 6.0.1 .. If not could you point me the right way to doing this myself :)

Thanks!
Rhys
 

hewewe

Member
Jan 30, 2011
39
12
8
izmir
For those who have BMW E46 series car, attached is the recompiled bluetooth.default.so file to make it work with this model. Just replace the file in the archive with the one in \system\lib\hw. As you may know, a modification must be done for the bluetooth to stay connected with this specific model of BMW. I compiled the file and thought some people may also need it.


Hello,

Is it possible that you could update this to work with Galaxy S5 with 6.0.1 .. If not could you point me the right way to doing this myself :)

Thanks!
Rhys
I don't know, but maybe you can download the source code of the original rom or a custom rom compatible with your variant and modify the file and recompile?
 

milocj

Senior Member
Nov 11, 2012
414
251
0
Valencia
great!! works perfectly on nexus 6 7.1.1! i also tree in Xperia Z3 with 6.0.1

Enviado desde mi Google Nexus 6 mediante Tapatalk

---------- Post added at 11:37 PM ---------- Previous post was at 11:37 PM ----------

thanks so much mate!

Enviado desde mi Google Nexus 6 mediante Tapatalk
 

hewewe

Member
Jan 30, 2011
39
12
8
izmir
Hi.
How can i find a file that I need to replace? I have a samsung a5 2016 and do not find the \ system \ lib \ hw folder.
You must unlock your bootloader (this will erase all data). Then you can flash a custom recovery (TWRP) and/or root your phone and use a file manager that supports root. Or you can temporarily boot to TWRP using adb, mount system and use adb to push the file (never tried the second method).
 

giuska17

New member
May 22, 2017
3
0
0
You must unlock your bootloader (this will erase all data). Then you can flash a custom recovery (TWRP) and/or root your phone and use a file manager that supports root. Or you can temporarily boot to TWRP using adb, mount system and use adb to push the file (never tried the second method).
Excuse I do not really get a good idea with the phones I made root on the phone with the program "odin" and installed "supersu" further I'm stuck I do not know what to do. Do you have a tutorial with what to do? Or you can tell me if you have time step by step what I have to do I really want the bluetooth to work in the car.
 

hewewe

Member
Jan 30, 2011
39
12
8
izmir
Excuse I do not really get a good idea with the phones I made root on the phone with the program "odin" and installed "supersu" further I'm stuck I do not know what to do. Do you have a tutorial with what to do? Or you can tell me if you have time step by step what I have to do I really want the bluetooth to work in the car.
First, are you sure this is exactly the same problem as I explained in the first post? If yes, I'll help in private message.
 

giuska17

New member
May 22, 2017
3
0
0
First, are you sure this is exactly the same problem as I explained in the first post? If yes, I'll help in private message.

Well, my problem is that as soon as I get someone to call or someone calls me, I answer and immediately lose my connection. I tried with iphone and with iphone goes well, if it is easier for you to use the teamviewer.

From what I understood the file that posted collegu help me stay the stable connection.
 

joaortnt

Member
May 16, 2010
5
0
0
No, only nexus. But it may work with other phones. What do you mean by string?
yes I know.
worked with my other phones, xperia J , xperiea E4, AEG flare, etc.. android 4.4 and 5 .
now i bought this huawei p8 lite 2017 but i can't do nothing with it..
The string is the byte sequence found in the development post here:
https://forum.xda-developers.com/android/help/qa-lollipop-bmw-e46-carkit-bluetooth-t3045523

... Apparently the android 7.0 work with other files besides bluetooth.default.so ... so we start all over again without bases. Damn!
 

hewewe

Member
Jan 30, 2011
39
12
8
izmir
yes I know.
worked with my other phones, xperia J , xperiea E4, AEG flare, etc.. android 4.4 and 5 .
now i bought this huawei p8 lite 2017 but i can't do nothing with it..
The string is the byte sequence found in the development post here:
https://forum.xda-developers.com/android/help/qa-lollipop-bmw-e46-carkit-bluetooth-t3045523

... Apparently the android 7.0 work with other files besides bluetooth.default.so ... so we start all over again without bases. Damn!
So you use the string method because replacing the file doesn't work? Only replacing bluetooth.default.so always works for me, even in android 8.1, but it may need to be compiled in the same android revision.