-
Notifications
You must be signed in to change notification settings - Fork 78
LSPosed Troubleshooting Guide
Many issues with this module stem from an incorrect environment setup or conflicting system optimizations. Frequently, when Android performs background compilation, it inlines parts of an app's code to improve performance. This process can cause hooks to fail because the original methods are effectively "erased" or bypassed during execution. Furthermore, improper configurations in Magisk or KernelSU—such as misconfigured DenyLists or Unmount settings—can prevent the module from interacting with the target process entirely.
Before asking for help, please try the following steps to resolve common problems:
These issues indicate that the LSPosed module is not correctly hooking into the target application.
| Application | Symptom |
|---|---|
| Spotify | Audio advertisements are still playing, and the "Premium" tab at the bottom does not disappear. |
| YouTube | Swipe controls, Background playback on lock screen not work. |
The fix depends on the root environment you are using.
-
Step 1: Check "Enforce DenyList" Setting
- Open Magisk app -> Settings.
- Ensure that "Enforce DenyList" is DISABLED (OFF).
- Note: If this is enabled, Magisk will block LSPosed from injecting into any app in your list, making the module's scope settings irrelevant.
-
Step 2: Verify DenyList Selection
- Go to "Configure DenyList".
- Ensure the target applications (e.g., Spotify, YouTube) are NOT checked.
-
Step 3: Re-optimize
- In the LSPosed Manager, go to the module's Scope settings.
- Long-press on the target application(s).
- In the menu that appears, tap "Re-optimize".
-
Step 1: Adjust App Profile in KernelSU Manager
- Open the KernelSU Manager application.
- Go to the Superuser tab.
- Find the target application(s) (e.g., Spotify, YouTube).
- Set the app's App Profile to Custom.
- Disable the umount modules toggle switch for that app.
-
Step 2: Re-optimize
- In the LSPosed Manager, go to the module's Scope settings.
- Long-press on the target application(s).
- In the menu that appears, tap "Re-optimize".
If none of the above methods work, there must be other reasons causing the incorrect optimization profile. The final solution is to reinstall the target application whenever issues arise.
If you discover a stable solution, please inform me through the support channels.