Skip to content

Feature Request: Optional Mounting and Sparse Image Support #2510

@chisewaguri

Description

@chisewaguri

Context

Many banking apps check for mount inconsistencies and I've noticed that forks like MKSU and other root manager like APatch have implemented "litemode" features that allow users to selectively disable mounting operations:

Module Compatibility

Most modules don't actually need /system mounting and would still work perfectly with these features enabled. Popular modules like Zygisk-based modules (LSPosed, PlayIntegrity Fix, etc) and Tricky Store would continue to function normally without the system mount operations.

Proposed Features

  1. Optional Mounting

    • Add the ability to skip overlayfs ext4 image mounting completely
  2. Skip Sparse Image

    • Add an option to skip the creation/usage of sparse images entirely
  3. Skip Tmpfs Mount

    • Add an option to skip mounting the temporary filesystem

Benefits

  1. Bypass Annoying Banking Apps Detection

    • Many banking apps check for mount inconsistencies
    • Skipping these operations would allow root functionality while evading common detection techniques
    • Users could maintain root access while still using sensitive apps that employ strict detection methods
  2. User Flexibility

    • Allows users to choose exactly what parts of KernelSU they want active
    • Creates a "lite mode" for situations where full module functionality isn't needed

Implementation Suggestion

Similar to how MKSU implemented .notmpfs and .nomount flags, or how APatch implemented .litemode_enable, these options would allow users to customize their KernelSU experience without having to switch to a fork.

Both implementations are lightweight, requiring only simple conditional checks before performing mount operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions