[Q] No phone audio after using bluetooth - Xperia Z Q&A, Help & Troubleshooting

Hi All
Just wondering if anyone else is seeing this behaviour with their Xperia-Z?
I use bluetooth audio a lot (A2DP paired to the car stereo) & I've got the problem that after my phone has connected to a bluetooth audio device it won't then use the handset speaker (for calls / notifications / music / anything). It seems like the system is failing to switch back to using the handset audio output after disconnecting from the bluetooth device.
The steps to reproduce the issue are straightforward and completely reproducible:
Enable bluetooth on handset
Connect to an A2DP bluetooth device
Disconnect device (i.e.: power it off)
Disable bluetooth on handset
Test handset audio (e.g.: increase or decrease volume)
When trying to set the handset audio volume after disconnecting the bluetooth device I get the following output in `dmesg` on the handset:
Code:
<6>[ 732.223754] setting pm_qos in msm_pcm_playback_copy with 1000
<6>[ 732.228637] done setting pm_qos in msm_pcm_playback_copy
<6>[ 742.231475] updating pm_qos value to default msm_pcm_playback_close
<6>[ 742.237152] done updating pm_qos value to default msm_pcm_playback_close
<3>[ 745.068725] mdp4_overlay_set: blt mode is required! ret=-22
<3>[ 745.073486] msmfb_overlay_set: ioctl failed, rc=-22
<6>[ 745.657928] msm_pm_wait_cpu_shutdown(): Timed out waiting for CPU 1 SPM to enter sleep stateCPU1: unable to kill
<6>[ 746.107879] msm_pm_wait_cpu_shutdown(): Timed out waiting for CPU 1 SPM to enter sleep stateCPU1: unable to kill
<3>[ 747.242309] msm_pcm_playback_close: CMD_EOS failed
<6>[ 747.309936] setting pm_qos in msm_pcm_playback_copy with 1000
<6>[ 747.315124] done setting pm_qos in msm_pcm_playback_copy
I'm currently running CM10.2 (FreeXperia build 10.2-20140302-UNOFFICIAL-yuga) but the same issue was happening with the "official" CyanogenMod 10.1 & 10.2 builds.
The workaround is to reboot the device after unpairing a bluetooth audio device but this isn't really ideal. Anyone got any ideas / seeing the same behaviour?
Cheers
Si

scaldrich said:
Hi All
Just wondering if anyone else is seeing this behaviour with their Xperia-Z?
I use bluetooth audio a lot (A2DP paired to the car stereo) & I've got the problem that after my phone has connected to a bluetooth audio device it won't then use the handset speaker (for calls / notifications / music / anything). It seems like the system is failing to switch back to using the handset audio output after disconnecting from the bluetooth device.
The steps to reproduce the issue are straightforward and completely reproducible:
Enable bluetooth on handset
Connect to an A2DP bluetooth device
Disconnect device (i.e.: power it off)
Disable bluetooth on handset
Test handset audio (e.g.: increase or decrease volume)
When trying to set the handset audio volume after disconnecting the bluetooth device I get the following output in `dmesg` on the handset:
Code:
<6>[ 732.223754] setting pm_qos in msm_pcm_playback_copy with 1000
<6>[ 732.228637] done setting pm_qos in msm_pcm_playback_copy
<6>[ 742.231475] updating pm_qos value to default msm_pcm_playback_close
<6>[ 742.237152] done updating pm_qos value to default msm_pcm_playback_close
<3>[ 745.068725] mdp4_overlay_set: blt mode is required! ret=-22
<3>[ 745.073486] msmfb_overlay_set: ioctl failed, rc=-22
<6>[ 745.657928] msm_pm_wait_cpu_shutdown(): Timed out waiting for CPU 1 SPM to enter sleep stateCPU1: unable to kill
<6>[ 746.107879] msm_pm_wait_cpu_shutdown(): Timed out waiting for CPU 1 SPM to enter sleep stateCPU1: unable to kill
<3>[ 747.242309] msm_pcm_playback_close: CMD_EOS failed
<6>[ 747.309936] setting pm_qos in msm_pcm_playback_copy with 1000
<6>[ 747.315124] done setting pm_qos in msm_pcm_playback_copy
I'm currently running CM10.2 (FreeXperia build 10.2-20140302-UNOFFICIAL-yuga) but the same issue was happening with the "official" CyanogenMod 10.1 & 10.2 builds.
The workaround is to reboot the device after unpairing a bluetooth audio device but this isn't really ideal. Anyone got any ideas / seeing the same behaviour?
Cheers
Si
Click to expand...
Click to collapse
Install official android firmware from Sony, and if the problem still persists wait for the update from Sony.
It is just software problem.

try flashing build.prop file of official sony xperia z build or just over write it using root explorer if you havr root and restart always work ( its mainly the problem with the build promps in cm10.xx

Related

wm5 WHAT IS THE SOLUTION FOR BT ALWAYS TURN ON?

i cant find the real solution for always turn on bluetooth on my spv m2000 whith wm5
please help
You can Try These
Microsoft Bluetooth Stack Status after Softreset
[HKEY_CURRENT_USER\Software\Microsoft\Bluetooth\Settings]
"ScanMode" -> set 7 if Discoverable, 5 Turn on only, 0 if OFF
Broadcom/Widcomm Bluetooth Stack Status after Softreset
[HKEY_LOCAL_MACHINE\SOFTWARE\WIDCOMM\BtConfig\General]
"StackMode" -> 0 means Bluetooth OFF, 1 Means Bluetooth ON
Broadcom/Widcomm Discoverable and Connectable
[HKEY_LOCAL_MACHINE\SOFTWARE\WIDCOMM\BtConfig\Filters]
"WhoAllowedToConnect"-> if 0 No one allow to connect, 1 if All Devices allow to connectble, 2 if Paired Devices Only
"AllowOthersToDiscover"-> 0 if Bluetooth Undiscoverable, 1 if Discoverable
Broadcom/Widcomm Device Identification
[HKEY_LOCAL_MACHINE\SOFTWARE\WIDCOMM\BtConfig\General]
"UsePocketPCName" -> 1 if you want to uset the Pocket PC Device ID Name, 0 if you want to set on your own Device ID
"DeviceName"-> Preffered BroadCom/Widcomm Device ID
Broadcom/Widcomm Setting maximum Simultaneous Connection
[HKEY_LOCAL_MACHINE\SOFTWARE\WIDCOMM\BtConfig\General]
"MaxSimultConnections"
Bluetooth setting in WM2005
Hi pzenou,
I believe in WM2005, there isn't any Widcomm BT drivers. So far, bt disconnecting problems had not been fully resolved. However, u can check out http://www.buzzdev.net, as there is a thread on this issue. Buzz_lightyears is trying to help out on this area.
Hopefully, this problem can be resolved soon. Cheers ^^

Bitpool settings for automatic A2DP toggling

I had the problem that my Diamond haven't automatically toggled to A2DP devices. I had to set manually the A2DP devices to wireless stereo every time. Thought that was caused by the ROM (first panosha's, now udk's BETA3) but I found the solution (at least for my A2DP devices):
If the bitpool minimum setting is too high, the automatic connection doesn't work anymore! Tested it a dozen times with different values. I read the A2DP spec: reason seems to be that the device negotiate the right bitpool setting and if they don't find a common setting directly they don't connect instantly ...
So the maximum "minimum bitpool setting" for my Gear4 Blustream receiver is 32. With a value of 33 the automatic connection doesn't work anymore! 32 works as well with Gear4's Blackbox. Maximum bitpool is set at 75 and bitpool set to "very high."
And the sound quality is significantly better than with min 0 and max 30 bitpool.
any chance you know thr corect bit settings for my samsung sbh500 bluetooth headset ?
darkenergy said:
any chance you know thr corect bit settings for my samsung sbh500 bluetooth headset ?
Click to expand...
Click to collapse
It"s easy to determine the maximum "minimum bitpool". Just start with a high minimum setting of i.e. 50 and max 75, soft reset and check if the automatically connect. If not, lower the minimum bitpool to i.e. 45, soft reset, check and so on ...

[Q] Remaining battery of bluetooth headset. How to?

Good evening everyone.
A friend of mine with and Lg G2 and same bluetooth headset can display the remaining battery of the headset from the phone.
Is there a way to enalbe this feature on the Z3C?
Thanks in advance.
Hi, I can confirm that. On the same LP, LG G2 connection with BT device (Lazer BT headset in motorcycle helmet) showed the battery level, which was very useful. I connected the same device to the Z3C and battery level is not visible.
The specs:
LG G2 - 4.0 Profiles/ Protocols: Advanced Audio Distribution (A2DP), Audio/Visual Remote Control Profile (AVRCP), File Transfer (FTP), Handsfree (HFP), Human Interface Device (HID), Object Push (OPP), Phone Book Access (PBAP).
Z3C - 4.0, Bluetooth® profiles supported Advanced Audio Distribution Profile v1.2; Audio/Video Remote Control Profile v1.3; Device Identification Profile v1.3; Generic Attribute Profile Client/Server over LE; Handsfree Profile v1.6 (Wide band speech); Headset Profile v1.2; Health Device Profile v1.1; HID over GATT Profile v1.0; Human Interface Device Profile, Host role v1.1; Messaging Access Profile v1.0; Object Push Profile v1.1;Personal Area Networking Profile v1.0; Phonebook Access Profile v1.1; Serial Port Profile v1.1; Core version and supported core features Version 4.0; Bluetooth Low Energy; Other supported features aptX® CD quality

Best method bluetooth in car?

Hi after struggling for days and hours, I'm taking the time to post my question.
1. I want to have Bluetooth disabled as much as possible during battery drain.
2. I want my phone to start Bluetooth once I connect it to the car power socket (brodit active holder)
The Following is finally working:
At the moment I have this:
Profile 1:
Car Mode
BT Connected to <MAC ADRESS>
Launch Task -> Launches my settings and apps
Exit Task -> Back to normal settings and turn off bluetooth
Profile 2:
Power Any
launch task-> Bluetooth on
exit task -> if Variable BTConnected = 0 -> Bluetooth Off (so when I use the power socket in house and Bluetooth is not connected it will disable Bluetooth again)
Profile 3:
BT Connected
launch task Variable set -> BTConnected= 1
exit task = Variable set -> BTConnected= 0
I hope this makes sense, this way I can pull out the phone off the brodit car holder and the Bluetooth stays active, so in fact, profile 1 stays active -- OK
When car goes off it uses exit task of profile 1 -> turn off Bluetooth --- OK
When putting phone in holder, Bluetooth goes on
cycling with this work great.
Now let's say I am at home charging over the night. Bluetooth stays on because the exit task won't get triggered. So id like to have in profile 2 something that says:
If Power any -> start Bluetooth and if Bluetooth is not connecting in 2 minutes -> Bluetooth go off.
Is there anyone that can help me with this, I know i am close.
Or are there any other best methods for this?
Bluetooth on -> wait 2 minutes -> Bluetooth off, if BTconnected=0
Vagelis1608 said:
Bluetooth on -> wait 2 minutes -> Bluetooth off, if BTconnected=1
Click to expand...
Click to collapse
you mean BTConnected = 0 right? cause 0 defines not connect at my variable?
will try this out tomorrow!
IIIdefconIII said:
you mean BTConnected = 0 right? cause 0 defines not connect at my variable?
will try this out tomorrow!
Click to expand...
Click to collapse
Yes, that's what I mean.
Vagelis1608 said:
Yes, that's what I mean.
Click to expand...
Click to collapse
that worked thanks!

Disable Bluetooth - Phone Audio on Activating DND on phone

My bluetooth headset has both Phone Audio and Media Audio options (checkboxes) under the Bluetooth device settings on my phone.
Essentially unselecting Phone Audio would prevent the Bluetooth headset from ringing when the phone rings.
When I activate DND mode on the phone the bluetooth headset still rings when connected to the phone. I want a solution in tasker for keeping the Bluetooth Media Audio on and turning off the Phone Audio for the Bluetooth settings.
I am a Tasker newbie and wasnt able to find the required setting under Actions or on this forum either.
I think the only way to do this is to set the global setting value that represents the state of that switch.
The value of;
bluetooth_headset_priority_XX:XX:XX:XX:XX:XX
(where XX:XX:XX:XX:XX:XX is the MAC address of the BT device)
Represents the state of the phone sink toggle. When set to 0, the phone (HPS) sink is off. When set to a number > 0 that represents the priority order the device is selected for that sink. In theory - I've not tested this - if a headset is set to 1000 and a car head unit to 100, the headset will be preferred for phone calls.
Toggle off:
Code:
A1: Custom Setting [
Type:Global
Name: bluetooth_headset_priority_XX:XX:XX:XX:XX:XX
Value: 0
Use Root: On
Read Setting To:
]
Toggle On:
Code:
A2: Custom Setting [
Type:Global
Name: bluetooth_headset_priority_XX:XX:XX:XX:XX:XX
Value:1000
Use Root: On
Read Setting To:
]
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini

Categories

Resources