module.md
February 6, 2026 · View on GitHub
Module System
akashaProxy provides a module system that allows users to extend functionality through scripts. Modules are located in the plugins folder under the runtime directory (typically /data/adb/akashaProxy/plugins/)
Directory Structure
Each module is a subfolder within the plugins directory. The directory name of the module serves as its identifier.
A typical module consists of the following files:
module_name/
├── module.prop # Module metadata (optional)
├── post-fs-data.sh # Pre-start script
├── start.sh # Post-startup script
├── stop.sh # Stop script
└── bin/ # (Optional) Storage for binaries or other resources
During the startup and shutdown process, AkashaProxy executes module scripts in sequence:
-
Before Startup:
- When the service starts, it first executes the
post-fs-data.shscript for all modules - The system will wait for the post-fs-data.sh script to complete. Do not perform time-consuming operations in this script
- When the service starts, it first executes the
-
After startup: After the proxy kernel is successfully booted, execute the
start.shscript for all modules -
Stop:
- When the service stops (after stopping the kernel), execute the
stop.shscript for all modules
- When the service stops (after stopping the kernel), execute the
Script Instructions
- All scripts are executed using busybox ash