[GH-ISSUE #335] Failing to connect via L2CAP on Xiaomi 14T (degas) #157

Open
opened 2026-03-02 12:04:06 +03:00 by kerem · 4 comments
Owner

Originally created by @maxxvoiid on GitHub (Nov 28, 2025).
Original GitHub issue: https://github.com/kavishdevar/librepods/issues/335

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

Originally created by @maxxvoiid on GitHub (Nov 28, 2025). Original GitHub issue: https://github.com/kavishdevar/librepods/issues/335 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](https://github.com/user-attachments/assets/6020270d-1565-4ee2-8070-8d4e39babe95) 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](https://github.com/user-attachments/files/23828719/airpods_log_1764346424480.txt)
Author
Owner

@itsowyu commented on GitHub (Nov 29, 2025):

What solved it for me was downloading another module from

here

<!-- gh-comment-id:3591152380 --> @itsowyu commented on GitHub (Nov 29, 2025): What solved it for me was downloading another module from [here](https://github.com/JingMatrix/LSPosed)
Author
Owner

@r3pr3ss10n commented on GitHub (Nov 30, 2025):

  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
<!-- gh-comment-id:3593331822 --> @r3pr3ss10n commented on GitHub (Nov 30, 2025): 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
Author
Owner

@maxxvoiid commented on GitHub (Dec 1, 2025):

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

<!-- gh-comment-id:3594540604 --> @maxxvoiid commented on GitHub (Dec 1, 2025): 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.) 3. Updated LibrePods version from 0.1.0-rc.4 -> 0.2.0-alpha 4. 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](https://github.com/user-attachments/files/23845052/_data_user_0_me.kavishdevar.librepods_files_logs_airpods_log_20251201_012944.txt) ![Image](https://github.com/user-attachments/assets/ca753644-218a-488b-9b9f-1c21925a171b) ![Image](https://github.com/user-attachments/assets/7bbfd241-b6c5-4701-998f-cd3f3a793101)
Author
Owner

@taskipl commented on GitHub (Jan 25, 2026):

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

<!-- gh-comment-id:3797087636 --> @taskipl commented on GitHub (Jan 25, 2026): hey have you maybe figured out a fix? i have a xiaomi 14t also and i get the same issue
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librepods#157
No description provided.