Related
So far I have not seen any Nougat ROMs including the library meant for aptX support. I tried to manually place the library (libbt-aptx-x86-4.x.x.so, like the one from ARISE), but it doesn't work as my aptX-capable headset is still choosing SBC, implying the actual support of such is more than just a library. As SBC introduces a ~500ms latency, for my use cases (including but not limited to videos and rhythm games) it's completely unacceptable.
On the other hand, is aptX working with stock MM based ROMs? Apparently the device is in the official supported devices list, so I assume that might be the case. But anyway, is it possible to include aptX on recent Nougat ROMs?
Installing ARISE appears to be a no-go for this device as while it includes aptX-related libraries, it doesn't magically enable aptX and instead breaks all sensors.
EDIT: It seems most ROMs still use Bluedroid, and for that it seems the x86 aptX libs alone won't be enough. I did confirm that my headset (EP725) does support aptX on my Pixel C (currently running Oreo, though the aptX Magisk module for Oreo is required for it to actually work).
EDIT 2: A late update... apparently, the latency is not that much different with aptX, and it turned out to be more a problem with Unity than with the bluetooth codec itself after searching for a bit further... so I was wrong about aptX anyway...
Bump on this thread.
I found the libs here which seems to have been taken from stock MM ROM. But obviously just replacing libbluetooth_jni.so from TWRP with that one would only lead to crashes as there's probably some additional work needed (maybe recompile the Bluetooth apk)...
Unfortunately most of that thread is about how to get it working on ARM based smartphones and/or on Oreo (which our phone doesn't have yet, and most likely the Magisk modules and such are as well ARM-only). The post I referenced is the only one that's at least helpful to some extent, after some basic searching.
EDIT: If all isn't going to work then I have no choice but to look for ways to downsample system audio output to 8-11kHz (or maybe 8-bit) to mitigate the latency... since the usage involved is already lossy with low bitrate, I don't think downsampling would cause any unacceptable loss of quality anyway.
EDIT 2: The libs alone definitely aren't enough. Tried replacing the libs in both /system/lib/ and /system/app/Bluetooth/lib/x86/ and it still crashed when opening.
Hello people,
i'll be getting an OP5T soon and even though OxygenOS has a favorable reputation i'll certainly end up flashing a custom ROM anyway. however, there's a nagging question, as hinted at in the title, that doesn't seem to have been addressed anywhere, or at least i couldn't find anything searching the forums and it's never mentioned in respective ROM threads. the OP5T running stock Oreo OOS supports both aptX HD and LDAC, if i'm not mistaken, but do custom ROMs generally support those codecs as well?
my current phone is a Z1 Compact running one of the last official CM nightlies released back then and those didn't support aptX, which the stock ROM did, afaik. i don't really have experience in Android customization but from what i've read in various threads, just unlocking the bootloader can inevitably trash various things like DRM keys and camera functionality. the advanced BT audio codecs are important to me, so i need to know what i can and can't do in order to preserve them.
any input on this?
I think any Android 8 based rom support these codecs
I have a Xperia z3c with carbon rom (Android 8.1) and it support these codecs
SUPER KOKA said:
I think any Android 8 based rom support these codecs
I have a Xperia z3c with carbon rom (Android 8.1) and it support these codecs
Click to expand...
Click to collapse
first things first, thanks for the input.
that does sound promising. i mean, if the codecs didn't work on a custom ROM no matter what, because BL unlocking erases/invalidates the libs or something, surely the dev would've removed them from the selection.
i've read about the matter with Oreo, its native support for all BT audio codecs (whatever that actually means) and Sony's LDAC donation to AOSP. though apparently there was some confusion, as all codecs appeared in the settings selection even though they didn't actually work due to lacking libraries. and while LDAC is part of AOSP and technically free to use by any OEM, it still requires a device certification from Sony.
so... there seems to be a difference between "supported" and "functional". you don't happen to have a pair of compatible BT headphones at hand for testing, do you? your Z3C should at least give you regular aptX, as that's what it shipped with, and perhaps LDAC
Valfaun said:
first things first, thanks for the input.
that does sound promising. i mean, if the codecs didn't work on a custom ROM no matter what, because BL unlocking erases/invalidates the libs or something, surely the dev would've removed them from the selection.
i've read about the matter with Oreo, its native support for all BT audio codecs (whatever that actually means) and Sony's LDAC donation to AOSP. though apparently there was some confusion, as all codecs appeared in the settings selection even though they didn't actually work due to lacking libraries. and while LDAC is part of AOSP and technically free to use by any OEM, it still requires a device certification from Sony.
so... there seems to be a difference between "supported" and "functional". you don't happen to have a pair of compatible BT headphones at hand for testing, do you? your Z3C should at least give you regular aptX, as that's what it shipped with, and perhaps LDAC
Click to expand...
Click to collapse
My z3c's stock rom doesn't support ldac but with a custom rom ldac is functional
SUPER KOKA said:
My z3c's stock rom doesn't support ldac but with a custom rom ldac is functional
Click to expand...
Click to collapse
thanks for the screenshot, that was a nice confidence booster. i went ahead and flashed Zoe ROM, can confirm that both aptX HD and LDAC still work. so unlocking the bootloader doesn't touch the libraries, which i guess are located in a partition that you don't usually wipe, and every ROM based on 8.0 or later should support the codec selection
Hey,
I'm currently looking for a smartphone with long battery life and support of HQ sound (LDAC preferred).
I found some ROMs with Android 8.0 and I heard that this version of OS supports LDAC. Does it mean that when I install one of these ROMs, I will be able to use LDAC?
Koprzywa said:
Hey,
I'm currently looking for a smartphone with long battery life and support of HQ sound (LDAC preferred).
I found some ROMs with Android 8.0 and I heard that this version of OS supports LDAC. Does it mean that when I install one of these ROMs, I will be able to use LDAC?
Click to expand...
Click to collapse
LDAC is included in AOSP since Oreo so you should be able to use it on every 8+ ROM until someone will remove it from his ROM. It is visible in my codec selection menu on LOS15.1 but I can't test it for you since I'm not in possession of any wireless headphones. I believe that you should look for information and how it works on other phones threads too, not only here. There is possibility that Lineage doesn't support this codec itself since stock haven't supported it but I'm not sure about that since LDAC is part of AOSP unlike AptX for example where your phone needs to be certified to allow developers to include this codec in official builds.
Basically you can add any existing bluetooth audio codec to your phone's ROM. There's not any hardware requirements besides bluetooth so I believe that you should be able to use it.
Hi Everyone,
It seems like not much effort has been put into the default ROM of Moto g40. I've tested the Hi-Res output support using the various apps that supports it but non of the apps supported Hi-Res output from Moto G40. Our device has Native DSD support, PCM up to 384 kHz/32-bit, but Motorola didn't provide the support for the same. Here is the audio output detection log by poweramp:
12:43:04.334 build-905-arm64-play
Device: motorola motorola moto g(40) fusion hanoip_retail hanoip "qcom" hanoip RRI31.Q1-42-24-4 [arm64-v8a, armeabi-v7a, armeabi]
sm6150 is_snapdragon
FAILED to read=/vendor/etc/audio_output_policy.conf
FAILED to read=/vendor/etc/audio_io_policy.conf
FAILED to read=/system/etc/audio_policy.conf
FAILED to read=/vendor/etc/audio_policy.conf
USB can handle Hi-Res - sdk=30
FLAG_VARIANT_USB_ONLY
OK flags=0x404001400000000
FLAG_VARIANT_USB_ONLY
FLAG_SUPPORTS_USB
FLAG_SUPPORTS_FLT_DYN_RANGE
FLAG_SUPPORTS_LDAC
INTERNAL_OUTPUT_FLAG_SR_192K
INTERNAL_OUTPUT_FLAG_SR_176K
INTERNAL_OUTPUT_FLAG_SR_96K
INTERNAL_OUTPUT_FLAG_SR_88K
Here if you can see that poweramp is detecting our device's chip as 'sm6150' which is a code name of Snapdragon 675 instead of SM7150 which is the codename of Snapdragon 732G. This is just stupid, seems like ROM developers took some Snapdragon 675 based ROM changed few configurations based on Snapdragon 732G, and when they find every basic feature is working, they made it stable.
Truth be told Mi developers provide much better support for their devices. Stock Android experience means nothing if Motorola can't provide support of all the features that their device supports. If you are reading this and you want great developer/hardware support for your device then buy Redmi note 10 pro instead. The only reason I purchased this device is that it provides support for more 4G/LTE network bands than Redmi note 10 pro as I'm moving abroad, G40 will have better connectivity than note 10 pro.
Also, please if you notice other issues with the factory ROM then highlight that here so that Motorola developers can fix those issues with the next update. For this issue in particular I've created a topic here please provide your inputs as well so that this topic gets more attention.
JJSingh said:
Hi Everyone,
It seems like not much effort has been put into the default ROM of Moto g40. I've tested the Hi-Res output support using the various apps that supports it but non of the apps supported Hi-Res output from Moto G40. Our device has Native DSD support, PCM up to 384 kHz/32-bit, but Motorola didn't provide the support for the same. Here is the audio output detection log by poweramp:
12:43:04.334 build-905-arm64-play
Device: motorola motorola moto g(40) fusion hanoip_retail hanoip "qcom" hanoip RRI31.Q1-42-24-4 [arm64-v8a, armeabi-v7a, armeabi]
sm6150 is_snapdragon
FAILED to read=/vendor/etc/audio_output_policy.conf
FAILED to read=/vendor/etc/audio_io_policy.conf
FAILED to read=/system/etc/audio_policy.conf
FAILED to read=/vendor/etc/audio_policy.conf
USB can handle Hi-Res - sdk=30
FLAG_VARIANT_USB_ONLY
OK flags=0x404001400000000
FLAG_VARIANT_USB_ONLY
FLAG_SUPPORTS_USB
FLAG_SUPPORTS_FLT_DYN_RANGE
FLAG_SUPPORTS_LDAC
INTERNAL_OUTPUT_FLAG_SR_192K
INTERNAL_OUTPUT_FLAG_SR_176K
INTERNAL_OUTPUT_FLAG_SR_96K
INTERNAL_OUTPUT_FLAG_SR_88K
Here if you can see that poweramp is detecting our device's chip as 'sm6150' which is a code name of Snapdragon 675 instead of SM7150 which is the codename of Snapdragon 732G. This is just stupid, seems like ROM developers took some Snapdragon 675 based ROM changed few configurations based on Snapdragon 732G, and when they find every basic feature is working, they made
Click to expand...
Click to collapse
So, moto g40 doesn't support 24-bit audio output via jack yet?
ERAAF said:
So, moto g40 doesn't support 24-bit audio output via jack yet?
Click to expand...
Click to collapse
As of now, it doesn't!
`
JJSingh said:
As of now, it doesn't!
Click to expand...
Click to collapse
Yes I tried playing a hi-res FLAC file, but unfortunately, power amp couldn't play it in my G40
but my cousin"s MI 10T played it
I don't get it , what's this high res audio fuss about.
First of all, from where are you getting your flacs!? Probably someone re-encoded them from a lossy format which renders those flacs useless and just wastage of storage. It's not true lossless unless you're getting it straight from the producer's DAW. And most of the songs these days are encoded for music streaming sites .
So all the Flacs you're getting are ripped from there and re-encoded.
Secondly streaming services use Acc so it's won't matter either.
Yes other brands do support it ,and yes it does offer some differences to trained ears . But it is not a huge difference like playing a 720p video on a 4k screen .
I
Wreck-king said:
I don't get it , what's this high res audio fuss about.
First of all, from where are you getting your flacs!? Probably someone re-encoded them from a lossy format which renders those flacs useless and just wastage of storage. It's not true lossless unless you're getting it straight from the producer's DAW. And most of the songs these days are encoded for music streaming sites .
So all the Flacs you're getting are ripped from there and re-encoded.
Secondly streaming services use Acc so it's won't matter either.
Yes other brands do support it ,and yes it does offer some differences to trained ears . But it is not a huge difference like playing a 720p video on a 4k screen .
Click to expand...
Click to collapse
This topic is about a feature not being implemented properly and not about you educating people on how to listen to their music. BTW do you really think I maintained my music collection blindly?
Wreck-king said:
I don't get it , what's this high res audio fuss about.
First of all, from where are you getting your flacs!? Probably someone re-encoded them from a lossy format which renders those flacs useless and just wastage of storage. It's not true lossless unless you're getting it straight from the producer's DAW. And most of the songs these days are encoded for music streaming sites .
So all the Flacs you're getting are ripped from there and re-encoded.
Secondly streaming services use Acc so it's won't matter either.
Yes other brands do support it ,and yes it does offer some differences to trained ears . But it is not a huge difference like playing a 720p video on a 4k screen .
Click to expand...
Click to collapse
Yes, it doesn't make a huge difference to the untrained ears and without proper gear but there are still people who would like to have the option to play high res audio. Whether the functionality is being locked intentionally or not, there is no harm in bringing up the issue to light. Besides, all the streaming platforms are now coming up with lossless playback option so if we're paying for it, why not make use of it? Whether the change in quality makes a difference is secondary and it does not help this discussion in any way.
Hi everyone,
Does the POCO F3 have the LDAC codec support for Hi-Res áudio?
Thanks
asademosca said:
Hi everyone,
Does the POCO F3 have the LDAC codec support for Hi-Res áudio?
Thanks
Click to expand...
Click to collapse
I'm curious did you make an xda account just to start a thread to ask a question? I've noticed everyday now that about 20 people a day start new threads and I wondered why. Xda was developed for people who are into development and want to flash Roms and root their phones.
To answer your question it should you need to turn on developer options and search for Bluetooth codecs. I don't have my Poco f3 yet I just ordered it today otherwise I would tell you how to turn on developer options but it's usually go into settings find your build number and tap on it 7 times and it'll say turned on developer options. I believe the poco f3 is in settings find your MIUI version number and tap it 7 times and then find additional settings and you'll see developer options now. Look for the Bluetooth codecs but here's the bad news. You can only use them on headphones that support the ldac codec the system will over ride your settings and use the headphones settings. Good luck
@Techguy777, you are right! I was so frustrated not finding solutions that I had to be one more these irritanting guys that make a XDA account just to place a thread. I understand you and I'am honestly sorry! Please, accept my apologies
I'am in developer mode since the first day I have this monster phone. Yeah, it's a beast!
In developer mode, the LDAC codec among others is there but It doesn't mean that poco f3 can use it. Sometimes we found in developer mode options or settings that are not usable because they are not still finished and need a final touch in a future firmware upgrade. The POCO F3 has support for AptX HD codec (see specs) but it isn't avaible today. We will have it in a future flash.
My earphones are the Anker Soundcore Liberty 3 Pro, and they have LDAC Hi-Res codec. All I need now, is a music provider (like Tidal) with hi-res audio streaming service and if the POCO F3 has really the LDAC codec support..... BOOOOOM!!!
Finally, I found elsewhere, LDAC codec is present in any phone that support Android 8 or later. Don't now if is true but I place my bet
Thank you for your king size support
Hi, according to my experience of using Sony WH-1000XM3, Redmi K40 supports LDAC, which should be the same model as POCO F3, but I didn't have a chance to try if it support Hi-Re audio. Hope my experience will be helpful to you.
asademosca said:
The POCO F3 has support for AptX HD codec (see specs) but it isn't avaible today. We will have it in a future flash.
Click to expand...
Click to collapse
What? Poco F3 have support for aptx-hd and also for ldac... If you have a Earphones that support these codecs you can use It and all working fine!
Angyone1 said:
What? Poco F3 have support for aptx-hd and also for ldac... If you have a Earphones that support these codecs you can use It and all working fine!
Click to expand...
Click to collapse
Are u sure about LDAC codec?
asademosca said:
Are u sure about LDAC codec?
Click to expand...
Click to collapse
Yes of course... Read the message of chuanjun_
If you have a decent pair of earphones Sony that support ldac..
LDAC works perfectly fine both on Arrow os and worked as well before I switched on miui.
asademosca said:
Hi everyone,
Does the POCO F3 have the LDAC codec support for Hi-Res áudio?
Thanks
Click to expand...
Click to collapse
Yes... I activate LDAC, I just bought sony Wf1000xm4 earbuds and i figured it out, It take me hours, Hehe! But it is still ldac, i try to off Bluetooth and on, paired, unpaired and its is still Ldac...
asademosca said:
@Techguy777, you are right! I was so frustrated not finding solutions that I had to be one more these irritanting guys that make a XDA account just to place a thread. I understand you and I'am honestly sorry! Please, accept my apologies
I'am in developer mode since the first day I have this monster phone. Yeah, it's a beast!
In developer mode, the LDAC codec among others is there but It doesn't mean that poco f3 can use it. Sometimes we found in developer mode options or settings that are not usable because they are not still finished and need a final touch in a future firmware upgrade. The POCO F3 has support for AptX HD codec (see specs) but it isn't avaible today. We will have it in a future flash.
My earphones are the Anker Soundcore Liberty 3 Pro, and they have LDAC Hi-Res codec. All I need now, is a music provider (like Tidal) with hi-res audio streaming service and if the POCO F3 has really the LDAC codec support..... BOOOOOM!!!
Finally, I found elsewhere, LDAC codec is present in any phone that support Android 8 or later. Don't now if is true but I place my bet
Thank you for your king size support
Click to expand...
Click to collapse
i activate my ldac in Sony xm4 earbuds, took me hours, Hehe! I just actiavte
asademosca said:
Hi everyone,
Does the POCO F3 have the LDAC codec support for Hi-Res áudio?
Thanks
Click to expand...
Click to collapse
Yes
asademosca said:
@Techguy777, you are right! I was so frustrated not finding solutions that I had to be one more these irritanting guys that make a XDA account just to place a thread. I understand you and I'am honestly sorry! Please, accept my apologies
I'am in developer mode since the first day I have this monster phone. Yeah, it's a beast!
In developer mode, the LDAC codec among others is there but It doesn't mean that poco f3 can use it. Sometimes we found in developer mode options or settings that are not usable because they are not still finished and need a final touch in a future firmware upgrade. The POCO F3 has support for AptX HD codec (see specs) but it isn't avaible today. We will have it in a future flash.
My earphones are the Anker Soundcore Liberty 3 Pro, and they have LDAC Hi-Res codec. All I need now, is a music provider (like Tidal) with hi-res audio streaming service and if the POCO F3 has really the LDAC codec support..... BOOOOOM!!!
Finally, I found elsewhere, LDAC codec is present in any phone that support Android 8 or later. Don't now if is true but I place my bet
Thank you for your king size support
Click to expand...
Click to collapse
I just bought xm4 earbuds, took me hours to activate ldac, But now i am using ldac.
..
IDGAF2K21 said:
I just bought xm4 earbuds, took me hours to activate ldac, But now i am using ldac.
Click to expand...
Click to collapse
Sorry to butt in so late but, the Poco F3 does not officially support LDAC. If you force it on via developer options or, in the Android Bluetooth settings, it will only use "Best Effect" LDAC at 360 kbps, which apparently has less clarity than SBC. If you try to set it to "Optimised for Audio Quality" in Developer Options, it just reverts straight back. I ran Bluetooth diagnostic software on my phone and, LDAC was not listed as a selectable codec.
Polarized77 said:
Sorry to butt in so late but, the Poco F3 does not officially support LDAC. If you force it on via developer options or, in the Android Bluetooth settings, it will only use "Best Effect" LDAC at 360 kbps, which apparently has less clarity than SBC. If you try to set it to "Optimised for Audio Quality" in Developer Options, it just reverts straight back. I ran Bluetooth diagnostic software on my phone and, LDAC was not listed as a selectable codec.
Click to expand...
Click to collapse
I'd never touched developer options
I'd never touched developer options
before, but LDAC work perfectly with my Soundcore Life Q35 and if I choose "Optimised for Audio Quality" stays on Audio Quality. I use Apple Music lossless audio.
Mikael1013 said:
View attachment 5477285
I'd never touched developer optionsView attachment 5477287 I'd never touched developer options
before, but LDAC work perfectly with my Soundcore Life Q35 and if I choose "Optimised for Audio Quality" stays on Audio Quality. I use Apple Music lossless audio.
Click to expand...
Click to collapse
An off-topic question, how do you get the battery icon colored? I also have the POCO F3.
VectorGames05 said:
An off-topic question, how do you get the battery icon colored? I also have the POCO F3.
Click to expand...
Click to collapse
Theme: flower finch
I think I found a way for Android with the Sony XM4, I am not completely sure because I did not have an app to measure the bitrate but there is some clues that shows it works. I use the french app so the name of parameters could be bad translated.
1. You need to download the Sony Music Center App (it is an app different from Sony Headphones Connect).
2. Connect your headphones to your phone with bluetooth.
3. Go to the Sony Music Center App. You will see your heaphone in the list of connected device.
4. Click on the three dots in the upper right corner and click on Parameters.
5. Click on bluetooth parameters and click playback quality
6. Choose priority to quality
You can check that the maximum bitrate is set by default by looking at the developper menu in android parameters. If you look at it the LDAC codec automaticaly toggle to 990kbps.
I advice you to restart your phone after that.
However, you need to reopen music center to reactivate 990kbps mode everytime you reconnect your headphone.
Hey folks, what do I need to do to enable ldac for my Poco F3 with Sony headphones?
Use Sony's app
How to activate LDAC on a POKO F3 phone, Sony WH-H900N on ear 2 headphones. Via Music Center error in the screenshot, Music Center also cannot activate, if you select LDAC, then the settings are reset.