librepods icon indicating copy to clipboard operation
librepods copied to clipboard

Failing to connect via L2CAP on Xiaomi 14T (degas)

Open maxxvoiid opened this issue 1 year ago • 4 comments

When trying to connect i get "Unable to connect to Airpods over L2CAP" AirPods Pro 2 Device: Xiaomi 14T (degas) ROM: HyperOS GLOBAL 2.0.206.0.VNEMIXM Android Version: 15 AP3A.240905.015.A2 Root via KernelSU NEXT, LSPosed 1.9.3_mod (7244) - Zygisk

Image

I have tryed to use the btl2capfix.zip file on KSU next, but Bluetooth fails and cannot be used until I disable the module

Log: airpods_log_1764346424480.txt

maxxvoiid avatar Nov 28 '25 19:11 maxxvoiid

What solved it for me was downloading another module from

here

itsowyu avatar Nov 29 '25 07:11 itsowyu

  1. install reLSPosed (idk if that's needed yet that's what i use)
  2. on kernelsu go onto bluetooth app settings (where you configure su access of apps) and there disable protection of app from modules.
  3. restrat

rfc9849 avatar Nov 30 '25 20:11 rfc9849

Hey, sorry for the delay, but here I am with more information about my case.

Recent changes I made:

  1. Updated LSPosed from 1.9.3_mod -> 1.10.2 (JingMatrix)
  2. Disabled KernelSU "module unmount / module protection" for:
  • com.android.bluetooth
  • com.xiaomi.bluetooth
  • Bluetooth overlays (.overlay, MIDI, etc.)
  1. Updated LibrePods version from 0.1.0-rc.4 -> 0.2.0-alpha
  2. Rebooted and tested again.

Result: LibrePods still shows “Unable to connect over L2CAP”. Bluetooth service crashes immediately when LibrePods tries to create the L2CAP socket.

Here are the logs and images about the changes: Log: _data_user_0_me.kavishdevar.librepods_files_logs_airpods_log_20251201_012944.txt

Image Image

maxxvoiid avatar Dec 01 '25 04:12 maxxvoiid

hey have you maybe figured out a fix? i have a xiaomi 14t also and i get the same issue

taskipl avatar Jan 25 '26 18:01 taskipl