[Xperia Z1 Compact Android Development] munjeni:
I'm on stock rom now, need to debug fm audio, thing which I found:

stockrom logcat:

root@D5503:/ # logcat | grep audio_
logcat | grep audio_
D/audio_hw_primary( 488): select_devices: out_snd_device(32: headphones) in_snd_device(0: )
D/ACDB-LOADER( 488): ACDB -> send_audio_cal, acdb_id = 10, path = 0
D/sony_audio_effect( 488): sony_update_effect_param: Same out device. No need to update
D/sony_audio_effect( 488): sony_get_effect_param: update flag = 0x007f,
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect xLOUD
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect ClearPhase
D/sony_audio_effect( 488): sony_get_effect_param: count = 4
D/audio_hw_primary( 488): select_devices: out_snd_device(32: headphones) in_snd_device(0: )
D/ACDB-LOADER( 488): ACDB -> send_audio_cal, acdb_id = 10, path = 0
D/sony_audio_effect( 488): sony_update_effect_param: Same out device. No need to update
D/sony_audio_effect( 488): sony_get_effect_param: update flag = 0x007f,
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect xLOUD
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect ClearPhase
D/sony_audio_effect( 488): sony_get_effect_param: count = 4
D/audio_hw_primary( 488): select_devices: out_snd_device(32: headphones) in_snd_device(0: )
D/ACDB-LOADER( 488): ACDB -> send_audio_cal, acdb_id = 10, path = 0
D/sony_audio_effect( 488): sony_update_effect_param: Same out device. No need to update
D/sony_audio_effect( 488): sony_get_effect_param: update flag = 0x007f,
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect xLOUD
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect ClearPhase
D/sony_audio_effect( 488): sony_get_effect_param: count = 4
D/audio_hw_primary( 488): select_devices: out_snd_device(32: headphones) in_snd_device(0: )
D/ACDB-LOADER( 488): ACDB -> send_audio_cal, acdb_id = 10, path = 0
D/sony_audio_effect( 488): sony_update_effect_param: Same out device. No need to update
D/sony_audio_effect( 488): sony_get_effect_param: update flag = 0x007f,
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect xLOUD
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect ClearPhase
D/sony_audio_effect( 488): sony_get_effect_param: count = 4
D/audio_hw_primary( 488): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=4
D/audio_hw_primary( 488): out_set_parameters: enter: usecase(0: deep-buffer-playback) kvpairs: routing=4
D/audio_hw_extn( 488): audio_extn_set_anc_parameters: anc_enabled:0
[COLOR="Red"]D/audio_hw_primary( 488): out_set_parameters: enter: usecase(0: deep-buffer-playback) kvpairs: handle_fm=524292[/COLOR]
D/audio_hw_extn( 488): audio_extn_set_anc_parameters: anc_enabled:0
D/audio_hw_fm( 488): audio_extn_fm_set_parameters: FM usecase
D/audio_hw_fm( 488): fm_start: enter
D/audio_hw_primary( 488): select_devices: out_snd_device(32: headphones) in_snd_device(0: )
D/ACDB-LOADER( 488): ACDB -> send_audio_cal, acdb_id = 10, path = 0
D/audio_hw_fm( 488): fm_set_volume: (0.066835)
D/audio_hw_fm( 488): fm_set_volume: Setting FM volume to 548
D/audio_hw_fm( 488): fm_start: exit: status(0)
D/audio_hw_primary( 488): out_set_parameters: enter: usecase(0: deep-buffer-playback) kvpairs: routing=4
D/audio_hw_extn( 488): audio_extn_set_anc_parameters: anc_enabled:0
D/audio_hw_primary( 488): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=4
D/audio_hw_primary( 488): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=4
D/audio_hw_primary( 488): out_set_parameters: enter: usecase(0: deep-buffer-playback) kvpairs: routing=4
D/audio_hw_extn( 488): audio_extn_set_anc_parameters: anc_enabled:0
D/audio_hw_primary( 488): select_devices: out_snd_device(32: headphones) in_snd_device(0: )
D/sony_audio_effect( 488): sony_update_effect_param: Same out device. No need to update
D/sony_audio_effect( 488): sony_get_effect_param: update flag = 0x007f,
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect xLOUD
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect ClearPhase
D/sony_audio_effect( 488): sony_get_effect_param: count = 4
D/audio_hw_primary( 488): select_devices: out_snd_device(32: headphones) in_snd_device(0: )
D/sony_audio_effect( 488): sony_update_effect_param: Same out device. No need to update
D/sony_audio_effect( 488): sony_get_effect_param: update flag = 0x007f,
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect xLOUD
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect ClearPhase
D/sony_audio_effect( 488): sony_get_effect_param: count = 4
D/audio_hw_primary( 488): select_devices: out_snd_device(32: headphones) in_snd_device(0: )
D/sony_audio_effect( 488): sony_update_effect_param: Same out device. No need to update
D/sony_audio_effect( 488): sony_get_effect_param: update flag = 0x007f,
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect xLOUD
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect ClearPhase
D/sony_audio_effect( 488): sony_get_effect_param: count = 4
D/audio_hw_primary( 488): select_devices: out_snd_device(32: headphones) in_snd_device(0: )
D/sony_audio_effect( 488): sony_update_effect_param: Same out device. No need to update
D/sony_audio_effect( 488): sony_get_effect_param: update flag = 0x007f,
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect xLOUD
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect ClearPhase
D/sony_audio_effect( 488): sony_get_effect_param: count = 4
D/audio_hw_primary( 488): select_devices: out_snd_device(32: headphones) in_snd_device(0: )
D/sony_audio_effect( 488): sony_update_effect_param: Same out device. No need to update
D/sony_audio_effect( 488): sony_get_effect_param: update flag = 0x007f,
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect xLOUD
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect ClearPhase
D/sony_audio_effect( 488): sony_get_effect_param: count = 4
D/audio_hw_primary( 488): select_devices: out_snd_device(32: headphones) in_snd_device(0: )
D/sony_audio_effect( 488): sony_update_effect_param: Same out device. No need to update
D/sony_audio_effect( 488): sony_get_effect_param: update flag = 0x007f,
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect xLOUD
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect ClearPhase
D/sony_audio_effect( 488): sony_get_effect_param: count = 4
D/audio_hw_primary( 488): select_devices: out_snd_device(32: headphones) in_snd_device(0: )
D/sony_audio_effect( 488): sony_update_effect_param: Same out device. No need to update
D/sony_audio_effect( 488): sony_get_effect_param: update flag = 0x007f,
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect xLOUD
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect ClearPhase
D/sony_audio_effect( 488): sony_get_effect_param: count = 4
D/audio_hw_primary( 488): select_devices: out_snd_device(32: headphones) in_snd_device(0: )
D/sony_audio_effect( 488): sony_update_effect_param: Same out device. No need to update
D/sony_audio_effect( 488): sony_get_effect_param: update flag = 0x007f,
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect xLOUD
D/sony_audio_effect( 488): sony_get_effect_param: Unsupported deivce. Disable effect ClearPhase
D/sony_audio_effect( 488): sony_get_effect_param: count = 4
^C

Just comparing with previous log you can get diferencie (on lineage we have: 10-08 18:40:43.079 352 629 D audio_hw_primary: start_output_stream: enter: usecase(1: low-latency-playback) devices(0x4)). Searching further for deep-buffer-playback and kvpairs: handle_fm found this https://github.com/mikereidis/spirit2_free/blob/master/jni/s2d/aud_all.c , don't know how we can hack this, ideas?