Skip to content

Tools-cx-app/meta-magic_mount-rs

Repository files navigation

An implementation of a metamodule

Magic Mount Metamodule

Telegram

Version GitHub Downloads

English Русский

为 KernelSU/APatch 提供 Systemless 修改功能。

作者由于学业原因,更新会放缓


配置

配置文件路径:

/data/adb/magic_mount/config.toml

mountsource = "KSU"
umount = false
partitions = []
字段 说明
mountsource Systemless 挂载来源标识。默认值 "KSU" 与 KernelSU 行为保持一致。
umount 是否尝试卸载(依赖 KernelSU umount )。
partitions 指定需要进行 Systemless 操作的特定分区列表,例如 "mi_ext","my_stock" 等。

也可通过 WEBUI 进行配置(推荐)。


开发

依赖:

  • Rust nightly toolchain

  • Android NDK

  • cargo-ndk

  • Node.js / npm

  • pnpm and vite as dependency and frontend for webui

环境变量:

export ANDROID_NDK_HOME=<path/to/ndk>
export ANDROID_NDK_ROOT=$ANDROID_NDK_HOME

构建:

cargo xtask build

构建产物将位于:

  • output/magic_mount_rs-*.zip

致谢

许可证

Star History

Star History Chart

About

An implementation of a metamodule using Magic Mount, Based on MKSU, Template is from meta-overlay.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors