[MAGISK][MODULE] OnePlus 3 aptX High Res Audio

dreinulldrei

Senior Member
Nov 4, 2015
656
314
83
THIS IS STILL BETA.

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/oneplus-3/themes/mod-aptx-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.
 

Attachments

bmg1001

Senior Member
Mar 18, 2012
1,585
921
143
Los Angeles
Anyone test this with a Nexus 6P? I'm tempted to try it myself...

EDIT: Looks like it works with every Snapdragon 8XX and 6XX device but requires you to be on a CAF/CM/Lineage based ROM.
 
Last edited:

zerohalo

New member
Aug 20, 2009
2
0
0
Cambridge
Can confirm that this works on OnePlus 3T w/ OOS 4.0.2 - Can see it select aptx codec in logcat. Thanks!

Edit: No longer working on 4.1.0.
 
Last edited:

LazerL0rd

Senior Member
Nov 2, 2016
1,301
1,007
123
Aberdeen, United Kingdom
www.thezest.dev
This works on Magisk 10.2 regardless of phone. If you go to it's actual thread, you'll see people have reported this working on other phones apart from OnePlus 3.
It only works for phones that OFFICIALLY HAVE SUPPORT and or ARE USING QUALCOMM BLUETOOTH STACK. Sorry for the caps, but after being on that aptX thread and trying to get it on bullhead for three weeks, I don't want people to waste their time doing the same.
 
  • Like
Reactions: andrewia

oakley470

Senior Member
Dec 27, 2011
209
48
0
This works well, but breaks cts with magisk because it cannot unmount this module when running magiskhide. Logs show everything working except for this module so it causes a cts mismatch
 

driverdis

Senior Member
Aug 11, 2010
72
15
0
This works well, but breaks cts with magisk because it cannot unmount this module when running magiskhide. Logs show everything working except for this module so it causes a cts mismatch
Interesting, on my OnePlus One I flashed the standard zip rather than the magisk module and I still pass CTS. I guess for people that can modify /system they should use the regular zip over the magisk module to pass SsfetyNet.

I am on Resurrection Remix (7.1.1) using Boeffla Kernel.
 

ebrijesh

Senior Member
Feb 1, 2017
78
4
0
Interesting, on my OnePlus One I flashed the standard zip rather than the magisk module and I still pass CTS. I guess for people that can modify /system they should use the regular zip over the magisk module to pass SsfetyNet.

I am on Resurrection Remix (7.1.1) using Boeffla Kernel.
Which standard zip you are talking about?
Can I have link?

Sent from my A0001 using Tapatalk
 

driverdis

Senior Member
Aug 11, 2010
72
15
0
Which standard zip you are talking about?
Can I have link?

Sent from my A0001 using Tapatalk
Kinda late, but here is the thread link. use the attached "aptXHD.zip" (NOT aptXHD-system.zip, that is for nexus phones)
https://forum.xda-developers.com/oneplus-3/themes/mod-aptx-codec-t3521228

Oneplus One users should use the attached "aptx.zip"
Oneplus Two users should use the attached "aptXHD.zip"
Oneplus 3/3T users should use the attached "aptXHD.zip"

This will allow for CTS pass unlike the Magisk module (which fails CTS due to not being unloaded correctly)
 

androidfux

Member
Sep 12, 2012
10
0
0
Tried on OnePlus 3T with Oxygen OS 4.1.6 and Magisk 12 - seems not to be working, though.

Code:
06-16 21:55:13.067  6359  6453 E bt_btif : bta_av_select_codec hdl = 65
06-16 21:55:13.067  6359  6453 I bt_btif_media: btif_a2dp_encoder_init Selected Codec SBC
Any ideas? Or has somebody it working with 4.1.6?