[Google Pixel XL Themes, Apps, and Mods] CZ Eddie:
EDIT JUNE 2018:

This thread is no longer needed. If you're on the latest versions of AOSP/LOS then all you need is Magisk to install APTx and have it working.

Original thread continues below.

================================

This post will help you add aptX Bluetooth capability to your Pixel XL.

NOTE: This mod is only for ROM's using the Qualcomm Bluetooth stack, such as 14.1+ Cyanogen/Lineage OS.

Does not work in ROM's using the AOSP Bluetooth stack, such as Stock Pixel, Dirty Unicorns/Pure Nexus.

Apt-X and Apt-X HD are officially supported in Lineage OS based ROM's

https://www.xda-developers.com/late...port-for-aptx-and-aptxhd-caf-rebase-and-more/

For the moment, this thread only deals with non-HD aptX.

aptX HD is still rarely supported by headphones & other devices.

I'll research and add appropriate files for HD soon.

-------------------------------

-------------------------------

KNOWN COMPATIBLE ROMs:

CRDroid

Hexa-Project

Lineage OS

OctOS

Resurrection Remix

Tesla

Tipsy

-------------------------------

-------------------------------

DIRECTIONS TO INSTALL MOD:

Just go to this post and flash the zip in TWRP.

Please make sure to give [MENTION=5689426]Namelesswonder[/MENTION] many thanks for creating the zip for us!!!

https://xdaforums.com/showpost.php?p=72267710&postcount=104

-------------------------------

-------------------------------

VERIFY MOD IS WORKING

To verify the mod is working, you should only need your ears and a HIGH QUALITY audio file.

Otherwise, you can use search your logcat for the string "aptx" to verify it's being enabled.

Such as in the output you see below.

01-14 18:57:40.539 1457 1625 I bt_btif_media: btif_a2dp_encoder_init Selected Codec [b]aptX[/b]
01-14 18:57:40.646 1457 4089 W bt_osi_thread: run_thread: thread id 4089, thread name [b]aptx[/b]_media_worke started

-------------------------------

-------------------------------

Have you heard of aptX Bluetooth?

It lets your Bluetooth connection deliver cleaner, fuller sounding audio to aptX supported devices (headphones, car stereo, etc).

Your Pandora may not sound any better, but your FLAC and other high end MP3 type files should sound cleaner, slightly more sparkly highs and better defined lows.

Think of it as the difference between listening to FM radio vs. a CD.

While it's not that drastic a difference, a capable ear should be able to enjoy what aptX delivers.

Same goes for HD voice calls if you have access to that. There may be more clarity noticed on these types of calls when using an aptX supported audio chain.

The aptX mod should not interfere with Viper or any other Android audio mod.

It's simply a codec, such as A2DP using SBC. But instead of SBC, you'll be using aptX.

Please give a big thanks to [MENTION=2591365]dh.harald[/MENTION] for coming up with this particular solution.

https://xdaforums.com/oneplus-3/themes/mod-aptx-codec-t3521228

Here is my original aptX thread from 2013 containing dated discussions leading to our current status.

https://xdaforums.com/showthread.php?t=2531440

What are head-fi members views on apt-x lossless codec (over bluetooth)?

How good is bluetooth audio at its best?

-------------------------------

-------------------------------