Skip to content

feat: Bypass system DCL restrictions in GrapheneOS #298

Closed

Description

@ItzELECTR0

Is your feature request related to a problem?/你的请求是否与某个问题相关?

Parasitic launcher cannot be opened in GrapeneOS because it requires Shell to use DCL (dynamic code loading) via memory, which GrapeneOS heavily restricts it's access for system apps.

This issue causes any module that also uses DCL via memory with System, SystemUI or Android scope to enter a bootloop upon restart.

Graphene will not be changing this any time soon, causing anyone wanting to use Xposed modules on it to limit themselves to modules that don't use system apps as scopes or don't use DCL via memory.

Describe the solution you'd like/描述你想要的解决方案

LSPosed needs a custom implementation to bypass DCL via memory restrictions in GrapheneOS, not only for it's own functionality, but for the countless other modules that use DCL via memory on system apps, including the system itself.

Additional context/其他信息

No response

Activity

  1. JingMatrix commented on Jun 13, 2025

    @JingMatrix
    Owner

    Did you try this wonderful workaround discovered in #206 ?

  2. ItzELECTR0 commented on Jun 13, 2025

    @ItzELECTR0
    Author

    Yes, in fact. That doesn't solve the issue of modules that need system scopes though...

  3. JingMatrix commented on Jun 13, 2025

    @JingMatrix
    Owner

    Well, if that was what you wanted to achieve, it would be wiser to abandon GrapheneOS.
    LSPosed is open source, any workaround we found here would be a security threat to the community of GrapheneOS.
    I don't think it deserves our investment to joint this apparently endless friendly fight.

  4. ItzELECTR0 commented on Jul 12, 2025

    @ItzELECTR0
    Author

    Getting back to this.
    I'm not sure it would be wiser to abandon what I consider my bare minimum in privacy to use plugins and modules that help me every day.

    I used to have a rooted samsung but specifically bought a pixel to use GrapheneOS.
    Imagine my surprise when I found out that most things I thought just worked, ended up breaking the whole system.
    When it comes to rooting, it's purpose is to allow users to do things that their ROMs don't usually allow.
    I don't see why GrapheneOS would be exempt from this, even if it weakens the security of the end user.
    The ratio of security vs control should be in the hands of the user, right?
    And if workarounds found here get solved by Graphene then yeah, sure, it would be an inconvenience to US
    But it would strengthen the OS' security overall, which I guess is a good thing lol

    All I ask is that you consider reopening this issue.
    If it's too difficult a task to find a way to bypass it, that's fine.
    But I'll appreciate that it was tried, even if just for the small amount of people actually rooting graphene.
    I'm pretty sure I might be the only one fighting this hard to get it working anyway lmfao
    I've got basically no coding knowledge when it comes to operating systems
    But if I did, trust me I'd be trying to do it myself (And failing miserably, probably)

  5. Repository owner locked and limited conversation to collaborators on Jul 12, 2025
  6. converted this issue into a discussion #340 on Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions