Meta Module Mount
About 374 wordsAbout 1 min
2025-01-30
Meta Module mount is a way to achieve file system mounting by installing Meta Modules. A meta module is a special module that can take over FolkPatch's core mounting behavior.
What is a Meta Module?
A meta module is a special module declared in module.prop with metamodule=1 or metamodule=true. After installation, it will be linked to the /data/adb/metamodule/ directory, gaining the permission to take over FolkPatch's core behaviors.
/data/adb/metamodule# Meta module directory
module.prop# Must declare metamodule=1 or metamodule=true
metamount.sh# Mount takeover script
metainstall.sh# Install takeover script
metauninstall.sh# Uninstall takeover script
Working Principle
Meta modules take over FolkPatch's behaviors through the following script hooks:
| Script File | Function | Description |
|---|---|---|
metamount.sh | Mount Takeover | Takes over all module mounting logic, customizable mount scheme |
metainstall.sh | Install Takeover | Takes over the installation process of ordinary modules |
metauninstall.sh | Uninstall Takeover | Takes over the module uninstallation process |
Note
The script name is metamount.sh, not mount.sh.
Supported Mount Technologies
Meta modules can use various mount technologies to implement systemless modifications:
| Technology | Description |
|---|---|
| OverlayFS | Overlay file system provided by Linux kernel |
| bind mount | Direct bind mounting |
| Custom Scheme | Custom mount scheme by meta module developers |
Configuration Method
Install Meta Module
- Download a meta module (such as FolkMeta or other community-provided meta modules)
- Disable built-in mount: Enter Settings -> General, turn off Enable Mount System (to avoid conflicts)
- Install the meta module in FolkPatch's module page
- Reboot device
重要
Built-in Magic Mount and meta modules should not be used simultaneously. Please choose only one mount method.
Applicable Scenarios
- Need to use a specific mount scheme (such as OverlayFS)
- Need to customize module mounting, installation, or uninstallation behavior
- Using specific modules that require meta module support
Related Links
- Built-in Mount - Learn about FolkPatch's built-in Magic Mount scheme
- Lite Mode (Deprecated) - Default no-mount behavior
- Mount Implementation Overview - Complete comparison of mount modes
- Basics & Common Knowledge - Mounting - Comparison of mount mechanisms across Root solutions
Copyright
Copyright Ownership:FolkPatch Team
License under:Attribution 4.0 International (CC-BY-4.0)
