Skip to content

Feature request: Support SUU or configurable root command #232

Description

@dangzhang19

Feature request: Support SUU or a configurable root command

Description

Droidspaces currently cannot obtain root access on devices using the SUU edition of Kitsune Mask.

The SUU edition uses the "suu" command instead of the standard "su" command. On my device, "suu" works correctly, but Droidspaces appears to look only for "su", so the app reports that root access is unavailable or cannot complete its root initialization.

Environment

  • Device: [your phone model]
  • Android version: [your Android version]
  • ROM: [OriginOS / Funtouch OS / other ROM]
  • Droidspaces version: [version number]
  • Root solution: Kitsune Mask 27.0 SUU edition
  • Architecture: arm64-v8a

Test results

The standard "su" command is unavailable or does not work:

su -c id

Result:

[paste the output here]

The SUU command works correctly:

suu -c id

Result:

uid=0(root) gid=0(root) groups=0(root) context=u:r:magisk:s0

The exact SELinux context may vary by device.

Requested implementation

Please consider adding one of the following options:

  1. Add a configurable root command in Droidspaces settings:

    • Auto
    • "su"
    • "suu"
  2. In Auto mode, try the standard "su" implementation first and then allow the user to select "suu" if "su" is unavailable.

  3. Optionally provide an SUU-compatible build using "libsuu", or allow a custom root-shell provider.

The default behavior should remain "su" so existing Magisk and KernelSU users are not affected.

Expected behavior

When "suu" is selected, Droidspaces should use it to:

  • request root permission;
  • install or update the Droidspaces backend;
  • run requirement checks;
  • manage containers;
  • execute privileged commands.

Additional information

The SUU-compatible libsu fork is available as "4accccc/libsuu", which changes the root-shell implementation to support the "suu" command.

Thank you for considering support for SUU users.

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