Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.0.0 Android 14 not working #18

Closed
VincAlastor opened this issue Apr 8, 2024 · 5 comments
Closed

v3.0.0 Android 14 not working #18

VincAlastor opened this issue Apr 8, 2024 · 5 comments

Comments

@VincAlastor
Copy link

VincAlastor commented Apr 8, 2024

thanks for your v3.0.0 release. I tried to get the version running over the weekend. Unfortunately without success. Here is my system:

Xiaomi Mi 11i/haydn (SD 888)
crDroidAndroid-14.0-20240210-haydn-v10.2
FW V14.0.7.0.TKKEUXM
AGNi_kernel-haydn-stable-v5.8-AOSP-ST
latest KernelSU
Zygisk Next 1.0.1
LSPosed-v1.9.2-7058-zygisk-debug

When I open the ExtA2DP, the following notification appears:

grafik

In the dev options the new Bluetooth codecs are listed, but not used when reconnecting with LHDC v4 headphones. I would be happy if you can find the error in the attached log.

@anonymix007
Copy link
Owner

crDroid is explicitly not supported. You will need CLO ROM for this. Even though it's a bit easier to support non-CLO ROMs after v3.0.0, I still don't have plans for that. Even though I might do it, I don't really want to support these shitty ROMs which are using AOSP BT stack on devices with Qualcomm SoCs.

@VincAlastor
Copy link
Author

Thank you for taking a look. With a not very prominent device, you have limited ROM choices. Your module was one of a few chances. You are one of very few devs who even recognize and perceive this Android Bluetooth audio codec issue. And yes, it's really not nice to be limited to max. AAC and for whatever reason max. 44.1 KHz with crdroid at the moment. Especially the downsample to 44.1 KHz sounds terrible.

@anonymix007
Copy link
Owner

Well, I will continue improving compatibility with non-CLO ROMs in the future. What currently the issue is that ExtA2DP fails to load it's Bluetooth stack replacement library (apart from a few missing classes in AOSP BT, which could be just ignored if missing). This is what I'd expect it to do with a non-CLO ROM. But we already have an open issue for that: #13
There certainly needs to be a separate cut-down version for these. I might try building one later.

@VincAlastor
Copy link
Author

Thank you again for your attention to this important topic. I have now ordered LC3plus headphones. I have seen that you have committed the liblc3 on github. Do you know if this lib is automatically updated on google and AOSP so that lineage/crdroid also get the LC3plus features? Can I somehow check which lib version is in the following ROM?

https://sourceforge.net/projects/crdroid/files/haydn/10.x/crDroidAndroid-14.0-20240407-haydn-v10.4.zip/download

Sorry, this is pretty off topic, but I don't know who is closer to the topic than you.

@anonymix007
Copy link
Owner

Can I somehow check which lib version is in the following ROM?

There doesn't seem to be a direct way to check the version, but you may try to unpack it, find btservices apex, extract it and use strings on libbluetooth_jni.so to find liblc3 functions.

Do you know if this lib is automatically updated on google and AOSP so that lineage/crdroid also get the LC3plus features?

Of course it is not. The main branch doesn't have v1.1.0 tag merged. And even if it did, AOSP is not using these features nor there are any plans to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants