Built-in Mount
About 358 wordsAbout 1 min
2025-01-30
Built-in Magic Mount is FolkPatch's native mount system, using a Magisk-like bind mount mechanism, which can complete system-level mounting of module files without relying on external meta modules.
Working Principle
Core mechanism of built-in Magic Mount:
- bind mount: Maps files from module
systemdirectory to corresponding system partitions via bind mount - tmpfs overlay: Uses tmpfs and mirror mount for file overlay and replacement
- Core service control: Mount operations are directly handled by FolkPatch core service, without intermediate layers
Key Paths
/data/adb
.magic_mount_enable# Enable marker file (exists = enabled)
ap
magic_mount# Magic Mount tmpfs mount source directory
Features
Core Advantages
- Independent Operation: Completely built into FolkPatch, no need to install additional meta modules
- Magisk-like Experience: bind mount mechanism is similar to Magisk's Magic Mount, good module compatibility
- Simple Configuration: Can be enabled with a single toggle, no additional configuration needed
Module Support
Supports system directory mounting for most standard APM modules. Creating a skip_mount file in the module directory will skip mounting for that module.
Configuration Method
Enable Built-in Magic Mount
- Open FolkPatch app
- Enter Settings -> General
- Find the Enable Mount System option and toggle it on
- Ensure no meta module is installed (built-in mount and meta modules should not be used simultaneously)
- Reboot device
Verify Mount is Working
After installing a module containing a system directory and rebooting, check if the module's modifications are effective to verify.
Comparison with Meta Module Mount
| Comparison Item | Built-in Magic Mount | Meta Module Mount |
|---|---|---|
| Install Extra Module | Not needed | Need to install meta module |
| Mount Method | bind mount | Determined by meta module |
| Configuration Difficulty | Simple (one toggle) | Medium |
| Flexibility | Standard Magisk style | Custom mount logic possible |
Related Links
- Meta Module Mount - Learn about external meta module mount scheme
- Lite Mode (Deprecated) - Default no-mount behavior
- Mount Implementation Overview - Complete comparison of mount modes
Copyright
Copyright Ownership:FolkPatch Team
License under:Attribution 4.0 International (CC-BY-4.0)
