[Xiaomi Redmi 1S] hiren_fi:
Hello khan,

Today i tried music via internal speaker,i found random pauses for 3 - 5 seconds.

So i tried to take logs(tell me if i messed-up taking logs( just learned i think [emoji13]).

Here r logs

06-09 12:05:34.647 D/WifiService(1028): Client connection lost with reason: 4

06-09 12:05:49.679 I/ActivityManager(1028): Killing 17794:com.android.calllogbackup/u0a3 (adj 15): empty #17

06-09 12:05:49.729 I/ActivityManager(1028): Killing 17489:com.android.exchange/u0a47 (adj 15): empty #18

06-09 12:05:52.124 I/UsageStatsService(1028): User[0] Flushing usage stats to disk

06-09 12:06:16.524 E/NetlinkEvent(228): NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found

06-09 12:06:16.524 E/NetlinkEvent(228): NetlinkEvent::FindParam(): Parameter 'UID' not found

06-09 12:06:27.272 E/NetlinkEvent(228): NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found

06-09 12:06:27.272 E/NetlinkEvent(228): NetlinkEvent::FindParam(): Parameter 'UID' not found

06-09 12:07:53.692 E/NetlinkEvent(228): NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found

06-09 12:07:53.692 E/NetlinkEvent(228): NetlinkEvent::FindParam(): Parameter 'UID' not found

06-09 12:07:55.543 W/ctxmgr (2395): [AclManager]checkPermissionTypeStatus: no inject permission for { uid=10013, packageName=com.google.android.gms }. Returned permission was: PACKAGE_NOT_WHITELISTED for context name=POWER_CONNECTION, account=account#-517948760#

06-09 12:07:55.543 W/ctxmgr (2395): [AclManager]checkPermissionTypeStatus: no inject permission for { uid=10013, packageName=com.google.android.gms }. Returned permission was: PACKAGE_NOT_WHITELISTED for context name=POWER_CONNECTION, account=account#-517948760#

06-09 12:07:55.544 E/ctxmgr (2395): [PowerConnectionProducer]Could not write powerInfo=Plug state: 1 BatteryLevel: 0.56, status=Status{statusCode=unknown status code: 7503, resolution=null}

06-09 12:08:04.471 E/NetlinkEvent(228): NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found

06-09 12:08:04.471 E/NetlinkEvent(228): NetlinkEvent::FindParam(): Parameter 'UID' not found

06-09 12:08:16.887 E/audio_hw_primary(232): out_write: error -5 - cannot write stream data: I/O error

06-09 12:08:16.887 D/audio_hw_primary(232): out_standby: enter: stream (0xb81f91b8) usecase(0: deep-buffer-playback)

06-09 12:08:21.922 D/hardware_info(232): hw_info_append_hw_type : device_name = speaker

06-09 12:08:21.947 W/AudioFlinger(232): write blocked for 15130 msecs, 5 delayed writes, thread 0xb1ac0008

06-09 12:08:21.958 D/audio_hw_primary(232): start_output_stream: enter: stream(0xb81f91b8)usecase(0: deep-buffer-playback) devices(0x2)

06-09 12:08:21.958 D/audio_hw_primary(232): start_output_stream: enter: usecase(0: deep-buffer-playback) devices(0x2)

06-09 12:08:21.958 D/audio_hw_primary(232): select_devices: out_snd_device(2: speaker) in_snd_device(0: )

06-09 12:08:21.958 W/msm8974_platform(232): Codec backend bitwidth 16, samplerate 48000

06-09 12:08:21.958 D/hardware_info(232): hw_info_append_hw_type : device_name = speaker

06-09 12:08:21.958 I/msm8974_platform(232): platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(14)

06-09 12:08:21.961 D/ACDB-LOADER(232): ACDB -> send_audio_cal, acdb_id = 14, path = 0

06-09 12:08:21.961 D/ACDB-LOADER(232): ACDB -> send_adm_topology

06-09 12:08:21.961 D/ACDB-LOADER(232): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID

06-09 12:08:21.963 D/ACDB-LOADER(232): ACDB -> send_asm_topology

06-09 12:08:21.963 D/ACDB-LOADER(232): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID

06-09 12:08:21.963 D/ACDB-LOADER(232): ACDB -> send_audtable

06-09 12:08:21.963 D/ACDB-LOADER(232): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE

06-09 12:08:21.964 D/ACDB-LOADER(232): ACDB -> AUDIO_SET_AUDPROC_CAL

06-09 12:08:21.964 D/ACDB-LOADER(232): ACDB -> send_audvoltable

06-09 12:08:21.964 D/ACDB-LOADER(232): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE

06-09 12:08:21.964 D/ACDB-LOADER(232): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL

06-09 12:08:21.964 D/ACDB-LOADER(232): ACDB -> send_afe_cal

06-09 12:08:21.964 D/ACDB-LOADER(232): ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE

06-09 12:08:21.964 D/ACDB-LOADER(232): ACDB -> AUDIO_SET_AFE_CAL

06-09 12:08:21.967 D/audio_hw_primary(232): select_devices: done

06-09 12:08:22.112 D/AudioFlinger(232): mixer(0xb1ac0008) throttle end: throttle time(16)

06-09 12:08:23.927 E/qcom_sensors_hal(1028): hal_sam_thresh_parse_ind: Unknown message ID

06-09 12:08:24.021 E/qcom_sensors_hal(1028): hal_sam_thresh_parse_ind: Unknown message ID

06-09 12:08:24.043 E/qcom_sensors_hal(1028): hal_sam_gen_prox: Proximity data: 0.000000 0.000000 5.000305

06-09 12:08:24.046 I/PowerManagerService(1028): Waking up from dozing (uid 1000)...

06-09 12:08:24.061 V/KeyguardServiceDelegate(1028): onStartedWakingUp()

06-09 12:08:24.124 I/DreamManagerService(1028): Gently waking up from dream.

06-09 12:08:24.243 D/WifiConfigStore(1028): Retrieve network priorities after PNO.

06-09 12:08:24.243 E/WifiNative-wlan0(1028): Update priority failed for :4

06-09 12:08:24.244 E/WifiNative-wlan0(1028): Update priority failed for :1

06-09 12:08:24.244 E/WifiNative-wlan0(1028): Update priority failed for :5

06-09 12:08:24.244 E/WifiNative-wlan0(1028): Update priority failed for :3

06-09 12:08:24.244 E/WifiNative-wlan0(1028): Update priority failed for :2

06-09 12:08:24.244 E/WifiStateMachine(1028): Fail to set up pno, want false now false

06-09 12:08:24.246 D/audio_hw_primary(232): adev_set_parameters: enter: screen_state=on

06-09 12:08:24.246 E/bt_a2dp_hw(232): adev_set_parameters: ERROR: set param called even when stream out is null

06-09 12:08:24.251 I/DisplayPowerController(1028): Blocking screen on until initial contents have been drawn.

06-09 12:08:24.251 V/KeyguardServiceDelegate(1028): onScreenTurnedOn(showListener = com.android.server.policy.PhoneWindowManager$2@f5609ad)

06-09 12:08:24.268 I/DisplayManagerService(1028): Display device changed state: "Built-in Screen", ON

06-09 12:08:24.300 D/SurfaceFlinger(219): Set power mode=2, type=0 flinger=0xb8f8fe80

06-09 12:08:24.300 D/qdhwcomposer(219): hwc_setPowerMode: Setting mode 2 on display: 0

06-09 12:08:24.388 I/DreamManagerService(1028): Leaving dreamland.

06-09 12:08:24.388 I/DreamController(1028): Stopping dream: name=ComponentInfo{com.android.systemui/com.android.systemui.doze.DozeService}, isTest=false, canDoze=true, userId=0

06-09 12:08:24.415 V/KeyguardServiceDelegate(1028): **** SHOWN CALLED ****

06-09 12:08:24.542 I/DisplayPowerController(1028): Unblocked screen on after 291 ms

06-09 12:08:24.543 V/KeyguardServiceDelegate(1028): onScreenTurnedOn()

06-09 12:08:24.558 I/qdhwcomposer(219): handle_blank_event: dpy:0 panel power state: 1

06-09 12:08:24.576 E/AudioEffect(2036): set(): AudioFlinger could not create effect, status: -2

06-09 12:08:24.576 E/visualizers-JNI(2036): Visualizer initCheck failed -3

06-09 12:08:24.577 E/Visualizer-JAVA(2036): Error code -3 when initializing Visualizer.

06-09 12:08:24.610 E/VisualizerView(2036): error initializing visualizer

06-09 12:08:24.610 E/VisualizerView(2036): java.lang.RuntimeException: Cannot initialize Visualizer engine, error: -3

06-09 12:08:24.610 E/VisualizerView(2036): at android.media.audiofx.Visualizer.<init>(Visualizer.java:218)

06-09 12:08:24.610 E/VisualizerView(2036): at com.android.systemui.statusbar.VisualizerView$2.run(VisualizerView.java:97)

06-09 12:08:24.610 E/VisualizerView(2036): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)

06-09 12:08:24.610 E/VisualizerView(2036): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)

06-09 12:08:24.610 E/VisualizerView(2036): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)

06-09 12:08:24.610 E/VisualizerView(2036): at java.lang.Thread.run(Thread.java:818)

06-09 12:08:24.639 D/qdhwcomposer(219): hwc_setPowerMode: Done setting mode 2 on display 0

06-09 12:08:24.640 D/SurfaceControl(1028): Excessive delay in setPowerMode(): 373ms

06-09 12:08:26.569 W/WindowManager(1028): performLayoutAndPlaceSurfacesLocked called while in layout. Callers=com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked:9038 com.android.server.wm.WindowManagerService.reevaluateStatusBarVisibility:11196 com.android.server.policy.PhoneWindowManager.clearClearableFlagsLw:7806

06-09 12:08:26.768 D/PhoneStatusBar(2036): disable: < expand ICONS alerts SYSTEM_INFO back HOME RECENT clock SEARCH quick_settings >

06-09 12:08:26.803 W/AudioTrack(2036): AUDIO_OUTPUT_FLAG_FAST denied by client; transfer 4, track 44100 Hz, output 48000 Hz

06-09 12:08:26.805 D/audio_hw_primary(232): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2

06-09 12:08:26.809 D/PhoneStatusBar(2036): disable: < expand icons* alerts system_info* back HOME RECENT clock SEARCH quick_settings >

06-09 12:08:26.817 D/audio_hw_primary(232): start_output_stream: enter: stream(0xb82029d0)usecase(1: low-latency-playback) devices(0x2)

06-09 12:08:26.817 D/audio_hw_primary(232): start_output_stream: enter: usecase(1: low-latency-playback) devices(0x2)

06-09 12:08:26.817 D/audio_hw_primary(232): select_devices: out_snd_device(2: speaker) in_snd_device(0: )

06-09 12:08:26.817 W/msm8974_platform(232): Codec backend bitwidth 16, samplerate 48000

06-09 12:08:26.817 D/hardware_info(232): hw_info_append_hw_type : device_name = speaker

06-09 12:08:26.818 D/audio_hw_primary(232): select_devices: done

06-09 12:08:26.880 D/PhoneStatusBar(2036): disable: < expand icons alerts system_info back home* recent* clock search* quick_settings >

06-09 12:08:26.914 W/InputMethodManagerService(1028): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@d75826 attribute=android.view.inputmethod.EditorInfo@bf04c67, token = android.os.BinderProxy@6368661

06-09 12:08:26.983 V/UserPresentBroadcastReceiver(2395): Received Intent { act=android.intent.action.USER_PRESENT flg=0x24000010 cmp=com.google.android.gms/.trustagent.UserPresentBroadcastReceiver }.

06-09 12:08:27.043 I/ActivityManager(1028): Start proc 19509:com.mx.browser/u0a71 for broadcast com.mx.browser/com.igexin.sdk.PushReceiver

06-09 12:08:27.231 D/audio_hw_primary(232): out_set_parameters: enter: usecase(0: deep-buffer-playback) kvpairs: routing=2

06-09 12:08:27.379 I/WebViewFactory(19509): Loading com.android.webview version 44.0.2403.119 (code 246011900)

06-09 12:08:27.502 W/System (19509): ClassLoader referenced unknown path: /system/app/webview/lib/arm

06-09 12:08:27.540 I/LibraryLoader(19509): Time to load native libraries: 3 ms (timestamps 8347-8350)

06-09 12:08:27.540 I/LibraryLoader(19509): Expected native library version number "",actual native library version number ""

06-09 12:08:27.690 D/WifiService(1028): New client listening to asynchronous messages

06-09 12:08:27.842 I/ActivityManager(1028): START u0 {act=com.android.systemui.recents.SHOW_RECENTS flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity} from uid 10020 on display 0

06-09 12:08:27.936 I/ActivityManager(1028): Killing 15074:android.process.acore/u0a3 (adj 15): empty #17

06-09 12:08:27.953 D/CountryDetector(1028): No listener is left

06-09 12:08:28.829 D/audio_hw_primary(232): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2

06-09 12:08:28.917 V/PhoneStatusBar(2036): setLightsOn(true)

06-09 12:08:29.023 V/PhoneStatusBar(2036): setLightsOn(true)

06-09 12:08:29.111 D/audio_hw_primary(232): out_set_parameters: enter: usecase(0: deep-buffer-playback) kvpairs: routing=2

06-09 12:08:29.852 E/NetlinkEvent(228): NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found

06-09 12:08:29.852 E/NetlinkEvent(228): NetlinkEvent::FindParam(): Parameter 'UID' not found

06-09 12:08:31.637 D/TelephonyProvider(2473): getPreferredApnIdFromApn: for subId 2

06-09 12:08:31.648 E/DatabaseUtils(2473): Writing exception to parcel

06-09 12:08:31.648 E/DatabaseUtils(2473): java.lang.SecurityException: No permission to write APN settings

06-09 12:08:31.648 E/DatabaseUtils(2473): at com.android.providers.telephony.TelephonyProvider.checkPermission(TelephonyProvider.java:2364)

06-09 12:08:31.648 E/DatabaseUtils(2473): at com.android.providers.telephony.TelephonyProvider.query(TelephonyProvider.java:1858)

06-09 12:08:31.648 E/DatabaseUtils(2473): at android.content.ContentProvider.query(ContentProvider.java:1017)

06-09 12:08:31.648 E/DatabaseUtils(2473): at android.content.ContentProvider$Transport.query(ContentProvider.java:238)

06-09 12:08:31.648 E/DatabaseUtils(2473): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)

06-09 12:08:31.648 E/DatabaseUtils(2473): at android.os.Binder.execTransact(Binder.java:453)

06-09 12:08:31.743 E/art (5541): No implementation found for long org.android.spdy.SpdyAgent.submitRequest(int, org.android.spdy.SpdySession, byte[], char, byte[], char, byte[], byte[], byte[], byte, java.lang.String[], byte[], boolean, java.lang.Object, int, int, int, int, int) (tried Java_org_android_spdy_SpdyAgent_submitRequest and Java_org_android_spdy_SpdyAgent_submitRequest__ILorg_android_spdy_SpdySession_2_3BC_3BC_3B_3B_3BB_3Ljava_lang_String_2_3BZLjava_lang_Object_2IIIII)

06-09 12:08:31.975 D/audio_hw_primary(232): out_standby: enter: stream (0xb82029d0) usecase(1: low-latency-playback)

06-09 12:08:32.010 D/hardware_info(232): hw_info_append_hw_type : device_name = speaker

06-09 12:08:33.177 D/audio_hw_primary(232): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2

06-09 12:08:33.188 D/audio_hw_primary(232): start_output_stream: enter: stream(0xb82029d0)usecase(1: low-latency-playback) devices(0x2)

06-09 12:08:33.188 D/audio_hw_primary(232): start_output_stream: enter: usecase(1: low-latency-playback) devices(0x2)

06-09 12:08:33.188 D/audio_hw_primary(232): select_devices: out_snd_device(2: speaker) in_snd_device(0: )

06-09 12:08:33.188 W/msm8974_platform(232): Codec backend bitwidth 16, samplerate 48000

06-09 12:08:33.188 D/hardware_info(232): hw_info_append_hw_type : device_name = speaker

06-09 12:08:33.188 D/audio_hw_primary(232): select_devices: done

06-09 12:08:33.511 D/audio_hw_primary(232): out_set_parameters: enter: usecase(0: deep-buffer-playback) kvpairs: routing=2

06-09 12:08:34.594 D/audio_hw_primary(232): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2

06-09 12:08:34.831 D/audio_hw_primary(232): out_set_parameters: enter: usecase(0: deep-buffer-playback) kvpairs: routing=2

Hope it helps.

Regards

Hiren