When flashed onto a compatible device, the multi-disabler will semi-permanently disable a number of device protection features and services that become problematic on a rooted device. Some pose a threat to the rooted state of the device, while others become dysfunctional and generate a flood of log messages. Semi-permanently in this context means that the disablement will persist until re-enabled by the user, for example as a side-effect of flashing new firmware with Odin. You will therefore need to reflash the multi-disabler every time you perform a system-wide firmware update.
The following features will be disabled by the multi-disabler:
- FBE (file-based encryption): Until this is disabled, most versions of TWRP — all for Exynos devices and many for Qualcomm — cannot read files on /data (the userdata partition). You must format /data after disabling FBE. Back up your data first!
- Vaultkeeper: Magisk now dynamically disables this during boot, but if you boot outside of Magisk, it will return with a vengeance.
- Process authentication (a.k.a. proca): This service must be disabled in order to use a custom kernel without problems. All devices with TWRP utilise a custom kernel for Android, because the same kernel is shared by Magisk to boot the system.
- Stock recovery restoration: In certain circumstances, your device will automatically restore its stock recovery partition, overwriting your custom recovery (TWRP). Magisk now also provides dynamic protection against this, but this will not save you if you boot outside of Magisk.
- Other services are disabled on a per device as needed basis.
The multi-disabler is written in Bourne shell, so you can — and should — audit the code yourself to ensure its safe operation. It's operating on the very heart of your device, so you should not simply trust it.
The code has been written to be idempotent, which means you can safely flash the multi-disabler more than once without fear of unintended side-effects.
The package is attached to this posting and the code is available on GitHub.