librepods icon indicating copy to clipboard operation
librepods copied to clipboard

Problems using the application

Open Night-Box opened this issue 2 months ago • 23 comments

Hello! I periodically encounter a problem where, when an app is active, the headphones immediately disconnect when I connect. Restarting the phone or force-quitting the LibrePods app and then restarting it helps. But this doesn't last long. I have AirPods 2Pro headphones. I use Apache, along with Magisk or KernelSu (Next).

Night-Box avatar Nov 13 '25 07:11 Night-Box

Are you able to feel if the AirPods crash (i.e. switch to the off listening mode) when it disconnects?

kavishdevar avatar Nov 13 '25 07:11 kavishdevar

To be honest, I didn't quite understand you :(

Night-Box avatar Nov 13 '25 08:11 Night-Box

To be honest, I didn't quite understand you :(

If the AirPods were in another mode like Noise Cancellation or Transparency, you should notice if they switch to to Off (or crash). You may hear the change in ambient noise or notice (what feels like) a pressure change in your ears.

Ari-43 avatar Nov 15 '25 03:11 Ari-43

If the AirPods were in another mode like Noise Cancellation or Transparency, you should notice if they switch to to Off (or crash). You may hear the change in ambient noise or notice (what feels like) a pressure change in your ears.

Honestly, I haven't noticed anything like that. I use my headphones in noise-cancelling mode most of the time. I also take them off in this mode to put them in the case. Usually, when I try to connect just one earbud instead of both, the connection starts to drop. And then both don't work. I seem to have noticed a pattern.

Night-Box avatar Nov 15 '25 11:11 Night-Box

Image

Night-Box avatar Nov 19 '25 07:11 Night-Box

As you can see, the headphones didn't connect to the Bluetooth device, although the app seems to see them, but they don't work. I've attached the log.

Night-Box avatar Nov 19 '25 11:11 Night-Box

oh nice that it works! do you know what you did to make it work?

edit: by "works" I meant the app is able to connect

it doesn't show up connected because none of them are in ear. The app disconnects audio when you're wearing none and Android shows as not connected.

kavishdevar avatar Nov 20 '25 07:11 kavishdevar

The problem is that the app shows the headphones are connected. But when connected via Bluetooth, the headphones connect and then immediately disconnect, making a noise. To prevent your headphones from disconnecting when connected via Bluetooth, you need to kill your app's process, and then they will connect without any problems.

Night-Box avatar Nov 22 '25 13:11 Night-Box

Could you try this

  • disconnect your airpods
  • kill the app
  • wear your headphones and connect
  • play sound
  • open the app

I want to see if it's the ear detection that's perhaps messing something up.

kavishdevar avatar Nov 24 '25 04:11 kavishdevar

Hello! And will I need to generate a log and send it? By "close the application," do you mean kill the process?

Night-Box avatar Nov 24 '25 05:11 Night-Box

I recorded a video for you and uploaded it to Google Drive. You can watch it and see what I mean. https://drive.google.com/file/d/1qyc36W8hfdQy4nYN8ImSExRDsCZ59-B2/view?usp=drivesdk

Night-Box avatar Nov 25 '25 22:11 Night-Box

Could you try disabling "disconnect audio" from the app's settings using the latest Action run?

I have changed the way that it handles disconnect audio when no airpods are worn, which might help with this.

kavishdevar avatar Nov 27 '25 04:11 kavishdevar

Hello! Am I correct in understanding that you are talking about this post?

Image

Night-Box avatar Nov 27 '25 06:11 Night-Box

Hello! Am I correct in understanding that you are talking about this post?

yup

kavishdevar avatar Nov 27 '25 06:11 kavishdevar

Please tell me which item I need to find?

Image

Night-Box avatar Nov 27 '25 06:11 Night-Box

Is there any plan to have the app in Russian in the future?

Night-Box avatar Nov 27 '25 06:11 Night-Box

Please tell me which item I need to find?

Turn on "Disconnect AirPods when not wearing". I am suggesting this just in case the app has a bug where it disconnects even if the toggle is not checked but not connect the audio, btw.

Is there any plan to have the app in Russian in the future?

The app can be translated by anyone.

kavishdevar avatar Nov 27 '25 06:11 kavishdevar

Also, please sure these are enabled in Android settings.

Image

kavishdevar avatar Nov 27 '25 06:11 kavishdevar

Также убедитесь, что эти функции включены в настройках Android. Изображение

Yes, everything is included here

Image

Night-Box avatar Nov 27 '25 07:11 Night-Box

Пожалуйста, скажите, какой предмет мне нужно найти?

Включите «Отключать AirPods, когда не носите». Рекомендую это на случай, если в приложении есть ошибка, из-за которой наушники отключаются, даже если переключатель не установлен, но при этом не подключаются.

Планируется ли в будущем выпустить приложение на русском языке?

Приложение может быть переведено любым человеком.

Thank you! I found this option and enabled it. I will track the issue.

Night-Box avatar Nov 27 '25 07:11 Night-Box

Hello! Am I correct in understanding that you are talking about this post?

yup

Hello ! I noticed a bug. I haven't been able to get the issue with disconnecting headphones yet, but I'm still tracking it down. I found another bug - when you watch an ad and turn the sound off/on, an incomprehensible pop-up window from your application appears.And when this window appears, if I have music playing in the background in addition to the advertisement, it also pauses and then continues playing.

I am attaching a video via the link, but I was unable to upload it here.

https://drive.google.com/file/d/1aVr0pLd1eyO6hx4ZyNmFiYgEYjyWWbt0/view?usp=drivesdk

Night-Box avatar Nov 28 '25 07:11 Night-Box

I'm having the same issue. When I put my Air Pod Pros in my ears, they connect to my phone briefly and then disconnect with the same error shown in https://github.com/kavishdevar/librepods/issues/246#issuecomment-3551285819

They repeatedly connect and disconnect (ie, it's not just the app having an issue, they disconnect from the phone completely and are unusable for playing audio). Force closing Librepods and re-opening the app fixes it temporarily, but within a day or so (the next time I use my Airpods) it begins happening again.

I'm using a Pixel 9 Pro XL on the December stable build, but I had the same issue on the November build.

I tried using the build here https://github.com/kavishdevar/librepods/issues/246#issuecomment-3584364732 and it doesn't work at all. The app opens, but it just says "Airpods not connected" and there is text cutoff at the top of the screen that says "Airpods instance is null"

ingenium13 avatar Dec 11 '25 16:12 ingenium13