[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] berglh:
[MENTION=1187148]infrag[/MENTION]

I flashed the latest firmware and ROM. I think I might need to go back to MIUI to start my data partition again, I'm wanting to have data encryption and happy to type my password in twrp. I'm not sure how to restore to a state where this is working. Anyways, tried out the aptX support, no more complaining about finding the aptX modules:

Edit: It sounds really good, haven't had aptx working for two years since I've been running Lineage, thanks for this.

10-29 23:41:04.887 3718 29427 I bt_a2dp_hw: adev_open_output_stream: opening output
10-29 23:41:04.887 3718 29427 I bt_a2dp_hw: a2dp_command: starting up or recovering from previous error: command=A2DP_CTRL_GET_OUTPUT_AUDIO_CONFIG
10-29 23:41:04.887 3718 29427 I bt_a2dp_hw: skt_connect: connect to /data/misc/bluedroid/.a2dp_ctrl (sz 256)
10-29 23:41:04.887 3718 29427 I bt_a2dp_hw: skt_connect: connected to stack fd = 22
10-29 23:41:04.887 3971 31557 W bt_btif : btif_a2dp_ctrl_cb: A2DP-CTRL-CHANNEL EVENT UIPC_OPEN_EVT
10-29 23:41:04.887 3971 31557 W bt_btif : btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_CMD_CHECK_READY
10-29 23:41:04.887 3971 31557 I btif_av : btif_av_stream_ready: Peer 00:1b:66:7f:af:29 : state=2, flags=0x0(None)
10-29 23:41:04.887 3971 31557 W bt_btif : btif_a2dp_command_ack: ## a2dp ack : A2DP_CTRL_CMD_CHECK_READY, status 0 ##
10-29 23:41:04.887 3971 31557 W bt_btif : btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_CMD_CHECK_READY DONE
10-29 23:41:04.888 3971 31557 W bt_btif : btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_GET_OUTPUT_AUDIO_CONFIG
10-29 23:41:04.888 3971 31557 W bt_btif : btif_a2dp_command_ack: ## a2dp ack : A2DP_CTRL_GET_OUTPUT_AUDIO_CONFIG, status 0 ##
10-29 23:41:04.888 3971 31557 W bt_btif : btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_GET_OUTPUT_AUDIO_CONFIG DONE
10-29 23:41:04.889 3718 29427 I bt_a2dp_hw: a2dp_read_output_audio_config: got output codec config (update_stream_config=true): sample_rate=0x2 bits_per_sample=0x1 channel_mode=0x2
10-29 23:41:04.889 3718 29427 I bt_a2dp_hw: a2dp_read_output_audio_config: got output codec capability: sample_rate=0x3 bits_per_sample=0x1 channel_mode=0x2
10-29 23:41:04.889 3971 31557 W bt_btif : btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_SET_OUTPUT_AUDIO_CONFIG
10-29 23:41:04.889 3971 31557 W bt_btif : btif_a2dp_command_ack: ## a2dp ack : A2DP_CTRL_SET_OUTPUT_AUDIO_CONFIG, status 0 ##
10-29 23:41:04.889 3718 29427 I bt_a2dp_hw: a2dp_write_output_audio_config: sent output codec config: sample_rate=0x2 bits_per_sample=0x1 channel_mode=0x2
10-29 23:41:04.889 3971 31557 I bt_btif_a2dp_source: btif_a2dp_source_feeding_update_req
10-29 23:41:04.889 3971 31557 W bt_btif : btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_SET_OUTPUT_AUDIO_CONFIG DONE
10-29 23:41:04.889 3971 31557 W bt_btif : btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_GET_OUTPUT_AUDIO_CONFIG
10-29 23:41:04.889 3971 31557 W bt_btif : btif_a2dp_command_ack: ## a2dp ack : A2DP_CTRL_GET_OUTPUT_AUDIO_CONFIG, status 0 ##
10-29 23:41:04.889 3971 4635 I bt_btif_a2dp_source: btif_a2dp_source_audio_feeding_update_event
10-29 23:41:04.889 3971 31557 W bt_btif : btif_a2dp_recv_ctrl_data: a2dp-ctrl-cmd : A2DP_CTRL_GET_OUTPUT_AUDIO_CONFIG DONE
10-29 23:41:04.889 3971 4635 D a2dp_vendor_aptx_encoder: a2dp_vendor_aptx_encoder_update: sample_rate=48000 bits_per_sample=16 channel_count=2
10-29 23:41:04.889 3971 4635 D a2dp_vendor_aptx_encoder: aptx_init_framing_params: sleep_time_ns = 14000000
10-29 23:41:04.889 3718 29427 I bt_a2dp_hw: a2dp_read_output_audio_config: got output codec config (update_stream_config=true): sample_rate=0x2 bits_per_sample=0x1 channel_mode=0x2
10-29 23:41:04.889 3718 29427 I bt_a2dp_hw: a2dp_read_output_audio_config: got output codec capability: sample_rate=0x3 bits_per_sample=0x1 channel_mode=0x2
10-29 23:41:04.889 3718 29427 I bt_a2dp_hw: adev_open_output_stream: Output stream config: format=0x1 sample_rate=48000 channel_mask=0x3 buffer_sz=7680