[GH-ISSUE #175] [Android] xposed hook doesn’t work with root hiding modules #78

Open
opened 2026-03-02 12:03:14 +03:00 by kerem · 7 comments
Owner

Originally created by @XiaoBeiNORTH on GitHub (Jul 10, 2025).
Original GitHub issue: https://github.com/kavishdevar/librepods/issues/175

It doesn't seem to work on Redmi K60. I use lsposed. It doesn't show the battery level and can't switch modes.

prompt this
AirPods are connected via Bluetoothbut LibrePods couldn't connect to AirPodsusing L2CAP. Error: Failed to establishconnection:read failed,socket mightclosed or timeout, read ret: -1

New discovery, I use v0.0.3-hotfix module and software to display the power, but the mode switching seems to have no effect. After restarting, the mode switching seems to have an effect. After installing this module, install the latest version of software rc4, the power can be displayed, and the mode switching seems to have an effect. If the headphone cabin is closed, the power display 0 is turned on and it will display normally

My system is Android15 Redmi K60

sorry I accidentally closed the question

Originally created by @XiaoBeiNORTH on GitHub (Jul 10, 2025). Original GitHub issue: https://github.com/kavishdevar/librepods/issues/175 It doesn't seem to work on Redmi K60. I use lsposed. It doesn't show the battery level and can't switch modes. prompt this AirPods are connected via Bluetoothbut LibrePods couldn't connect to AirPodsusing L2CAP. Error: Failed to establishconnection:read failed,socket mightclosed or timeout, read ret: -1 New discovery, I use v0.0.3-hotfix module and software to display the power, but the mode switching seems to have no effect. After restarting, the mode switching seems to have an effect. After installing this module, install the latest version of software rc4, the power can be displayed, and the mode switching seems to have an effect. If the headphone cabin is closed, the power display 0 is turned on and it will display normally My system is Android15 Redmi K60 sorry I accidentally closed the question
Author
Owner

@XiaoBeiNORTH commented on GitHub (Jul 10, 2025):

I checked that he uses a library with qti

is this?
687b995c00edbaf58ee8c0f4aa44f0f8

I have used shamiko, tricky store, zygisk next, zygisk lsposed to hide root, will this affect, because I have given root permissions. Before installing that module, it will report an error. After installing, there will be no error. You can also check the battery level.

<!-- gh-comment-id:3057200240 --> @XiaoBeiNORTH commented on GitHub (Jul 10, 2025): I checked that he uses a library with qti is this? 687b995c00edbaf58ee8c0f4aa44f0f8 I have used shamiko, tricky store, zygisk next, zygisk lsposed to hide root, will this affect, because I have given root permissions. Before installing that module, it will report an error. After installing, there will be no error. You can also check the battery level.
Author
Owner

@XiaoBeiNORTH commented on GitHub (Jul 10, 2025):

airpods_log_1752149771256.txt

This is the log when I can use

<!-- gh-comment-id:3057215436 --> @XiaoBeiNORTH commented on GitHub (Jul 10, 2025): [airpods_log_1752149771256.txt](https://github.com/user-attachments/files/21162691/airpods_log_1752149771256.txt) This is the log when I can use
Author
Owner

@XiaoBeiNORTH commented on GitHub (Jul 10, 2025):

Now it works even if I delete the module. The weird thing is that it didn't work before no matter what version of apk or module I used, until I installed the v0.0.3-hotfix module.

The battery level sometimes shows normal and sometimes not. When the headset cabin is closed, the software will show 0. I gave all permissions but some pop-ups seem to pop up only when the software is opened.

<!-- gh-comment-id:3057228861 --> @XiaoBeiNORTH commented on GitHub (Jul 10, 2025): Now it works even if I delete the module. The weird thing is that it didn't work before no matter what version of apk or module I used, until I installed the v0.0.3-hotfix module. The battery level sometimes shows normal and sometimes not. When the headset cabin is closed, the software will show 0. I gave all permissions but some pop-ups seem to pop up only when the software is opened.
Author
Owner

@kavishdevar commented on GitHub (Jul 10, 2025):

I have used shamiko, tricky store, zygisk next, zygisk lsposed to hide root, will this affect, because I have given root permissions. Before installing that module, it will report an error.

Have you disabled unmount modules for the com.android.bluetooth app in kernelsu app?

The battery level sometimes shows normal and sometimes not. When the headset cabin is closed, the software will show 0. I gave all permissions but some pop-ups seem to pop up only when the software is opened.

That is because Chinese phone manufacturers tend to heavily restrict background apps. Can’t really help with that other than pointing you to https://dontkillmyapp.com

<!-- gh-comment-id:3058252191 --> @kavishdevar commented on GitHub (Jul 10, 2025): > I have used shamiko, tricky store, zygisk next, zygisk lsposed to hide root, will this affect, because I have given root permissions. Before installing that module, it will report an error. Have you disabled unmount modules for the com.android.bluetooth app in kernelsu app? > The battery level sometimes shows normal and sometimes not. When the headset cabin is closed, the software will show 0. I gave all permissions but some pop-ups seem to pop up only when the software is opened. That is because Chinese phone manufacturers tend to heavily restrict background apps. Can’t really help with that other than pointing you to https://dontkillmyapp.com
Author
Owner

@kavishdevar commented on GitHub (Jul 10, 2025):

Now it works even if I delete the module. The weird thing is that it didn't work before no matter what version of apk or module I used, until I installed the v0.0.3-hotfix module.

That’s weird. It should not stay working if you uninstall the module if xpossd didn’t work for you in the first place. Can you confirm what works for you currently? Is it without the root module, and just the xposed module?

And, also about showing 0- the case battery is only report by AirPods when at least one AirPod is in case.

sorry I accidentally closed the question
For future issues- you can reopen if you accidentally close one. :)

<!-- gh-comment-id:3058277090 --> @kavishdevar commented on GitHub (Jul 10, 2025): > Now it works even if I delete the module. The weird thing is that it didn't work before no matter what version of apk or module I used, until I installed the v0.0.3-hotfix module. That’s weird. It should not stay working if you uninstall the module if xpossd didn’t work for you in the first place. Can you confirm what works for you currently? Is it without the root module, and just the xposed module? And, also about showing 0- the case battery is only report by AirPods when at least one AirPod is in case. > sorry I accidentally closed the question For future issues- you can reopen if you accidentally close one. :)
Author
Owner

@XiaoBeiNORTH commented on GitHub (Jul 11, 2025):

我用过shamiko、tricky store、zygisk next,zygisk应该隐藏root权限,这个会不会有影响,因为我已经赋予了root权限。在安装那个模块之前,会报错。

您是否已在 kernelsu 应用程序中禁用 com.android.bluetooth 应用程序的卸载模块?

电池电量有时显示正常,有时不正常。耳机仓关闭时,软件会显示0。我授予了所有权限,但有些弹窗似乎只在打开软件时才会弹出。

这是因为中国手机制造商往往会严格限制后台应用。除了推荐你访问https://dontkillmyapp.com之外,我帮不上什么忙。

I am using magisk aplha instead of kernelsu. I disabled all modules including v0.0.3-hotfix. It seems to work but the background does not pop up. I followed the link you gave. This may be a problem with the phone.

<!-- gh-comment-id:3060077612 --> @XiaoBeiNORTH commented on GitHub (Jul 11, 2025): > > 我用过shamiko、tricky store、zygisk next,zygisk应该隐藏root权限,这个会不会有影响,因为我已经赋予了root权限。在安装那个模块之前,会报错。 > > 您是否已在 kernelsu 应用程序中禁用 com.android.bluetooth 应用程序的卸载模块? > > > 电池电量有时显示正常,有时不正常。耳机仓关闭时,软件会显示0。我授予了所有权限,但有些弹窗似乎只在打开软件时才会弹出。 > > [这是因为中国手机制造商往往会严格限制后台应用。除了推荐你访问https://dontkillmyapp.com](https://dontkillmyapp.com)之外,我帮不上什么忙。[](https://dontkillmyapp.com) I am using magisk aplha instead of kernelsu. I disabled all modules including v0.0.3-hotfix. It seems to work but the background does not pop up. I followed the link you gave. This may be a problem with the phone.
Author
Owner

@XiaoBeiNORTH commented on GitHub (Jul 11, 2025):

盒子

The only problem with it now is that it doesn't pop up in the background, and my Motorola phone reports an error message "setup failed"

<!-- gh-comment-id:3060093913 --> @XiaoBeiNORTH commented on GitHub (Jul 11, 2025): > 盒子 The only problem with it now is that it doesn't pop up in the background, and my Motorola phone reports an error message "setup failed"
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#78
No description provided.