[Magisk] TheHellSite:
I am running Viper10 11.0 and did some testing. Sadly I can't create a bluetooth hci log, it just won't create the file.

Logcat however displays "codec: aptx" but in the next line "unsupported codec".

Also logcat shows the same output, no matter if the magisk module is installed or not.

09-11 21:24:55.389 E/bt_btif (5116): aptx_encoder is not available
...
other stuff here
...
09-11 21:24:58.520 D/bt_avp (5116): avdt_msg_send label:0, msg:0, sig:1
09-11 21:24:58.520 I/bt_osi_alarm(5116): alarm_set_internal: set long dummy_alarm before 4000ms timer
09-11 21:24:58.520 I/bt_avp (5116): 21:24:58.520 AVDTP SENT CTRL msg - label: 0x00, SINGLE(0) pkt, CMD(0) msg, DISCOVER(1) signal id
09-11 21:24:58.535 D/bt_avp (5116): tcid: 0, type: 0
09-11 21:24:58.535 I/bt_avp (5116): 21:24:58.535 AVDTP RECV CTRL msg - label: 0x00, SINGLE(0) pkt, RSP(2) msg, DISCOVER(1) signal id
09-11 21:24:58.535 I/bt_avp (5116): 21:24:58.535 SEP[1]: id:0x6, used:0, media type:AUDIO[0], tsep:1
09-11 21:24:58.536 I/bt_avp (5116): 21:24:58.536 SEP[2]: id:0x5, used:0, media type:AUDIO[0], tsep:1
09-11 21:24:58.536 I/bt_avp (5116): 21:24:58.536 SEP[3]: id:0x3, used:0, media type:AUDIO[0], tsep:1
09-11 21:24:58.536 I/bt_avp (5116): 21:24:58.536 SEP[4]: id:0x1, used:0, media type:AUDIO[0], tsep:1
09-11 21:24:58.536 D/bt_avp (5116): msg_type=2, sig=0
09-11 21:24:58.536 D/bt_avp (5116): avdt_msg_send label:1, msg:0, sig:12
09-11 21:24:58.536 I/bt_avp (5116): 21:24:58.536 AVDTP SENT CTRL msg - label: 0x01, SINGLE(0) pkt, CMD(0) msg, GET_ALLCAP(12) signal id
09-11 21:24:58.536 I/bt_avp (5116): 21:24:58.536 ACP SEID:0x6
09-11 21:24:58.549 D/bt_avp (5116): tcid: 0, type: 0
09-11 21:24:58.549 I/bt_avp (5116): 21:24:58.549 AVDTP RECV CTRL msg - label: 0x01, SINGLE(0) pkt, RSP(2) msg, GET_ALLCAP(12) signal id
09-11 21:24:58.549 I/bt_avp (5116): 21:24:58.549 Service Category: total len:27
09-11 21:24:58.550 I/bt_avp (5116): 21:24:58.549 Service Category: MEDIA TRANS(1), LOSC: 0, len:27
09-11 21:24:58.550 I/bt_avp (5116): 21:24:58.550 Service Category: MEDIA CODEC(7), LOSC: 19, len:25
09-11 21:24:58.550 I/bt_avp (5116): 21:24:58.550 Media Type: AUDIO(0)
09-11 21:24:58.550 I/bt_avp (5116): 21:24:58.550 Codec Type: APTX(255)
09-11 21:24:58.550 D/ (5116): unsupported codec type
09-11 21:24:58.550 D/ (5116): 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
09-11 21:24:58.550 D/ (5116): 0000: 00 ff 0a 00 00 00 02 00 32 03 00 00 00 00 00 00 ........2.......
09-11 21:24:58.550 D/ (5116): 0010: 00 00 00 ...
09-11 21:24:58.550 I/bt_avp (5116): 21:24:58.550 Service Category: CONTENT PROTECT(4), LOSC: 2, len:4
09-11 21:24:58.550 D/ (5116): Content Protection Capabilities
09-11 21:24:58.550 D/ (5116): 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
09-11 21:24:58.550 D/ (5116): 0000: 02 00 ..
09-11 21:24:58.550 D/bt_avp (5116): msg_type=2, sig=0
09-11 21:24:58.550 D/bt_avp (5116): elem=1 elem_len: 0 psc_mask=0x2
09-11 21:24:58.550 D/bt_avp (5116): elem=7 elem_len: 19 psc_mask=0x82
09-11 21:24:58.550 D/bt_avp (5116): elem=4 elem_len: 2 psc_mask=0x12
09-11 21:24:58.550 D/bt_avp (5116): err=0x0, elem:0x4 psc_mask=0x2
09-11 21:24:58.551 D/bt_avp (5116): avdt_msg_send label:2, msg:0, sig:12
09-11 21:24:58.551 I/bt_avp (5116): 21:24:58.551 AVDTP SENT CTRL msg - label: 0x02, SINGLE(0) pkt, CMD(0) msg, GET_ALLCAP(12) signal id
09-11 21:24:58.551 I/bt_avp (5116): 21:24:58.551 ACP SEID:0x5
09-11 21:24:58.561 D/bt_avp (5116): tcid: 0, type: 0
09-11 21:24:58.562 I/bt_avp (5116): 21:24:58.561 AVDTP RECV CTRL msg - label: 0x02, SINGLE(0) pkt, RSP(2) msg, GET_ALLCAP(12) signal id
09-11 21:24:58.562 I/bt_avp (5116): 21:24:58.562 Service Category: total len:17
09-11 21:24:58.562 I/bt_avp (5116): 21:24:58.562 Service Category: MEDIA TRANS(1), LOSC: 0, len:17
09-11 21:24:58.562 I/bt_avp (5116): 21:24:58.562 Service Category: MEDIA CODEC(7), LOSC: 9, len:15
09-11 21:24:58.562 I/bt_avp (5116): 21:24:58.562 Media Type: AUDIO(0)
09-11 21:24:58.562 I/bt_avp (5116): 21:24:58.562 Codec Type: APTX(255)
09-11 21:24:58.562 D/ (5116): unsupported codec type
09-11 21:24:58.562 D/ (5116): 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
09-11 21:24:58.562 D/ (5116): 0000: 00 ff 4f 00 00 00 01 00 32 ..O.....2
09-11 21:24:58.562 I/bt_avp (5116): 21:24:58.562 Service Category: CONTENT PROTECT(4), LOSC: 2, len:4
09-11 21:24:58.562 D/ (5116): Content Protection Capabilities
09-11 21:24:58.562 D/ (5116): 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
09-11 21:24:58.562 D/ (5116): 0000: 02 00 ..
09-11 21:24:58.563 D/bt_avp (5116): msg_type=2, sig=0
09-11 21:24:58.563 D/bt_avp (5116): elem=1 elem_len: 0 psc_mask=0x2
09-11 21:24:58.563 D/bt_avp (5116): elem=7 elem_len: 9 psc_mask=0x82
09-11 21:24:58.563 D/bt_avp (5116): elem=4 elem_len: 2 psc_mask=0x12
09-11 21:24:58.563 D/bt_avp (5116): err=0x0, elem:0x4 psc_mask=0x2
09-11 21:24:58.563 D/bt_avp (5116): avdt_msg_send label:3, msg:0, sig:12
09-11 21:24:58.563 I/bt_avp (5116): 21:24:58.563 AVDTP SENT CTRL msg - label: 0x03, SINGLE(0) pkt, CMD(0) msg, GET_ALLCAP(12) signal id
09-11 21:24:58.563 I/bt_avp (5116): 21:24:58.563 ACP SEID:0x3
09-11 21:24:58.570 I/bt_l2cap(5116): 21:24:58.570 L2CAP RECV Command. Name: L2C Connection Request (0x02) ID: 0x09, Len: 4
09-11 21:24:58.570 I/bt_l2cap(5116): 21:24:58.570 Channel ID : 01
09-11 21:24:58.571 I/bt_l2cap(5116): 21:24:58.571 PSM : 0x17
09-11 21:24:58.571 I/bt_l2cap(5116): 21:24:58.571 Source CID : 0x1101
09-11 21:24:58.571 I/bt_l2cap(5116): 21:24:58.571 --
09-11 21:24:58.571 D/bt_l2cap(5116): cmd_code: 2, id:9, cmd_len:4
09-11 21:24:58.571 D/bt_l2cap(5116): l2cu_allocate_ccb: cid 0x0000
09-11 21:24:58.571 D/bt_l2cap(5116): l2cu_enqueue_ccb CID: 0x004d priority: 2
09-11 21:24:58.572 D/bt_l2cap(5116): l2c_link_adjust_chnl_allocation
09-11 21:24:58.572 I/bt_l2cap(5116): CID:0x0042 FCR Mode:0 Priority:2 TxDataRate:1 RxDataRate:1 Quota:200
09-11 21:24:58.572 I/bt_l2cap(5116): CID:0x0046 FCR Mode:0 Priority:0 TxDataRate:1 RxDataRate:1 Quota:200
09-11 21:24:58.572 I/bt_l2cap(5116): CID:0x004d FCR Mode:0 Priority:2 TxDataRate:1 RxDataRate:1 Quota:200
09-11 21:24:58.572 I/bt_l2cap(5116): L2CAP - st: CLOSED evt: 10
09-11 21:24:58.572 I/bt_l2cap(5116): 21:24:58.572 L2CAP RECV Command. Name: L2C Connection Request (0x02) ID: 0x0a, Len: 4
09-11 21:24:58.572 D/bt_l2cap(5116): l2c_link_sec_comp: 0, 0xde3b7578
09-11 21:24:58.572 I/bt_l2cap(5116): 21:24:58.572 Channel ID : 01
09-11 21:24:58.572 I/bt_l2cap(5116): L2CAP - st: TERM_W4_SEC_COMP evt: 7
09-11 21:24:58.572 I/bt_l2cap(5116): 21:24:58.572 PSM : 0x1
09-11 21:24:58.572 I/bt_l2cap(5116): L2CAP - Calling Connect_Ind_Cb(), CID: 0x004d
09-11 21:24:58.572 I/bt_l2cap(5116): 21:24:58.572 Source CID : 0x1143
09-11 21:24:58.573 I/bt_l2cap(5116): 21:24:58.573 --
09-11 21:24:58.573 I/bt_l2cap(5116): L2CA_ErtmConnectRsp() CID: 0x004d Result: 0 Status: 0 BDA: 0009a70a3932 p_ertm_info:0x00000000
09-11 21:24:58.573 I/bt_l2cap(5116): L2CAP - st: W4_L2CA_CON_RSP evt: 22
09-11 21:24:58.573 I/bt_l2cap(5116): L2CA_ConfigReq() CID 0x004d: fcr_present:0 (mode 0) mtu_present:1 (512)
09-11 21:24:58.573 I/bt_l2cap(5116): L2CAP - st: CONFIG evt: 24
09-11 21:24:58.573 D/bt_l2cap(5116): cmd_code: 2, id:10, cmd_len:4
09-11 21:24:58.573 D/bt_l2cap(5116): l2cu_allocate_ccb: cid 0x0000
09-11 21:24:58.574 I/bt_l2cap(5116): 21:24:58.573 L2CAP SENT Command. Name: L2C Connection Response (0x03) ID 0x09, len 8
09-11 21:24:58.574 D/bt_l2cap(5116): l2cu_enqueue_ccb CID: 0x0048 priority: 2
09-11 21:24:58.574 I/bt_l2cap(5116): 21:24:58.574 Channel ID : 01
09-11 21:24:58.574 I/bt_l2cap(5116): 21:24:58.574 Destination CID : 0x4d
09-11 21:24:58.574 D/bt_l2cap(5116): l2c_link_adjust_chnl_allocation
09-11 21:24:58.574 I/bt_l2cap(5116): 21:24:58.574 Source CID : 0x1101
09-11 21:24:58.574 I/bt_l2cap(5116): CID:0x0042 FCR Mode:0 Priority:2 TxDataRate:1 RxDataRate:1 Quota:200
09-11 21:24:58.574 I/bt_l2cap(5116): 21:24:58.574 Result : 0x0
09-11 21:24:58.574 I/bt_l2cap(5116): CID:0x0046 FCR Mode:0 Priority:0 TxDataRate:1 RxDataRate:1 Quota:200
09-11 21:24:58.574 I/bt_l2cap(5116): 21:24:58.574 Status : 0x0
09-11 21:24:58.574 I/bt_l2cap(5116): 21:24:58.574 --
09-11 21:24:58.574 I/bt_l2cap(5116): 21:24:58.574 L2CAP SENT Command. Name: L2C Configuration Request (0x04) ID 0x0e, len 8
09-11 21:24:58.575 I/bt_l2cap(5116): 21:24:58.574 Channel ID : 01
09-11 21:24:58.574 I/bt_l2cap(5116): CID:0x0048 FCR Mode:0 Priority:2 TxDataRate:1 RxDataRate:1 Quota:200
09-11 21:24:58.575 I/bt_l2cap(5116): 21:24:58.575 Destination CID : 4353 (0x1101)
09-11 21:24:58.575 I/bt_l2cap(5116): CID:0x004d FCR Mode:0 Priority:2 TxDataRate:1 RxDataRate:1 Quota:200
09-11 21:24:58.575 I/bt_l2cap(5116): L2CAP - st: CLOSED evt: 10
09-11 21:24:58.575 I/bt_l2cap(5116): 21:24:58.575 Flags (last request) : 0x0000
09-11 21:24:58.575 D/bt_l2cap(5116): l2c_link_sec_comp: 17, 0xde3b6fc4
09-11 21:24:58.575 I/bt_l2cap(5116): 21:24:58.575 Option MTU : 512 (0x0200)
09-11 21:24:58.575 I/bt_l2cap(5116): L2CAP - st: TERM_W4_SEC_COMP evt: 7
09-11 21:24:58.575 I/bt_l2cap(5116): 21:24:58.575 --
09-11 21:24:58.575 I/bt_l2cap(5116): L2CAP - Calling Connect_Ind_Cb(), CID: 0x0048
09-11 21:24:58.575 I/bt_l2cap(5116): L2CA_ErtmConnectRsp() CID: 0x0048 Result: 0 Status: 0 BDA: 0009a70a3932 p_ertm_info:0x00000000
09-11 21:24:58.575 I/bt_l2cap(5116): L2CAP - st: W4_L2CA_CON_RSP evt: 22
09-11 21:24:58.575 I/bt_l2cap(5116): L2CA_ConfigReq() CID 0x0048: fcr_present:0 (mode 0) mtu_present:1 (672)
09-11 21:24:58.576 I/bt_l2cap(5116): 21:24:58.575 L2CAP SENT Command. Name: L2C Connection Response (0x03) ID 0x0a, len 8
09-11 21:24:58.576 I/bt_l2cap(5116): L2CAP - st: CONFIG evt: 24
09-11 21:24:58.576 I/bt_l2cap(5116): 21:24:58.576 Channel ID : 01
09-11 21:24:58.576 I/bt_sdp (5116): SDP - Rcvd L2CAP conn ind, sent config req, CID 0x48
09-11 21:24:58.576 I/bt_l2cap(5116): 21:24:58.576 Destination CID : 0x48
09-11 21:24:58.576 I/bt_l2cap(5116): 21:24:58.576 Source CID : 0x1143
09-11 21:24:58.576 D/bt_avp (5116): tcid: 0, type: 0
09-11 21:24:58.576 I/bt_l2cap(5116): 21:24:58.576 Result : 0x0
09-11 21:24:58.576 I/bt_l2cap(5116): 21:24:58.576 Status : 0x0
09-11 21:24:58.576 I/bt_l2cap(5116): 21:24:58.576 --
09-11 21:24:58.576 I/bt_avp (5116): 21:24:58.576 AVDTP RECV CTRL msg - label: 0x03, SINGLE(0) pkt, RSP(2) msg, GET_ALLCAP(12) signal id
09-11 21:24:58.576 I/bt_avp (5116): 21:24:58.576 Service Category: total len:16
09-11 21:24:58.576 I/bt_l2cap(5116): 21:24:58.576 L2CAP SENT Command. Name: L2C Configuration Request (0x04) ID 0x0f, len 8
09-11 21:24:58.576 I/bt_avp (5116): 21:24:58.576 Service Category: MEDIA TRANS(1), LOSC: 0, len:16
09-11 21:24:58.576 I/bt_l2cap(5116): 21:24:58.576 Channel ID : 01
09-11 21:24:58.576 I/bt_avp (5116): 21:24:58.576 Service Category: MEDIA CODEC(7), LOSC: 8, len:14
09-11 21:24:58.577 I/bt_l2cap(5116): 21:24:58.576 Destination CID : 4419 (0x1143)
09-11 21:24:58.577 I/bt_avp (5116): 21:24:58.577 Media Type: AUDIO(0)
09-11 21:24:58.577 I/bt_l2cap(5116): 21:24:58.577 Flags (last request) : 0x0000
09-11 21:24:58.577 I/bt_avp (5116): 21:24:58.577 Codec Type: MPEG-2, 4 AAC(2)
09-11 21:24:58.577 D/ (5116): MPEG-2, 4 AAC codec type
09-11 21:24:58.577 I/bt_l2cap(5116): 21:24:58.577 Option MTU : 672 (0x02a0)
09-11 21:24:58.577 D/ (5116): 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
09-11 21:24:58.577 D/ (5116): 0000: 00 02 c0 ff 8c 84 e2 00 ........
09-11 21:24:58.577 I/bt_l2cap(5116): 21:24:58.577 --
09-11 21:24:58.577 I/bt_avp (5116): 21:24:58.577 Service Category: CONTENT PROTECT(4), LOSC: 2, len:4
09-11 21:24:58.577 D/ (5116): Content Protection Capabilities
09-11 21:24:58.577 D/ (5116): 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
09-11 21:24:58.577 D/ (5116): 0000: 02 00 ..
09-11 21:24:58.577 D/bt_avp (5116): msg_type=2, sig=0
09-11 21:24:58.577 D/bt_avp (5116): elem=1 elem_len: 0 psc_mask=0x2
09-11 21:24:58.577 D/bt_avp (5116): elem=7 elem_len: 8 psc_mask=0x82
09-11 21:24:58.577 D/bt_avp (5116): elem=4 elem_len: 2 psc_mask=0x12
09-11 21:24:58.577 D/bt_avp (5116): err=0x0, elem:0x4 psc_mask=0x2
09-11 21:24:58.578 D/bt_avp (5116): avdt_msg_send label:4, msg:0, sig:12
09-11 21:24:58.578 I/bt_avp (5116): 21:24:58.578 AVDTP SENT CTRL msg - label: 0x04, SINGLE(0) pkt, CMD(0) msg, GET_ALLCAP(12) signal id
09-11 21:24:58.578 I/bt_avp (5116): 21:24:58.578 ACP SEID:0x1

Looking at the log it seems aptx isn't used.

My headphones of course support aptx.