mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-04-25 08:05:56 +03:00
[GH-ISSUE #4] Support for Qualcomm Bluetooth Stack #2
Labels
No labels
android
bug
documentation
enhancement
good first issue
help wanted
linux
pull-request
reverse-engineering
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librepods#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @InfinityMod on GitHub (Nov 20, 2024).
Original GitHub issue: https://github.com/kavishdevar/librepods/issues/4
Originally assigned to: @kavishdevar on GitHub.
Hi, I like the project.
My current phone seems to use the Qualcomm Bluetooth library (libbluetooth_qti_jni.so), and so I was wondering if there also exists a fixed ".so" file for this chipset.
What I did so far:
Integrating the libbluetooth_jni.so via Magisk under System/lib64/libbluetooth_jni.so. Unfortunately, the app crashes on starting up. I recognized that normally just "libbluetooth_qti_jni.so" but not "libbluetooth_jni.so" exists under lib64 for my smartphone (OnePlus 10 Pro).
@kavishdevar commented on GitHub (Nov 21, 2024):
Thank you for trying out the project! Unfortunately I can not build custom libraries for possible flavoured android ROMs like OxygenOS. Although, chances are, the normal library exists in the apex library folder. Could you send me the output of
sudo lsof | grep libbluetooth?By the way, I've recently discovered that my library only works on A14, and breaks bluetooth on A15. Could you confirm which Android version are you using?
I will shortly be updating my (pre-)release including the library buily from Android 15's sources and make the instructions more clear.
Thank you!
@kavishdevar commented on GitHub (Nov 21, 2024):
Hi, can you please share the crash logs? I don't think it should be crashing. Does Bluetooth work after replacing the library? if not, you are probably not on A14, for which the library was built for. Else, it might be some other bug, which I will defintely look into!
@InfinityMod commented on GitHub (Nov 21, 2024):
Hi thanks for looking inside the issues,
I did lsof; thanks for the hint:
The crash generates the following log:
@kavishdevar commented on GitHub (Nov 24, 2024):
Thank you for the logs!
I will not be able to help with the library, unfortunately. And, I will look into the crash!
@kavishdevar commented on GitHub (Dec 28, 2024):
I think I might be able to work on the library using a patcher. I will try to use ghidra and patch the library. I am still learning how to use the tool, though. So after experimenting, I will share the library with you!
@nikhilbadyal commented on GitHub (Jan 4, 2025):
Same issue. Not working for me. I can see
libbluetooth_qti_jni.soandlibbluetooth_jni.so.@kavishdevar commented on GitHub (Jan 5, 2025):
BTW, if you want to experiment with this, you can use ghidra or any other patching tool and path the library yourself. I am little busy with my exams right now.
@kavishdevar commented on GitHub (Jan 13, 2025):
Please follow the instructions in the README for a simplified installation process. You need to install a module available in the latest nightly release.
This patches the library, so there is no need to build it now.
Closing as completed. You may create a new issue if needed.