-
Notifications
You must be signed in to change notification settings - Fork 7
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
Support Qualcomm (QTI) Bluetooth Stack #3
Comments
Can confirm this happens on OnePlus 9 running Oxygen OS 11.2.4.4LE25BA. App crashes on startup if Bluetooth is enabled, if it isn't the app will load, request that Bluetooth is enabled and then immediately crash. EDIT: Also crashes on Oxygen OS 11.2.5.5LE25BA. Tried updating Magisk to v23, but that did nothing either (unsurprisingly). |
Crash is fixed but it doesn't seem to forward setting the device class to the bt stack layer. Need to check again. |
Even using the JNI layer to dlopen libbluetooth.so and call AOSP: https://cs.android.com/android/platform/superproject/+/master:system/bt/btif/src/btif_core.cc;l=690-699;drc=master?q=btif_core.cc&ss=android%2Fplatform%2Fsuperproject As we can only use exported symbols like I need to try library injection instead as it is described here: https://fadeevab.com/shared-library-injection-on-android-8/ |
There's no way to fix this. But Qualcomm finally added the missing code: https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/system/bt/tree/btif/src/btif_core.cc?h=system/bt/LA.AU.1.2.2.r1#n952 So this issue only persists for older qti bt stacks. Closing now. |
Some users experiencing a crash once Bluetooth is enabled.
Currently confirmed to happen on the following devices:
Stacktrace:
The text was updated successfully, but these errors were encountered: