librepods icon indicating copy to clipboard operation
librepods copied to clipboard

L2CAP bug fixed: report success/failure here with build number

Open aidandj opened this issue 8 months ago • 61 comments

According to the issue tracker the L2CAP bug was fixed. I'm guessing it's not released on any phones right now but couldn't tell for sure. I updated my Pixel 9 to latest release and was testing, but couldn't collect logs unrooted.

I got this error and traced it back a ways, without a clear finding. Maybe someone with more experience in the AOSP codebase could confirm.

Screenshot_20260324-230222.png

aidandj avatar Mar 25 '26 05:03 aidandj

What’s your exact Android version and build number?

devnoname120 avatar Mar 25 '26 09:03 devnoname120

16 - CP1A.260305.018

I'm guessing it just recently got merged, but haven't found a commit yet

aidandj avatar Mar 25 '26 10:03 aidandj

Same, still broken on Samsung S26U, latest stable released today

Build BP4A.251205.006.S948BXXU1AZCF

AlexZorzi avatar Mar 25 '26 18:03 AlexZorzi

google has added the fix in A17 beta 3 for pixel!

kavishdevar avatar Mar 27 '26 05:03 kavishdevar

No luck w/ Pixel 10 Pro XL on A17 Beta 3 (CP21.260306.017). "Unable to connect to AirPods over L2CAP" App says "AirPods not connected" however if I force close and open the app again, my AirPods will show up but everything is at 0%, and no functionality works.

v0.1.0-rc.4

jacksonattwood avatar Mar 27 '26 09:03 jacksonattwood

No luck w/ Pixel 10 Pro XL on A17 Beta 3 (CP21.260306.017). "Unable to connect to AirPods over L2CAP" App says "AirPods not connected" however if I force close and open the app again, my AirPods will show up but everything is at 0%, and no functionality works.

v0.1.0-rc.4

I can confirm this with my pixel 9 on CP21.260306.017

Vcele avatar Mar 28 '26 14:03 Vcele

No luck w/ Pixel 10 Pro XL on A17 Beta 3 (CP21.260306.017). "Unable to connect to AirPods over L2CAP" App says "AirPods not connected" however if I force close and open the app again, my AirPods will show up but everything is at 0%, and no functionality works.

v0.1.0-rc.4

Doesn't work on Pixel 9 Pro XL either

websterwh avatar Mar 28 '26 23:03 websterwh

@jacksonattwood @Vcele @websterwh, please try a build from here. (google changed the constructor for BluetoothSocket in A16QPR3.

kavishdevar avatar Mar 29 '26 11:03 kavishdevar

@jacksonattwood @Vcele @websterwh, please try a build from here. (google changed the constructor for BluetoothSocket in A16QPR3.

Firstly thank you for being so passionate for the open source community! I just tried the build and it works, I still get an l2cap error, but battery indicator and switching between noise cancelling and transparency works perfectly. Only the name of the Airpods defaults to just "AirPods". For reference I am using the "old" Airpods Pro 1, so maybe this causes the problem.

I'll try it out a bit more and report back!

Vcele avatar Mar 29 '26 12:03 Vcele

Hey @kavishdevar, thanks for the amazing project. I am also running the latest beta on my Pixel 10XL Pro and the version 0.2.0 and I also get the notification about L2CAP not working. I am able to switch between the different modes, though. Keep up the great work!

danielkoller avatar Mar 29 '26 13:03 danielkoller

you can ignore the notification, I don't currently know why that's happening (it's been quite a while since I've looked at that part of the app), but I'll have a look when I am fully back into development.

also, since you don't have root, please use the no-di-hook version, it hides the features that need the VendorID to set to Apple's like hearing aid, and transparency mode customization.

kavishdevar avatar Mar 29 '26 13:03 kavishdevar

Will do, thanks!

danielkoller avatar Mar 29 '26 14:03 danielkoller

I think the problem is that the lsposed Bluetooth isn't getting all the information needed or it won't go take a lot of information , I tried it on an Samsung and it worked without any problem but when I switched on an Motorola phone everything works besides the lsposed gathering the needed Bluetooth information, I even gave it the irk end encryption keys and it won't find the airpods

  • I looked in App manager into the apps permissions to see if it needed something and I noticed that on some uses permison it says revoked
Image

XY0P9 avatar Mar 29 '26 15:03 XY0P9

Can confirm the latest builds do work on Pixel 10 Pro 16 QPR3(not rooted)

I get the L2CAP notification from time to time, but the base functionality works

sashko9807 avatar Mar 30 '26 07:03 sashko9807

16 QPR3? that's so nice of Google!

kavishdevar avatar Mar 30 '26 07:03 kavishdevar

Hello everyone especially @kavishdevar , thanks for the amazing project , been waiting for the bug fix for almost a year, finally fixed but will it be pushed to older phones/Android versions?, i have a old phone with Android 7, thanks!

AhmadGamer34 avatar Mar 30 '26 09:03 AhmadGamer34

@AhmadGamer34 it certainly will not be to Android 7. a few OEMs might to A16, and I hope all manufacturers do it in A17 because it will be in the first stable release.

kavishdevar avatar Mar 30 '26 09:03 kavishdevar

@jacksonattwood @Vcele @websterwh, please try a build from here. (google changed the constructor for BluetoothSocket in A16QPR3.

Works great. If I try to open the Camera Control menu in the app it freezes until I scroll, and never lets me into the menu.

Getting the notifications the same as everyone else. Haven't tested adjusting any settings yet.

Just went to open the app while I had Spotify playing, app kinda freaked out, gave me that notification, music paused and app relaunched. Now I'm just seeing this whenever I launch the app, and the notification says "Cannot find matching constructor". Screenshot_20260330-205239.png

jacksonattwood avatar Mar 30 '26 09:03 jacksonattwood

@jacksonattwood I'd recommend using the v0.1.0 version instead for stability, until further updates.

kavishdevar avatar Mar 31 '26 13:03 kavishdevar

Can confirm the latest builds do work on Pixel 10 Pro 16 QPR3(not rooted)

I get the L2CAP notification from time to time, but the base functionality works

Same here. Running A16 Build CP1A.260305.018 on a Pixel 6. All features work as expected.

iamionized avatar Mar 31 '26 14:03 iamionized