Module Control
About 683 wordsAbout 2 min
2025-01-11
Customize the display and behavior of the module list, including advanced settings for APM and KPM.
Disable Module Update Check
Turn off automatic update check for system modules. Default Off.
Fold System Modules
When enabled, system module cards will be folded by default. Click to expand/collapse operation buttons. Default On.
Module Sorting Optimization
When enabled, modules are automatically sorted by functional importance. Default On.
Sorting priority from high to low:
- META Module (Meta module)
- Zygisk modules (ZygiskSU / ZygiskNext / ReZygisk / NeoZygisk / ShirokoZygisk)
- LSPosed modules (name contains LSPosed)
- WebUI modules
- Action modules
- Vector modules (name contains Vector)
- Remaining modules sorted alphabetically by ID
Show More Info
Display module ID and size in the module list. Default On.
Minimalist List Bottom Bar
When enabled, APM and KPM module lists will only show icons and not text.
Undo Delete Function
When you delete a module, it is not immediately removed but marked as "pending deletion". You can undo at any time before rebooting the device:
- Click the Delete/Uninstall button of the module.
- The module status changes to Deleted (Pending Reboot), and the delete button changes to an Undo button.
- Click Undo to restore; reboot the device and the module will be physically removed.
Spliced Card Group
When enabled, APM and KPM module lists use the M3E (Material 3 Expressive) spliced card group style — multiple module cards seamlessly connect into one continuous card, with the top card having 16dp rounded corners, middle cards connecting tightly, and the bottom card having 16dp rounded corners. Default On.
- On (Default): M3E spliced card group style, more unified visual and compact spacing
- Off: Classic independent card style, each module as a separate card
提示
This setting only affects the module list layout on phone portrait mode. Large screen devices always use grid layout.
APM Batch Install Full Process
When enabled, batch installation will use the full process, supporting modules that require volume key interaction. Default Off.
- Quick Install Mode (Default): Simple modules not requiring volume key interaction, quick batch install.
- Full Process Mode: Complex modules requiring volume key interaction or confirmation, install one by one.
KPM Auto Load Config
Automatically load specified KPM modules when the application starts. More convenient than directly embedding into the kernel.
KPM storage directory is /data/adb/fp/kpms/, and auto-loaded KPMs are placed in the /data/adb/fp/kpms/autoload/ directory.
/data/adb/fp/kpms# KPM storage directory
autoload# Auto-load directory
module1.kpm
module2.kpm
kpm_autoload_config.json# Auto-load configuration file
Visual Mode (Recommended)
- Click "Add KPM" button, select
.kpmfile - View all added KPM modules and paths
- Turn on "Enable Auto Load" switch
- Save config
JSON Mode
Suitable for advanced users, directly edit configuration file /data/adb/fp/kpms/kpm_autoload_config.json:
{
"enabled": true,
"entries": [
{
"path": "/data/adb/fp/kpms/autoload/module1.kpm",
"args": "",
"phase": "service"
},
{
"path": "/data/adb/fp/kpms/autoload/module2.kpm",
"args": "custom_args",
"phase": "post-fs-data"
}
]
}enabledRequiredboolean
Whether to enable auto loading
entries[].pathRequiredstring
KPM file path (must be in /data/adb/fp/kpms/autoload/ directory)
entries[].argsOptionalstring
Arguments passed to the KPM, empty string for no arguments
entries[].phaseOptionalstring
service
Loading phase: service (default, after SELinux init) or post-fs-data (early boot)
Supports up to 64 entries.
For detailed instructions, refer to KPM Documentation - Auto Load.
Important
- Manually pull down to refresh after loading completes to check if modules loaded correctly
- Ensure configured KPM file path is correct and file exists
- Ensure KPM module is compatible with current kernel version
KPM Module Warning
Kernel modules directly modify Boot implementation and lack good recovery mechanisms. If problems occur, you can only fix by entering Fastboot. Recommended to load module first to ensure no problems, then embed into Boot. If you don't understand kernel modules, please do not use this function.
Related Settings
- Backup & Restore - Set module auto backup
- Settings Overview - View all setting categories
Copyright
Copyright Ownership:FolkPatch Team
License under:Attribution 4.0 International (CC-BY-4.0)
