[Nexus 9 Q&A, Help & Troubleshooting] KillyGonzales:
Hi, I have problem with Nexus 9 that belongs to my parents. Device was working without problems for over 2 years but after update to 7.1 something really bad happened. Device cannot play any video in youtube app, and there is some problem with sound - for example I cannot play any music in google play music. There are some other troubles as well - for example voice search doesn't work at all - when I try to run voice search there is a message "Device cannot connect to Google". Firstly I thought that something happened in 7.1 and even flashed CM 14.1 but everything was the same, then I tried stock image of android 6 but without success, still same situation. Now I returned to stock 7.1. Today connected logcat and below is sample log of what happens when I try to play some video in YT app:

01-05 15:14:20.147 19721 19769 W YouTube : Pinging https://s.youtube.com/api/stats/qoe...ps=32.223:N&fmt=136&cache_bytes=30.001:235719

01-05 15:14:20.226 11930 22191 V Avrcp : Active sessions changed, 1 sessions

01-05 15:14:20.226 11930 22191 V Avrcp : Updating media controller to android.media.session.MediaController@c4cc77f

01-05 15:14:20.233 11930 22191 V Avrcp : Updated [MediaAttributes: UK - kierowca autobusu to Polak - by switcher44 (0/0) ] but no change!

01-05 15:14:20.293 256 12530 I MediaPlayerService: MediaPlayerService::getOMX

01-05 15:14:20.294 19721 21432 I OMXClient: MuxOMX ctor

01-05 15:14:20.295 253 26224 I OMXMaster: makeComponentInstance(OMX.google.aac.decoder) in mediacodec process

01-05 15:14:20.327 253 21433 I SoftAAC2: Reconfiguring decoder: 0->44100 Hz, 0->2 channels

01-05 15:14:20.334 19721 19726 I art : Do full code cache collection, code=505KB, data=440KB

01-05 15:14:20.359 19721 19726 I art : Starting a blocking GC JitCodeCache

01-05 15:14:20.359 19721 19726 I art : After code cache collection, code=386KB, data=332KB

01-05 15:14:20.371 256 12529 I MediaPlayerService: MediaPlayerService::getOMX

01-05 15:14:20.371 19721 21436 I OMXClient: MuxOMX ctor

01-05 15:14:20.372 253 1377 I OMXMaster: makeComponentInstance(OMX.Nvidia.h264.decode) in mediacodec process

01-05 15:14:20.381 19721 21435 I MediaCodec: [OMX.Nvidia.h264.decode] setting surface generation to 20194313

01-05 15:14:20.384 253 1377 E OMXNodeInstance: getConfig(fd008f:Nvidia.h264.decode, ConfigCommonOutputCrop(0x700000f)) ERROR: BadParameter(0x80001005)

01-05 15:14:20.390 19721 21436 D SurfaceUtils: set up nativeWindow 0x7a42b8da10 for 1280x720, color 0x106, rotation 0, usage 0x2b00

01-05 15:14:20.393 253 21437 D NvOsDebugPrintf: NvMMLiteOpen : Block : BlockType = 261

01-05 15:14:20.393 253 21437 D NvOsDebugPrintf: TVMR: NvMMLiteTVMRDecBlockOpen: 5008: NvMMLiteBlockOpen

01-05 15:14:20.402 253 21437 D NvOsDebugPrintf: NvMMLiteBlockCreate : Block : BlockType = 261

01-05 15:14:20.424 248 248 W APM_AudioPolicyManager: getOutput() could not find output for stream 3, samplingRate 0,format 0, channels 3, flags 0

01-05 15:14:20.424 19721 21428 E AudioTrack: Unable to query output sample rate for stream type -1; status -1

01-05 15:14:20.424 19721 21428 E AudioTrack-JNI: AudioTrack::getMinFrameCount() for sample rate 44100 failed with status -1

01-05 15:14:20.425 19721 21428 E android.media.AudioTrack: getMinBufferSize(): error querying hardware

01-05 15:14:20.426 248 18502 W APM_AudioPolicyManager: getOutput() could not find output for stream 3, samplingRate 44100,format 1, channels 3, flags 0

01-05 15:14:20.426 19721 21428 E AudioTrack: Could not get audio output for session 16305, stream type -1, usage 1, sample rate 44100, format 0x1, channel mask 0x3, flags 0

01-05 15:14:20.427 19721 21428 E AudioTrack-JNI: Error -22 initializing AudioTrack

01-05 15:14:20.427 19721 21428 E android.media.AudioTrack: Error code -20 when initializing AudioTrack.

01-05 15:14:20.429 19721 19721 E YouTube : Error with ExoPlayer audio track initialization.

01-05 15:14:20.429 19721 19721 E YouTube : hgx: AudioTrack init failed: 0, Config(44100, 12, 44100)

01-05 15:14:20.429 19721 19721 E YouTube :	at hgs.a(SourceFile:2930)

01-05 15:14:20.429 19721 19721 E YouTube :	at hfe.a(SourceFile:3453)

01-05 15:14:20.429 19721 19721 E YouTube :	at hfl.a(SourceFile:12954)

01-05 15:14:20.429 19721 19721 E YouTube :	at hgj.a(SourceFile:128)

01-05 15:14:20.429 19721 19721 E YouTube :	at hfa.handleMessage(SourceFile:1432)

01-05 15:14:20.429 19721 19721 E YouTube :	at android.os.Handler.dispatchMessage(Handler.java:98)

01-05 15:14:20.429 19721 19721 E YouTube :	at android.os.Looper.loop(Looper.java:154)

01-05 15:14:20.429 19721 19721 E YouTube :	at android.os.HandlerThread.run(HandlerThread.java:61)

01-05 15:14:20.429 19721 19721 E YouTube :	at hsu.run(SourceFile:40)

01-05 15:14:20.429 19721 21428 E ExoPlayerImplInternal: Internal track renderer error.

01-05 15:14:20.429 19721 21428 E ExoPlayerImplInternal: het: hgx: AudioTrack init failed: 0, Config(44100, 12, 44100)

01-05 15:14:20.429 19721 21428 E ExoPlayerImplInternal:	at hfe.a(SourceFile:395)

01-05 15:14:20.429 19721 21428 E ExoPlayerImplInternal:	at hfl.a(SourceFile:12954)

01-05 15:14:20.429 19721 21428 E ExoPlayerImplInternal:	at hgj.a(SourceFile:128)

01-05 15:14:20.429 19721 21428 E ExoPlayerImplInternal:	at hfa.handleMessage(SourceFile:1432)

01-05 15:14:20.429 19721 21428 E ExoPlayerImplInternal:	at android.os.Handler.dispatchMessage(Handler.java:98)

01-05 15:14:20.429 19721 21428 E ExoPlayerImplInternal:	at android.os.Looper.loop(Looper.java:154)

01-05 15:14:20.429 19721 21428 E ExoPlayerImplInternal:	at android.os.HandlerThread.run(HandlerThread.java:61)

01-05 15:14:20.429 19721 21428 E ExoPlayerImplInternal:	at hsu.run(SourceFile:40)

01-05 15:14:20.429 19721 21428 E ExoPlayerImplInternal: Caused by: hgx: AudioTrack init failed: 0, Config(44100, 12, 44100)

01-05 15:14:20.429 19721 21428 E ExoPlayerImplInternal:	at hgs.a(SourceFile:2930)

01-05 15:14:20.429 19721 21428 E ExoPlayerImplInternal:	at hfe.a(SourceFile:3453)

01-05 15:14:20.429 19721 21428 E ExoPlayerImplInternal:	... 7 more

01-05 15:14:20.444 11930 22191 V Avrcp : MediaController playback changed: PlaybackState {state=7, position=0, buffered position=0, speed=1.0, updated=65833230, actions=262, custom actions=[], active item id=-1, error=null}

01-05 15:14:20.454 253 21439 D NvOsDebugPrintf: TVMR: cbBeginSequence: 655: BeginSequence 1280x720, bVPR = 0

01-05 15:14:20.454 253 21439 D NvOsDebugPrintf: TVMR: cbBeginSequence: 918: DecodeBuffers = 4

01-05 15:14:20.457 253 21439 D NvOsDebugPrintf: TVMR: cbBeginSequence: 938: Display Resolution : (1280x720)

01-05 15:14:20.457 253 21439 D NvOsDebugPrintf: TVMR: cbBeginSequence: 939: Display Aspect Ratio : (1280x720)

01-05 15:14:20.457 253 21439 D NvOsDebugPrintf: TVMR: cbBeginSequence: 1041: SurfaceLayout = 3

01-05 15:14:20.457 253 21439 D NvOsDebugPrintf: TVMR: cbBeginSequence: 1071: NumOfSurfaces = 8, InteraceStream = 0, InterlaceEnabled = 0, bSecure = 0, MVC = 0 Semiplanar = 1, bReinit = 1

01-05 15:14:20.457 253 21439 D NvOsDebugPrintf: Allocating new output: 1280x720 (x 10), ThumbnailMode = 0

01-05 15:14:20.465 19721 21436 D SurfaceUtils: set up nativeWindow 0x7a42b8da10 for 1280x720, color 0x106, rotation 0, usage 0x2b00

01-05 15:14:20.466 253 26224 E OMXNodeInstance: setParameter(fd008f:Nvidia.h264.decode, ParamPortDefinition(0x2000001)) ERROR: UnsupportedSetting(0x80001019)

01-05 15:14:20.466 19721 21436 W ACodec : [OMX.Nvidia.h264.decode] setting nBufferCountActual to 14 failed: -1010

01-05 15:14:20.466 253 19218 E OMXNodeInstance: setParameter(fd008f:Nvidia.h264.decode, ParamPortDefinition(0x2000001)) ERROR: UnsupportedSetting(0x80001019)

01-05 15:14:20.466 19721 21436 W ACodec : [OMX.Nvidia.h264.decode] setting nBufferCountActual to 13 failed: -1010

01-05 15:14:20.509 253 21440 D NvOsDebugPrintf: TVMR: TVMRFrameDelivery: 3741: Closing TVMR Frame Delivery Thread -------------

01-05 15:14:20.513 253 21437 D NvOsDebugPrintf: TVMR: NvMMDecTVMRDestroyParser: 4224: NvAvpClose

01-05 15:14:20.513 253 21437 D NvOsDebugPrintf: TVMR: NvMMLiteTVMRDecBlockClose: 5163: Done

01-05 15:14:20.540 19721 19742 W YouTube : Pinging https://s.youtube.com/api/stats/qoe...,0.037:B,0.252:ER&fmt=136&view=0.158:1536:864

01-05 15:14:20.626 254 254 W mediadrmserver: type=1400 audit(0.0:478): avc: denied { read write } for name="nvmap" dev="tmpfs" ino=9815 scontext=u:r:mediadrmserver:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file permissive=0

01-05 15:14:20.606 254 3645 D WVCdm : Instantiating CDM.

01-05 15:14:20.608 254 254 I WVCdm : CdmEngine::eek:penSession

01-05 15:14:20.608 254 254 I WVCdm : Level3 Library 4445 Sep 10 2016 21:30:01

01-05 15:14:20.632 254 254 D NvOsDebugPrintf:

01-05 15:14:20.632 254 254 D NvOsDebugPrintf:

01-05 15:14:20.632 254 254 D NvOsDebugPrintf:

01-05 15:14:20.632 254 254 D NvOsDebugPrintf: ****NvRmMemInit failed****

01-05 15:14:20.632 254 254 D NvOsDebugPrintf:

01-05 15:14:20.632 254 254 D NvOsDebugPrintf:

01-05 15:14:20.632 254 254 D oemcrypto_cenc: >> OEMCrypto_Initialize: modular drm 6.00

01-05 15:14:20.633 254 254 D oemcrypto_cenc: << OEMCrypto_Initialize

01-05 15:14:20.633 254 254 E oemcrypto_cenc: OEMCrypto_APIVersion: 11

01-05 15:14:20.633 254 254 D oemcrypto_cenc: >> OEMCrypto_IsKeyboxValid

01-05 15:14:20.633 254 254 D oemcrypto_cenc: << OEMCrypto_IsKeyboxValid

01-05 15:14:20.634 254 254 D WVCdm : OEMCrypto_Initialize Level 1 success. I will use level 1.

01-05 15:14:20.634 254 254 D oemcrypto_cenc: >> OEMCrypto_OpenSession

01-05 15:14:20.634 254 254 D oemcrypto_cenc: bool AddSessionHandle(OEMCrypto_SESSION): session:0xee394570, status: 1

01-05 15:14:20.634 254 254 D oemcrypto_cenc: << OEMCrypto_OpenSession

01-05 15:14:20.634 254 254 D oemcrypto_cenc: >> OEMCrypto_GetRandom

01-05 15:14:20.634 254 254 D oemcrypto_cenc: << OEMCrypto_GetRandom

01-05 15:14:20.634 254 254 E oemcrypto_cenc: OEMCrypto_SecurityLevel

01-05 15:14:20.635 254 254 D oemcrypto_cenc: >> OEMCrypto_LoadDeviceRSAKey

01-05 15:14:20.635 254 254 D oemcrypto_cenc: << OEMCrypto_LoadDeviceRSAKey

01-05 15:14:20.635 254 254 D oemcrypto_cenc: >> OEMCrypto_GetRandom

01-05 15:14:20.635 254 254 D oemcrypto_cenc: << OEMCrypto_GetRandom

01-05 15:14:20.635 254 254 I WVCdm : CdmEngine::QueryKeyControlInfo

01-05 15:14:20.636 254 16171 I WVCdm : CdmEngine::GenerateKeyRequest

01-05 15:14:20.636 254 16171 D oemcrypto_cenc: >> OEMCrypto_GetDeviceID

01-05 15:14:20.636 254 16171 D oemcrypto_cenc: << OEMCrypto_GetDeviceID

01-05 15:14:20.636 254 16171 D oemcrypto_cenc: >> OEMCrypto_SupportsUsageTable

01-05 15:14:20.660 254 16171 D oemcrypto_cenc: << OEMCrypto_SupportsUsageTable

01-05 15:14:20.660 254 16171 E oemcrypto_cenc: OEMCrypto_APIVersion: 11

01-05 15:14:20.660 254 16171 D oemcrypto_cenc: OEMCrypto_GetHDCPCapability

01-05 15:14:20.660 254 16171 D oemcrypto_cenc: >> OEMCrypto_GenerateNonce

01-05 15:14:20.660 254 16171 D oemcrypto_cenc: << OEMCrypto_GenerateNonce

01-05 15:14:20.660 254 16171 D WVCdm : PrepareKeyRequest: nonce=749983962

01-05 15:14:20.660 254 16171 D oemcrypto_cenc: >> OEMCrypto_GenerateRSASignature

01-05 15:14:20.714 5588 5612 W Herrevad: Invalid mccmnc

01-05 15:14:20.719 254 16171 D oemcrypto_cenc: << OEMCrypto_GenerateRSASignature

01-05 15:14:20.720 254 3644 I WVCdm : CdmEngine::CloseSession

01-05 15:14:20.721 254 3644 D oemcrypto_cenc: >> OEMCrypto_CloseSession

01-05 15:14:20.721 254 3644 D oemcrypto_cenc: bool RemoveSessionHandle(OEMCrypto_SESSION): session: 0xee394570, status: 1

01-05 15:14:20.723 254 3644 D oemcrypto_cenc: << OEMCrypto_CloseSession

01-05 15:14:20.723 254 3644 D oemcrypto_cenc: >> OEMCrypto_Terminate

01-05 15:14:20.724 254 3644 D oemcrypto_cenc: << OEMCrypto_Terminate

01-05 15:14:20.757 5588 5612 W Herrevad: Invalid mccmnc

01-05 15:14:20.854 19721 19788 I qtaguid : Tagging socket -1 with tag 0(0) for uid -1 failed errno=-9

01-05 15:14:20.854 19721 19788 I NetworkManagementSocketTagger: tagSocketFd(-1, 0, -1) failed with errno-9

01-05 15:14:20.876 19721 19787 I qtaguid : Tagging socket -1 with tag 0(0) for uid -1 failed errno=-9

01-05 15:14:20.877 19721 19787 I NetworkManagementSocketTagger: tagSocketFd(-1, 0, -1) failed with errno-9

01-05 15:14:20.950 19721 19788 I qtaguid : Untagging socket -1 failed errno=-9

01-05 15:14:20.950 19721 19788 W NetworkManagementSocketTagger: untagSocket(-1) failed with errno -9

01-05 15:14:20.975 19721 19787 I qtaguid : Untagging socket -1 failed errno=-9

01-05 15:14:20.975 19721 19787 W NetworkManagementSocketTagger: untagSocket(-1) failed with errno -9

01-05 15:14:21.538 11930 22177 D HeadsetPhoneState: sendDeviceStateChanged. mService=0 mSignal=0 mRoam=0 mBatteryCharge=2

01-05 15:14:21.574 1212 1212 E PhoneInterfaceManager: [PhoneIntfMgr] queryModemActivityInfo: Empty response

01-05 15:14:21.606 596 624 E BatteryStatsService: power: Missing API

01-05 15:14:21.622 596 624 E BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}

01-05 15:14:22.170 21227 21233 I art : Do partial code cache collection, code=30KB, data=25KB

01-05 15:14:22.172 21227 21233 I art : After code cache collection, code=30KB, data=25KB

01-05 15:14:22.172 21227 21233 I art : Increasing code cache capacity to 128KB

Can someone point me what might be wrong with device? This might be hardware malfunction?