[AUDIOPHILE] aptX Hi-Def Bluetooth Codec for custom ROM's using Qualcomm Bluetooth - Google Pixel Themes, Apps, and Mods

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 @dh.harald for coming up with this particular solution.
https://forum.xda-developers.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.
Bluetooth® is limited by a maximum available bandwidth so it’s not always suitable for delivering high quality audio
Click to expand...
Click to collapse
Qualcomm aptX audio enables CD-like quality wireless audio because it solves the problem of sending the full music bandwidth over Bluetooth
Click to expand...
Click to collapse
If you do have the hardware to utilise AptX then your ears will thank you for it. AptX supports music resolutions of up to
24-bit/96kHz which is actually better than the quality of audio stored on CDs which is 16-bit/44.1kHz.
Click to expand...
Click to collapse
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.
Code:
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

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!

CZ Eddie said:
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!
Click to expand...
Click to collapse
Just curious why this is in the Pixel thread if it's not yet available, sounds interesting. Will it work in conjunction with Viper?

shindiggity said:
Just curious why this is in the Pixel thread if it's not yet available, sounds interesting. Will it work in conjunction with Viper?
Click to expand...
Click to collapse
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.

Is this aptX or aptX HD?

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.
mngdew said:
Is this aptX or aptX HD?
Click to expand...
Click to collapse
It's aptX, not aptX-HD.

CZ Eddie said:
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.
Click to expand...
Click to collapse
Any idea why I am getting this error? https://goo.gl/photos/Adds2ueLAnJ5VsgB9

Turbojugend said:
Any idea why I am getting this error? https://goo.gl/photos/Adds2ueLAnJ5VsgB9
Click to expand...
Click to collapse
Did you change permissions on the .so files?

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.

It seems the mod works?

y2kbugleung said:
It seems the mod works?
Click to expand...
Click to collapse
What ROM are you running?

Turbojugend said:
What ROM are you running?
Click to expand...
Click to collapse
Hexa-Project 04 Feb on US-Pixel

y2kbugleung said:
Hexa-Project 04 Feb on US-Pixel
Click to expand...
Click to collapse
Ok, me too, I can't get this to work, I don't know what else to try. I've followed the steps exactly.

Turbojugend said:
Ok, me too, I can't get this to work, I don't know what else to try. I've followed the steps exactly.
Click to expand...
Click to collapse
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?

y2kbugleung said:
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?
Click to expand...
Click to collapse
Wipe
Flash ROM
Flash vendor
Flash TWRP
Reboot to recovery
Flash gapps
System reboot

I followed these stpes
https://forum.xda-developers.com/showpost.php?p=70799423&postcount=90

y2kbugleung said:
I followed these stpes
https://forum.xda-developers.com/showpost.php?p=70799423&postcount=90
Click to expand...
Click to collapse
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

Turbojugend said:
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
Click to expand...
Click to collapse
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...

y2kbugleung said:
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...
Click to expand...
Click to collapse
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.

Will this work on normal pixel? not XL..

Related

[Equalizer Update 7.1.1 only] Stock Equalizer with new UI (No root)

Whole new UI for stock Equalizer
install as a normal apk, it will override to stock Equalizer
(After installation find the Equalizer in settings> sound)
abhishekiswithyou said:
Whole new UI for stock Equalizer
install as a normal apk, it will override to stock Equalizer
(After installation find the Equalizer in settings> sound)
Click to expand...
Click to collapse
And when we get this as officially ? ?
plt25 said:
And when we get this as officially ? ?
Click to expand...
Click to collapse
with 8.0
abhishekiswithyou said:
with 8.0
Click to expand...
Click to collapse
Brother.
Please tell me release time /date of 8.0??
plt25 said:
Brother.
Please tell me release time /date of 8.0??
Click to expand...
Click to collapse
not sure maybe feb 2018
Work in moto g5 plus 7.0 stock
diegomartinezlovey said:
Work in moto g5 plus 7.0 stock
Click to expand...
Click to collapse
it installs, but not compatible
abhishekiswithyou said:
it installs, but not compatible
Click to expand...
Click to collapse
U're right
Hi,
Moto Z Play, stock, 7.1.1 @ July Patch.
No joy. Shows the UI but no change to music,
I'm on the September Patch and it does work.
muttefur said:
Hi,
Moto Z Play, stock, 7.1.1 @ July Patch.
No joy. Shows the UI but no change to music,
Click to expand...
Click to collapse
package carring a new UI and Bluetooth device output improvements only, nothing new on earphone's output
abhishekiswithyou said:
it installs, but not compatible
Click to expand...
Click to collapse
I disabled the old app. Still able to run, so looks like this works on Moto G5 Plus. I am on Aug patch
Can you please check if you have Aug patch?
matrixzone said:
I disabled the old app. Still able to run, so looks like this works on Moto G5 Plus. I am on Aug patch
Can you please check if you have Aug patch?
Click to expand...
Click to collapse
don't have a 5th gen series, btw i am on September patch (Z play), i haven't tested on other OS\devices, but i know some of people experiencing not compatible popup while listening to music, i am sharing it to my friend and will let you know after his revert ?
It works!!! Thanks Guy you're awesome
Enviado desde mi XT1635-02 mediante Tapatalk
xSieg said:
It works!!! Thanks Guy you're awesome
Enviado desde mi XT1635-02 mediante Tapatalk
Click to expand...
Click to collapse
Welcome, Enjoy
Updated my retus from July>August>September and it works. Thank you OP. Had a problem where my oem partition was r/w instead of r/o which prevented me from getting OTAs.
Will this download in any way disable the bluetooth volume syncronization between a BT headset and the phone volume control?
asvaberg said:
Will this download in any way disable the bluetooth volume syncronization between a BT headset and the phone volume control?
Click to expand...
Click to collapse
didn't get you?
On my device I could see the volume bar and how it went up and down when I changed the volume directly on my headset.
Now I don't see that anymore and I have to adjust the volume on both the phone and the headset. I thought this was a September patch issue but then I remember I downloaded this new eq.
asvaberg said:
On my device I could see the volume bar and how it went up and down when I changed the volume directly on my headset.
Now I don't see that anymore and I have to adjust the volume on both the phone and the headset. I thought this was a September patch issue but then I remember I downloaded this new eq.
Click to expand...
Click to collapse
you can check by reverting back to old Equalizer go to settings>apps>three dot menu>system>scroll> search audio fx>three dot menu> uninstall updates

LineageOS 15 (Android Oreo) Nubia Z17 NX563J unofficial

Hi!
Here is the first build of LOS 15 for Nubia Z17. As far as I can tell everything works so far.
I'm not the creator of this build, but I would like to share it for the masses.
Flashing instructions:
- Flash firmware
-Flash LOS Build
- Flash Gapps (f.e. OpenGapps ARM64)
Downloads:
Firmware https://mega.nz/#!ZwhC1aiI!2zUSEp69vsFjtVRmvHYEjozS-Xybnyv36ntzFICgHAQ
Build https://mega.nz/#!4xwnELiS!6l4koceh6isN9XpKb2rvTNjZrL1WvFtuIlnhnLI0CdE
MacLaughlin said:
Hi!
Here is the first build of LOS 15 for Nubia Z17. As far as I can tell everything works so far.
I'm not the creator of this build, but I would like to share it for the masses.
Flashing instructions:
- Flash firmware
-Flash LOS Build
- Flash Gapps (f.e. OpenGapps ARM64)
Downloads:
Firmware https://mega.nz/#!ZwhC1aiI
Build https://mega.nz/#!4xwnELiS
Click to expand...
Click to collapse
The links are asking for a decrypting Key...
Zenuno said:
The links are asking for a decrypting Key...
Click to expand...
Click to collapse
Damn Mega. One moment
Links updated
Has anyone already tested it? How is it?
Игорь Алексеев said:
Has anyone already tested it? How is it?
Click to expand...
Click to collapse
I have searched any feedback from Chinese forum and have not been provided with any negative feedback on this room. I have asked what MD5 is for this rom and none replied to me.
looking good so far...
But I can't open z17 for file transfer using usb yet (allthough I could select the option, it just doesn't seem to work)
so now transfering open gapps aroma using bluetooth... seems to take forever...
---------- Post added at 07:23 AM ---------- Previous post was at 07:11 AM ----------
ok, looks like it took some time, but I'm now seeing the z17 as nx563j for file transfer, and copied aroma from this post https://forum.xda-developers.com/android/software/gapps-opengapps-oreo-unofficial-t3681960
it seems to be installing... btw, Oreo is FAST!
No sound via Bluetooth
When connect to my bluetooth earphone it shows "Bluetooth connected (no media)''
xc559 said:
When connect to my bluetooth earphone it shows "Bluetooth connected (no media)''
Click to expand...
Click to collapse
Same problem
xc559 said:
When connect to my bluetooth earphone it shows "Bluetooth connected (no media)''
Click to expand...
Click to collapse
Have you tried enabling media on the Bluetooth device in the settings?
just about to head to the car... I'll see if I can hook up using bluetooth, and will report back... don't have my beats bluetooth headpones at home ATM...
All issues I had that I know of have magically disappeared with Oreo it would seem
looks like bluetooth is idd not working... I keep getting the messages that bluetooth stopped working...
bugs:
1, the sound can't played via the bluetooth.
2, the nfc switch is buggy, when you reboot your phone the nfc is working. But if you turn the NFC off, then it's dead until next reboot.
MrBlubke said:
looking good so far...
But I can't open z17 for file transfer using usb yet (allthough I could select the option, it just doesn't seem to work)
so now transfering open gapps aroma using bluetooth... seems to take forever...
---------- Post added at 07:23 AM ---------- Previous post was at 07:11 AM ----------
ok, looks like it took some time, but I'm now seeing the z17 as nx563j for file transfer, and copied aroma from this post https://forum.xda-developers.com/android/software/gapps-opengapps-oreo-unofficial-t3681960
it seems to be installing... btw, Oreo is FAST!
Click to expand...
Click to collapse
LOS15 doesn't come with Google Play? or we have to install GApps separately in order to use Google Apps? Please advise.
Thank you.
backboycn said:
LOS15 doesn't come with Google Play? or we have to install GApps separately in order to use Google Apps? Please advise.
Thank you.
Click to expand...
Click to collapse
Hi there
You have to install them via recovery (use Opengapps).
Enviado do meu NX563J através de Tapatalk
Zenuno said:
Hi there
You have to install them via recovery (use Opengapps).
Enviado do meu NX563J através de Tapatalk
Click to expand...
Click to collapse
Thank you very much for your reply. I have download Gapps mini or full version for 8.0. Hopefully either of them works. Personnally I don't want to install full version, but sometime the mini version doesn't work.
The rom by arceoxis is always equipped with Google Play which is fatastic.
backboycn said:
Thank you very much for your reply. I have download Gapps mini or full version for 8.0. Hopefully either of them works. Personnally I don't want to install full version, but sometime the mini version doesn't work.
The rom by arceoxis is always equipped with Google Play which is fatastic.
Click to expand...
Click to collapse
I have tried LOS15 and it works. but not very really wanted. I removed it within 15 minues because the brightness cannot be adjusted.
backboycn said:
I have tried LOS15 and it works. but not very really wanted. I removed it within 15 minues because the brightness cannot be adjusted.
Click to expand...
Click to collapse
The auto brightness adjustment is broken, you have to adjust it manual.
Found another bug, the build-in camera always in landscape mode, can't auto rotate.
I tried installing nubia camera, but it doesn't seem to work... There are many programms that seem to fail to run... Not sure what the exact reason is... Is Oreo so different that programms need to be rebuild for it?

on Pie (with root\magisk).. anyone have a trick for increasing volume steps

It seems as though comfortable listening for me is directly between two of the current steps, which have a massive jump in db tiny ears.
Thus, I'm looking for something that increases the volume steps from 15 to 30+.
Have found a few magisk modules that are outdated and\or don't work on Pie. Anyone have another solution, or will I need to edit build.prop as described elsewhere?
I'm using here's 14.0.0.zip on my Pixel2 with Pie and magisk 16.7 flawless,
https://forum.xda-developers.com/apps/magisk/module-volume-steps-increase-magisk-v10-t3554996
and here is unofficial updated version (I have not tried yet),
https://forum.xda-developers.com/showpost.php?p=77033982&postcount=75
moviti said:
I'm using here's 14.0.0.zip on my Pixel2 with Pie and magisk 16.7 flawless,
https://forum.xda-developers.com/apps/magisk/module-volume-steps-increase-magisk-v10-t3554996
and here is unofficial updated version (I have not tried yet),
https://forum.xda-developers.com/showpost.php?p=77033982&postcount=75
Click to expand...
Click to collapse
This is what I get
jewnersey said:
This is what I get
Click to expand...
Click to collapse
Have you tried to install it via TWRP?
moviti said:
Have you tried to install it via TWRP?
Click to expand...
Click to collapse
Same error
jewnersey said:
Same error
Click to expand...
Click to collapse
Use the unofficial one provided. The original's Magisk template isn't updated.
Ariac Konrel said:
Use the unofficial one provided. The original's Magisk template isn't updated.
Click to expand...
Click to collapse
Excellent thanks

HTC 10 and Ainur Audio on unrooted stock Oreo 8

I recently bought a HTC 10 to use as a DAP because of its great audio features. Just this week I was reading about Ainur Audio and it apparently makes the HTC 10 sound much better.
However, it has been years since I last rooted an android phone. I find the info here good but very overwhelming and was wondering if I need to root my HTC 10 before installing the Ainur Audio or could I just install it on the stock unrooted Oreo 8.0? If not, then what are the requirements of installing Ainur Audio?
Root is required mate. Root your phone with magisk and flash the zip .
rajkatiyar07 said:
Root is required mate. Root your phone with magisk and flash the zip .
Click to expand...
Click to collapse
Does installing the Ainur Audio mod really improve the sound on the HTC 10. I am reading how to unlock bootloader but it looks a right hassle. Is there any easy quick straight forward way to unlock the bootloader for the HTC 10?
At the moment I am using Neutron player on my HTC 10 and the sound quality is awesome.
Please advise.
rajkatiyar07 said:
Root is required mate. Root your phone with magisk and flash the zip .
Click to expand...
Click to collapse
actually its not required. it's based on unity and unity supports all root methods and no root/init.d. so all you need is twrp to flash
JohnFawkes said:
actually its not required. it's based on unity and unity supports all root methods and no root/init.d. so all you need is twrp to flash
Click to expand...
Click to collapse
Will I still need to unlock the bootloader on my HTC 10 to flash twrp?
Artmuzz said:
Will I still need to unlock the bootloader on my HTC 10 to flash twrp?
Click to expand...
Click to collapse
yes
---------- Post added at 06:32 PM ---------- Previous post was at 06:31 PM ----------
JohnFawkes said:
actually its not required. it's based on unity and unity supports all root methods and no root/init.d. so all you need is twrp to flash
Click to expand...
Click to collapse
may be. I thought as it is altering audio libs so root might be required

[Treble][Kernel] 1080p120, 4K60 Test

It's just test kernel how looks 4K / 120hz with enforced 60fps
Just removed other resolutions in dsi-panel-somc-synaptics-sharp-4k-cmd-ID6.dtsi
For Treble-Enabled GSI Only
1080p120 seems V-Sync limit 60hz - not 24fps is good news (Idk HWComposer's VSync part)
4K60 seems laggy (Yeah, not for daily use / 30~50fps)
Flash:
1. reboot in fastboot
2. fastboot flash boot boot-*.img
3. fastboot reboot
4. boot in twrp
5. disable dm-verify (https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389)
6. reboot
Source: Sony
It is for: Single or dual sim
karrouma said:
It is for: Single or dual sim
Click to expand...
Click to collapse
For dual sim but I've heard kernel is compactable
Craftingmod said:
For dual sim but I've heard kernel is compactable
Click to expand...
Click to collapse
not booting after sony logo restart
karrouma said:
not booting after sony logo restart
Click to expand...
Click to collapse
Did you flashed dm-verity disabler? Sorry for this is so unstable
Craftingmod said:
Did you flashed dm-verity disabler? Sorry for this is so unstable
Click to expand...
Click to collapse
No send it to me via link or share here
Booted fine for me after I flashed dm-verity disabler.
True, not the fastest, but its a good start.
I'm using this as a secondary phone, so if you do need a tester I'm all aboard ;p
The fix for 120Hz is in my kernel. Set your FPS_MAX value to match it.
Is it "true" 4k with this ? Not just like wm size mod
steso90 said:
Is it "true" 4k with this ? Not just like wm size mod
Click to expand...
Click to collapse
Yes and no. He did the right thing but it won't work without the patch I told you.
LazerL0rd said:
Yes and no. He did the right thing but it won't work without the patch I told you.
Click to expand...
Click to collapse
Ah okay that sounds nice! Is there a huge difference between "fake" and real?
steso90 said:
Ah okay that sounds nice! Is there a huge difference between "fake" and real?
Click to expand...
Click to collapse
Uhm. Yes. Very big. Fake is either 24fps (a third of standard 60) or just 60.
I assure you, you'll be able to tell.
---------- Post added at 08:02 PM ---------- Previous post was at 07:52 PM ----------
Wait, sorry is this based on SODP kernel @Craftingmod? If yes AFAIK that patch I mentioned should be added.
LazerL0rd said:
Uhm. Yes. Very big. Fake is either 24fps (a third of standard 60) or just 60.
I assure you, you'll be able to tell.
---------- Post added at 08:02 PM ---------- Previous post was at 07:52 PM ----------
Wait, sorry is this based on SODP kernel @Craftingmod? If yes AFAIK that patch I mentioned should be added.
Click to expand...
Click to collapse
Sjll's Treble is SODP-based.
You'll need a FPS test app to check if it can really produce 120 fps. However, you should be able to immediately notice if your phone is running at only 24 fps.
Does 1080p120 works
LSS4181 said:
Sjll's Treble is SODP-based.
You'll need a FPS test app to check if it can really produce 120 fps. However, you should be able to immediately notice if your phone is running at only 24 fps.
Click to expand...
Click to collapse
Well, I've got 4K working and so has Pavel. With the FPS max patch I don't see why 120 won't work once I add the panel dts, but then again I'm based on stock.
This may be interesting: https://github.com/TadiT7/razer_aura_dump/tree/aura-user-9-P-MR0-RC014-RZR-190220-3040-release-keys
Specially the build.props in system and vendor. There are some Entries that may be required to tell the System what the Screen should do. I merged some of them into My Work like:
vendor.display.disable_fbid_cache=1
vendor.display.res_switch_en=1
and so on... Should take effect on any supported Hardware/Software like this Kernel and Stock (Which Supports a 4K Switch ootb.).
I think you're missing one thing, because the security patch that month caused the Ca
karrouma said:
not booting after sony logo restart
Click to expand...
Click to collapse
I think you're missing one thing, because the security patch that month caused the Cassony logo, I think it's the version number.
Here a bit late, but can anyone confirm that it is possible to enforce 4K in any kernel? I would need my XZP for VR streaming, therefore 4K would be pretty useful. Thank you!
With the adb method you can in stock

Categories

Resources