This module allows you to disable the Magisk module if the data partition cannot be decrypted and cannot be restored to normal by entering Safe Mode.
Create a file named disable_all_modules
in /data/unencrypted
or /cache
to disable all modules.
If the system is successfully booted and the screen is unlocked properly these two files are automatically deleted to prevent all modules from being disabled each time the system is booted.
Create a file named disable.list
in /data/unencrypted
or /cache
and write module ids (one module per line) in it to disable specific modules.
Tips: The module id is the name of the module's directory
Example: The module id of Log-Catcher is hwr_logcat