librepods icon indicating copy to clipboard operation
librepods copied to clipboard

[Android] Hook doesn't work and the icon doesn't show up in the volume slider

Open 3xp10its opened this issue 7 months ago • 10 comments

Image

3xp10its avatar May 17 '25 07:05 3xp10its

Image

3xp10its avatar May 17 '25 07:05 3xp10its

This black box allows you to change noise control settings, it works as a button when pressed in extended volume control

But it's quite annoying to see a whole line every time I change the volume

henmalib avatar May 17 '25 09:05 henmalib

Does the app hang when you're trying to connect, or just the progress bar just spin? @3xp10its

And, @henmalib that's weird, the icon does show up on my phone (running ProjectPixelage). Can you share the logs with logcat -s AirPodsHook?

kavishdevar avatar May 17 '25 11:05 kavishdevar

And, @henmalib that's weird, the icon does show up on my phone (running ProjectPixelage). Can you share the logs with logcat -s AirPodsHook?

I think you've got me wrong

I have an icon and a button, but i see a whole line regardless if I'm connected to AirPods or not + i see a whole line even in "short" volume menu like provided in a screenshot of an issue

Screenshot_20250517-132539_GitHub.png

henmalib avatar May 17 '25 11:05 henmalib

I think you've got me wrong

oops, yeah!

I have an icon and a button, but i see a whole line regardless if I'm connected to AirPods or not + i see a whole line even in "short" volume menu like provided in a screenshot of an issue

ah, gotcha... the problem seems to be that the view is created with that width, but it contains elements only when it's expanded. It's surprising that the width is not small to start with when not expanded.

If this annoys you, you can just disable the systemui scope and use the QS tile instead.

kavishdevar avatar May 17 '25 11:05 kavishdevar

If this annoys you, you can just disable the systemui scope and use the QS tile instead.

How can I achieve this?

henmalib avatar May 17 '25 12:05 henmalib

How can I achieve this?

You can disable SystemUI or com.android.systemui in the LSPosed manager --> Modules --> librepods.

kavishdevar avatar May 17 '25 13:05 kavishdevar

How can I achieve this?

You can disable SystemUI or com.android.systemui in the LSPosed manager --> Modules --> librepods.

Hi, and what about the error message in the notification message? I am getting the same one as OP (the icon does not look odd in the volume panel though).

kratoz29 avatar May 29 '25 21:05 kratoz29

Hi, and what about the error message in the notification message? I am getting the same one as OP

please collect logs with the troubleshooter and share.

kavishdevar avatar May 30 '25 11:05 kavishdevar

Hi, and what about the error message in the notification message? I am getting the same one as OP

please collect logs with the troubleshooter and share.

Hi, sorry for the huge delay, I attach the log, TIA.

airpods_log_1748554951528.txt

kratoz29 avatar Jun 07 '25 00:06 kratoz29