mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-04-24 23:55:52 +03:00
[GH-ISSUE #378] Need to force stop to make app work correctly OP13R + music starts although playback option disabled #179
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#179
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 @servalfobe on GitHub (Dec 12, 2025).
Original GitHub issue: https://github.com/kavishdevar/librepods/issues/378
(With airpods pro 2, fully updated)
I'm using the last nightly build #87 on my Oneplus 13R (non-root, OxygenOS 16). When I open my airpods case, they connect but I can only go to the settings page, the main page of the app stays blank (and I can't change anything in the settings). Sometimes the settings are showing but I can't change anything, when I try I get a notification saying "AirPods Connection Issue:
Your AirPods are connected via Blue-tooth, but LibrePods couldn't connect to AirPods using L2CAP. Error: Socket crea-ted, but not connected. Is the Bluetooth process hooked?". I have to force stop the app and then restart, and then I can access all options and they work.
And something else that I noticed and is quite bothering to me, is that my music starts to play when I connect (although the option is disabled in Librepods and in my music app Poweramp). Never had an issue with that before using Librepods. And when sometimes the app works without needing to force stop, the music doesn't start automatically, it happens when there is a problem in the app and I can't access the settings. In that case there is also no notification with the battery showing (also works when I force stop and restart). I gave all authorizations and disabled battery optimization for Librepods.
Here is the log from my music app with Bluetooth commands :
Can you help ? Do you know what's wrong ?
I force stopped Librepods and restarted the app, the music paused, here are the logs (don't know if it can help)
==================
14:57:00.675 PSAudioFocusHelper AUDIOFOCUS_LOSS
pausePlaying af_permanent
14:57:03.198 PSMediaButtonReceiver MEDIA_BUTTON
KEYCODE_MEDIA_PLAY ACTION_DOWN follow_pl_exact 1 deviceName=Virtual deviceSources=0x00000301 virt=true actionTime=13988203 sourcePak=me.kavishdevar.librepods playerState=2
14:57:03.200 PSMediaButtonReceiver MEDIA_BUTTON
KEYCODE_MEDIA_PLAY ACTION_UP follow_pl_exact 1 deviceName=Virtual deviceSources=0x00000301 virt=true actionTime=13988207 sourcePak=me.kavishdevar.librepods playerState=2
14:57:03.206 PlayerService RESUME
handlePowerampAPICommand from PSMediaButtonReceiver ts=13988203 resumePlaying ACTION_API_COMMAND
14:57:05.181 PSAudioFocusHelper AUDIOFOCUS_LOSS
pausePlaying af_permanent