HTC 10 - Bluetooth Freezing, Stuttering & Stopping - Oreo - Telstra - HTC 10 Questions & Answers

Hello! I have a Bluetooth Connection Issue with my HTC 10...
Situation:
HTC 10, 8.0
Telstra (Australia)
Randomly when I'm connected to Bluetooth devices (car and speakers) the music or audio playback stutters, freezes or stops completely.
Fixes attempted
Wipe caches, wiped data, uninstalled, reinstalled, cleared Bluetooth caches and data
Reset network preferences (as per recommendation from Telstra crowd support)
3 Factory resets and complete wipes (this year)
2 new car Bluetooth kits (I'm not trying anymore)
The other morning at 9:34 the music froze suddenly as I was driving. I taught myself how to do a logcat and then searched through everything that happened at 9:34am that had to do with Bluetooth and/or errors.
Logcat
07-21 09:34:23.177 1041 20533 29781 W AudioFlinger: write blocked for 2096 msecs, 1 delayed writes, thread 0xf3003240
07-21 09:34:23.178 1041 20533 29781 I bt\_a2dp\_hw: start\_audio\_datapath: state 3
07-21 09:34:23.179 1002 28723 28777 I chatty : uid=1002(bluetooth) uipc-main expire 1204 lines
07-21 09:34:23.180 1041 20533 29781 E bt\_a2dp\_hw: a2dp\_command: A2DP COMMAND A2DP\_CTRL\_CMD\_START error 1
07-21 09:34:23.180 1041 20533 29781 E bt\_a2dp\_hw: start\_audio\_datapath: Audiopath start failed (status -1)
07-21 09:34:23.202 1041 20533 29781 I bt\_a2dp\_hw: start\_audio\_datapath: state 3
07-21 09:34:23.205 1041 20533 29781 E bt\_a2dp\_hw: a2dp\_command: A2DP COMMAND A2DP\_CTRL\_CMD\_START error 1
07-21 09:34:23.205 1041 20533 29781 E bt\_a2dp\_hw: start\_audio\_datapath: Audiopath start failed (status -1)
07-21 09:34:23.227 1041 20533 29781 I bt\_a2dp\_hw: start\_audio\_datapath: state 3
07-21 09:34:23.229 1041 20533 29781 E bt\_a2dp\_hw: a2dp\_command: A2DP COMMAND A2DP\_CTRL\_CMD\_START error 1
07-21 09:34:23.230 1041 20533 29781 E bt\_a2dp\_hw: start\_audio\_datapath: Audiopath start failed (status -1)
07-21 09:34:23.252 1041 20533 29781 I bt\_a2dp\_hw: start\_audio\_datapath: state 3
07-21 09:34:23.254 1041 20533 29781 E bt\_a2dp\_hw: a2dp\_command: A2DP COMMAND A2DP\_CTRL\_CMD\_START error 1
So I'm guessing that those errors have something to do with the Bluetooth in my phone connecting to the Bluetooth Audio Kit in my car. This may explain why I get the 'Bluetooth Has stopped Unexpectedly' Error Report at least once a month from my phone.
It seems that there are similar issues here on XDA & Reddit from people who are either installing custom Roms and kernels, or who have not modified their phones are are going through something similar. I haven't rooted (and I don't plan to). Some of these people have gotten replacement devices but the issue presents itself again.
I have posted the same information on Reddit, Telstra Crowd Support and now here.
I don't suppose HTC are going to release a patch...?
Who else has this issue?
Any suggestions or ideas?
Thank you!

Related

FF18 Leak (OTA) Bluetooth Panasonic Home phone

I have a panasonic th12 home phone base that normally my phone connects to when I am at home over bluetooth. This allows me to use regular handsets while in the house to make / receive phone calls. I just updated to the FF18 from sfhub's odin and now my device no longer will connect the home phone base. It pairs but it will not stay connected or allow me to check the box for phone calls as well. Any ideas? is this a bluetooth bug?
Every time I flash I have to pair my phone with car again. I typically delete device profile from phone, delete phone profile from device, change bluetooth name of phone, pair phone with device under new name. Finally after paired wait for message to pop up on phone asking if device has permission to access your stuff and check box for always allow.
Yes my phone does the same for Microsoft sync in my vehicle but it will not connect with my home phone.
EDIT: I have a couple of logcat during the time i tried to connect my device to the base if that helps anything?
Code:
I//system/bin/bluetoothd( 2530): bluetoothd[2534]: external/bluetooth/bluez/plugins/hciops.c:conn_complete() status 0x00
I//system/bin/bluetoothd( 2530): bluetoothd[2534]: external/bluetooth/bluez/src/adapter.c:adapter_get_device() 00:80:F0:8F:61:B6
V/BluetoothEventLoop.cpp( 1910): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/2534/hci0/dev_00_80_F0_8F_61_B6
D/BluetoothEventLoop( 1910): Device property changed: 00:80:F0:8F:61:B6 property: Connected value: true
I/BluetoothService( 1910): ACL connected, mAclLinkCount = 1
I//system/bin/bluetoothd( 2530): bluetoothd[2534]: external/bluetooth/bluez/plugins/hciops.c:remote_features_information() hci0 status 0
I//system/bin/bluetoothd( 2530): bluetoothd[2534]: external/bluetooth/bluez/plugins/hciops.c:remote_name_information() hci0 status 0
I//system/bin/bluetoothd( 2530): bluetoothd[2534]: external/bluetooth/bluez/plugins/hciops.c:link_key_request() hci0 dba 00:80:F0:8F:61:B6
I//system/bin/bluetoothd( 2530): bluetoothd[2534]: external/bluetooth/bluez/plugins/hciops.c:get_auth_info() hci0 dba 00:80:F0:8F:61:B6
I//system/bin/bluetoothd( 2530): bluetoothd[2534]: external/bluetooth/bluez/plugins/hciops.c:link_key_request() kernel auth requirements = 0x04
I//system/bin/bluetoothd( 2530): bluetoothd[2534]: external/bluetooth/bluez/plugins/hciops.c:link_key_request() Matching key found
I//system/bin/bluetoothd( 2530): bluetoothd[2534]: external/bluetooth/bluez/plugins/hciops.c:link_key_request() link key type 0x00
W/ActivityManager( 1910): Permission Denial: receiving Intent { act=android.bluetooth.device.action.ACL_CONNECTED flg=0x10000010 (has extras) } to com.locationlabs.v3client requires android.permission.BLUETOOTH due to sender android (uid 1000)
V/BluetoothEventManager( 4127): Received android.bluetooth.device.action.UUID
D/Bluetooth HSHFP( 2156): SDP UUID: TYPE_HANDSFREE
E/CachedBluetoothDevice( 4127): updating profiles for Base TH12
V/CachedBluetoothDevice( 4127): Class: 620210
V/CachedBluetoothDevice( 4127): UUID:
V/CachedBluetoothDevice( 4127): 0000111e-0000-1000-8000-00805f9b34fb
E/CachedBluetoothDevice( 4127): onUuidChanged: Time since last connect2151
D/CachedBluetoothDevice( 4127): Command sent successfully:CONNECT Address:00:80:F0:8F:61:B6 Profile:HEADSET
D/CachedBluetoothDevice( 4127): Preferred profiles = 1
D/BluetoothUtils( 2156): isHeadsetAllowedBySecurityPolicy
V/BT HSHFP( 2156): waitForAsyncConnectNative
V/BT HSHFP( 2156): connectAsyncNative
I/BT HSHFP( 2156): Created RFCOMM socket fd 125.
I/BT HSHFP( 2156): async connect is in progress (Operation now in progress)
V/BT HSHFP( 2156): Remaining time 486ms
V/BT HSHFP( 2156): select() returned 2.
E/BT HSHFP( 2156): RFCOMM async connect() error: Connection refused (111), nr = -1
V/BT HSHFP( 2156): disconnectNative
D/BluetoothService( 1910): CONNECTION_STATE_CHANGE: : 1 -> 0
V/BluetoothEventManager( 4127): Received android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED
I/BluetoothDeviceProfileState( 1910): Entering ACL Connected state with: 102
D/BluetoothPbap( 1910): disconnect()
Looks like someone on CM had issues with this as well, but it eventually worked... mine doesnt
http://forum.cyanogenmod.com/topic/41497-bluetooth-wont-auto-connect/
Maybe someone can even point me in the right direction as to how to debug this situation? I have a development environment up for apps, but havent ever explored the base source code. If anyone has any thoughts it would truly be appreciated.
Its really makes me made because I had a similar problem with my last phone, the HTC hero. It got to the point you wait for all of these updates and then I had to limit my phone to like andorid 1.5 otherwise my phone would not connect. Its should be a bigger issue only because users who are not on xda would be screwed and could not rollback to a previous Android release. At lease this community exists so that I can go back if needed. As of right now I'm liking the new ics on this phone and will be very disappointed if I have to to back to GB just for this.

Errors when playing Instant video or Netflix

I am hoping that someone can help point me in the right direction since this issue is driving me nuts. My FireTv worked perfectly, ppdated through the official method to the latest FW (51.1.1.0), installed XBMC, rooted it, etc. After a while I decided to do a factory reset. Everything went OK but since then I cannot play any Instant videos or Netflix content. Instant video throws an error saying to try again or contact customer support. Netflix buffers around 40% and then gives an error.
I tried everything without any luck:
- Cleared Amazon VOD data and cache
- Cleared Netflix data and cache
- Reset factory settings again
- Downgraded firmware, upgraded firmware
- Unregister from account, created new account with prime trial, registered to new account
No matter what I did the error is still there.
I have other devices (PS3, Smart TV, iPad) and on all of them Prime Instant Video runs just fine on the same account.
Here is some data from logcat in case somebody knows what it means:
W/ContextImpl( 640): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1353 com.amazon.internal.policy.impl.AmazonPhoneWindowManager$SendTopWindowChanged.run:3297 android.os.Handler.handleCallback:725 android.os.Handler.dispatchMessage:92 android.os.Looper.loop:137
I/AudioService( 640): AudioFocus requestAudioFocus() from [email protected]
W/PackageManager( 640): Launching com.amazon.tv.device (32003) with AMZ_APP_GID
I/ActivityManager( 640): Start proc com.amazon.tv.device.cms.util for broadcast com.amazon.tv.device/.cms.util.CMSUpdateReceiver: pid=5403 uid=32003 gids={72003, 1028, 9001}
I/ActivityManager( 640): No longer want com.amazon.alta.h2clientservice (pid 2018): empty #17
D/AivPlayCore( 275): COMXAivPlayCore - num of supported audio formats 3
D/AivPlayCore( 275): COMXAivPlayCore - num of supported video formats 2
D/AivPlayCore( 275): COMXAivPlayCore - Video codec 4, name - OMX.qcom.video.decoder.mpeg4
D/AivPlayCore( 275): COMXAivPlayCore - Video codec 7, name - OMX.qcom.video.decoder.avc
D/AivPlayCore( 275): COMXAivPlayCore::component_init
D/AivPlaySvr( 275): Created thread for AivPlayCoreTh
D/AivPlaySvr( 275): omx_aivplay_msg: message thread start name - AivPlayCoreTh
D/pr_crypto_plugin( 275): createCryptoFactory()
E/pr_crypto_plugin( 275): PRCryptoPlugin version = 0x4
W/pr_crypto_plugin( 275): PRCryptoPlugin:RCryptoPlugin: DRM header size = 0
D/PlayReady( 275): playready_initialize starts! g_qsee_apps_version = 8
D/QSEECOMAPI: ( 275): QSEECom_start_app sb_length = 0x19000
D/QSEECOMAPI: ( 275): App is not loaded in QSEE
An then:
D/PlayReady( 274): playready_initialize starts! g_qsee_apps_version = 8
D/QSEECOMAPI: ( 274): QSEECom_start_app sb_length = 0x19000
D/QSEECOMAPI: ( 275): Loaded image: APP id = 1
D/QSEECOMAPI: ( 274): App is already loaded QSEE and app id = 1
D/PlayReady( 274): playready_initialize returns -2147166970
E/PlayReady( 274): Error: playready_initialize failed and return = -2147166970
D/PlayReady( 274): playready_initialize returns context = 0
D/PlayReady( 274): Closing services starts!
D/QSEECOMAPI: ( 274): QSEECom_shutdown_app
D/QSEECOMAPI: ( 274): QSEECom_shutdown_app, app_id = 1
E/PRDrmPlugInImp( 274): acquirePlayReadyIfNeeded:: the playready_initialize failed and returns = 0X8004d506
E/PRDrmPlugInImp( 274): GetConstraints:: the playready_initialize failed and returns = 0X8004d506
D/PRDrmPlugInImp( 274): PRDRMPluginAPI::releasePlayReadyIfNeeded, prInited = -2147166970, prCachedMode = 0
D/PRDrmPlugIn( 274): PRDrmPlugin:nGetConstraints, lastError = 0X8004d506
E/PRDrmPlugIn( 274): PRDrmPlugin:nGetConstraints, there's no valid license available, Error key added.
D/PRDrmPlugIn( 274): PRDrmPlugin:nAcquireDrmInfo
D/PRDrmPlugIn( 274): PRDrmPlugin:nAcquireDrmInfo, MimeType = application/vnd.ms-playready.media.pyv
I'm seeing the same issue and so are my parents across 3 different units.
YouTube, crackle, xbmc, all work. Netflix, Hulu, and Prime content that hasn't been cached all get errors.
What are others seeing?
-UPDATE-
I just spoke to Kyle in tech support (super weird call) and he had me force close the app, clear cache, clear data for the Amazon Video app. That fixed all 3.
mistr_e said:
I'm seeing the same issue and so are my parents across 3 different units.
YouTube, crackle, xbmc, all work. Netflix, Hulu, and Prime content that hasn't been cached all get errors.
What are others seeing?
-UPDATE-
I just spoke to Kyle in tech support (super weird call) and he had me force close the app, clear cache, clear data for the Amazon Video app. That fixed all 3.
Click to expand...
Click to collapse
Tried it again, still no go on my side. I have a funny feeling that they are doing something on their side to fix the error and once that is done, a cache and data cleanup on the unit fixes the issue. Hopefully other people will chime in...

Looking for a reboot monitor/diagnostic app

Anyone know of an app that I can use to track reboots and to try and find out why they are happening?
Mine has been sent out for "repair" a couple times and they can't figure out why it's happening. I'm getting so tired of this, I'd like to make absolutely sure that it's not an app I'm running. Although it does happen with a "stripped down" version of what I'm running.
logcat, dmesg, last_kmsg? Maybe:
https://play.google.com/store/apps/details?id=com.tortel.syslog
So the phone rebooted on me after less than a day of having it back. I was able to get the dumpstate and I can see where it rebooted, but I just don't know how to interpret the info. Can anyone help?
Code:
12-06 07:05:44.965 1392 2067 V AlarmManager: Triggering alarm #1: 2 when =46076699 package=com.google.android.gmsoperation =*walarm*:com.google.android.gms.gcm.ACTION_CHECK_QUEUE
12-06 07:05:44.965 1392 2067 V AlarmManager: Triggering alarm #2: 2 when =46093358 package=androidoperation = null listenTag =*job.delay*
12-06 07:05:56.722 1392 1392 I DeviceIdleController: updateChargingLocked: charging=false
12-06 07:05:59.999 1392 2067 V AlarmManager: Triggering alarm #0: 3 when =46108403 package=androidoperation =*alarm*:android.intent.action.TIME_TICK
12-06 07:06:16.323 5536 5536 E AndroidRuntime: FATAL EXCEPTION: main
12-06 07:06:16.323 5536 5536 E AndroidRuntime: Process: com.android.bluetooth, PID: 5536
12-06 07:06:16.323 5536 5536 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
12-06 07:06:18.183 12055 12055 I chatty : uid=1000 system_server expire 15 lines
12-06 07:06:18.446 12055 12145 I chatty : uid=1000(system) CpuTracker expire 1 line
12-06 07:06:18.450 12055 12090 I chatty : uid=1000(system) batterystats-sy expire 1 line
12-06 07:06:18.452 12055 12055 I chatty : uid=1000 system_server expire 1 line
Reboots monitor can notify for not voluntary reboots
https://play.google.com/store/apps/details?id=com.ryosoftware.rebootsmonitor
Seems like a bluetooth problem

No audio output since upgrading to 17.1 — while all system sounds do play all right

Playing media makes no sound in VLC, Firefox, YouTube, NewPipe, you name it.
In the meantime, all system sounds do play all right, and vocal messages too.
Device: Lenovo P2 “kuntao”
ROM: LineageOS 17.1 ♥ with Open GApps nano, installed with `adb sideload` and TWRP.
Rooted: yes
Prior to the 17.1, I was a happy user of the version 16, always up-to-date, and didn't experience any issues with sound.
Here's an essential excerpt from `adb logcat` output when launching VLC:
Code:
...
04-28 07:31:16.322 1205 5907 E audio_hw_utils: send_app_type_cfg_for_device: Couldn't get the backend index for snd device speaker ret=-14
04-28 07:31:16.328 1205 5907 E audio_hw_primary: start_output_stream: pcm_prepare returned -1
04-28 07:31:16.423 1205 5907 E audio_hw_utils: send_app_type_cfg_for_device: Couldn't get the backend index for snd device speaker ret=-14
04-28 07:31:16.430 10437 10504 W VLC : [00000077ba41e690/2908] libvlc audio output: timing screwed, reset positions
04-28 07:31:16.430 10437 10504 W VLC : [00000077ba41e690/2908] libvlc audio output: playback too late (71136): up-sampling
04-28 07:31:16.431 1205 5907 E audio_hw_primary: start_output_stream: pcm_prepare returned -1
04-28 07:31:16.524 1205 2504 E /vendor/bin/hw/[email protected]: Failed to get IAshmemDeviceService.
...
Workaround
As a workaround, all you need to do to get the speaker to work properly is to enable the “Do not disturb / Total silence” mode, and then disable it.

No audio on treble. Log below

I have a Samsung J330F. When I try to play any audio with the back and call speaker it just crashes. The fix provided didn't do anything. Any help? The log is when i try to play a video in newpipe
com.google.android.exoplayer2.ExoPlaybackException: MediaCodecAudioRenderer error, index=1, format=Format(null, null, null, audio/raw, null, -1, null, [-1, -1, -1.0], [2, 44100]), format_supported=YES
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:566)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:214)
at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: com.google.android.exoplayer2.audio.AudioSink$InitializationException: AudioTrack init failed 0 Config(44100, 12, 44100)
at com.google.android.exoplayer2.audio.DefaultAudioSink$Configuration.buildAudioTrack(DefaultAudioSink.java:2092)
at com.google.android.exoplayer2.audio.DefaultAudioSink.buildAudioTrack(DefaultAudioSink.java:1070)
at com.google.android.exoplayer2.audio.DefaultAudioSink.buildAudioTrackWithRetry(DefaultAudioSink.java:1049)
at com.google.android.exoplayer2.audio.DefaultAudioSink.initializeAudioTrack(DefaultAudioSink.java:846)
at com.google.android.exoplayer2.audio.DefaultAudioSink.handleBuffer(DefaultAudioSink.java:929)
at com.google.android.exoplayer2.audio.MediaCodecAudioRenderer.processOutputBuffer(MediaCodecAudioRenderer.java:703)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.drainOutputBuffer(MediaCodecRenderer.java:1894)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:792)
at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:989)
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:490)
... 3 more
Suppressed: com.google.android.exoplayer2.audio.AudioSink$InitializationException: AudioTrack init failed 0 Config(44100, 12, 44100)
... 13 more
Caused by: java.lang.UnsupportedOperationException: Cannot create AudioTrack
at android.media.AudioTrack$Builder.build(AudioTrack.java:1018)
at com.google.android.exoplayer2.audio.DefaultAudioSink$Configuration.createAudioTrackV29(DefaultAudioSink.java:2141)
at com.google.android.exoplayer2.audio.DefaultAudioSink$Configuration.createAudioTrack(DefaultAudioSink.java:2119)
at com.google.android.exoplayer2.audio.DefaultAudioSink$Configuration.buildAudioTrack(DefaultAudioSink.java:2084)
... 12 more
Caused by: java.lang.UnsupportedOperationException: Cannot create AudioTrack
at android.media.AudioTrack$Builder.build(AudioTrack.java:1018)
at com.google.android.exoplayer2.audio.DefaultAudioSink$Configuration.createAudioTrackV29(DefaultAudioSink.java:2141)
at com.google.android.exoplayer2.audio.DefaultAudioSink$Configuration.createAudioTrack(DefaultAudioSink.java:2119)
at com.google.android.exoplayer2.audio.DefaultAudioSink$Configuration.buildAudioTrack(DefaultAudioSink.java:2084)
Click to expand...
Click to collapse
did you find any solutions? i am in the same boat as you..

Categories

Resources