Hide the ports used by the Scene daemon so detection tools on a rooted Android phone cannot find it running.
Whitelist your own apps so they still see real network connections while other apps see blocked ports.
Disable path hiding while keeping port hiding active using the bitmask config option.
Flash the module via Magisk on a supported Android kernel (5.10, 5.15, 6.1, 6.6, or 6.12) to protect background services.
Requires a rooted Android device with a supported KMI kernel version and CONFIG_KPROBES enabled, installation is done by flashing a ZIP through the root manager.
MaskMyScene is a Linux kernel module for rooted Android devices that hides specific network ports and file paths from detection tools. It is designed to prevent third-party apps from discovering that certain services, specifically those tied to a daemon called Scene, are running on the device. To use it, the device needs to be rooted through Magisk, KernelSU, or APatch, and the kernel must have CONFIG_KPROBES enabled, which is standard on most Android kernels. Only specific Android kernel versions are supported: 5.10, 5.15, 6.1, 6.6, and 6.12, each identified by the android plus KMI tag in the kernel version string. Installation is done by downloading the latest ZIP from the project's GitHub Actions page and flashing it through your root manager. After installation, you edit a configuration file to list which ports to hide and which app user IDs should be exempted from the hiding. Changes take effect after a device reboot. The module works by intercepting several low-level system calls. It rewrites connection attempts to the hidden ports so they fail, filters those ports from the proc filesystem entries that tools use to list active network connections, and blocks file path lookups for relevant Scene files. Apps whose user IDs appear on the whitelist see the system normally, without any interception. A bitmask value in the configuration lets you enable or disable each interception function individually, so you can turn off path hiding while keeping port hiding active, for example. The README is written in Chinese and covers the full setup process, configuration options, and how to verify the module is loaded and active after installation.
← girlanddragon on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.