librepods icon indicating copy to clipboard operation
librepods copied to clipboard

Does not work on Nothing Phone 1 (qti driver)

Open goshante opened this issue 10 months ago • 13 comments

Phone is rooted, I've installed OverlayFS module and btl2capfix.zip module (btl2capfix-v0.0.3.zip won't install, says "incompatible bluetooth driver", so i've installed some older version (i guess?)) I've installed latest apk from releases, it detected my airpods pro max 2, but charge is 0% and no features available. And in most cases app doesn't even detect them or hangs and crashes. So nothing is working. Why?

btl2capfix-v0.0.3.zip install failed with error "qti" Bluetooth libraries are NOT supported by the patcher. btl2capfix.zip installed without any issues. I think this might be the source of the problem...

goshante avatar Feb 22 '25 14:02 goshante

Yeah, as it says your phone is not supported unfortunately. :(

It mostly doesn't work for ROMs/devices with the qti library based on some users reports (in the telegram group), so had to prevent the module from installing successfully on those devices. I could give you a module that installs for qualcomm lib too, but I can't guarantee it i'll work. Would you like to give it a chance?

kavishdevar avatar Feb 22 '25 15:02 kavishdevar

Sure! Why not, I would like to try

goshante avatar Feb 22 '25 17:02 goshante

Hey, sorry for the delay! Could you please send me your build number or the library in use (check by running lsof | grep libbluetooth as root, it would be the libbluetooth_qti.so if the module returned that error.)

kavishdevar avatar Mar 06 '25 05:03 kavishdevar

Here it is, output of those command Image

goshante avatar Mar 11 '25 09:03 goshante

Please send the /system_ext/lib64/libbluetooth_qti.so. Or your build number works too, there are many dumps of nothingos available for most builds.

kavishdevar avatar Mar 11 '25 10:03 kavishdevar

Here it is: https://github.com/goshante/tech_stuff/raw/refs/heads/master/libbluetooth_qti.so

goshante avatar Mar 12 '25 17:03 goshante

sorry was a little busy, try this

lmk if it works (very high chances it might not work, though). also, remove any old modules before installing this.

kavishdevar avatar Mar 18 '25 04:03 kavishdevar

Thank you for your efforts! Unfortunately not working. Removed previous BT module, installed this. Installed ALN again, not working. Rebooted few times, tried stopping process, pairing, then starting and in other order, nothing.

goshante avatar Mar 19 '25 19:03 goshante

Hi, I am getting the same issue, I am using a Poco F2 Pro (lmi) running MIUI 14 with Android 12.

Here is the Magisk log install:

- Copying zip to temp directory
- Installing btl2capfix-v0.0.3.zip
- Device is system-as-root
Archive:  /data/user/0/io.github.huskydg.magisk/cache/flash/install.zip
  inflating: module.prop
****************************************
 Bluetooth L2CAP workaround for AirPods 
 by @devnoname120 and @kavishdevar 
****************************************
Archive:  /data/user/0/io.github.huskydg.magisk/cache/flash/install.zip
  inflating: customize.sh
*******************
 Powered by Magisk 
*******************
- Extracting module files
Archive:  /data/user/0/io.github.huskydg.magisk/cache/flash/install.zip
   creating: busybox/
  inflating: busybox/busybox-arm64
  inflating: busybox/xz
  inflating: customize.sh
  inflating: module.prop
  inflating: radare2-5.9.9-android-aarch64.tar.gz
[O] Extracting module files...
[O] Extracting radare2 to /data/local/tmp/aln_unzip...
[O] rabin2 binary is ready.
[O] radare2 binary is ready.
[O] busybox binary is ready.
[O] xz shim is ready.
[O] Detected library: /system_ext/lib64/libbluetooth_qti.so
[O] ERROR: "qti" Bluetooth libraries are NOT supported by the patcher and you won't be able to use aln. Aborting...
[O] Bluetooth driver not compatible.
! Installation failed

So are we really out of luck? 😔

kratoz29 avatar Mar 19 '25 21:03 kratoz29

Thank you for your efforts! Unfortunately not working. Removed previous BT module, installed this. Installed ALN again, not working. Rebooted few times, tried stopping process, pairing, then starting and in other order, nothing.

Yeah, expected. The patch doesn't always work, qti libs usually behave unexpectedly. Normal ones (built from source, unmodified) usually do work.

So are we really out of luck? 😔

Nop, Native Hooks will work, but I am too busy to learn how to hook. Someone did write a hook in this repo, but, when I tried it on my device it didn't work. I will definitely try to write a XPosed module - just can't say when.

kavishdevar avatar Mar 20 '25 03:03 kavishdevar

So are we really out of luck? 😔

Nop, Native Hooks will work, but I am too busy to learn how to hook. Someone did write a hook in this repo, but, when I tried it on my device it didn't work. I will definitely try to write a XPosed module - just can't say when.

Alright, don't worry, I'll patiently wait if you find your way for this, an XPosed module would be great ngl.

Gonna keep your project in sight :)

kratoz29 avatar Mar 20 '25 08:03 kratoz29

if someone wants to try:

https://github.com/kavishdevar/aln/issues/67#issuecomment-2756773474

The XPosed module does hook onto the qti libraries too without any restrictions, unlike the module. But still, don't know if it works.

kavishdevar avatar Mar 27 '25 05:03 kavishdevar

if someone wants to try:

https://github.com/kavishdevar/aln/issues/67#issuecomment-2756773474

The XPosed module does hook onto the qti libraries too without any restrictions, unlike the module. But still, don't know if it works.

Hey. I've checked this build with Airpods 4 ANC + Poco F3 (xiaomi.eu 14.0.8.0, A13), headphones are detected in the app, but nothing works and app hangs with a blank page intermittently 😔

krugdenis avatar Apr 04 '25 11:04 krugdenis