Here is LDAC if anyone wondering what it is.
http://www.sony.net/Products/LDAC/
I was understood this software enable bluetooth to transfer audio at higher rate for hi-Res audio receiver but unfortunately it only available for Xperia line up post 2015. Some Walkman series release 2014 receive an update and got this function so I conclude it is possible for Z3 too.
So anyone here can help out or give some tips on this?
Also to z2 please
rayzy22 said:
Here is LDAC if anyone wondering what it is.
http://www.sony.net/Products/LDAC/
I was understood this software enable bluetooth to transfer audio at higher rate for hi-Res audio receiver but unfortunately it only available for Xperia line up post 2015. Some Walkman series release 2014 receive an update and got this function so I conclude it is possible for Z3 too.
So anyone here can help out or give some tips on this?
Click to expand...
Click to collapse
if you know how to edit a build prop put this in if not don't. Take a backup just in cause I don't want anybody getting pissed at me so.. . P.S. this may or my not work for you I have z5 libs if you use this and it works hit thanks.
# Added system property for LDAC
ro.somc.ldac.audio.supported=true
Which libs are you referring to? Bluetooth ones?
Tigerhoods said:
if you know how to edit a build prop put this in if not don't. Take a backup just in cause I don't want anybody getting pissed at me so.. . P.S. this may or my not work for you I have z5 libs if you use this and it works hit thanks.
# Added system property for LDAC
ro.somc.ldac.audio.supported=true
Click to expand...
Click to collapse
Sent from my D6603 using XDA Free mobile app
Tigerhoods said:
if you know how to edit a build prop put this in if not don't. Take a backup just in cause I don't want anybody getting pissed at me so.. . P.S. this may or my not work for you I have z5 libs if you use this and it works hit thanks.
# Added system property for LDAC
ro.somc.ldac.audio.supported=true
Click to expand...
Click to collapse
er... build prop? I'm not that good or expert. Have u ever tried this yourself? or anyone you know manage to get this working?
rayzy22 said:
er... build prop? I'm not that good or expert. Have u ever tried this yourself? or anyone you know manage to get this working?
Click to expand...
Click to collapse
well if you put this in your prop then go to audio settings look at screen shot below. You have to have ldac supported device to connect it to. Which hardly exist at this point so I have not tested it.
Anybody tried this ? ro.somc.ldac.audio.supported=true
so I tried this tonight. I have a pair of MDR-1ABT's that support LDAC and a Xperia Z3 Tablet Compact running stock rooted .264.
First I flashed the Z5 libs from here
http://forum.xda-developers.com/crossdevice-dev/sony/soundmod-ported-z5-sound-files-libs-t3240319
Then added the line to build.prop.
My accessory settings page looks the same as post 6 when I have the tablet connected to the MDR-1ABT. Wireless playback quality is grayed out.
Also logcat says its still connected by APTX.
So seems like theres more needed to port LDAC besides the libs and modifying the build.prop?
tonysunshine said:
so I tried this tonight. I have a pair of MDR-1ABT's that support LDAC and a Xperia Z3 Tablet Compact running stock rooted .264.
First I flashed the Z5 libs from here
http://forum.xda-developers.com/crossdevice-dev/sony/soundmod-ported-z5-sound-files-libs-t3240319
Then added the line to build.prop.
My accessory settings page looks the same as post 6 when I have the tablet connected to the MDR-1ABT. Wireless playback quality is grayed out.
Also logcat says its still connected by APTX.
So seems like theres more needed to port LDAC besides the libs and modifying the build.prop?
Click to expand...
Click to collapse
dam I guess so..hmm I wasn't sure I added a different line from from a z5 build and it gave me a working bravia toggle so I hoped this would work the same...I will look into it more...
Its is also chip related for the LDAC !
Bbut does it work if we add the lines in build.prop ?
i am curious about that, any changes ?
Yeah seems like you need to do more than just add that line to the build.prop to enable LDAC support. Unless theres something that needs to be done on the headphone end?
If you devs need me to test anything just let me know! I have a z3, z3 tablet compact, and a MDR-1ABT headphone that supports LDAC.
Pandemic said:
Its is also chip related for the LDAC !
Bbut does it work if we add the lines in build.prop ?
i am curious about that, any changes ?
Click to expand...
Click to collapse
Sent from my D6603 using XDA Free mobile app
messaged a guy on Head-Fi who has an Xperia Z5 and LDAC headphones. Asked about how he knew they were being connected via LDAC and not aptx. Heres his response
From what I recall, I have a status message in the android notification area, that said it was connected by LDAC. Since it didn't really show up in the bluetooth settings, I connected it using NFC smacking together with the Z5 ... which connected instantly.
Ok, here is how this looks here: http://i.imgur.com/nu34yjZ.png .. you can touch it and it leads to a menu of the settings where, you can select between "Prefer Audioquality", "Standard" and "Prefer Connection".
Click to expand...
Click to collapse
so theres probably more than just the libs and build.prop line that needs to be ported? There must be something in the sound settings app or something else
There is a thread with sound mod (From Z5) http://forum.xda-developers.com/cro...deodex-xperia-z5-themes-home-widgets-t3207016
I don't know if that could help us.
I got LDAC partially working on the Z3 by using Bluetooth.defualt.so hw lib from Xperia X as well as the build.prop edit. However the audio is very choppy no matter which level of ldac is selected. Any suggestions?
UPDATE 1:
Using the bluetooth.defualt.so from the z5 lp and the z3 on an lp rom makes LDAC work perfectly. I hypothesize that the bluetooth files which I was using from the z5 6.0 release were causing the shuddering as reported by some users in the z5 fourms. Im gonna try the latest z5 6.0.1 release and see if that works. In short LDAC IS POSSIBLE TO PORT AND HAVE FULLY WORKING ON THE Z3 AND Z2 it just about finding working files for mm.
Great find kansasboy.
Im trying to get a pair of LDAC headphones - Sony MDR-100ABN - to work with a rooted 'Z3 Tablet Compact' running Lollipop 5.11 at the moment - I have edited the build prop and the LDAC settings are greyed out.
Im going to root my Z3 Compact when I see that LDAC works with the tablet.
Could you share the bluetooth.defualt.so from Z5 that you are using ?
How do you replace the default bluetooth.defualt.so ? just using ES file explorer ?
Had any luck getting it to work with 6.01 ?
Ok, got it working
I think you need both:
/system/lib/hw:
audio.a2dp.default.so
bluetooth.default.so
from the Z5 for it to work.
I took the files from a Xperia Z5 5.11 firmware and using ES file explorer I placed them in the /system/lib/hw folder of my rooted Z3 tablet compact running 5.11 (saving the originals as .bak) - restarted the tablet and could connect my Headphones using LDAC
I'm using xperia z3c with android 6.0.1, if I put Bluetooth.default.so, I got Sound stuttering every sec. Connection works LDAC options are available, but it looks different than on my friends z5.
It looks different probably because your friend is using a different version of system/app/soundenhancement. Ldac has been available through that app for at least 9 months. So there is multiple versions available. You guys could maybe try the working 5.1.1 Bluetooth files and 5.1.1 sound enhancement on 6.0.1 it may work probably not. worth a try though...
Have done some more tests and LDAC works on Z3 (stock rooted .264) with the following setup:
1. Edit /system/build.prop and add "ro.somc.ldac.audio.supported=true"
2. In /system/lib - add the file 'libldacBT_enc.so'
3. In /system/lib/hw replace 'bluetooth.default.so' and 'audio.a2dp.default.so' (backup the originals)
The 3 files needed are from a Z5 stock .264 (5.1.1) rom
When you are connected to a pair of LDAC headphones you get a notification and you can press that notification for further options.
I have this working on a Z3 Compact and a Tablet Z3 Compact.
Have tried it on a Z Ultra too - but it does not work.
When I tried it on 6.01 with files from a Z5 6.01 - the sound is stuttering (same as for the others) and the Z5 5.1.1 files did not work.
Currently bt audio on mm is screwed up and barely works for aptx. I get studdering sometimes with my mdr100abn and my fugoo Speaker using aptx. The bt audio on mm can not handle ldac even on connection preferred if you are using a z3 or z5 sound enhancement. Hopefully in the next official mm release Sony fixes these issues with BT playback. If they don't we will be sol. Currently the only way to get decent ldac on mm is forcing the min cpu frequency to anything over 1000mhz and disabling mdception. But even that isn't reliable. We are at sony's mercy to fix bt issues which they may not because it works well enough for what is officially supported. The bt stack has not changed in mm but there is a known bug with BT in the MM kernel. Sony has fixed this for the z5 and X. Even in first mm release z5 had issues with ldac on high quality.
Related
Hello XDA,
(TL;DR: Headset button is inconsistent, can't properly use it for music control)
I recently got my XPERIA Z2, uprading form the Z. I can't be more happy right now, no flaws, no serious problems.
It's just that this one-button headset does not work properly like I want it to.
For example on Cyanogenmod 11 on my Z I could simply click once for play/pause, double click (not too fast) for next track and triple click for goung to the previous track.
Right now it feels like the software which tasks these clicks is like on drugs.
My setup:
- XPERIA Z2 (D6503) Android 4.4.2 + root
- Build: 17.1.2.A.0.314
- Poweramp 2.0.9-build-564-uni
- V-MODA M100 crossfade Headphones
- Integrated microphone and button on the cord
The problem also occurs with the WALKMAN app.
I am pretty sure it's a software based problem.
Obviously I already looked around for some solutions:
- Headset Control Center
- JAYS Headset Control
- SmartKey by Sony
Main problem is that not every click is properly recognized. Long click results into Google Voice Search.
I hit the button in different click frequencies to find out how fast or slow I have to time the clicks, but well there is like no pattern at all.
The inconsistency is all the time, it does not matter if the display is on or off.
I could only find similiar threads on this XDA but no real working solution.
I'd be happy about some replies and maybe some solid solution.
Thanks in advance!
Templa said:
Hello XDA,
(TL;DR: Headset button is inconsistent, can't properly use it for music control)
I recently got my XPERIA Z2, uprading form the Z. I can't be more happy right now, no flaws, no serious problems.
It's just that this one-button headset does not work properly like I want it to.
For example on Cyanogenmod 11 on my Z I could simply click once for play/pause, double click (not too fast) for next track and triple click for goung to the previous track.
Right now it feels like the software which tasks these clicks is like on drugs.
My setup:
- XPERIA Z2 (D6503) Android 4.4.2 + root
- Build: 17.1.2.A.0.314
- Poweramp 2.0.9-build-564-uni
- V-MODA M100 crossfade Headphones
- Integrated microphone and button on the cord
The problem also occurs with the WALKMAN app.
I am pretty sure it's a software based problem.
Obviously I already looked around for some solutions:
- Headset Control Center
- JAYS Headset Control
- SmartKey by Sony
Main problem is that not every click is properly recognized. Long click results into Google Voice Search.
I hit the button in different click frequencies to find out how fast or slow I have to time the clicks, but well there is like no pattern at all.
The inconsistency is all the time, it does not matter if the display is on or off.
I could only find similiar threads on this XDA but no real working solution.
I'd be happy about some replies and maybe some solid solution.
Thanks in advance!
Click to expand...
Click to collapse
1. Does this change with playing with the cable
2. Does it do it with other headsets
3. There may not be any solutuon due to the fact the Z2 has a 5 pin jack instead of a ordinary 3 pin
4. :/ ive seen this with my old Xperia S headset
Envious_Data said:
1. Does this change with playing with the cable
2. Does it do it with other headsets
3. There may not be any solutuon due to the fact the Z2 has a 5 pin jack instead of a ordinary 3 pin
4. :/ ive seen this with my old Xperia S headset
Click to expand...
Click to collapse
1. Cable is stable, it works perfectly fine on my Xperia Z
2. Don't have other headsets with one-buttons and mic attached. :/ Might look through the house later
3. I was thinking the same, but otherwise I can't imagine that's the problem. I actually can play/pause skip forward/backward just inconsistent. I am almost sure the problem would be gone if I install CM11 but tbh stock by Sony is pretty awesome without bloat.
I think that whatever processes the one-button input must have some problem. These other Headset Control apps or whatever had some options like delay and such precision stuff, sadly it does not work.
4. I don't remember it clearly but I think my Xperia Z had the same problem which got "fixed" due to another android firmware (CM11)
Templa said:
1. Cable is stable, it works perfectly fine on my Xperia Z
2. Don't have other headsets with one-buttons and mic attached. :/ Might look through the house later
3. I was thinking the same, but otherwise I can't imagine that's the problem. I actually can play/pause skip forward/backward just inconsistent. I am almost sure the problem would be gone if I install CM11 but tbh stock by Sony is pretty awesome without bloat.
I think that whatever processes the one-button input must have some problem. These other Headset Control apps or whatever had some options like delay and such precision stuff, sadly it does not work.
4. I don't remember it clearly but I think my Xperia Z had the same problem which got "fixed" due to another android firmware (CM11)
Click to expand...
Click to collapse
Report this to Sony Support and hope their useless support team actualy does something
:/
Flashing another rom will fix it unless sony upate the firmare to fix it
Envious_Data said:
Report this to Sony Support and hope their useless support team actualy does something
:/
Flashing another rom will fix it unless sony upate the firmare to fix it
Click to expand...
Click to collapse
Well I got some kind of substitute, I installed Xposed Framework and binded the volume up/down with prev/next to my licking. Actually that works better for me when I am outdoor. Pushing that button on the cord is cool but it's usually below my jacket, while my hands are in the pocket near the phone.
I am fine with that. But I'll take a look at Xposed Additions, there is also some configuration with hardware buttons in general.
I'll update this post in case I find a decent workaround.
Thanks for your time though!
hi, I've recently bought a pair of SONY's MDR-1RBT Bluetooth headphones. the sound over the bundled cable is very good, but when I connect them by bluetooth, things get much worse, it's like the FLAC files I listen to get compressed to some 128 or even 64 kbps... but on my friend's xperia z3 Compact they work just fine. so here's my question. is it possible that the custom rom that I use (existenz MM latest version) causes these problems? I also use Viper so that may be the case. if you don't have any solutions, I'll flash stock and see what happens.
I've no idea what the problem could be, sorry. You may find answers over at the eXistenZ thread. Even though the ROM is no longer being updated there's still many using it.
Probably the rom has no aptX and aptX HD support.
To check:
Start catlog (or an other logcat app)
Connect you Bluetooth device
Start playing music (probably not necessary)
Pause catlog
Search for aptX
If the libraries are missing you should fine some line that says so missing libraries.
Search for bt_btif_media
If the libraries are missing there will be a line that shows: Selected Codec SBC
If there libraries are not missing but the selected codec is still SBC I don't know what is wrong.
To fixed this on LineageOS I installed the aptX (and aptxHD) codec from here:
https://forum.xda-developers.com/oneplus-3/themes/mod-aptx-codec-t3521228
I used the Magisk module, but of course for that you need Magisk.
After that I also installed the aptX-HD module from here (again the magisk moduel):
https://forum.xda-developers.com/android/software/mod-aptx-hd-bluetooth-hi-res-audio-t3501991
Now do the same logcat procedure.
If there now is aptX support you should find something like Selected Codec aptX
Good luck!
Oww was this post that old... Still hope it helps (someone).
Someone using LineageOS with a USB-Audio-Interface??
I recently had my Xperia Z5 Compact rooted and swapped from Sony Stock-ROM to the latest 7.1.2 Lineage OS 14.1 Official Suzuran because I have been using CyanogenMod on my old Phone and I just loved it!
:good: BTW: Big Thanks to all you Devs and Maintainers!
But since my Z5 Compact is running LineageOS I have troubles using audio output via USB OTG. On the output of the external USB soundcard you can hear audio glitches like lags, clicks or drops. These dropouts are very annoying when listening to fine music...
When using Sony Stock-ROM everything worked fine with the same setup.
I have also tried LineageOS 14.1 Berni's alternative builds but this build obviously has the same USB-Audio problems.
Why don't use the built-in audio? Because an external Soundcard/DAC sounds so much nicer!
Any Ideas to try out or how to fix it?
Can you help!?
Thx.
What I have already tried:
- setting "performance profile" to: Power Safe / Efficiency / Balanced / Quick / Performance
- setting up "battery optimization" to not optimize: CM Audio Service, USB OTG, Music Player.
I don't know if these settings could influence audio output in any way or cause these clicking noises but it did not help anyway.
Found this post: https://forum.xda-developers.com/showpost.php?p=76139796&postcount=291
suggesting to edit build.prop file in /system in order to improve audio quality.
-> The recent build (suzuran 14.1 2018-06-24) was already setup that way.
Still I tried some playing with the setting audio.offload.buffer.size.kb=32 and setting it up till to 512 did not bring any improvement.
Also found a report which states that audio glitches and clicks disappeared when using the ViPER4Android Audio Effects app but I could not get it running. It needs to install some sort of driver (root needed) which did not work after all.
BTW: This is what they write at the Spotify Community about Android and USB Audio. -> Some Apps which depend on high quality sound output seem to bypass the Android driver and use their own.
Looks like a common problem with Android audio
As Sony USB-drivers or audio drivers from StockROM seem to work fine. Would it be possible to use the original Sony-drvers for the LineageOS suzuran build???
At the moment I would not recommend ViPER4Android for our phone because it seemed to wreck some drivers/settings when installing root-driver which made my sensors stop working.
Is somebody using ViPER4Android on Xperia Z5 Comact with LineageOS??
Any experiences???
Sill searching for better audio output via USB-Soundcard/-DAC . . .
I have read the the device is support LDAC Bluetooth.
But when I change Bluetooth codec in developer setting to LDAC it got no sound. Testing with my fiio btr3 the indicator light change to white thae mean I using LDAC but got no sound.
The only codec that work is just sbc, aac and aptx.
Anyone know how to enable LDAC or just tell me that it not supported LDAC yet.
PS. When using the other codec it has worst quality than it should tho compare to my Nokia8. Why this happen?
sadin911 said:
I have read the the device is support LDAC Bluetooth.
But when I change Bluetooth codec in developer setting to LDAC it got no sound. Testing with my fiio btr3 the indicator light change to white thae mean I using LDAC but got no sound.
The only codec that work is just sbc, aac and aptx.
Anyone know how to enable LDAC or just tell me that it not supported LDAC yet.
PS. When using the other codec it has worst quality than it should tho compare to my Nokia8. Why this happen?
Click to expand...
Click to collapse
Bluetooth speaker/device should support also LDAC. Not only the Smartphone that have a LDAC capability
philipjan26 said:
Bluetooth speaker/device should support also LDAC. Not only the Smartphone that have a LDAC capability
Click to expand...
Click to collapse
i have the same issue. I have Sony wh-1000xm3 headphones. When i switched the LDAC codec. Sound just gone. Is anyone found a solution for this?
I search for it and found the samsung s9 s8 etc. phones have similar kind of problem. They have a solution for this. They just turn off the "dual audio" feature. But i cant find that setting in A3.
kaelthasxx said:
i have the same issue. I have Sony wh-1000xm3 headphones. When i switched the LDAC codec. Sound just gone. Is anyone found a solution for this?
I search for it and found the samsung s9 s8 etc. phones have similar kind of problem. They have a solution for this. They just turn off the "dual audio" feature. But i cant find that setting in A3.
Click to expand...
Click to collapse
Same thing, @kaelthasxx. I'm also trying to setup my wh1000xm3 with the Mi A3 and there's just no way of making ldac work. Not to mention that using aptx gets me an awful quality. If I run a frequency response test I get a lot of crackling at frequencies around 17-20khz with aptx.
The best quality I managed to get out of this setup was using sbc, which is a shame since the headphones support all the way up to ldac.
I think this is some issue with the OS (I'm using the phone's native Android One), since in theory the BT soc of this phone should support these technologies. Hope they fix it for Android 10.
I had install custom rom and it work just fine. Can't wait for official release tho
Sent from my MI A3 using Tapatalk
sadin911 said:
I had install custom rom and it work just fine. Can't wait for official release tho
Sent from my MI A3 using Tapatalk
Click to expand...
Click to collapse
What ROM are you using? The official one doesn't even support aptx properly (I get a lot of distortion using it with Sony's WH-1000xm3). Not sure if I should flash a custom ROM or pray for a fix in Android 10.
Anyone have a solution for this, just got some Sony Bluetooth cans for xmas and bow have same issue...
Is it confirmed fixed in Android 10 (ie a month or so factory fix all going well) or should I just go custom rom and fix it now (although the whole reason I went a3 was to get a stock Android device)
If I was to go rom route what's the suggested rom? I'm assuming a3 and a3 lite use the same base rom package?
Thanks to all in advance
G.
does anyone know if this problem has been solved with android 10?
sitolupion said:
does anyone know if this problem has been solved with android 10?
Click to expand...
Click to collapse
I can't confirm for LDAC, but AAC doesn't work, it always revert to sbc. For now is better to try a custom as bluetooth codecs never worked for me.
here you go! was also waiting for long months to access any better then SBC...
A3 with A10 stock, April version + Sony XM3, latest app version
--> AptX is on!
checked developer settings and this confirms. AptX is shown on (its not AptX HD by the way). trying to select any better eg LDAC wont stick when return from setting, also no codec effect.
at least something... good luck guys!
No
sitolupion said:
does anyone know if this problem has been solved with android 10?
Click to expand...
Click to collapse
No
Any update on this? How does the phone do with the latest firmwares?
(I plan to get Sony headphones)
Mi A3 with Android 11 here. No LDAC option, best is aptX but the WH-1000-XM4 dont support it so... best codec is AAC.
Our phone was announced to be capable of aptx and aptx HD. I own two different bluetooth receivers with aptx HD enabled. But when I connect the phone to them, it uses only aptx, as the connection info on our device and the LEDs on the receivers reveal. This behaviour did not change from Android 9 to 10.
My wife has a Mi A2, and with this device aptx HD works on both devices under Android 9 and 10. Is there a hidden way to activate aptx HD on our phone? Meanwhile I think our phone is heavily neglected by Xiaomi because such features present in a Mi A2 mysteriously vanished.
zapper19 said:
Is there a hidden way to activate aptx HD on our phone?
Click to expand...
Click to collapse
It's on developer settings.
Also, if forcing aptx HD is not working or has bugs, remember to report it.
This was the first thing I tried, but predictably switching to aptx HD in developer settings has no effect (I wonder what use these settings have - I never heard that someone succeeded in activating codes this way which his phone didn't choose automatically).
Update: I changed to crdroid 6.6 - and now aptx HD works flawlessly.
Hi sir, today I've got issue with connection to Fii0 BTR3K - no sound from PowerAmp which I was using for weeks without problems before. I did security update from May yesterday (yep late a bit) and got this issue. Fortunatelly to me I have SBH50 from Sony to test everything on low profile SBC connection. Lucky to me, I did another update to August security patch for Android 10 today.
Now I have Aptx LL ([email protected]) working with BTR3K (purple indication on LED). What I learned from today: Do not touch Dev settings! By misstake Dev settings could store your input as wrong data in 'system default' for application (PowerAmp in my case) and lead to missfunction. In my case PowerAmp was reading [email protected] even from non-aptX device. Second: actual condition of connection could be changed during SW initialization. So test your player SW and try to reset it as I did.
For specified [email protected] I am using Hi-Res output of PA. I am pretty sure in numbers as I can hear the difference between SBC and aptX, and hear difference with 16 to 24 bit resolution change (by enabling\disabling tone processing in ounput pipeline). To enable 24 bit in PA you should disable \reset to default dithering method.
I think AptX-HD isn't fully supported by 2 reasons: no real benefits over LL profile + licensing catch.
Hope you will learn something from my evidence
I have haylou gt1 plus earbuds. Apart from bad connection , the buds are aptx-HD compatible, one of their selling points. When i go to developer settings to check, aptx is used. When I change it to HD, it detects the change, nothing happens, and when I go back, and enter dev settings again, it is still on aptx . I think that's time to throw it in the sea... it's already blue
Sapper Morton said:
Your earphone doesn't support AptX-HD, that's why when your manually change to it using Developer Options, the codec isn't selected; use AptX or AAC, as advertised by Haylou.
Source:
https://haylou.info/gt1-plus.html
Click to expand...
Click to collapse
It's weird cause all reviews I read, specifically said aptx-HD, but you are right. It's only aptx. Nevermind. My mistake !
JaKats said:
I have haylou gt1 plus earbuds. Apart from bad connection , the buds are aptx-HD compatible, one of their selling points. When i go to developer settings to check, aptx is used. When I change it to HD, it detects the change, nothing happens, and when I go back, and enter dev settings again, it is still on aptx . I think that's time to throw it in the sea... it's already blue
Click to expand...
Click to collapse
Are you on android one?
Cause I'm on miui 12 and i have lots of issues. First left and right connects to the phone at the same time and then i have volume problems