Modules / magic_mount_rs

Magic Mount-rs

META

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

README

Magic Mount Metamodule

Telegram

为 KernelSU 提供 Systemless 修改功能。

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


配置

配置文件路径:

/data/adb/magic_mount/config.toml

moduledir = "/data/adb/modules/"
mountsource = "KSU"
verbose = false
umount = false
partitions = []
字段 说明
moduledir Systemless 模块目录,用于扫描并加载需要挂载的模块内容。
mountsource Systemless 挂载来源标识。默认值 “KSU” 与 KernelSU 行为保持一致。
verbose 是否输出调试日志。true 将显示详细挂载信息。
umount 是否尝试卸载(依赖 KernelSU umount )。
partitions 指定需要进行 Systemless 操作的特定分区列表,例如 “mi_ext”,“my_stock” 等。

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


开发

依赖:

  • Rust nightly toolchain

  • Android NDK

  • cargo-ndk

  • Node.js / npm

环境变量:

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

构建:

cargo xtask b

构建产物将位于:

  • output/magic_mount_rs.zip

致谢

许可证

Release History

v1.2.1

Published on December 12, 2025
Download

1.2.1 - 2025-12-12

View changes(7772e56...4fc7bfe)

🚀 Features

  • Sync new webui design(5da57c1)
  • Add check in try_umount(1de5ab9)
  • Add check zn-daemon in try_umount && add skip log(e45d517)

🐛 Bug Fixes

  • Fix no return when failed to read /proc/mounts(f0e67c0)
  • Merge system info into device state to display kernel and selinux(d947f5e)
  • Fix no vite in package-lock.json(6be44b7)
  • Fix umount string show error(f7ed1f3)
  • Fix tempdir isn't zn search dir(9232237)
  • Fix build(d9c0bf2)
  • Fix search tempdir(02e7c2d)
  • Fix log string(e779d4b)
  • Fix no read author(b21d59c)

⚙️ Miscellaneous Tasks

v1.2.0

Published on December 7, 2025
Download

1.2.0 - 2025-12-07

View changes(1bd1cea...7772e56)

🚜 Refactor

  • Refactor do magic mount (#16)(fbf1501)

⚙️ Miscellaneous Tasks

v1.0.3-fix

Published on December 6, 2025
Download

1.0.3 - 2025-12-06

View changes(e558318...1bd1cea)

🚀 Features

  • When target isn't linux/android, won't build try_umount(dcb4300)

🐛 Bug Fixes

  • Localize google fonts dependency for accessibility in china(#13)(2d13b0a)

⚙️ Miscellaneous Tasks

  • Remove #![allow(clippy::unreadable_literal)](c2b5647)
  • Remove some lint(ecfa73d)

v1.0.2

Published on December 6, 2025
Download

1.0.2 - 2025-12-06

View changes(85f88d1...6b821a5)

🐛 Bug Fixes

  • Fix changelog commit link parse error(bafa9ca)

⚡ Performance

  • Deletion atomic operation(280e678)

v1.0.1

Published on December 6, 2025
Download

1.0.1 - 2025-12-05

View changes(b5b2b47...85f88d1)

🚀 Features

  • Add exists check in select_temp_dir(b63b774)
  • Display full path when try_umount step(15d6f82)
  • Port visual improvements (fonts, navbar, toasts) and ux enhancements (skeletons, dirty state)(8d80bf6)

🐛 Bug Fixes

  • Fix no return when umount failed(52a3394)
  • Fix return type is Err(...)(c42fe98)

📚 Documentation

  • Add English README (README_en.md) for meta-magic_mount(18b67e7)

⚙️ Miscellaneous Tasks

Module Details

Module ID
magic_mount_rs
275
Stars
5
Releases

Latest Version

v1.2.1
Released 12/12/2025
Download Now