This Magisk module should enable the aptX Bluetooth codec on OnePlus 3(T). It may very well work on other devices with Qualcomm processors. It should work on Nougat but there are reports it may work on Marshmallow, too.
This module is based on the work of @dh.harald and @dr_root. Please see this thread for more info: https://forum.xda-developers.com/one...codec-t3521228
I turned this into a Magisk module so you should benefit from an easy and systemless install.
I lack the proper hardware to test this. Please test and give feedback.
It's free. Hit the THANKS button if you like it.