Repository navigation
Parasitic manager fails to open on GrapheneOS #491
Description
Steps to reproduce/复现步骤
I use KernelSU on GrapheneOS and am interested in getting LSPosed set up. I applied a custom patch to my build of GrapheneOS to allow me to enable memory DCL for Shell, which is required for LSPosed. After doing this, granting root to Shell via KernelSU, and installing the latest debug builds of NeoZygisk and LSPosed as KernelSU modules, I tried to open the LSPosed manager app.
Expected behaviour/预期行为
I expect to see the manager interface after clicking on the "Action" button under "Zygisk - LSPosed" in KernelSU. If I follow the directions in #123 (comment) to install the manager as a user app, and open it from the launcher, it opens as expected, but it displays a warning signaling that the parasitic mode is preferred. I would expect that the two modes of operation should have the same result.
Note that LSPosed is working: I installed https://github.com/VarunS2002/Xposed-Disable-FLAG_SECURE and verified it operates as intended. It's just that I can only open the manager as a user app, and not in parasitic mode.
Actual behaviour/实际行为
When opening the manager app in parasitic mode (i.e. by tapping the Action button on the module in KernelSU), the Shell application is opened, but only displays a bug report screen.
Tapping any button closes the screen and returns to the launcher. In the KernelSU manager, the interface is replaced with an "Action" screen that shows a single log entry:
Starting: Intent { act=android.intent.action.MAIN cat=[org.lsposed.manager.LAUNCH_MANAGER] cmp=com.android.shell/.BugreportWarningActivity }
This screen disappears immediately upon foregrounding KernelSU again.
Xposed Module List/Xposed 模块列表
NoneRoot implementation/Root 方案
KernelSU 1.0.5
System Module List/系统模块列表
https://github.com/symbuzzer/systemless-hosts-KernelSU-module 1.2.2
https://github.com/JingMatrix/NeoZygisk 2.2 (debug)
https://github.com/JingMatrix/LSPosed 1.10.2-7199 (debug, master @ 0e457e3)LSPosed version/LSPosed 版本
1.10.2-7199
Android version/Android 版本
GrapheneOS 2025110800 (Android 16)
Version requirement/版本要求
- I am using the latest debug build from GitHub Actions./我正在使用 GitHub Actions 中最新的调试版本。
Logs/日志
Sorry, I can't attach the bugreport zip directly, as GitHub has a maximum of 25MB and the bugreport zip is 36MB. However I have made it available directly at https://files.intuitiveexplanations.com/u/W3NO9De3GcAz6bFy.zip.
I'm assuming that everything important shows up in that zip file? But if it would be helpful for me to also generate the adb logs for specific applications mentioned in #123 (comment), let me know and I can do that too.
Activity
ExHalationZQ commentedon Dec 23, 2025
Ramedon1 commentedon Dec 23, 2025
raxod502 commentedon Dec 23, 2025
sumithemmadi commentedon Jan 9, 2026
Ramedon1 commentedon Jan 9, 2026
sumithemmadi commentedon Jan 10, 2026
Ramedon1 commentedon Jan 11, 2026
nikr-dev commentedon Jan 20, 2026
JingMatrix commentedon Jan 20, 2026
@raxod502 Once the manager is avaible (installed as app), please open it, save logs and upload the generated zip archive.
This is indeed the purpose to install manager as app: save logs.
Ramedon1 commentedon Jan 20, 2026
JingMatrix commentedon Jan 20, 2026
raxod502 commentedon Jan 21, 2026
Here are my debug logs from the manager installed as a user app:
LSPosed_2026-01-20T16_15_41.087716.zip
JingMatrix commentedon Jan 21, 2026
@raxod502 Sorry, I wasn't able to find some clues on your logs. Please do (and only) the following to help me locate curcial logs:
Moreover, it is mostly a problem of the permission you set for the
Shell(com.android.shell) app. Please also attach a screenshot of its permission detail in your root manager app.nikr-dev commentedon Jan 21, 2026
1 remaining item
JingMatrix commentedon Jan 21, 2026
@NonCertus Thanks for sharing your case. No, it is not needed if the bug is already fixed for you.
NonCertus commentedon Jan 21, 2026
Ok. And thank you very much for this and your other projects - especially TEESimulator & NeoZygisk! Your open source alternatives really make the (Android-)world a better place!
raxod502 commentedon Jan 22, 2026
Here is the information requested in #491 (comment):
LSPosed_2026-01-21T17_29_49.571771.zip
JingMatrix commentedon Jan 22, 2026
@raxod502 Please test if any Xposed module works for you.
I think it is still due to GrapheneOS restriction.
Below is the related logs, from which, several things fail to work:
deoptimizingare not working properly, LSPosed failed to find the correct address.[-]Parasitic manager fails to open, but works when installed as user app[/-][+]Parasitic manager fails to open on GrapheneOS[/+]raxod502 commentedon Jan 22, 2026
Well, https://github.com/VarunS2002/Xposed-Disable-FLAG_SECURE works on GrapheneOS under LSPosed for me. That's what I installed and tested right after setting up LSPosed and working out that I could install the manager as a user app.
Is DCL via storage also needed? I only turned on DCL via memory and that got the manager working as a user app.
sofia-nep commentedon Jan 26, 2026
The bug is reproducible on DivestOS and disabling "secure app spawning" seems to fix it, at least from a preliminary check, maybe something similar can be done on GrapheneOS?
Ubuntuify commentedon Jan 26, 2026
Not on GrapheneOS, but I'm pretty sure that GrapheneOS does away with the Zygote model and spawns processes initializing everything manually which may interfere with stuff like Zygisk (which modifies the Zygote).
The "Secure app spawning" setting, I believe, is what switches it back to the Zygote model.
Documentation on how GrapheneOS spawns app processes can be seen at this link.
raxod502 commentedon Jan 27, 2026
Confirmed. Disabling secure app spawning restores functionality of the parasitic launcher.
Shall I contribute LSPosed documentation noting this required workaround for GrapheneOS and DivestOS, after which we can close this issue?
JingMatrix commentedon Jan 27, 2026
@raxod502 , nice to hear that. Currently, this issue itself can serve as a documentation.
When I finish refactoring LSPosed, I may invite you to add a short section of GrapeheOS.
Before that, do you also encounter issue #206 ?
raxod502 commentedon Jan 27, 2026
I uninstalled the user app, then removed the KernelSU module I had installed, and installed the latest release version 1.10.2. What I observe is that the parasitic manager can still be opened OK, and reports that LSPosed is active. Furthermore, my already-installed "Disable FLAG_SECURE" LSPosed module appears to still be effective.
So, based on my understanding, I do not encounter issue #206.