FORUMS
Remove All Ads from XDA

[MOD][PORT][N]aptX codec

580 posts
Thanks Meter: 1,574
 
Post Reply Email Thread
Unfortunately, OP3 has no aptX license...
Unfortunately, CM roms have no aptX support...
Until now.


The whole aptX codec support is already present in Qualcomm Bluetooth stack, in Nougat... We need only some proprietary drivers to activate it.
... and I've found that libraries in a Moto Z factory images.

UPDATE
After a review process, this modification has (partially) merged to LineageOS
Please contact your device maintainer to get this modification merged...
Example:
- https://github.com/LineageOS/android...63dc0712dc1e06
- https://github.com/TheMuppets/propri...64de30a663541d


UPDATE
aptX for LineageOS has officially supported from lineage-14.1-20170427 nightly
- binaries from Open Beta 14: https://review.lineageos.org/#/c/169488

Merged (Don't need update.zip from next weekly)
- Xiaomi MI5
- Samsung Galaxy S5 variants
- Oneplus 3
- LG SD820 variants
- HTC 10 (pme)

Requirements
CM14.x ROM (OOS4.0 is working as well)
aptX capable headset/speaker
install zip from recovery

Link
aptX: Use attached zip by @dr_root - aptX for most of devices / LineageOS
aptX/magisk: https://forum.xda-developers.com/app...audio-t3541904
aptXHD: https://forum.xda-developers.com/sho...&postcount=149 aptXHD for most of devices / LineageOS
aptXHD-system: https://forum.xda-developers.com/att...0&d=1489745531 libraries to /system/lib for Nexus phones / LineageOS

Full ROM
lineage-14.1-20170308-UNOFFICIAL-oneplus3.zip
- LineageOS, non-root user build
- aptX & aptXHD applied (https://review.lineageos.org/#/c/161921/)
- sultanxda's SafeNet patch (https://github.com/sultanxda/android...c5657a94bfcfc5)

Confirmed devices
Oneplus3T + OOS4.0 (SD821)
Pixel XL + LineageOS14.1 (SD821)
Oneplus3 + OOS4.0/LineageOS14.1/RRemix 7.1.1 (SD820)
Xiaomi mi5 + LineageOS14.1 (SD820)
Oneplus 2 + LineageOS14.1 (SD810)
Nexus 6P + LineageOS14.1 (SD810)
Nexus 6 + LineageOS14.1/crDroid (SD805)
Oneplus X + LineageOS14.1 (SD801)
Oneplus One + LineageOS14.1 (SD801)
Samsung Galaxy Note Pro 12.2 + LineageOS14.1 (SD800)
LG Nexus 5 (hammerheadcaf) + LineageOS14.1 (SD800)
Xiaomi Redmi Note3 + LineageOS14.1 (SD650)
Xiaomi MI4i + LineageOS14.1 (SD615)
Xiaomi Redmi 2 + LineageOS14.1 (SD410)
Samsung Galaxy SIII + LineageOS14.1 (Exynos 4412)
Nvidia Shield Tablet + LineageOS14.1 (Nvidia Tegra K1)

It looks, It's working on a lot of Qualcomm devices: Snapdragon 821/820/810/805/801/800/650/615/410
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20170213-132628.png
Views:	14310
Size:	135.5 KB
ID:	4039849  
Attached Files
File Type: zip aptX.zip - [Click for QR Code] (144.8 KB, 11810 views)
File Type: zip aptXHD.zip - [Click for QR Code] (155.8 KB, 2020 views)
File Type: zip aptXHD-system.zip - [Click for QR Code] (159.0 KB, 3150 views)
The Following 104 Users Say Thank You to dh.harald For This Useful Post: [ View ] Gift dh.harald Ad-Free
 
 
18th December 2016, 06:49 AM |#2  
Koogly's Avatar
Senior Member
Flag Kerala
Thanks Meter: 916
 
Donate to Me
More
This should be interesting... but how about do i test if Aptx is enabled or not.. i do have a Sony MDR-EX31BN Which Supposedly has aptx and seemed to be working fine with my Sony Z3...
Any thoughts?
18th December 2016, 09:37 AM |#3  
OP Senior Member
Flag London
Thanks Meter: 1,574
 
Donate to Me
More
Quote:
Originally Posted by Koogly

This should be interesting... but how about do i test if Aptx is enabled or not.. i do have a Sony MDR-EX31BN Which Supposedly has aptx and seemed to be working fine with my Sony Z3...
Any thoughts?

Check it in logcat...
Here's the related log in CM:
Selected Codec aptX
If I remember well, it logs SBC in same way...
The Following 3 Users Say Thank You to dh.harald For This Useful Post: [ View ] Gift dh.harald Ad-Free
18th December 2016, 09:53 AM |#4  
Senior Member
Thanks Meter: 8
 
More
This is incredible if it works properly!
Has anyone tried in open beta 9?
18th December 2016, 10:30 AM |#5  
theduke7's Avatar
Senior Member
Flag Cairo
Thanks Meter: 515
 
More
seems to Works on OB9 further testing required, great find
18th December 2016, 12:17 PM |#6  
siankatabg's Avatar
Senior Member
Thanks Meter: 5,788
 
Donate to Me
More
Wow, this site with that amount of adds is almost unusable... Took me 5 minutes and maybe few MB spend on loading adds to download 140 KB zip file.
Anyway, good work. I'm waiting for my Bluetooth earphones and I'll test this when I get them in my hands Thanks.
18th December 2016, 12:27 PM |#7  
Miksel12's Avatar
Senior Member
Flag Netherlands
Thanks Meter: 57
 
More
Wow! Awesome work mate.
The Following User Says Thank You to Miksel12 For This Useful Post: [ View ] Gift Miksel12 Ad-Free
18th December 2016, 04:08 PM |#8  
theduke7's Avatar
Senior Member
Flag Cairo
Thanks Meter: 515
 
More
a mirror for those who have an issue with the current download link.

https://drive.google.com/file/d/0B9U...ew?usp=sharing
The Following 4 Users Say Thank You to theduke7 For This Useful Post: [ View ] Gift theduke7 Ad-Free
19th December 2016, 12:42 AM |#9  
Senior Member
Thanks Meter: 292
 
More
Does this port work with stock Roms, or is it even needed? I'm new to OnePlus devices, so bare with me, if this is a ridiculous question.
19th December 2016, 10:21 AM |#10  
siankatabg's Avatar
Senior Member
Thanks Meter: 5,788
 
Donate to Me
More
Quote:
Originally Posted by Amd4life

Does this port work with stock Roms, or is it even needed? I'm new to OnePlus devices, so bare with me, if this is a ridiculous question.

The libraries inside the zip are from android 7.0.0 and probably they will work on any 7+ rom including stock (ob8 and 9). If you have a Bluetooth device that supports aptX(like head/ear-phones) you might want to try it, if you don't have, then you don't need it
I should receive my earphones today, so I'll test this on OB9(already installed and it seems that aptX is correctly loaded based on the logcat). Will report later how it's going.
The Following 3 Users Say Thank You to siankatabg For This Useful Post: [ View ] Gift siankatabg Ad-Free
19th December 2016, 02:05 PM |#11  
Member
Thanks Meter: 8
 
More
Using Meizu EP51 and open beta 9. It seems working . Very interesting.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes