Closed oshmoun closed 5 years ago
@mase76 originally reported this issue
Please post logs
You can find my logs here: https://forum.xda-developers.com/showpost.php?p=77416898&postcount=512
this is not resolved yet, still happens. should I open a new issue or can this be re-opened?
can confirm, this issue still persist on my suzu
about bluetooth. sometimes it is tightly disconnected or intermittently playing music. when logging, it produces the following error: 01-28 01:02:30.366 F/linker (20127): CANNOT LINK EXECUTABLE "/odm/bin/imsdatadaemon": cannot locate symbol "dsi_query_link_local_network_handle" referenced by "/odm/bin/imsdatadaemon"...
@deniskuz95 that is an unrelated issue, and should be handled already. If you flash a clean build you should not see that error anymore, since that service has been removed.
How to proceed:
Once we locate the issue in one of the two drivers, then we can do magic to fix it.
@kholk Thanks :) the problem is that I don’t know how to do it, I didn’t find instructions on the Internet ...
Don't worry, everyone learns. If that's out of your skills, me, Obi or other developers can look at it.
I can confirm, the issue is still there on 2 of my Suzu devices.
Please reopen this issue. This bug is so annoying, that it makes the usage of bluetooth headsets and speakers nearly impossible.
Besides the rebooting problem of #348 the Bluetooth connection to a BT speaker is also unstable for lilac/Yoshino.
Sometimes the music stops playing but the connection is still showed as active and then as disconnected.
I'll try to get logs next time
The bt audio crash starts at:
03-11 20:55:43.216 624 26363 E bt_a2dp_hw: a2dp_command: A2DP COMMAND A2DP_CTRL_CMD_START error 1
I was listening to music (mp3) over BT
I have the same behaviour than djselbeck. The audioplayer is still running, but the connection drops. This happens within a few seconds after starting playback. It happens with all kind of audioplayers, mostly after resuming a paused playback. Sometimes turning off and on bt helps for a while. No problems with the 3.10 kernel used in LineageOS by Chippa.
I was listening to music for around 10 minutes before the crash
With the 4.9 kernel used with Android 9 ROMs, bt became completely unusable. Either the bt app crashes, or audio stops playing after just a few seconds.
@stefanhh0 this bug report is about the loire platform which uses a different BT HW please open a new ticket for yoshino BT
@stefanhh0 are you building AOSP?
Moved my post and the answer to your question as requested to #362.
I've just engineered a possible solution for this issue, thanks to @oshmoun isolating the producer to a specific clock.
Can you please test again with this patchset? sonyxperiadev/kernel#1985
Thanks!
@kholk I also have the Bluetooth problem on kugo/loire (on 8.1 and 9.0). How can I test your patchset?
@anthonyhaussman it's been merged into 4.9 kernel, i.e is available for 9.0 if you make a new build with the latest kernel sources you should have the Bluetooth fix
REDACTED
Sorry, I had misread the message. Follow @oshmoun 's advice.
No problem @kholk. The thing is I have never build an Android kernel until now. I'm going to try to follow the sony procedure on https://developer.sony.com/develop/open-devices/guides/kernel-compilation-guides/how-to-build-mainline-linux-kernel-for-xperia-devices
@oshmoun, So I can use the tag v4.9 of the Linux kernel source tree repo of Torvald?
@anthonyhaussman sonyxperiadev/kernel#1985 Was merged back 2 days ago.
To do a fresh build with kernel included simply call ./repo_update.sh
followed by rm -r kernel/sony/msm-4.9/common-kernel
common-kernel contains the precompiled kernels, if that folder is removed then kernel is automatically being build from the sources.
Work great. I have used my Bluetooth headset for more than a hour. Works great without crash.
awesome, thanks for confirming
Platform: loire Device: kugo Kernel version: 4.4 and 4.9 Android version: 8.1 and 9.0
Description while playing music on a bt headset, the connection will randomly drop and playback will pause
How to reproduce enable bluetooth pair a bt headset start music playback after some time, and while normally using the device, bt will disconnect