BlueTooth problem (Smartisan Nut3)

BlueTooth problem (Smartisan Nut3)
0

I am using an Oscar Device. If I try to use car’s hand free it does not work. I can connect to my BT car system, I can use buttons on the drive wheel and I can listen to music using car speakers. But I can’t use car system as hands-free. It seems that HSP/HFP pofile is not enable. Is it problem my only?

Oh. I can see that it is not a new problem…


But what should I do to fix this problem?

Hi! I have rewritten the issue.

Bug description: I can’t use bluetooth hands-free.
Affected version: MK90.0-oscar-201910071412-NIGHTLY
Steps to replicate:

  1. Pair the hands-free and Oscar device.
  2. Dialing.
  3. Hands-free is do not work. Sound comes from the phone speaker but not from hands-free.

In the system log I can read:

10-11 19:01:02.002: I/bluetooth@1.0-s(559): type=1400 audit(0.0:48049): avc: denied { call } for scontext=u:r:init:s0 tcontext=u:r:bluetooth:s0 tclass=binder permissive=1
10-11 19:01:02.012: I/hci_thread(16065): type=1400 audit(0.0:48050): avc: denied { call } for scontext=u:r:bluetooth:s0 tcontext=u:r:init:s0 tclass=binder permissive=1
10-11 19:01:02.015: E/bt_btif (16065): bta_ag_sco_disc_cback: eSCO/SCO failed to open, no more fall back
10-11 19:01:02.015: W/bt_btif (16065): bta_dm_pm_ssr: conn_srvc id:18, app_id:1
10-11 19:01:02.015: W/bt_btif (16065): bta_dm_pm_ssr: conn_srvc id:5, app_id:1
10-11 19:01:02.015: W/bt_btif (16065): bta_dm_pm_ssr: conn_srvc id:18, app_id:0
10-11 19:01:02.015: W/bt_btif (16065): bta_dm_pm_ssr: conn_srvc id:26, app_id:255
10-11 19:01:02.015: W/bt_btif (16065): bta_dm_pm_ssr ssr:2, lat:1200
10-11 19:01:02.015: I/BluetoothHeadsetServiceJni(16065): AudioStateCallback, 0 for :::::
10-11 19:01:02.017: W/HeadsetStateMachine(16065): AudioConnecting: currentDevice=:::::, msg=processAudioEvent: audio connection failed
10-11 19:01:02.020: D/NewAvrcpTargetJni(16065): getSongInfo
10-11 19:01:02.020: D/NewAvrcpNativeInterface(16065): getCurrentSongInfo
10-11 19:01:02.021: I/AudioService(542): setBluetoothScoOnInt: false setBluetoothScoOn(false) from u/pid:1000/542
10-11 19:01:02.022: D/audio_hw_primary(558): adev_set_parameters: enter: BT_SCO=off
10-11 19:01:02.022: D/audio_hw_primary(558): elevoc denoise_call 0
10-11 19:01:02.022: D/audio_hw_extn(558): audio_extn_set_anc_parameters: anc_enabled:0
10-11 19:01:02.023: D/audio_hw_spkr_prot(558): audio_extn_fbsp_set_parameters: Speaker protection disabled
10-11 19:01:02.023: D/NewAvrcpTargetJni(16065): getSongInfo
10-11 19:01:02.023: D/NewAvrcpNativeInterface(16065): getCurrentSongInfo
10-11 19:01:02.023: I/bt_a2dp_hw(593): adev_set_parameters: state 5
10-11 19:01:02.023: I/bt_a2dp_hw(593): out_set_parameters: state 5 kvpairs BT_SCO=off
10-11 19:01:02.023: I/hash_map_utils(593): key: ‘BT_SCO’ value: ‘off’
10-11 19:01:02.027: D/AudioPolicyManagerCustom(593): setForceUse() usage 0, config 0, mPhoneState 2
10-11 19:01:02.027: D/AudioPolicyManagerCustom(593): setForceUse() usage 2, config 0, mPhoneState 2
10-11 19:01:02.027: D/AudioPolicyManagerCustom(593): setForceUse() usage 7, config 0, mPhoneState 2
10-11 19:01:02.027: I/Telecom (542): BluetoothStateReceiver: Device ::::: transitioned to audio state 10: BSR.oR@D18
10-11 19:01:02.028: I/Telecom (542): BluetoothRouteManager: Message received: HFP_LOST.: BSR.oR->BRM.pM_201@D18
10-11 19:01:02.028: I/Telecom (542): BluetoothRouteManager: HFP connection with device ::::: lost.: BSR.oR->BRM.pM_201@D18

Any tip or solution please!