当前位置: 首页 > news >正文

雷电模拟器安装 KitsuneMagisk (原 Magisk-delta)

在 2025 年,Magisk delta 这个分支的安装可能有极强的时效性,因为仓库的重要维护者弃坑 / 没时间精力,最佳实践随时会变

前情提要

Magisk (也被称为“面具”) 是一款针对安卓设备的开源自定义工具套件,它能在不直接修改系统文件的情况下获取Root权限,并通过模块系统对设备进行各种自定义修改。此外,Magisk 还具备隐藏自身(Magisk Hide)的功能,使得用户在获取Root权限的同时也能正常使用某些检测系统完整性的应用。

但是原版 magisk 对模拟器的支持不太好,因此模拟器社区常用 @HuskyDG 维护的 fork Magisk Delta( logo 是红色狐狸面具) 。网上搜到的教程也大多是基于 delta 版安装,很方便的,一键式点两下就好了

然而,在 25 年这个时间点 @HuskyDG 删库弃坑了,目前 (25.05) 社区的 fork 是 @1q23lyc45 维护的 KitsuneMagisk,大概每个月 commit 一次来 follow mainline。

然而而,@1q23lyc45 在 issue 里发了公告,magisk mainline 最近重构之后,他本人没有精力 follow 越来越大的代码差异。他对 rust 也不太熟,估计坚持不了多久了…

因此随时弃坑

安装 magisk

KituneMagisk 测试过 LDPlayer, Bluestack,因此直接跑就行

参考链接

  1. github 的第三方文档 (magisk_files 的 fork),记录了 LDPlayer, BlueStack 等模拟器的文字版安装方法
    https://github.com/shockeyzhang/magisk-delta/blob/main/docs/faq.md
  2. 网上搜索 magisk delta 找到的中文文档 https://jesse205.github.io/MagiskChineseDocument/delta/
  3. 第三方软件站自己魔改版本的安装文档,可以参考下截图 https://www.duokaiya.com/786.html

操作

需要注意,由于安卓会把 system mount 成只读分区,su 之后 rm su 不行。内置的文件管理器倒是可以,不知道有什么 trick

How to install Magisk into Android-x86 project or Android emulator

Before start:
  1. Only Magisk Delta support Magisk installation into system partition.
  2. Although emulator has ramdisk image, patching ramdisk is not used because ramdisk is stored in seperate partition with very SMALL disk size that is not enough to store Magisk binaries.
  3. Latest Magisk Delta Canary has been adopted to support Bluestacks, but need app_process wrapper to run Zygisk.
  4. List of emulators have been tested: NoxPlayer, LDPlayer, MEmu.
  5. List of Android x86 project has been tested: BlissOS, PrimeOS
  6. Waydroid is supported on Canary build.
Step to step to install Magisk into emulator like NoxPlayer, LDPlayer, MemuPlayer,…
  1. Enable Root access in emulator settings
  2. Install and open Magisk Delta
  3. Grant root access to Magisk Delta, click “Install” under Magisk field and use “Direct Install into system partition” option instead of “Direct Install” option (If you don’t see this option, close and re-open Magisk Delta app) Don’t restart now!
  4. Disable Root access in emulator settings. Backup built-in su (/system/bin/su and /system/xbin/su) and delete them (in case you want to uninstall Magisk and restore to built-in su), then reboot. Because emulators like LDPlayer will remove all su after disable ROOT from settings, DO NOT disable Root access in emulator settings.
  5. Enjoy Magisk!
Step to step to install Magisk into Bluestacks
  1. Download Bluestacks Tweaker from here
  2. Use Bluestacks Tweaker and click “Unlock” to unlock Bluestacks instance and then launch it, overwise you can’t install Magisk
  3. When the instance starts up successfully, click “Patch” to open root access, install Magisk Delta and execute “Direct Install into system partition” action
  4. When you are done, click “UnPatch” and then relanch the instance.
  5. Enjoy Magisk!
Step to step to install Magisk into Android-x86 project
  • You can use initrd-magisk or directly install Magisk into system partition like guide above.
Step to step to install Magisk on Waydroid
  • Please check https://github.com/nitanmarcel/waydroid-magisk or https://github.com/casualsnek/waydroid_script for more information.

在这里插入图片描述

相关文章:

  • 当多云管理陷入泥潭,一体化平台如何破局?
  • PCB设计如何用电源去耦电容改善高速信号质量
  • 32、跨平台咒语—— React Native初探
  • leetcode3371. 识别数组中的最大异常值-medium
  • 扫描网络内所有设备的IP地址
  • linux kernel 编译
  • ONIE安装NOS操作说明
  • 5.19 打卡
  • 【C#】用 DevExpress 创建带“下拉子表”的参数表格视图
  • 利用SAMap整合跨物种单细胞/空间转录组数据
  • 简单光学成像技术及其研究进展
  • 用户行为日志分析的常用架构
  • 【Pandas】pandas DataFrame mode
  • 《打造第二大脑》
  • 代购商城系统可以解决哪些重点难题?
  • FastAPI自定义异常处理:优雅转换Pydantic校验错误
  • java+selenium专题->启动浏览器下篇
  • 百胜ECOVADIS认证咨询公司,ecovadis评分提升攻略
  • 凸优化理论-进阶方法
  • Vue.js教学第六章:Vue 开发的高效路径,组件化基础
  • 视频|黎明:年轻人已经不相信爱情了吗?
  • 自然资源部:适应存量时代城市更新发展,严控增量盘活存量
  • 广州某科技公司遭网络攻击,境外“黑手”被锁定
  • 多所院校高规格召开考研动员会,有学院考研报名率达84%
  • 香港今年新股集资额已超600亿港元,暂居全球首位
  • 读懂城市|成都高新区:打造“人尽其才”的“理想之城”