Sony WH-1000XM3 headset defaults to SBC codec despite forcing aptX codec

Solution 1:

Download Sony Headset app for your mobile (iOS or Android). They have settings to remotely configure the headphones.

Turn on the setting to prefer the sound quality: Priority on Sound Quality.

Now you get aptX:

enter image description here

enter image description here