yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL Themes, Apps, and Mods] Humpie:
Ahww simply adding these into my 6p 7.1.2 beta 2 system crashes my Bluetooth XD
[Google Pixel XL Themes, Apps, and Mods] CZ Eddie:
libaptX_encoder.so

libaptXHD_encoder.so

Looks good to me, thanks for posting them up.

Saved me the trouble of extracting the system image. :good:
[Google Pixel XL Themes, Apps, and Mods] CZ Eddie:
I suspect you still need a Lineage OS ROM to use these.

For the moment.

Hopefully someone will tell me I'm wrong if I am.
[Google Pixel XL Themes, Apps, and Mods] LazerL0rd:
I think it runs with Google device perms in a way, kinda like how Play Store installs apps. And no, these specific folks aren't LOS they're specific to device DAC on Android O. Android O doesn't use the QC Bluetooth stack.
[Google Pixel XL Themes, Apps, and Mods] CZ Eddie:
I'll be trying the "O" .so files tonight or tomorrow on a LOS based ROM to see what happens.

Not expecting much based on your post above, Lazerlord.
[Google Pixel XL Themes, Apps, and Mods] LazerL0rd:
I'm going to try it on the Nexus 5X. Could you post any LDAC and AAC libs you find too please?
[Google Pixel XL Themes, Apps, and Mods] CZ Eddie:
The "O" files did work on 7.1.1 Resurrection Remix which is based on Lineage OS. :) :good:

I had a weird buzzing/background noise though.

However, this was possibly due to me breaking out a very old aptX device I hadn't used in a long time. Which has wires spliced for hard-wired power in my car.

So right now I suspect the aptX receiver hardware I used was at fault for the background noise.

I'll try to test again later tonight with a known-working aptX device that I usually use.
[Google Pixel XL Themes, Apps, and Mods] LazerL0rd:
Sadly, they didn't work on my Nexus 5X. Apparently, they didn't give the Nexi aptX.

That's weird.. it can only mean.... the Pixel was put onto the QC Bluetooth stack. But then the Nexi should also be since it runs the exact same config...

Idk what Google have done here. But it's not great.
[Google Pixel XL Themes, Apps, and Mods] CZ Eddie:
You know what, I may have gotten ahead of myself.

It did connect but was a rush thing and I didn't verify with logs.

So.... yeah, I'll try a real test again hopefully tonight.

Sorry to hear it didn't work on the fiveX though.
[Google Pixel XL Themes, Apps, and Mods] LazerL0rd:
Oh. Don't forget to delete the old libs. See I think it didn't actually work for you.. the QC lib doesn't look for those files.

It's like when people port audio libs. It doesn't matter what you do, until your flinger has support for it. Same thing here, nothing you copy will make a difference until your stack had support for it.
[Google Pixel XL Themes, Apps, and Mods] LazerL0rd:
Did it work with the logs, then? On the other thread I'm trying with [MENTION=2591365]dh.harald[/MENTION] 's help to get it to work on the 5X.
[Google Pixel XL Themes, Apps, and Mods] dh.harald:
It's not QC stack, it's Google's own implementation, that's the whole point, that's why it's an ultimate solution... :) That's why every Android O device will be aptX supported :D

--

There's a developer option in Android O, where you can check the current BT codec (and change priority)
[Google Pixel XL Themes, Apps, and Mods] LazerL0rd:
Yepp. I know the Pixel is Google's default stack (AOSP or Stock or whatever), I was saying that those files shouldn't work on LOS cause LOS uses QC stack. I was very confused how he said it worked on LOS. Cause it shouldn't.

And the main problem here, is ONLY THE PIXELs actually can use aptX. The toggle is useless in the Nexus phones as it stays at SBC (for others it goes to AAC). That's why I'm trying to get the files for it.
[Google Pixel XL Themes, Apps, and Mods] dh.harald:
The libraries are same (as it's Qualcomm proprietary and closed source), but on QC BT stack, you need an extra scheduler library (libaptXscheduler.so)...
[Google Pixel XL Themes, Apps, and Mods] LazerL0rd:
Oh okay, thanks for clearing that up :good:

I thought they're different. Still.. how did he get it to work without the scheduler library?
[Google Pixel XL Themes, Apps, and Mods] dh.harald:
1. AOSP stack: you don't need scheduler library, you need only the encoders.. (Android O)

2. QC stack you need scheduler AND encoders... (Android N)

Currently there's no other way (except manufacturer's own implementation, but they're closed source)
[Google Pixel XL Themes, Apps, and Mods] hackthis02:
When testing the O dev build, where you able to hot switch codecs and hear the change in audio quality?
[Google Pixel XL Themes, Apps, and Mods] LazerL0rd:
You also need kernel support in Android O i believe.
[Google Pixel XL Themes, Apps, and Mods] dh.harald:
AptX is a sw codec, there's no need kernel support.
[Google Pixel XL Themes, Apps, and Mods] CZ Eddie:
nm

nm

nm
[Google Pixel XL Themes, Apps, and Mods] LazerL0rd:
Are you sure that's true even in Android O? I thought the kernel decides whether to use that codec or another one.
[Google Pixel XL Themes, Apps, and Mods] CZ Eddie:
I can only say that I've never had aptX work with one kernel but not another.
[Google Pixel XL Themes, Apps, and Mods] LazerL0rd:
Well, that's what I've heard. You're probably right anyway sir, you've been doing this since 2013 ?!
[Google Pixel XL Themes, Apps, and Mods] ekoandrew:
permission keeps reverting back to normal. what am I doing wrong?

followed the same exact step from screenshot.
[Google Pixel XL Themes, Apps, and Mods] Namelesswonder:
Alright everyone so I've made a flashable ZIP that will install the files and set the permissions for you. Should work on any device unless it has some very weird scheme for partitions. You can flash this on Pixel devices, however I recommend flashing the ZIP in the post below as it leverages the A/B slot system. After testing this ZIP shouldn't cause bootloops or hangs, so you should hopefully be able to flash it at the same time as the ROM. If your ROM flashes a vendor image or requires you to flash one, then make sure to flash this after. Feel free to put it in the OP, [MENTION=4274380]CZ Eddie[/MENTION]

File is attached below.
[Google Pixel XL Themes, Apps, and Mods] Namelesswonder:
Back again with an update. This updated flashable ZIP is for Pixel devices only. It leverages the A/B slot system and installs the encoder to both vendor_a and vendor_b, allowing you to continue using it when you do an A/B update and the active slots switch. As long as your ROM doesn't flash a vendor image, you'll be good. If the ROM requires you to flash a vendor image then make sure you flash this after. Don't flash this on any other devices other than Pixels though, use the ZIP from the above post for non-Pixel devices. Feel free to also add this one to the OP [MENTION=4274380]CZ Eddie[/MENTION]

File is attached below.

EDIT: New experimental version with Apt-X HD support here.
[Google Pixel XL Themes, Apps, and Mods] CZ Eddie:
AWESOME, NamelessWonder!!!!

A link to your post was put in the OP.
[Google Pixel XL Themes, Apps, and Mods] Queentus:
wondering if this will work on my Oneplus One (running Lineage OS 14.1, of course) ?
[Google Pixel XL Themes, Apps, and Mods] CZ Eddie:
Check dh.heralds thread that I linked to in the OP.
[Google Pixel XL Themes, Apps, and Mods] Namelesswonder:
Alright, so I have another update to bring to you guys. This new version I will be labeling as experimental because it is using the encoder files lifted from the Android O DP2 that was just released. It should work just fine, as the encoder files that Google use are pretty similar to the encoder files that we are using right now. Still, I can't 100% guarantee it doesn't have problems, but I've been using it for the past couple hours and the audio quality isn't different and I haven't had any audio bugs yet.

The new version also brings in the Apt-X HD encoder along for the ride. To enable the Apt-X HD encoder I append "persist.bt.enableAptXHD=true" to /vendor/build.prop. This may or may not cause your phone to fail the CTS, as it totally depends on what your ROM has done to remedy that. I'm currently on the unofficial LineageOS build and am passing SafetyNet with this mod.

Just like with V2, I modify both vendor_a and vendor_b, meaning that you'll continue to have Apt-X and Apt-X HD support after you hop around ROMs, as long as the vendor partitions aren't overwritten. Apt-X HD support will also not go away after doing ROM updates because I modify /vendor/build.prop instead of /system/build.prop.

I haven't tested Apt-X HD yet because I do not have the hardware required for it, so I need someone with an Apt-X HD device to test it for me.

This version is for Pixel devices only.

File is attached below.
[Google Pixel XL Themes, Apps, and Mods] apostate2012:
Hi, this does not work for me on my Snapdragon 625 Redmi Note 4 running Resurrection Remix. I have attached the logfile saying the scheduler library is missing.
[Google Pixel XL Themes, Apps, and Mods] LazerL0rd:
It shouldn't work mate. The O encoders need to be set from the be settings app, with AFAIK we can't use on anything lower.
[Google Pixel XL Themes, Apps, and Mods] Namelesswonder:
Wrong.

james@PRECISION-M4300:~$ adb logcat -v color | grep "aptX"
06-20 12:43:45.009 32638 32660 I bt_btif_media: btif_a2dp_encoder_init Selected Codec aptX

AptX working just fine with the encoders from 8.0 on LOS.

The encoders on 8.0 are almost the same as the encoders that we've been using all along now. The encoders don't even need to be set on 8.0, as it will automatically select the highest codec that both the phone and the bluetooth device support. The settings in 8.0 just allow you to set which encoder will be tried first. This doesn't matter to us at all because we directly use the encoder with AptX Scheduler.

I'm going to guess that the ROM doesn't have support for AptX (unlikely) or that your device doesn't have a vendor partition (likely) which is what the ZIP tries to install the files to. Can you pull the /tmp/recovery.log file after flashing the ZIP in TWRP? Just copy it to /sdcard/ while in TWRP or use ADB and pull it while in TWRP. I'll have a ZIP up that installs to the system partition instead soon.
[Google Pixel XL Themes, Apps, and Mods] apostate2012:
Yeah, that's what it looks like.
[Google Pixel XL Themes, Apps, and Mods] LazerL0rd:
Interesting :P I've previously tested on the Nexus 5X and it didn't work. Thanks for this zip btw and there's a magisk module in the other aptX thread if you want to make one based on that.
[Google Pixel XL Themes, Apps, and Mods] YourTheBest:
Hi man, can I use thick on stock rom? I readed your OP.

But is it possible? With xposed/magisk/root etc? Thanks buddy
[Google Pixel XL Themes, Apps, and Mods] CZ Eddie:
Magisk has an aptX module now, yep.
[P8lite Q&A, Help & Troubleshooting] RizwanH20:
Hey guys..... Can anybody port EMUI 5 apps and mainly it's launcher to our device???
[Galaxy Note 3 Q&A, Help & Troubleshooting] piokon:
I was running a standard OS, no root/custom/anything (mostly because I couldn't find a compatible hack). Anyway, I had my phone running happily for ~2+ years, no trouble at all, but few days ago I left it charging for 2-3 days (it powered down due to lower power before that). I've done it before several times, but when I tried turning it on, it was stuck on Samsung logo (white on black). I restarted, it was stuck a bit further on the colored startup animation. Third time, stuck on the logo again. I turned it off, but it was a bit warm after 10 or so minutes. I tried charging it - it showed the usual green battery charging from 80% or so. I took the battery out, pressed the power button for a minute for some hard reset, but the battery back in, and from that point on it seems I have a brick. No reaction to power button, no reaction to charging. Power+Home+VolUp produce no reaction, either.

Is there anything I can try, or should I just give up?
[Galaxy Note 3 Q&A, Help & Troubleshooting] JJEgan:
Factory reset ??

Flash stock rom via Odin ??
[Galaxy Note 3 Q&A, Help & Troubleshooting] ShaDisNX255:
The only answer I can think of is that your battery is dead. I would try to use another battery before getting to the conclusion that your phone is completely bricked. Or just let the battery out of your phone for a couple of days and try again later.
[Galaxy Note 3 Q&A, Help & Troubleshooting] piokon:
Can't do either since the phone is not turning on.
[Galaxy Note 3 Q&A, Help & Troubleshooting] piokon:
Tried a new battery, the phone still won't turn on. No lights, no charging screen, no activity.
[Galaxy Note 3 Q&A, Help & Troubleshooting] ShaDisNX255:
Must have fried something. The only thing I would check now is to connect it to a PC with a USB cable and see if the PC detects something, ANYTHING. If it makes sounds that something has been connected to it. I remember when I hard bricked my phone, it did not turn on at all but my PC still sort of detected it. I guess that is the only thing left to try to give you a definite answer
[Google Pixel Themes, Apps, and Mods] CZ Eddie:
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.

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.

NOTE: This mod is only for custom ROM's which use the Qualcomm Bluetooth stack, such as CM/Lineage OS.

Does not work in ROM's using the AOSP Bluetooth stack, such as Dirty Unicorns.

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

How good is bluetooth audio at its best?

DIRECTIONS TO INSTALL MOD:

1) Download these two files to your Pixel XL:

http://www.filedropper.com/libaptx-100-rel-android21-armv7a

http://www.filedropper.com/libaptxscheduler

2) Open Root Explorer Pro

3) Copy both files to /system/vendor/lib and then long-press to select both files:

4) Click the three dots menu:

5) Choose the "Permissions" option:

6) Change to 644 permissions (rw- r-- r--):

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
[Google Pixel Themes, Apps, and Mods] CZ Eddie:
Lineage OS is now available for Pixel XL and likely is coming soon to Pixel as well.

I don't know if there are currently any Qualcomm BT stack ROM's for Pixel yet, but there will be soon!
[Google Pixel Themes, Apps, and Mods] shindiggity:
Just curious why this is in the Pixel thread if it's not yet available, sounds interesting. Will it work in conjunction with Viper?
[Google Pixel Themes, Apps, and Mods] CZ Eddie:
Lineage is available for the XL already.

I figured I'd make the thread now since I was making the thread in the XL forum and knew I'd forget all about the lil brother Pixel later on.

Yes, it will work with Viper.

A2DP/SBC work with Viper, aptX will be the same deal.
[Google Pixel Themes, Apps, and Mods] mngdew:
Is this aptX or aptX HD?
[Google Pixel Themes, Apps, and Mods] CZ Eddie:
LineageOS (formerly CyanogenMOD) should be coming soon to this link:

http://www.invisiblek.org/roms/lineage-14.1/sailfish/

This is a ROM where aptX mod will work.

It's aptX, not aptX-HD.
[Google Pixel Themes, Apps, and Mods] Turbojugend:
Any idea why I am getting this error? https://goo.gl/photos/Adds2ueLAnJ5VsgB9
[Google Pixel Themes, Apps, and Mods] CZ Eddie:
Did you change permissions on the .so files?
[Google Pixel Themes, Apps, and Mods] Turbojugend:
Yep. I even tried editing my build.prop. No difference. I am running the Hexa-Project rom, maybe that's why, but it is based off Lineage OS.
[Google Pixel Themes, Apps, and Mods] y2kbugleung:
It seems the mod works?
[Google Pixel Themes, Apps, and Mods] Turbojugend:
What ROM are you running?
[Google Pixel Themes, Apps, and Mods] y2kbugleung:
Hexa-Project 04 Feb on US-Pixel
[Google Pixel Themes, Apps, and Mods] Turbojugend:
Ok, me too, I can't get this to work, I don't know what else to try. I've followed the steps exactly.
[Google Pixel Themes, Apps, and Mods] y2kbugleung:
You say it fails to work because of error message in logcat?

---------- Post added at 01:42 PM ---------- Previous post was at 01:40 PM ----------

May you please post the step how you install the ROM?
[Google Pixel Themes, Apps, and Mods] Turbojugend:
Wipe

Flash ROM

Flash vendor

Flash TWRP

Reboot to recovery

Flash gapps

System reboot
[Google Pixel Themes, Apps, and Mods] y2kbugleung:
I followed these stpes

https://xdaforums.com/showpost.php?p=70799423&postcount=90
[Google Pixel Themes, Apps, and Mods] Turbojugend:
Followed those steps line by line, still doesn't work. Even tried to enable it manually in the build.prop, but it says it can't find libaptX-1.0.0-rel-Android21-ARMv7A.so
[Google Pixel Themes, Apps, and Mods] y2kbugleung:
Is the path /system/vendor/lib correct? Is the file really there, with 0644 set correctly?

Which file manager do you use to do so?

It is just strange...
[Google Pixel Themes, Apps, and Mods] Turbojugend:
I own ES file manager, but I even tried the one in the tutorial and same thing. I gave up and went back to stock anyway.
[Google Pixel Themes, Apps, and Mods] MpandAUS:
Will this work on normal pixel? not XL..
[Google Pixel Themes, Apps, and Mods] xmoox:
I saw this. Maybe this will interest people

https://www.reddit.com/r/GooglePixe...the_lack_of_better_bluetooth_audio_codecs_on/

Links pulled out of comment:

LDAC https://android-review.googlesource.com/c/320625/

aptX https://android-review.googlesource.com/c/318907/

AAC https://android-review.googlesource.com/c/322475/
[Google Pixel Themes, Apps, and Mods] CZ Eddie:
Yep, thanks. Those links are old news. :)

I haven't updated this thread in a while.

But aptX is working great on any ROM based on Lineage OS.

aptX will not be rolling out to stock Pixel phones due to licensing ($$$) issues.
[Google Pixel Themes, Apps, and Mods] CZ Eddie:
If you're rooted and running a Lineage (cyanogen) based ROM, then you can use aptX on your Pixel and Pixel XL.
[Google Pixel Themes, Apps, and Mods] MpandAUS:
The links to that website in thread is dodge and not downloading properly, can someone please upload them on diff hosting?
[Google Pixel Themes, Apps, and Mods] hanakon:
Second that. Filedropper links just redirect to the Filedropper homepage. Reup plz :))
[AT&T Samsung Galaxy S6] morningstar988:
Hello everyone, I have a problem with a phone samsung galaxy s6 GT920A, I bought the phone from a buddy, the phone is probably decoded, after several weeks of use I lost the network and when I took the service found that the error in the IMEI, is now 350000000000, a 358843061294576 true, I tried to flash the phone nothing has changed. now I have 6.0.1 software. I live in Serbia. I would be grateful if you would help me, thank you in advance, I apologize for the bad english
[YU Yureka Q&A, Help & Troubleshooting] jrishabh2306:
My Yureka loudspeaker not working......please help
[YU Yureka Q&A, Help & Troubleshooting] neeraj121y:
Where do you live? Sell to me.[emoji12]
[YU Yureka Q&A, Help & Troubleshooting] jrishabh2306:
You can't Afford it........????
[YU Yureka Q&A, Help & Troubleshooting] neeraj121y:
Describe your problem. When loudspeaker is not working while call ? Can you listen music voice?
[YU Yureka Q&A, Help & Troubleshooting] jrishabh2306:
It doesn't work at all. Is there any software problem or other............my charging speed also decreases, and battery performance turns down.
[YU Yureka Q&A, Help & Troubleshooting] neeraj121y:
If it happened just after rooting then you should flash stock firmware.
[XDA Assist] louishupe:
So I was wondering what the difference was taking in consideration that in canada when you subscribe to a tablet LTE plan your sim card will not work in a cellphone. Is it a hardware limitation like a chip needed for the sim to work or is it on the software side and if so is there a hack around?

Thanks you
[XDA Assist] xanthrax:
Hi !

If the simcard is only for data then it won`t work for call on a device which has been designed to make call , be it a phone or a tablet.

If the simcard is both for calls and data and it works only on a device that you`ve registered first and not on another one , contact the simcard provider for more info.

There are no hardware or software limitations on tablets vs phone regarding using the simcards on them, it should work just fine .

Cheers!