Screen regularly turns on - Galaxy S 4 Mini Q&A, Help & Troubleshooting

Hello,
a while ago, I started having an issue with my s4 mini (serranolte).
Basically, the screen turns itself on very often. For example, I press the power button to turn it off and after a second or so it turns itself on, stays on for ~10 seconds, turns off due to screen timeout, turns on by itself and so on.
I tried both with Lineage OS 14.1 and crDroid v4.4 (android 8.1) and the issue persists.
Here's a copy of the logcat taken while this happens:
Code:
07-15 12:49:42.350 531 634 I PowerManagerService: Going to sleep due to power button (uid 1000)...
07-15 12:49:42.377 531 558 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
07-15 12:49:42.378 531 558 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8960.so from current namespace instead of sphal namespace.
07-15 12:49:42.384 531 558 W Adreno-EGL: <qeglDrvAPI_eglQueryContext:4373>: EGL_BAD_ATTRIBUTE
07-15 12:49:42.827 531 558 I DisplayPowerController: Blocking screen off
07-15 12:49:42.827 531 558 I DisplayPowerController: Unblocked screen off after 0 ms
07-15 12:49:42.827 531 558 D Sensors : activate: acc_enable=0, mag_enable=0
07-15 12:49:42.827 531 558 D Sensors : activate: handle=0, enabled=0
07-15 12:49:42.843 531 558 D Sensors : activate: acc_enable=0, mag_enable=0
07-15 12:49:42.843 531 558 D Sensors : activate: handle=4, enabled=0
07-15 12:49:42.843 531 558 D Sensors : LightSensor enable = 0
07-15 12:49:42.843 531 558 D Sensors : LightSensor enableSensor = 0
07-15 12:49:42.857 531 556 I DisplayManagerService: Display device changed state: "Built-in Screen", OFF
07-15 12:49:42.858 241 241 D SurfaceFlinger: Set power mode=0, type=0 flinger=0xb364e000
07-15 12:49:42.861 241 241 D qdhwcomposer: hwc_setPowerMode: Setting mode 0 on display: 0
07-15 12:49:42.871 1148 1148 D StatusBar: disable<e i a s b H R c s q >
07-15 12:49:42.871 1148 1148 D StatusBar: disable<e i a s b H R c s q >
07-15 12:49:42.879 531 634 I InputReader: Reconfiguring input devices. changes=0x00000004
07-15 12:49:42.918 531 634 I PowerManagerService: Waking up from dozing (uid=1000 reason=android.policy:KEY)...
07-15 12:49:42.922 531 558 I DisplayPowerController: Blocking screen on until initial contents have been drawn.
07-15 12:49:42.923 531 558 D Sensors : setDelay: acc_delay=66667000, mag_delay=200000000
07-15 12:49:42.923 531 558 D Sensors : setDelay: handle=4, delay=250000000
07-15 12:49:42.923 531 558 D Sensors : LightSensor setDelay = 250000000
07-15 12:49:42.923 531 558 D Sensors : LightSensor setSensorDelay = 250000000
07-15 12:49:42.923 531 558 D Sensors : activate: acc_enable=0, mag_enable=0
07-15 12:49:42.923 531 558 D Sensors : activate: handle=4, enabled=1
07-15 12:49:42.923 531 558 D Sensors : LightSensor enable = 1
07-15 12:49:42.923 531 558 D Sensors : LightSensor enableSensor = 1
07-15 12:49:42.927 289 289 D audio_hw_primary: adev_set_parameters: enter: screen_state=off
07-15 12:49:42.942 1148 1148 D StatusBar: disable<e i a s b H R c s q >
07-15 12:49:42.942 1148 1148 D StatusBar: disable<e i a s b H R c s q >
07-15 12:49:42.964 1148 1148 D StatusBar: disable<e i a s b H R c s q >
07-15 12:49:42.979 1148 1148 I chatty : uid=10030(com.android.systemui) identical 2 lines
07-15 12:49:42.979 1148 1148 D StatusBar: disable<e i a s b H R c s q >
07-15 12:49:43.019 531 615 D Sensors : LightSensor readEvents x = 37.000000, raw = 37
07-15 12:49:43.020 531 558 D Sensors : activate: acc_enable=0, mag_enable=0
07-15 12:49:43.020 531 558 D Sensors : activate: handle=4, enabled=0
07-15 12:49:43.020 531 558 D Sensors : LightSensor enable = 0
07-15 12:49:43.020 531 558 D Sensors : LightSensor enableSensor = 0
07-15 12:49:43.021 531 558 D Sensors : setDelay: acc_delay=66667000, mag_delay=200000000
07-15 12:49:43.021 531 558 D Sensors : setDelay: handle=4, delay=1000000000
07-15 12:49:43.021 531 558 D Sensors : LightSensor setDelay = 1000000000
07-15 12:49:43.021 531 558 D Sensors : LightSensor setSensorDelay = 1000000000
07-15 12:49:43.021 531 558 D Sensors : activate: acc_enable=0, mag_enable=0
07-15 12:49:43.021 531 558 D Sensors : activate: handle=4, enabled=1
07-15 12:49:43.021 531 558 D Sensors : LightSensor enable = 1
07-15 12:49:43.022 531 558 D Sensors : LightSensor enableSensor = 1
07-15 12:49:43.120 531 615 D Sensors : LightSensor readEvents x = 39.000000, raw = 39
07-15 12:49:43.335 241 241 D qdhwcomposer: hwc_setPowerMode: Done setting mode 0 on display 0
07-15 12:49:43.344 531 1105 D SurfaceControl: Excessive delay in setPowerMode()
07-15 12:49:43.345 531 556 I DisplayManagerService: Display device changed state: "Built-in Screen", ON
07-15 12:49:43.363 531 634 I InputReader: Reconfiguring input devices. changes=0x00000004
07-15 12:49:43.368 241 241 D SurfaceFlinger: Set power mode=2, type=0 flinger=0xb364e000
07-15 12:49:43.368 241 241 D qdhwcomposer: hwc_setPowerMode: Setting mode 2 on display: 0
07-15 12:49:43.981 531 556 W WindowManager: Timeout waiting for drawn: undrawn=[Window{afd67f u0 StatusBar}]
07-15 12:49:43.983 531 549 D Sensors : setDelay: acc_delay=66667000, mag_delay=200000000
07-15 12:49:43.983 531 549 D Sensors : setDelay: handle=0, delay=66667000
07-15 12:49:43.984 531 549 D Sensors : activate: acc_enable=1, mag_enable=0
07-15 12:49:43.984 531 549 D Sensors : activate: handle=0, enabled=1
07-15 12:49:44.054 241 241 D qdhwcomposer: hwc_setPowerMode: Done setting mode 2 on display 0
07-15 12:49:44.055 531 558 I DisplayPowerController: Unblocked screen on after 1133 ms
07-15 12:49:44.063 531 1105 D SurfaceControl: Excessive delay in setPowerMode()
07-15 12:49:44.079 531 558 W PowerManagerService: Screen on took 1160 ms
07-15 12:49:44.081 1148 1148 I Choreographer: Skipped 63 frames! The application may be doing too much work on its main thread.
07-15 12:49:44.120 531 615 D Sensors : LightSensor readEvents x = 35.000000, raw = 35
07-15 12:49:44.132 289 389 D audio_hw_primary: adev_set_parameters: enter: screen_state=on
Hoping someone can help
Ask me if you need to know anything else, I really hope this isn't an hardware issue...
Thanks, have a nice day

I've also tried flashing an older ROM, Pacman ROM (android 4.3) and I get the same issue.
This leads me to think it is an hardware related issue. Here's the Sensors output:
Code:
D/Sensors ( 836): activate: acc_enable=1, mag_enable=0
D/Sensors ( 836): activate: handle=4, enabled=0
D/Sensors ( 836): LightSensor enable = 0
D/Sensors ( 836): LightSensor enableSensor = 0
D/Sensors ( 836): setDelay: acc_delay=66667000, mag_delay=200000000
D/Sensors ( 836): setDelay: handle=4, delay=1000000000
D/Sensors ( 836): LightSensor setDelay = 1000000000
D/Sensors ( 836): LightSensor setSensorDelay = 1000000000
D/Sensors ( 836): activate: acc_enable=0, mag_enable=0
D/Sensors ( 836): activate: handle=0, enabled=0
D/Sensors ( 836): setDelay: acc_delay=66667000, mag_delay=200000000
D/Sensors ( 836): setDelay: handle=0, delay=66667000
D/Sensors ( 836): activate: acc_enable=1, mag_enable=0
D/Sensors ( 836): activate: handle=0, enabled=1
D/Sensors ( 836): setDelay: acc_delay=200000000, mag_delay=200000000
D/Sensors ( 836): setDelay: handle=0, delay=200000000
D/Sensors ( 836): setDelay: acc_delay=66667000, mag_delay=200000000
D/Sensors ( 836): setDelay: handle=0, delay=66667000
D/Sensors ( 836): activate: acc_enable=1, mag_enable=0
D/Sensors ( 836): activate: handle=4, enabled=1
D/Sensors ( 836): LightSensor enable = 1
D/Sensors ( 836): LightSensor enableSensor = 1
D/Sensors ( 836): setDelay: acc_delay=66667000, mag_delay=200000000
D/Sensors ( 836): setDelay: handle=4, delay=200000000
D/Sensors ( 836): LightSensor setDelay = 200000000
D/Sensors ( 836): LightSensor setSensorDelay = 200000000
D/Sensors ( 836): setDelay: acc_delay=66667000, mag_delay=200000000
D/Sensors ( 836): setDelay: handle=4, delay=1000000000
D/Sensors ( 836): LightSensor setDelay = 1000000000
D/Sensors ( 836): LightSensor setSensorDelay = 1000000000
If you know of anything that could solve this, please let me know. Thanks.

Related

Compile CM 10.1 kernel,but baseband unknown.how to fix?

I compile a kernel from the CM 10.1 source for my N7108, but baseband unknown.and kernel version unavailable
Who can help me to solve this problem?please.
https://github.com/wctliu/Samsung-kernel-N7108/blob/master/adb-full-log.txt
a part of the log
Code:
--------- beginning of /dev/log/main
I/installd( 1856): installd firing up
I/DEBUG ( 1849): debuggerd: May 22 2013 02:49:39
--------- beginning of /dev/log/system
I/Vold ( 1846): Vold 2.1 (the revenge) firing up
D/Vold ( 1846): Volume sdcard1 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1846): Volume usbdisk0 state changing -1 (Initializing) -> 0 (No-Media)
I/Netd ( 1848): Netd 1.0 starting
W/InterfaceController( 1848): Error (Symbol not found: ) while searching for the interface command fini function
D/Vold ( 1846): Volume sdcard1 state changing 0 (No-Media) -> 2 (Pending)
D/macloader( 1859): Deleting file /data/.cid.info
D/DirectVolume( 1846): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 49, PARTN 1
D/Vold ( 1846): Volume sdcard1 state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/SurfaceFlinger( 1851): SurfaceFlinger is starting
I/SurfaceFlinger( 1851): use dithering
I/SurfaceFlinger( 1851): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/gpsd ( 1860): main()
D/gpsd ( 1860): argv[0] = '/system/bin/gpsd'
D/gpsd ( 1860): argv[1] = '-c'
D/gpsd ( 1860): argv[2] = '/system/etc/gps.xml'
D/gpsd ( 1860): onRilCustomConfig(Test for unsupported parameters, )
D/gpsd ( 1860): onRilCustomConfig(FactoryTestFilePath, /data/)
D/gpsd ( 1860): onRilCustomConfig(TISEnabled, true)
D/gpsd ( 1860): onRilCustomConfig(LPmode, false)
D/gpsd ( 1860): onRilCustomConfig(cp-cold-start, false)
D/gpsd ( 1860): onRilCustomConfig(cp-guard-time-sec, 1)
D/gpsd ( 1860): Create : called
I/gpsd ( 1860): RildClient : called
D/gpsd ( 1860): RildClientSamsung : called
I/gpsd ( 1860): start : called
D/gpsd ( 1860): onRegisterModules : called
I/gpsd ( 1860): RildClientModule : called
D/gpsd ( 1860): RildClientModuleFreqSync : called
I/gpsd ( 1860): RildClientModuleFreqSyncSamsung : called
D/gpsd ( 1860): registerModule : pModule = 0x130ad58
D/gpsd ( 1860): onRegisterModule : called
I/gpsd ( 1860): RildClientModule : called
D/gpsd ( 1860): RildClientModuleControlPlane : called
D/gpsd ( 1860): RildClientModuleControlPlaneSamsung : called
D/gpsd ( 1860): registerModule : pModule = 0x130ad80
D/gpsd ( 1860): onRegisterModule : called
D/gpsd ( 1860): onStart : called
D/gpsd ( 1860): SecRildClient : called
D/gpsd ( 1860): initialize : called
D/gpsd ( 1860): connect : called
I/gpsd ( 1860): connect: Connect_RILD failed. (4) Retry number : 0
D/libEGL ( 1851): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 1851): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 1851): loaded /system/lib/egl/libGLESv2_mali.so
E/ ( 1851): Device driver API match
E/ ( 1851): Device driver API version: 17
E/ ( 1851): User space API version: 17
E/ ( 1851): mali: REVISION=Linux-r3p1-01rel1 BUILD_DATE=Mon May 6 11:20:56 KST 2013
I/gralloc ( 1851): using (fd=21)
I/gralloc ( 1851): id = s3cfb
I/gralloc ( 1851): xres = 720 px
I/gralloc ( 1851): yres = 1280 px
I/gralloc ( 1851): xres_virtual = 720 px
I/gralloc ( 1851): yres_virtual = 2560 px
I/gralloc ( 1851): bpp = 32
I/gralloc ( 1851): r = 16:8
I/gralloc ( 1851): g = 8:8
I/gralloc ( 1851): b = 0:8
I/gralloc ( 1851): width = 69 mm (265.043488 dpi)
I/gralloc ( 1851): height = 123 mm (264.325195 dpi)
I/gralloc ( 1851): refresh rate = 58.30 Hz
I/SurfaceFlinger( 1851): Using composer version 1.0
W/SurfaceFlinger( 1851): getting VSYNC period from fb HAL: 17152364
W/SurfaceFlinger( 1851): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
E/Trace ( 1851): error opening trace file: No such file or directory (2)
W/SurfaceFlinger( 1851): WARNING: EventThread not started, ignoring vsync
I/SurfaceFlinger( 1851): EGL informations:
I/SurfaceFlinger( 1851): vendor : Android
I/SurfaceFlinger( 1851): version : 1.4 Android META-EGL
I/SurfaceFlinger( 1851): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer
I/SurfaceFlinger( 1851): Client API: OpenGL_ES
I/SurfaceFlinger( 1851): EGLSurface: 8-8-8-8, config=0x60000014
I/SurfaceFlinger( 1851): OpenGL ES informations:
I/SurfaceFlinger( 1851): vendor : ARM
I/SurfaceFlinger( 1851): renderer : Mali-400 MP
I/SurfaceFlinger( 1851): version : OpenGL ES-CM 1.1
I/SurfaceFlinger( 1851): extensions: GL_EXT_debug_marker GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_point_size_array GL_OES_point_sprite GL_OES_texture_npot GL_OES_query_matrix GL_OES_matrix_palette GL_OES_extended_matrix_palette GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image GL_OES_draw_texture GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_OES_framebuffer_object GL_OES_stencil8 GL_OES_depth24 GL_ARM_rgba8 GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_OES_texture_cube_map GL_EXT_discard_framebuffer GL_EXT_robustness
I/SurfaceFlinger( 1851): GL_MAX_TEXTURE_SIZE = 4096
I/SurfaceFlinger( 1851): GL_MAX_VIEWPORT_DIMS = 4096 x 4096
D/SurfaceFlinger( 1851): Screen acquired, type=0 flinger=0x408f8318
D/AndroidRuntime( 1852):
D/AndroidRuntime( 1852): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1852): CheckJNI is OFF
D/libEGL ( 2069): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 2069): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 2069): loaded /system/lib/egl/libGLESv2_mali.so
E/ ( 2069): Device driver API match
E/ ( 2069): Device driver API version: 17
E/ ( 2069): User space API version: 17
E/ ( 2069): mali: REVISION=Linux-r3p1-01rel1 BUILD_DATE=Mon May 6 11:20:56 KST 2013
E/Trace ( 2069): error opening trace file: No such file or directory (2)
I/mediaserver( 1855): ServiceManager: 0x40feae70
D/SecTVOutService( 1855): SecTVOutService instantiate
E/ ( 1855): fb_open: fb[0] open failed
E/ ( 1855): bool android::SecHdmi::create(int, int):Failed to open default FB
E/SecTVOutService( 1855): android::SecTVOutService::SecTVOutService()::mSecHdmi.create() fail
D/SecTVOutService( 1855): SecTVOutService r=0
I/AudioFlinger( 1855): Using default 3000 mSec as standby time.
I/CameraService( 1855): CameraService started (pid=1855)
V/CameraWrapper( 1855): camera_get_number_of_cameras
V/CameraWrapper( 1855): check_vendor_module
D/SecCameraHardware( 1855): LSIHAL int android::HAL_getNumberOfCameras()
I/AudioPolicyManagerBase( 1855): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
E/Sensors ( 2231): Light old sensor_state 65, new sensor_state : 1 en : 0
I/PowerManagerService( 2231): Going to sleep due to screen timeout...
D/PermissionCache( 1851): checking android.permission.READ_FRAME_BUFFER for uid=1000 => granted (233 us)
I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4
D/SurfaceFlinger( 1851): Screen released, type=0 flinger=0x408f8318
I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4
I/WindowManager( 2231): Lock screen displayed!
I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4
D/NfcService( 2426): NFC-C OFF
I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4
E/Sensors ( 2231): Acc old sensor_state 1, new sensor_state : 0 en : 0
I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4
I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4
D/dalvikvm( 2231): GC_CONCURRENT freed 1657K, 20% free 11198K/13980K, paused 3ms+3ms, total 33ms
D/dalvikvm( 2231): WAIT_FOR_CONCURRENT_GC blocked 23ms
I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4
I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4
I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4
D/dalvikvm( 2231): GC_FOR_ALLOC freed 527K, 14% free 12074K/13980K, paused 23ms, total 23ms
D/dalvikvm( 2231): GC_FOR_ALLOC freed 27K, 14% free 12605K/14532K, paused 21ms, total 21ms
D/dalvikvm( 2231): GC_FOR_ALLOC freed 11K, 13% free 13342K/15268K, paused 22ms, total 22ms
I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4
D/dalvikvm( 2231): GC_FOR_ALLOC freed 34K, 12% free 14289K/16188K, paused 22ms, total 22ms
I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4
I/keystore( 1857): uid: 1000 action: z -> 7 state: 3 -> 3 retry: 4
W/ThrottleService( 2231): unable to find stats for iface pdp0
W/SocketClient( 1848): write error (Broken pipe)
anyone? help me .thanks.
wctliu said:
anyone? help me .thanks.
Click to expand...
Click to collapse
1: be sure to had back-upped your EFS files
And i had this problem, and after days of ignorance of the community and self-research i decided to download the proprietary files from https://github.com/TheMuppets/ instead of extracting them myself and that did the trick.
thanks for your reply
how to back-upped EFS files ?
I tested many times, that this issue should be related with the kernel, rather than rom
wctliu said:
thanks for your reply
how to back-upped EFS files ?
I tested many times, that this issue should be related with the kernel, rather than rom
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1308546 loads of other topic on the case.
Mod move this out of developers board?
Factionwars said:
1: be sure to had back-upped your EFS files
And i had this problem, and after days of ignorance of the community and self-research i decided to download the proprietary files from https://github.com/TheMuppets/ instead of extracting them myself and that did the trick.
Click to expand...
Click to collapse
Factionwars said:
http://forum.xda-developers.com/showthread.php?t=1308546 loads of other topic on the case.
Mod move this out of developers board?
Click to expand...
Click to collapse
EFS should be independent of it.
When I was in exchange for the official kernel and rom. All normal.

[Q] MM Release Collecting Info on Buggy Behavior

So the title says it all,
So far I am experiencing, a crazy loud sound glitch that sounds like a vibrator in a plastic bowl, wonderful image right? xD
Also there is clearly the sound of seeming touch events happening at random intervals so trying to trace it with a live logcat would
be completely insane, but well, :silly:
i think it's somehwere in this
Code:
--------- beginning of main
03-10 10:17:14.145 623 2284 D audio_hw_primary: out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
03-10 10:17:14.145 623 2284 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
--------- beginning of system
03-10 10:17:14.148 1644 2637 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.sonyericsson.home/com.sonymobile.home.HomeActivity (has extras)} from uid 1000 on display 0
03-10 10:17:14.158 623 2284 D audio_hw_primary: out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: fm_volume=0.2606911659
03-10 10:17:14.159 623 2284 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
03-10 10:17:14.159 623 2284 D audio_hw_fm: audio_extn_fm_set_parameters: set_fm_volume usecase
03-10 10:17:14.159 623 2284 D audio_hw_fm: fm_set_volume: (0.260691)
03-10 10:17:14.173 623 2283 D audio_hw_primary: start_output_stream: enter: stream(0xf2751600)usecase(1: low-latency-playback) devices(0x2)
03-10 10:17:14.174 623 2283 D audio_hw_extn: audio_extn_get_anc_enabled: anc_enabled:0
03-10 10:17:14.174 623 2283 D audio_hw_primary: select_devices: out_snd_device(50: speaker) in_snd_device(0: )
03-10 10:17:14.174 623 2283 W msm8974_platform: Codec backend bitwidth 16, samplerate 48000
03-10 10:17:14.174 623 2283 W msm8974_platform: Codec backend bitwidth 16, samplerate 48000
03-10 10:17:14.174 623 2283 D hardware_info: hw_info_append_hw_type : device_name = speaker
03-10 10:17:14.181 623 2283 D hardware_info: hw_info_append_hw_type : device_name = vi-feedback
03-10 10:17:14.181 623 2283 D audio_hw_primary: enable_snd_device: snd_device(259: vi-feedback)
03-10 10:17:14.181 623 2283 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x103 of type 1 for Event 1, with Raise=0
03-10 10:17:14.181 623 2283 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_id 38 of type 1 for Event 3, with Raise=0
03-10 10:17:14.181 623 2283 E voice : voice_is_in_call_rec_stream: input stream is NULL
03-10 10:17:14.181 623 2283 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 102, path = 1
03-10 10:17:14.181 623 2283 D ACDB-LOADER: ACDB -> send_asm_topology
03-10 10:17:14.181 623 2283 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
03-10 10:17:14.182 623 2283 D ACDB-LOADER: ACDB -> send_adm_topology
03-10 10:17:14.182 623 2283 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
03-10 10:17:14.182 623 2283 D ACDB-LOADER: ACDB -> send_audtable
03-10 10:17:14.182 623 2283 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
03-10 10:17:14.182 623 2283 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL
03-10 10:17:14.182 623 2283 D ACDB-LOADER: ACDB -> send_audvoltable
03-10 10:17:14.182 623 2283 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
03-10 10:17:14.182 623 2283 D : Failed to fetch the lookup information of the device 00000066
03-10 10:17:14.182 623 2283 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
03-10 10:17:14.182 623 2283 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
03-10 10:17:14.182 623 2283 D ACDB-LOADER: ACDB -> send_afe_cal
03-10 10:17:14.182 623 2283 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
03-10 10:17:14.182 623 2283 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL
03-10 10:17:14.182 623 2283 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 102 path = 1
03-10 10:17:14.182 623 2283 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
03-10 10:17:14.182 623 2283 D audio_hw_primary: enable_audio_route: apply mixer and update path: spkr-vi-record
03-10 10:17:17.226 623 2283 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 4, path = 1
03-10 10:17:17.226 623 2283 D ACDB-LOADER: ACDB -> send_asm_topology
03-10 10:17:17.226 623 2283 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
03-10 10:17:17.226 623 2283 D ACDB-LOADER: ACDB -> send_adm_topology
03-10 10:17:17.226 623 2283 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
03-10 10:17:17.226 623 2283 D ACDB-LOADER: ACDB -> send_audtable
03-10 10:17:17.226 623 2283 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
03-10 10:17:17.226 623 2283 D : Failed to fetch the lookup information of the device 00000004
03-10 10:17:17.226 623 2283 E ACDB-LOADER: Error: ACDB audproc returned = -19
03-10 10:17:17.226 623 2283 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL
03-10 10:17:17.226 623 2283 D ACDB-LOADER: ACDB -> send_audvoltable
03-10 10:17:17.226 623 2283 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
03-10 10:17:17.227 623 2283 D : Failed to fetch the lookup information of the device 00000004
03-10 10:17:17.227 623 2283 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
03-10 10:17:17.227 623 2283 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
03-10 10:17:17.227 623 2283 D ACDB-LOADER: ACDB -> send_afe_cal
03-10 10:17:17.227 623 2283 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
03-10 10:17:17.227 623 2283 D : Failed to fetch the lookup information of the device 00000004
03-10 10:17:17.227 623 2283 E ACDB-LOADER: Error: ACDB AFE returned = -19
03-10 10:17:17.227 623 2283 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL
03-10 10:17:17.227 623 2283 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 4 path = 1
03-10 10:17:17.227 623 2283 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
03-10 10:17:17.227 623 2283 I audio_hw_primary: select_devices Selected apptype: 69936
03-10 10:17:17.227 623 2283 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_id 1 of type 0 for Event 3, with Raise=0
03-10 10:17:17.227 623 2283 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 124, path = 0
03-10 10:17:17.227 623 2283 D ACDB-LOADER: ACDB -> send_asm_topology
03-10 10:17:17.227 623 2283 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
03-10 10:17:17.227 623 2283 D ACDB-LOADER: ACDB -> send_adm_topology
03-10 10:17:17.227 623 2283 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
03-10 10:17:17.228 623 2283 D ACDB-LOADER: ACDB -> send_audtable
03-10 10:17:17.228 623 2283 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
03-10 10:17:17.228 623 2283 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL
03-10 10:17:17.228 623 2283 D ACDB-LOADER: ACDB -> send_audvoltable
03-10 10:17:17.228 623 2283 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
03-10 10:17:17.228 623 2283 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
03-10 10:17:17.228 623 2283 D ACDB-LOADER: ACDB -> send_afe_cal
03-10 10:17:17.228 623 2283 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
03-10 10:17:17.228 623 2283 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL
03-10 10:17:17.228 623 2283 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 124 path = 0
03-10 10:17:17.228 623 2283 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
03-10 10:17:17.230 623 2283 I audio_hw_utils: audio_extn_utils_send_app_type_cfg app_type 69936, acdb_dev_id 124, sample_rate 48000
03-10 10:17:17.230 623 2283 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-playback
03-10 10:17:17.232 623 2283 D audio_hw_primary: select_devices: usecase->type:0, usecase->id:1
03-10 10:17:17.232 623 2283 D audio_hw_primary: select_devices: done
03-10 10:17:18.227 623 2283 D msm8974_platform: platform_set_channel_map mixer_ctl_name:Playback Channel Map15
03-10 10:17:18.228 623 2283 D msm8974_platform: platform_set_channel_map: set mapping(1 2 0 0 0 0 0 0) for channel:2
03-10 10:17:19.273 623 2283 D audio_hw_extn: audio_extn_get_anc_enabled: anc_enabled:0
03-10 10:17:19.273 623 2283 D audio_hw_primary: start_output_stream: exit
03-10 10:17:19.311 623 2284 W AudioFlinger: write blocked for 4955 msecs, 44 delayed writes, thread 0xf1fc0000
03-10 10:17:22.407 623 2284 D audio_hw_primary: out_standby: enter: stream (0xf2751600) usecase(1: low-latency-playback)
03-10 10:17:24.481 623 2284 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback
03-10 10:17:24.484 623 2284 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_id 1 of type 0 for Event 2, with Raise=0
03-10 10:17:24.484 623 2284 D hardware_info: hw_info_append_hw_type : device_name = speaker
03-10 10:17:24.484 623 2284 D audio_hw_primary: disable_snd_device: snd_device(50: speaker)
Is anyone else experiencing similar ?
m
I'm leaning toward it being the launcher
moonbutt74 said:
So the title says it all,
So far I am experiencing, a crazy loud sound glitch that sounds like a vibrator in a plastic bowl, wonderful image right? xD
Also there is clearly the sound of seeming touch events happening at random intervals so trying to trace it with a live logcat would
be completely insane, but well, :silly:
i think it's somehwere in this
Is anyone else experiencing similar ?
m
I'm leaning toward it being the launcher
Click to expand...
Click to collapse
Headphones?
Mine used to sound like that until I disabled the """"amazing"""" app Smart Connect that seems to be the root of evil for everything.
Sent from my Z5 Premium using XDA Labs
KbaB.BroS said:
Headphones?
Mine used to sound like that until I disabled the """"amazing"""" app Smart Connect that seems to be the root of evil for everything.
Sent from my Z5 Premium using XDA Labs
Click to expand...
Click to collapse
k,
okay i'll disable that too, what seems to have worked for me was installing nove launcher and disabling xperia home.
m
moonbutt74 said:
k,
okay i'll disable that too, what seems to have worked for me was installing nove launcher and disabling xperia home.
m
Click to expand...
Click to collapse
How come that every bug found on Xperia phones seems to have the weirdest way of working around it?
Sent from my Z5 Premium using XDA Labs
KbaB.BroS said:
How come that every bug found on Xperia phones seems to have the weirdest way of working around it?
Sent from my Z5 Premium using XDA Labs
Click to expand...
Click to collapse
I don;t know this is my first sony device. What is more odd to me is the random touch event sounds, and whether or not they are just random or if actual commands are being issued. If that's the case i wonder if it's like that tap-jacking thing that supersu has a prevention feature for.
Still trying to root this thing btw,
m
moonbutt74 said:
I don;t know this is my first sony device. What is more odd to me is the random touch event sounds, and whether or not they are just random or if actual commands are being issued. If that's the case i wonder if it's like that tap-jacking thing that supersu has a prevention feature for.
Still trying to root this thing btw,
m
Click to expand...
Click to collapse
I look forward to your success!
Sent from my Z5 Premium using XDA Labs

Resurrection ROM Skype speakerphone issue

EDIT: this also happens on "Unofficial CM13" build, can't edit the title to reflect this.
Hi, sorry, I can't post in the Resurrection ROM's thread because I don't have enough posts.
Tried on latest stable and unstable Resurrection ROMs (0714), and skype mic does not work when in speakerphone mode. Here are the logs during the switch:
I'm not sure if this is the real reason, but according to the logs, it looks like skype is trying to access "speaker-mic" input, which in turn tries to access ACDB device id 11, which does not exist in audio_platform_info.xml file.
Code:
07-15 18:00:27.433 653 1533 D audio_hw_primary: out_set_parameters: enter: usecase(0: deep-buffer-playback) kvpairs: routing=2
07-15 18:00:27.442 653 1532 D audio_hw_primary: out_set_parameters: enter: usecase(12: audio-ull-playback) kvpairs: routing=2
07-15 18:00:27.563 653 1530 D audio_hw_primary: out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
07-15 18:00:27.564 653 1530 D audio_hw_primary: select_devices: out_snd_device(0: ) in_snd_device(52: speaker-mic)
07-15 18:00:27.564 653 1530 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-record
07-15 18:00:27.585 653 1530 D hardware_info: hw_info_append_hw_type : device_name = handset-mic
07-15 18:00:27.585 653 1530 D audio_hw_primary: disable_snd_device: snd_device(43: handset-mic)
07-15 18:00:27.591 653 1530 D hardware_info: hw_info_append_hw_type : device_name = speaker-mic
07-15 18:00:27.591 653 1530 D audio_hw_primary: enable_snd_device: snd_device(52: speaker-mic)
07-15 18:00:27.597 653 1530 I audio_hw_utils: audio_extn_utils_send_app_type_cfg CAPTURE app_type 69938, acdb_dev_id 11, sample_rate 48000
07-15 18:00:27.598 653 1530 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 11, path = 1, app id = 0x11132, sample rate = 48000
07-15 18:00:27.598 653 1530 D : Failed to fetch the lookup information of the device 0000000B
07-15 18:00:27.598 653 1530 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12
07-15 18:00:27.598 653 1530 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 16
07-15 18:00:27.598 653 1530 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 11, Topology Id 112fb
07-15 18:00:27.598 653 1530 D : Failed to fetch the lookup information of the device 0000000B
07-15 18:00:27.598 653 1530 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 11 path = 1
07-15 18:00:27.598 653 1530 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-record
07-15 18:00:27.611 653 1530 D audio_hw_primary: select_devices: done
07-15 18:00:27.611 653 1530 D audio_hw_primary: select_devices: out_snd_device(2: speaker) in_snd_device(0: )
07-15 18:00:27.612 653 1530 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback
07-15 18:00:27.649 653 1530 D hardware_info: hw_info_append_hw_type : device_name = handset
07-15 18:00:27.649 653 1530 D audio_hw_primary: disable_snd_device: snd_device(1: handset)
07-15 18:00:27.653 653 1530 D aud_dev_arbi: releaseOneDevice: not sending command, device argument (1) does not match any registered device
07-15 18:00:27.653 653 1530 D aud_dev_arbi: releaseOneDevice: device 1 owner is 0
07-15 18:00:27.653 653 1530 I msm8974_platform: platform_check_and_set_codec_backend_cfg: Usecase bitwidth 16, samplerate 48000
07-15 18:00:27.653 653 1530 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 2
07-15 18:00:27.653 653 1530 I msm8974_platform: platform_check_codec_backend_cfg Codec selected backend: 0 current bit width: 16 and sample rate: 48000
07-15 18:00:27.653 653 1530 W msm8974_platform: platform_check_codec_backend_cfg:Use default bw and sr for voice/voip calls
07-15 18:00:27.653 653 1530 D msm8974_platform: platform_check_codec_backend_cfg: resetting sample_rate back to default, backend_idx: 0
07-15 18:00:27.653 653 1530 I msm8974_platform: platform_check_codec_backend_cfg Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
07-15 18:00:27.653 653 1530 D hardware_info: hw_info_append_hw_type : device_name = speaker
07-15 18:00:27.654 653 1530 D audio_hw_primary: enable_snd_device: snd_device(2: speaker)
07-15 18:00:27.654 653 1530 D aud_dev_arbi: acquireOneDevice: device owner for device 2 is 1
07-15 18:00:27.660 653 1530 I audio_hw_primary: select_devices Selected apptype: 69937
07-15 18:00:27.661 653 1530 I audio_hw_utils: audio_extn_utils_send_app_type_cfg PLAYBACK app_type 69937, acdb_dev_id 15, sample_rate 48000
07-15 18:00:27.661 653 1530 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 15, path = 0, app id = 0x11131, sample rate = 48000
07-15 18:00:27.661 653 1530 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12
07-15 18:00:27.661 653 1530 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 16
07-15 18:00:27.661 653 1530 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 15, Topology Id 1025e
07-15 18:00:27.661 653 1530 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 15 path = 0
07-15 18:00:27.661 653 1530 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-playback quat_i2s
07-15 18:00:27.701 653 1530 D audio_hw_primary: select_devices: done
07-15 18:00:27.702 653 1530 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
07-15 18:00:27.705 653 1530 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 40
07-15 18:00:27.705 653 1530 W msm8974_platform: platform_send_gain_dep_cal: Usecase list is empty
07-15 18:00:27.709 653 8510 D audio_hw_primary: in_set_parameters: enter: kvpairs=input_source=7;routing=-2147483520
07-15 18:00:27.730 653 1530 D AudioFlinger: mixer(0xf23c0000) throttle end: throttle time(2)
07-15 18:00:28.079 3146 3501 D HeadsetStateMachine: Disconnected process message: 10, size: 0
Any help would be greatly appreciated.

[Q] Only occasional playback of m4a audio files and streamed music

I updated my htc 10 firmware via one of the NoWipe firmware files from a nougat fw to the Oreo one (3.401.2) a few months ago and flashed the Pyrana Rom shortly afterwards. I had issues playing back m4a (aac) files trough various music players and playing offline tidal songs. Usually there is no sound whatsoever with these files while offline mp3s and FLACs work flawlessly, but if I try often enough by closing and reopening the app it plays the file back after a few tries.
At first I thought it was an issue with the ROM but I switched to LeeDroid recently and the issue is still persisting.
According to logcat it seems the device has issues with something called hph-highquality-mode,it "can't find backend to snd device" and then ACBD dies. I've no idea how audio processing works on android, but this should should be the interesting part from logcat:
Code:
06-06 21:26:16.378 944 3995 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.379 824 1336 E audio_hw_primary: out_set_volume: compress mute 0
06-06 21:26:16.379 824 1336 E audio_hw_primary: out_set_compr_volume:ctl for mixer cmd - Compress Playback 9 Volume, left 0.006310, right 0.006310
06-06 21:26:16.380 944 26907 D AudioFlinger: Set Offload Audio Balance L(0.006310) R(0.006310)
06-06 21:26:16.384 944 18976 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.385 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.394 824 26917 D audio_hw_primary: start_output_stream: enter: stream(0xe980f500)usecase(3: compress-offload-playback) devices(0x4)
[trash-data]
06-06 21:26:16.397 944 18976 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.410 824 26917 D audio_hw_primary: select_devices for use case (compress-offload-playback)
06-06 21:26:16.410 824 26917 D audio_hw_extn: audio_extn_get_anc_enabled: anc_enabled:0
06-06 21:26:16.410 824 26917 D audio_hw_primary: select_devices: out_snd_device(8: headphones) in_snd_device(0: )
06-06 21:26:16.411 824 26917 I msm8974_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 24, samplerate 44100 channels 2, backend_idx 3 usecase = 3 device (headphones)
06-06 21:26:16.411 824 26917 D msm8974_platform: platform_split_snd_device: snd_device(8) num devices(1) new_snd_devices(0)
06-06 21:26:16.411 824 26917 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 8
06-06 21:26:16.411 824 26917 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: bitwidth 24, samplerate 44100 channels 2, backend_idx 3 usecase = 3 device (headphones)
06-06 21:26:16.411 824 26917 D msm8974_platform: platform_check_codec_backend_cfg:becf: afe: napb not active - set non fractional rate
06-06 21:26:16.411 824 26917 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 3 updated bit width: 24 and sample rate: 48000
06-06 21:26:16.411 824 26917 I msm8974_platform: platform_check_codec_backend_cfg: apply HPH HQ mode
06-06 21:26:16.411 824 26917 E audio_route: unable to find path 'hph-highquality-mode'
06-06 21:26:16.411 824 26917 D audio_hw_primary: check_usecases_codec_backend:becf: force routing 0
06-06 21:26:16.411 824 26917 E msm8974_platform: platform_check_backends_match: Invalid snd_device =
06-06 21:26:16.411 824 26917 D audio_hw_primary: check_usecases_codec_backend:becf: (47) check_usecases curr device: headphones, usecase device: backends match 0
06-06 21:26:16.411 824 26917 E msm8974_platform: platform_check_backends_match: Invalid snd_device =
06-06 21:26:16.411 824 26917 D audio_hw_primary: check_usecases_codec_backend:becf: (47) check_usecases curr device: headphones, usecase device: backends match 0
06-06 21:26:16.411 824 26917 D audio_hw_primary: check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 0
06-06 21:26:16.411 824 26917 D hardware_info: hw_info_append_hw_type : device_name = headphones
06-06 21:26:16.411 824 26917 D msm8974_platform: platform_split_snd_device: snd_device(8) num devices(0) new_snd_devices(0)
06-06 21:26:16.411 824 26917 D audio_hw_primary: enable_snd_device: snd_device(8: headphones)
06-06 21:26:16.411 824 26917 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x8 of type 0 for Event 1, with Raise=0
06-06 21:26:16.412 3028 3087 I zygote : NativeAllocBackground concurrent copying GC freed 14838(616KB) AllocSpace objects, 0(0B) LOS objects, 67% free, 2MB/8MB, paused 11.885ms total 176.926ms
06-06 21:26:16.428 1930 1930 I StatusBar: updateEmptyShade(true,true)
06-06 21:26:16.428 1930 1930 I StackScroller: setBlockTouch:false
06-06 21:26:16.430 824 26917 D audio_route: set ctl: SLIM RX1 MUX enum[0]: 6
06-06 21:26:16.431 824 26917 D audio_route: set ctl: SLIM_0_RX Channels enum[0]: 1
06-06 21:26:16.435 3020 3059 I zygote : NativeAllocBackground concurrent copying GC freed 23044(1676KB) AllocSpace objects, 0(0B) LOS objects, 71% free, 2MB/8MB, paused 8.924ms total 145.389ms
06-06 21:26:16.442 824 26917 D audio_route: set ctl: RX INT1_2 MUX enum[0]: 1
06-06 21:26:16.444 824 26917 D audio_route: set ctl: RX INT2_2 MUX enum[0]: 2
06-06 21:26:16.445 824 26917 D audio_route: set ctl COMP1 Switch, integer[0]
06-06 21:26:16.445 824 26917 D audio_route: set ctl COMP2 Switch, integer[0]
06-06 21:26:16.445 824 26917 D audio_hw_primary: enable_audio_route: enter: usecase(3)
06-06 21:26:16.445 824 26917 E audio_hw_dolby: audio_extn_dolby_ds2_set_endpoint: Dolby set endpint :0x4
06-06 21:26:16.445 824 26917 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_id 3 of type 0 for Event 3, with Raise=1
06-06 21:26:16.445 824 26917 D sound_trigger_platform: platform_stdev_check_and_update_concurrency: concurrency active 0, tx 1, rx 1, concurrency session_allowed 0
06-06 21:26:16.445 824 26917 D audio_hw_utils: audio_extn_utils_send_app_type_cfg: usecase->out_snd_device headphones
06-06 21:26:16.445 824 26917 D msm8974_platform: platform_split_snd_device: snd_device(8) num devices(0) new_snd_devices(0)
06-06 21:26:16.445 824 26917 E msm8974_platform: platform_get_snd_device_backend_index: BE DAI Name Table is not present
06-06 21:26:16.445 824 26917 E audio_hw_utils: send_app_type_cfg_for_device: Couldn't get the backend index for snd device headphones ret=-14
06-06 21:26:16.445 824 26917 I audio_hw_utils: send_app_type_cfg_for_device PLAYBACK app_type 69936, acdb_dev_id 10, sample_rate 48000, snd_device_be_idx -14
06-06 21:26:16.446 824 26917 D msm8974_platform: platform_split_snd_device: snd_device(8) num devices(1) new_snd_devices(0)
06-06 21:26:16.446 824 26917 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 10, path = 0, app id = 0x11130, sample rate = 48000
06-06 21:26:16.446 824 26917 D ACDB-LOADER: ACDB -> send_asm_topology
06-06 21:26:16.446 824 26917 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
06-06 21:26:16.446 824 26917 D ACDB-LOADER: ACDB -> send_adm_topology
06-06 21:26:16.446 824 26917 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
06-06 21:26:16.446 824 26917 D ACDB-LOADER: ACDB -> send_audtable
06-06 21:26:16.446 824 26917 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE_SIZE
06-06 21:26:16.446 824 26917 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
06-06 21:26:16.446 824 26917 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL
06-06 21:26:16.446 824 26917 D ACDB-LOADER: ACDB -> send_audvoltable
06-06 21:26:16.446 824 26917 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_VOL_STEP_TABLE_SIZE
06-06 21:26:16.447 824 26917 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 0
06-06 21:26:16.447 824 26917 D : Failed to fetch the lookup information of the device 0000000A
06-06 21:26:16.447 824 26917 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-06 21:26:16.447 824 26917 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12
06-06 21:26:16.447 824 26917 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TABLE_SIZE
06-06 21:26:16.447 824 26917 D ACDB-LOADER: ACDB -> send_audstrmtable
06-06 21:26:16.447 824 26917 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TABLE_V2
06-06 21:26:16.447 824 26917 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 456
06-06 21:26:16.447 824 26917 D ACDB-LOADER: ACDB -> send_afe_topology
06-06 21:26:16.447 824 26917 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
06-06 21:26:16.447 824 26917 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 10, Topology Id 112fc
06-06 21:26:16.447 824 26917 D ACDB-LOADER: ACDB -> send_afe_cal
06-06 21:26:16.447 824 26917 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE
06-06 21:26:16.447 824 26917 D : Failed to fetch the lookup information of the device 0000000A
06-06 21:26:16.447 824 26917 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
06-06 21:26:16.447 824 26917 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
06-06 21:26:16.447 824 26917 D : Failed to fetch the lookup information of the device 0000000A
06-06 21:26:16.447 824 26917 E ACDB-LOADER: Error: ACDB AFE returned = -19
06-06 21:26:16.447 824 26917 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL
06-06 21:26:16.447 824 26917 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 10 path = 0
06-06 21:26:16.447 824 26917 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
06-06 21:26:16.447 824 26917 D audio_hw_primary: enable_audio_route: apply mixer and update path: compress-offload-playback headphones
06-06 21:26:16.450 824 26917 D audio_route: set ctl SLIMBUS_0_RX Audio Mixer MultiMedia4, integer[0]
06-06 21:26:16.450 824 26917 D audio_hw_primary: enable_audio_route: exit
06-06 21:26:16.450 824 26917 D audio_hw_primary: select_devices: done
06-06 21:26:16.450 824 26917 D audio_hw_primary: start_output_stream: Opening PCM device card_id(0) device_id(9) format(0)
06-06 21:26:16.450 824 26917 D msm8974_platform: platform_set_channel_map mixer_ctl_name:Playback Channel Map9
06-06 21:26:16.450 824 26917 D msm8974_platform: platform_set_channel_map: set mapping(1 2 0 0 0 0 0 0) for channel:2
06-06 21:26:16.452 26850 26850 V MediaPlayerNative: isPlaying: 1
06-06 21:26:16.493 939 964 V /system/vendor/bin/adsprpcd: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:194: fopen success: /dsp/HeaacDecoderModule.so.1
06-06 21:26:16.521 1234 1244 I zygote64: Background concurrent copying GC freed 17846(1094KB) AllocSpace objects, 1(20KB) LOS objects, 42% free, 26MB/47MB, paused 1.269ms total 624.204ms
06-06 21:26:16.550 837 1749 I CwMcuSensor: offset changed, id = 0, offset = -20688488974
06-06 21:26:16.565 824 26917 E audio_hw_primary: start_output_stream: cannot set device: Out of memory
06-06 21:26:16.565 845 1184 I ANDR-PERF-MPCTL: perfRel: handle = 2470
06-06 21:26:16.565 845 1184 I ANDR-PERF-PNPUTIL: (Basic) Recv '/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq' = '307200'
06-06 21:26:16.565 824 26917 W offload_visualizer: visualizer_hal_stop_output output not started
06-06 21:26:16.565 824 26917 W offload_effect_bundle: offload_effects_bundle_hal_stop_output output not started
06-06 21:26:16.565 824 26917 D audio_hw_primary: disable_audio_route: enter: usecase(3)
06-06 21:26:16.565 824 26917 D audio_hw_primary: disable_audio_route: reset and update mixer path: compress-offload-playback headphones
[trash]
06-06 21:26:16.566 824 26917 D audio_route: set ctl SLIMBUS_0_RX Audio Mixer MultiMedia4, integer[0]
06-06 21:26:16.566 824 26917 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_id 3 of type 0 for Event 2, with Raise=1
06-06 21:26:16.566 824 26917 D sound_trigger_platform: platform_stdev_check_and_update_concurrency: concurrency active 0, tx 1, rx 0, concurrency session_allowed 0
06-06 21:26:16.566 845 1184 I ANDR-PERF-PNPUTIL: Write '/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq' = '960000' <Rule: long duration input boost>
06-06 21:26:16.566 824 26917 D audio_hw_primary: disable_audio_route: exit
06-06 21:26:16.567 824 26917 D hardware_info: hw_info_append_hw_type : device_name = headphones
06-06 21:26:16.567 824 26917 D audio_hw_primary: disable_snd_device: snd_device(8: headphones)
06-06 21:26:16.567 824 26917 D msm8974_platform: platform_split_snd_device: snd_device(8) num devices(0) new_snd_devices(0)
06-06 21:26:16.567 845 1184 I ANDR-PERF-PNPUTIL: Write '/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq' = '960000' <Rule: long duration input boost>
06-06 21:26:16.567 824 26917 D audio_route: set ctl COMP2 Switch, integer[0]
06-06 21:26:16.567 845 1184 W ANDR-PERF-PNPUTIL: Unable to open '/sys/block/dm-0/bdi/read_ahead_kb' (No such file or directory)
06-06 21:26:16.567 845 1184 W ANDR-PERF-PNPUTIL: Unable to open '/sys/block/dm-1/bdi/read_ahead_kb' (No such file or directory)
06-06 21:26:16.567 824 26917 D audio_route: set ctl COMP1 Switch, integer[0]
06-06 21:26:16.571 824 26917 D audio_route: set ctl: RX INT2_2 MUX enum[0]: 0
06-06 21:26:16.574 824 26917 D audio_route: set ctl: RX INT1_2 MUX enum[0]: 0
06-06 21:26:16.575 824 26917 D audio_route: set ctl: SLIM_0_RX Channels enum[0]: 0
06-06 21:26:16.577 824 26917 D audio_route: set ctl: SLIM RX1 MUX enum[0]: 0
06-06 21:26:16.577 824 26917 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x8 of type 0 for Event 0, with Raise=0
06-06 21:26:16.595 26850 26850 V MediaPlayerNative: isPlaying: 1
06-06 21:26:16.618 837 837 I CwMcuSensor: offset changed, id = 8, offset = -20688488974
06-06 21:26:16.624 1930 1930 I StatusBar: updateEmptyShade(true,true)
06-06 21:26:16.625 1930 1930 I StackScroller: setBlockTouch:false
06-06 21:26:16.628 944 3995 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.639 944 944 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.639 1930 1930 I StatusBar: updateEmptyShade(true,true)
06-06 21:26:16.640 1930 1930 I StackScroller: setBlockTouch:false
06-06 21:26:16.640 944 3995 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.644 1930 1930 W StaticLayout: maxLineHeight should not be -1. maxLines:1 lineCount:1
06-06 21:26:16.645 1930 1930 I chatty : uid=10021(u0_a21) com.android.systemui identical 2 lines
06-06 21:26:16.646 1930 1930 W StaticLayout: maxLineHeight should not be -1. maxLines:1 lineCount:1
06-06 21:26:16.648 824 1810 E audio_hw_primary: out_set_volume: compress mute 0
06-06 21:26:16.648 824 1810 E audio_hw_primary: out_set_compr_volume:ctl for mixer cmd - Compress Playback 9 Volume, left 0.006310, right 0.006310
06-06 21:26:16.649 944 26907 D AudioFlinger: Set Offload Audio Balance L(0.006310) R(0.006310)
06-06 21:26:16.651 944 944 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.652 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.661 1930 1940 I zygote64: JIT added (osr=false) void com.android.systemui.statusbar.stack.NotificationStackScrollLayout.updateScrollPositionOnExpandInBottom(com.android.systemui.statusbar.ExpandableView)@0x776474e1e8 ccache_size=1628KB: dcache_size=998KB: 0x99e137b0,0x99e141b4
06-06 21:26:16.663 944 944 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.664 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.675 944 944 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.685 837 1749 I CwMcuSensor: processEvent: Reporting mPendingEvent.light = 1.000 18.000
06-06 21:26:16.685 837 1749 I CwMcuSensor: offset changed, id = 3, offset = -20688488974
06-06 21:26:16.686 944 944 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.687 944 944 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.698 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.699 944 944 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.700 1234 1775 V NetworkPolicy: updateRuleForRestrictBackgroundUL(10019): isForeground=false, isBlacklisted=false, isWhitelisted=true, oldRule=2 (TEMPORARY_ALLOW_METERED), newRule=0 (NONE), newUidRules=0 (NONE), oldUidRules=2 (TEMPORARY_ALLOW_METERED)
06-06 21:26:16.700 1234 1775 V NetworkPolicy: setMeteredNetworkWhitelist 10019: false
06-06 21:26:16.701 641 715 V CommandListener: bwctrlcmd: argc=3 bandwidth removeniceapps ...
06-06 21:26:16.705 1234 1775 V NetworkPolicy: setMeteredNetworkBlacklist 10019: false
06-06 21:26:16.706 1234 1775 V NetworkPolicy: updateRulesForPowerRestrictionsUL(10019), isIdle: false, mRestrictPower: false, mDeviceIdleMode: false, isForeground=false, isWhitelisted=true, oldRule=0 (NONE), newRule=0 (NONE), newUidRules=0 (NONE), oldUidRules=0 (NONE)
06-06 21:26:16.710 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.711 944 3995 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.722 944 3995 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.723 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.734 944 3995 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.735 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.747 944 3995 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.753 26850 26850 V MediaPlayerNative: isPlaying: 1
06-06 21:26:16.756 26850 26850 V MediaPlayerNative: isPlaying: 1
06-06 21:26:16.758 944 3995 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.758 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.769 944 3995 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.770 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.781 944 3995 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.782 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.793 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.793 944 3995 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.805 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.806 944 944 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.818 944 944 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.818 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.829 944 944 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.830 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.842 944 944 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.843 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.856 944 3895 I chatty : uid=1041(audioserver) Binder:944_4 identical 2 lines
06-06 21:26:16.868 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.869 944 944 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.881 944 944 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.882 944 3895 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.893 944 944 D IAudioTrack: onTransact(), code=9
06-06 21:26:16.905 824 26917 D audio_hw_primary: start_output_stream: enter: stream(0xe980f500)usecase(3: compress-offload-playback) devices(0x4)
06-06 21:26:16.905 944 3895 D IAudioTrack: onTransact(), code=9
The DSP also returns error messages in dmesg. Here is the output of dmesg | grep AUD:
Code:
htc_pmeuhl:/ # dmesg | grep AUD
[ 4242.131633] [AUD] q6asm: q6asm_callback: cmd = 0x10db3 returned error = 0x1
[ 4242.131702] [AUD] q6asm: __q6asm_open_write: DSP returned error[ADSP_EFAILED]
[ 4242.131720] [AUD] snd_soc_qdsp6v2: msm_compr_configure_dsp_for_playback:ASM open write err[-131] for compr type[0]
[ 4242.570646] [AUD] q6asm: q6asm_callback: cmd = 0x10db3 returned error = 0x1
[ 4242.570717] [AUD] q6asm: __q6asm_open_write: DSP returned error[ADSP_EFAILED]
[ 4242.570734] [AUD] snd_soc_qdsp6v2: msm_compr_configure_dsp_for_playback:ASM open write err[-131] for compr type[0]
[ 4243.028382] [AUD] q6asm: q6asm_callback: cmd = 0x10db3 returned error = 0x1
[ 4243.028434] [AUD] q6asm: __q6asm_open_write: DSP returned error[ADSP_EFAILED]
[ 4243.028456] [AUD] snd_soc_qdsp6v2: msm_compr_configure_dsp_for_playback:ASM open write err[-131] for compr type[0]
[ 4268.152812] [AUD] q6asm: q6asm_callback: cmd = 0x10db3 returned error = 0x1
[ 4268.152868] [AUD] q6asm: __q6asm_open_write: DSP returned error[ADSP_EFAILED]
[ 4268.152884] [AUD] snd_soc_qdsp6v2: msm_compr_configure_dsp_for_playback:ASM open write err[-131] for compr type[0]
[ 4268.984529] [AUD] q6asm: q6asm_callback: cmd = 0x10db3 returned error = 0x1
[ 4268.984581] [AUD] q6asm: __q6asm_open_write: DSP returned error[ADSP_EFAILED]
[ 4268.984599] [AUD] snd_soc_qdsp6v2: msm_compr_configure_dsp_for_playback:ASM open write err[-131] for compr type[0]
[ 4269.837727] [AUD] q6asm: q6asm_callback: cmd = 0x10db3 returned error = 0x1
[ 4269.837793] [AUD] q6asm: __q6asm_open_write: DSP returned error[ADSP_EFAILED]
[ 4269.837812] [AUD] snd_soc_qdsp6v2: msm_compr_configure_dsp_for_playback:ASM open write err[-131] for compr type[0]
[ 4456.475784] [AUD] q6asm: q6asm_callback: cmd = 0x10db3 returned error = 0x1
[ 4456.475872] [AUD] q6asm: __q6asm_open_write: DSP returned error[ADSP_EFAILED]
[ 4456.475892] [AUD] snd_soc_qdsp6v2: msm_compr_configure_dsp_for_playback:ASM open write err[-131] for compr type[0]
[ 4457.913943] [AUD] q6asm: q6asm_callback: cmd = 0x10db3 returned error = 0x1
[ 4457.914010] [AUD] q6asm: __q6asm_open_write: DSP returned error[ADSP_EFAILED]
[ 4457.914035] [AUD] snd_soc_qdsp6v2: msm_compr_configure_dsp_for_playback:ASM open write err[-131] for compr type[0]
[ 4462.793998] [AUD] q6asm: q6asm_callback: cmd = 0x10db3 returned error = 0x1
[ 4462.794051] [AUD] q6asm: __q6asm_open_write: DSP returned error[ADSP_EFAILED]
[ 4462.794068] [AUD] snd_soc_qdsp6v2: msm_compr_configure_dsp_for_playback:ASM open write err[-131] for compr type[0]
[ 4476.162351] [AUD] q6asm: q6asm_callback: cmd = 0x10db3 returned error = 0x1
[ 4476.162419] [AUD] q6asm: __q6asm_open_write: DSP returned error[ADSP_EFAILED]
[ 4476.162438] [AUD] snd_soc_qdsp6v2: msm_compr_configure_dsp_for_playback:ASM open write err[-131] for compr type[0]
[ 4477.467307] [AUD] q6asm: q6asm_callback: cmd = 0x10db3 returned error = 0x1
[ 4477.467362] [AUD] q6asm: __q6asm_open_write: DSP returned error[ADSP_EFAILED]
[ 4477.467381] [AUD] snd_soc_qdsp6v2: msm_compr_configure_dsp_for_playback:ASM open write err[-131] for compr type[0]
[ 4478.415672] [AUD] q6asm: q6asm_callback: cmd = 0x10db3 returned error = 0x1
[ 4478.415737] [AUD] q6asm: __q6asm_open_write: DSP returned error[ADSP_EFAILED]
[ 4478.415757] [AUD] snd_soc_qdsp6v2: msm_compr_configure_dsp_for_playback:ASM open write err[-131] for compr type[0]
[ 4484.841688] [AUD] q6asm: __q6asm_cmd_nowait: CMD_PAUSE
[ 4484.841773] [AUD] q6asm: __q6asm_cmd:q6asm close session 1
[ 4484.848904] [AUD] q6adm: adm_close: port_id=0x4001 perf_mode: 0 copp_idx: 0
[ 4603.777375] [AUD] snd_soc_wcd_mbhc: wcd_mbhc_mech_plug_detect_irq: enter
[ 4603.778279] [AUD] snd_soc_wcd_mbhc: wcd_mbhc_swch_irq_handler: mbhc->current_plug: 1 detection_type: 0
[ 4603.779931] [AUD] snd_soc_wcd_mbhc: wcd_mbhc_report_plug: Reporting removal 3(0)
[ 4603.802299] [AUD] snd_soc_wcd_mbhc: wcd_mbhc_mech_plug_detect_irq: leave 1
[ 5223.260643] [AUD] q6adm: adm_open:port 0x4001 path:2 rate:16000 mode:1 perf_mode:0,topo_id 66325
Anyone knows what's wrong? Since this happend after I've flashed from nougat -> noWipe noBootimg 3.16.401.2 FW -> LeeDroid Oreo 3.16.401.2 I guess it's something related to mismatched software parts. I don't want to run a RUU if it's avoidable, making backups over the really bad mtp implementation is nearly impossible...

Lineage 15.1 no WiFi - need some help with building

Hello.
I built Lineage 15.1 for Swift and it works well, no lag or whatsoever. The only thing that does not work is WiFi.
According to a commit (change 218676; I cannot post the full url because of xda-restrictions) something is wrong with the latest qmi/radio stack which breaks bluetooth and wifi.
I applied that commit before building LOS15.1 but WiFi is still not working. Also the hash-sums this commit changes are different to the ones I have in my tree.
Any idea how to get wifi to work? I would be happy about some ideas on how to fix it.
Thanks
Tepa
Here's the errors I see with logcat:
--------- beginning of main
07-01 05:48:49.397 260 406 D audio_hw_primary: out_standby: enter: stream (0xf447d800) usecase(1: low-latency-playback)
07-01 05:48:49.489 260 406 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback
07-01 05:48:49.489 260 406 D hardware_info: hw_info_append_hw_type : device_name = speaker
07-01 05:48:49.489 260 406 D audio_hw_primary: disable_snd_device: snd_device(2: speaker)
07-01 05:48:51.073 3895 3895 D HeadsetPhoneState: sendDeviceStateChanged. mService=1 mIsSimStateLoaded=true mSignal=3 mRoam=0 mBatteryCharge=4
07-01 05:48:52.553 6564 6564 I libmdmdetect: ESOC framework not supported
07-01 05:48:52.553 6564 6564 I libmdmdetect: Found internal modem: modem
07-01 05:48:52.585 6564 6564 I libmdmdetect: ESOC framework not supported
07-01 05:48:52.585 6564 6564 I libmdmdetect: Found internal modem: modem
07-01 05:48:52.586 6564 6564 E QC-NETMGR-LIB: QC-NETMGR
07-01 05:48:56.253 2359 2373 I WifiService: getWifiApEnabledState uid=1000
07-01 05:48:56.254 2092 2092 I AudioPolicyManagerCustom: FLAG None hence request for a primary output
07-01 05:48:56.254 2092 2203 I AudioPolicyManagerCustom: FLAG None hence request for a primary output
--------- beginning of system
07-01 05:48:56.258 2359 5014 D WifiService: setWifiEnabled: true pid=4257, uid=1000, package=com.android.settings
07-01 05:48:56.258 2359 5014 I WifiService: setWifiEnabled package=com.android.settings uid=1000 enable=true
07-01 05:48:56.260 278 278 I [email protected]: Wifi HAL started
07-01 05:48:56.262 260 5297 D audio_hw_primary: start_output_stream: enter: stream(0xf447d800)usecase(1: low-latency-playback) devices(0x2)
07-01 05:48:56.262 260 5297 D audio_hw_primary: select_devices: out_snd_device(2: speaker) in_snd_device(0: )
07-01 05:48:56.262 260 5297 I msm8916_platform: platform_check_and_set_codec_backend_cfg: Usecase bitwidth 16, samplerate 48000, backend_idx 0
07-01 05:48:56.262 260 5297 I msm8916_platform: platform_check_codec_backend_cfg Codec selected backend: 0 current bit width: 16 and sample rate: 48000
07-01 05:48:56.262 260 5297 D msm8916_platform: platform_check_codec_backend_cfg: resetting sample_rate back to default, backend_idx: 0
07-01 05:48:56.262 260 5297 I msm8916_platform: platform_check_codec_backend_cfg Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
07-01 05:48:56.262 260 5297 D hardware_info: hw_info_append_hw_type : device_name = speaker
07-01 05:48:56.262 260 5297 D audio_hw_primary: enable_snd_device: snd_device(2: speaker)
07-01 05:48:56.262 260 5297 D audio_route: Apply path: speaker
07-01 05:48:56.265 260 5297 W audio_hw_utils: audio_extn_utils_update_stream_app_type_cfg: App type could not be selected. Falling back to default
07-01 05:48:56.265 260 5297 I audio_hw_primary: select_devices Selected apptype: 69936
07-01 05:48:56.265 260 5297 I audio_hw_utils: audio_extn_utils_send_app_type_cfg app_type 69936, acdb_dev_id 15, sample_rate 48000
07-01 05:48:56.265 260 5297 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 15, path = 0
07-01 05:48:56.265 260 5297 D ACDB-LOADER: ACDB -> send_asm_topology
07-01 05:48:56.265 260 5297 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
07-01 05:48:56.265 260 5297 D ACDB-LOADER: ACDB -> send_adm_topology
07-01 05:48:56.265 260 5297 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
07-01 05:48:56.266 260 5297 D ACDB-LOADER: ACDB -> send_audtable
07-01 05:48:56.266 260 5297 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE_SIZE
07-01 05:48:56.266 260 5297 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
07-01 05:48:56.266 260 5297 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL
07-01 05:48:56.266 260 5297 D ACDB-LOADER: ACDB -> send_audvoltable
07-01 05:48:56.266 260 5297 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
07-01 05:48:56.266 260 5297 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
07-01 05:48:56.266 260 5297 D ACDB-LOADER: ACDB -> send_afe_cal
07-01 05:48:56.266 260 5297 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
07-01 05:48:56.266 260 5297 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL
07-01 05:48:56.266 260 5297 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 15 path = 0
07-01 05:48:56.266 260 5297 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
07-01 05:48:56.266 260 5297 W audio_hw_utils: audio_extn_utils_send_audio_calibration: No audio calibration for usecase type = 0
07-01 05:48:56.266 260 5297 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-playback
07-01 05:48:56.266 260 5297 D audio_route: Apply path: low-latency-playback
07-01 05:48:56.266 260 5297 D audio_hw_primary: select_devices: done
07-01 05:48:56.273 260 5297 D msm8916_platform: platform_set_channel_map mixer_ctl_namelayback Channel Map12
07-01 05:48:56.274 260 5297 D msm8916_platform: platform_set_channel_map: set mapping(1 2 0 0 0 0 0 0) for channel:2
07-01 05:48:56.293 260 5297 D audio_hw_primary: start_output_stream: exit
07-01 05:48:56.306 278 278 E [email protected]: Failed to write wlan fw path param: Operation not permitted
07-01 05:48:56.306 278 278 E [email protected]: Failed to change firmware mode
07-01 05:48:56.307 2359 3851 E HalDeviceManager: executeChipReconfiguration: configureChip error: 9 ()
07-01 05:48:56.511 278 278 I [email protected]: Wifi HAL stopped
07-01 05:48:56.512 2359 3851 E WifiNative-wlan0: Failed to start HAL for client mode
07-01 05:48:56.514 2359 2359 E WifiController: WifiControllerWifi turn on failed
07-01 05:48:56.520 2359 3954 I WifiService: getWifiEnabledState uid=1000
07-01 05:48:56.520 2359 2373 I WifiService: getWifiEnabledState uid=1000
07-01 05:48:56.522 2359 5020 I WifiService: getWifiApEnabledState uid=1000
07-01 05:48:56.522 2359 3934 I WifiService: getWifiEnabledState uid=1000
07-01 05:48:56.526 2359 3851 I WifiVendorHal: Vendor Hal stopped
07-01 05:48:56.526 2359 3851 D WificondControl: tearing down interfaces in wificond
07-01 05:48:56.530 278 278 I [email protected]: Wifi HAL started
07-01 05:48:56.566 278 278 E [email protected]: Failed to write wlan fw path param: Operation not permitted
07-01 05:48:56.566 278 278 E [email protected]: Failed to change firmware mode
07-01 05:48:56.566 2359 3851 E HalDeviceManager: executeChipReconfiguration: configureChip error: 9 ()
07-01 05:48:56.768 278 278 I [email protected]: Wifi HAL stopped
07-01 05:48:56.769 2359 3851 E WifiNative-wlan0: Failed to start HAL for client mode
07-01 05:48:56.770 2359 2359 E WifiController: WifiControllerWifi turn on failed
07-01 05:48:56.772 2359 3851 I WifiVendorHal: Vendor Hal stopped
07-01 05:48:56.772 2359 3851 D WificondControl: tearing down interfaces in wificond
07-01 05:48:56.774 278 278 I [email protected]: Wifi HAL started
07-01 05:48:56.786 2359 5013 I WifiService: getWifiEnabledState uid=1000
07-01 05:48:56.786 2359 2372 I WifiService: getWifiEnabledState uid=1000
07-01 05:48:56.787 2359 3951 I WifiService: getWifiApEnabledState uid=1000
07-01 05:48:56.787 2359 5014 I WifiService: getWifiEnabledState uid=1000
07-01 05:48:56.817 278 278 E [email protected]: Failed to write wlan fw path param: Operation not permitted
07-01 05:48:56.817 278 278 E [email protected]: Failed to change firmware mode
07-01 05:48:56.819 2359 3851 E HalDeviceManager: executeChipReconfiguration: configureChip error: 9 ()
07-01 05:48:57.020 278 278 I [email protected]: Wifi HAL stopped
07-01 05:48:57.021 2359 3851 E WifiNative-wlan0: Failed to start HAL for client mode
07-01 05:48:57.023 2359 2359 E WifiController: WifiControllerWifi turn on failed
07-01 05:48:57.025 2359 4924 I WifiService: getWifiEnabledState uid=1000
07-01 05:48:57.026 2359 3851 I WifiVendorHal: Vendor Hal stopped
07-01 05:48:57.026 2359 3851 D WificondControl: tearing down interfaces in wificond
07-01 05:48:57.027 2359 5336 I WifiService: getWifiEnabledState uid=1000
07-01 05:48:57.028 2359 4310 I WifiService: getWifiApEnabledState uid=1000
07-01 05:48:57.029 2359 4252 I WifiService: getWifiEnabledState uid=1000
07-01 05:48:57.559 6575 6575 I libmdmdetect: ESOC framework not supported
07-01 05:48:57.560 6575 6575 I libmdmdetect: Found internal modem: modem
07-01 05:48:57.595 6575 6575 I libmdmdetect: ESOC framework not supported
07-01 05:48:57.596 6575 6575 I libmdmdetect: Found internal modem: modem
07-01 05:48:57.596 6575 6575 E QC-NETMGR-LIB: QC-NETMGR
07-01 05:48:59.451 260 406 D audio_hw_primary: out_standby: enter: stream (0xf447d800) usecase(1: low-latency-playback)
07-01 05:48:59.542 260 406 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback
07-01 05:48:59.543 260 406 D hardware_info: hw_info_append_hw_type : device_name = speaker
07-01 05:48:59.543 260 406 D audio_hw_primary: disable_snd_device: snd_device(2: speaker)
07-01 05:48:59.712 3895 3895 D HeadsetPhoneState: sendDeviceStateChanged. mService=1 mIsSimStateLoaded=true mSignal=2 mRoam=0 mBatteryCharge=4
07-01 05:49:02.554 6582 6582 I libmdmdetect: ESOC framework not supported
07-01 05:49:02.555 6582 6582 I libmdmdetect: Found internal modem: modem
07-01 05:49:02.587 6582 6582 I libmdmdetect: ESOC framework not supported
07-01 05:49:02.588 6582 6582 I libmdmdetect: Found internal modem: modem
07-01 05:49:02.589 6582 6582 E QC-NETMGR-LIB: QC-NETMGR
Click to expand...
Click to collapse

Categories

Resources