This module provides the compatible Magisk-mirroring (i.e., unmodified original system files (in a mounted state) mainly referred from the module installation script “customize.sh”) for installing pure Magisk modules on incompatible Magisk variants and KernelSU (including APatch).
For example, a typical Magisk module modifying an existing system file on “/vendor/etc” (say “/vendor/etc/audio_policy_configuration.xml”) needs its unmodified original file for generating new one from it as intendedly by editing some parts in the original one, and putting it in “${MODPATH}/system/vendor/etc” so that Magisk shall overlay it on the original one on “/vendor” after booting up.
Because system files on “/vendor” might be modified already by other Magisk modules and even by the module itself (which has already been installed) when installing or updating the module in the Magisk manager, the module (usually “customize.sh”) possibly fails to install or installs wrongly in silence by their interference. For avoiding such situation, experienced Magisk module developers use mirrored system files under “$(magisk –path)/.magisk/mirror” that are unmodified original. However some recent Magisk variants (e.g., Magsik alpha, Kitsune Magisk, and KernelSU) don’t provide this mirrored system files to developers for some non-technical reason.
For resolving this situation, this module puts a tiny script in “/data/adb/post-fs-data.d” and patches and forces the Magisk variants to provide the mirrored system files when installing, updating and even executing Magisk modules thereafter (but mainly for “customize.sh”).
Without this module, developers must move some code (referring to unmodified original system files) in “customize.sh” into “post-fs-data.sh” (for handling almost unmodified original ones just before Magisk starts magic mounting) involuntarily for supporting such variants. It’s very unfortunate, I think.
Although some people might think “customize.sh” could refer to the original sytem files by mounting mirrors in it, it isn’t possible by normal means because system files have been mounted in a shared mode before installing magisk modules in the Magisk manager, and the mirrors provide only possibly modified ones by already installed Magisk modules.
Remark only for KernelSU (including APatch): Because KernelSU doesn’t allow any command named “magisk” to place in “/data/adb/ksu/bin” (or “/data/adb/ap/bin”), this module puts “ksu-magisk” command there instead (for both KernelSU and APatch). As the result, you have to replace all “magisk –path” command executions with “ksu-magisk –path” in all magisk standard shell scripts of a (pure) magisk modue ZIP file you intend to install. Typically you can do this by inserting alias magisk='ksu-magisk'
line at the first line below the shebang line and its following comment ones for all the scripts.
This module was made, and has been tested slightly on Magisk alpha, Kitsune Magisk and KernelSU (including APatch), as a help for installing my other pure magisk modules on them.
See also my magisk modules, “Audio misc. settings” , “DRC remover”, “USB Samplerate Unlocker” and “Hifi Maximizer”.
DISCLAIMER
I am not responsible for any damage that may occur to your device, so it is your own choice to attempt this module. This module doesn’t guarantee any magisk module to be able to install and run on incompatible magisk variants and KernelSU.
Download
Module Info
Other modules
Compatible mirroring Magisk Ksu Module
This module provides the compatible Magisk-mirroring (i.e., unmodified original system files (in a mounted state) mainly referred from the module installation script “customize.sh”) for installing pure Magisk modules on incompatible Magisk variants and KernelSU (including APatch). For …...
Zgisk Next
Standalone implementation of Zygisk, providing Zygisk API support for KernelSU and a replacement of Magisk’s built-in Zygisk. Copyright Notice Copyright © 2024 Zygisk Next developers. All rights reserved. The software Zygisk Next, starting from version v4-0.9.2, is no longer under the GPL-3.0 …...
Dirac Audio Nothing Phone 1 Magisk Module
DISCLAIMER Nothing apps and blobs are owned by Nothing™. Dirac apps and blobs are owned by Dirac™. The MIT license specified here is for the Magisk Module only, not for Nothing & Dirac apps and blobs. Descriptions Sound effect ported from Nothing Phone 1 (Spacewar) and integrated as a Magisk …...
Gspyro
Changelog Support Magisk & Apatch Kernel Su Color Script Upgraded and More Improved Display Color Grading More Accurate Better For Video Streaming Improved For Gaming ,[ Specially Easy Spot Long rang Object; like enemy ] Module Template Upgraded And More Improvement. Notes Don’t use any …...
Zygisk Detach
Detaches installed apps from Play Store against its aggressive updating policy which ignores the auto-update option user sets. How Hooks libbinder with zygisk Usage Enable zygisk in Magisk or ZygiskNext module if you are on KernelSU Flash zygisk-detach module Reboot Run the cli in termux: su -c …...
Cache Cleaner
A simple module that allows your device to clean all apps cache automatically if the total cache size is more than 1GB and can be done manually by typing su -c cleaner in the Terminal To disable the automatic cleaning feature, create an empty file with the name disable in the …...
Disable high volume warning
The European Committee for Electrotechnical Standarisation regulates all media playback devices sold in the European Union to have an output volume warning at 85dB: Users can increase the volume to a maximum of 100dB by accepting the warning, yet the warning reappears after 20hours of music …...
Chroot Distro Magisk Ksu Module
Install linux distributions on android with chroot warning : this work only on rooted android devices chroot-distro path : /data/local/chroot-distro/ Android paths on distributions : /dev /sys /proc /dev/pts /sdcard /system /storage /data usage help chroot-distro help list of available linux …...
SQLite Optimization Magisk and kernelsu modules
Optimize the performance of SQLite. Link download ...
ExSDCard Write Access Enabler
Link Download ...