Skip to content

feat: Magisk module install - #147

Draft
oSumAtrIX wants to merge 54 commits into
devfrom
feat/magisk-module
Draft

feat: Magisk module install#147
oSumAtrIX wants to merge 54 commits into
devfrom
feat/magisk-module

Conversation

@oSumAtrIX

Copy link
Copy Markdown
Member

Closes #127

secp192k1 and others added 30 commits April 7, 2026 14:37
Introduce Magisk-based installation support: add an abstract MagiskInstaller implementing install/uninstall/getInstallation logic for deploying patched APKs as Magisk modules (writes module.prop, copies patched APK to module, restarts/kills apps). Add platform-specific installers: AdbMagiskInstaller (ADB root) and LocalMagiskInstaller (local root via LocalShellCommandRunner, Closeable). Add Magisk-related constants (module paths, COPY_APK_TO_MODULE command, MAGISK_MODULE_PROP template) used by the installer.
…n/installer/Constants.kt


Clearler command title

Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
Rename guard scripts to watchdog and update provisioning flow. MagiskUtils now references WATCHDOG_SCRIPT_PATH and writeModuleFiles (formerly writeInductionFiles), removing version/label parameters from provisioning APIs. Constants: add legacy mounted path, watchdog path, module filenames, STAGE_APK and INSTALL_MOUNT_SCRIPT templates; simplify module.prop fields. Shell templates improved for robustness: safer quoting/variable expansion, magisk mirror handling, improved unmount logic, pm install uses -S with a retry loop and waits for package manager readiness, log trimming, and other minor fixes. Also adjust mount/unmount commands, permission messages, and path handling in MagiskUtils.
secp192k1 and others added 24 commits April 12, 2026 22:34
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants