当前位置: 首页 > 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.

在这里插入图片描述

http://www.xdnf.cn/news/535285.html

相关文章:

  • Python训练营打卡DAY30
  • 关于在Unity项目中使用Post Processing插件打包到web端出现的问题
  • 6K型护套连接器DLJ0601(2000)-00
  • Java大厂面试三轮问答:微服务与数据库技术深度解析
  • token令牌
  • 自定义协议与序列化
  • 初学c语言16(内存函数)
  • 哈夫曼编码:数据压缩的优雅艺术
  • 【CodeBuddy 】从0到1,让网页导航栏变为摸鱼神器
  • 学习VS2022离线安装包的下载方法
  • unity UGUI虚线框shader
  • 无符号长整型数x的循环右移
  • Docker构建 Dify 应用定时任务助手
  • unity 第一人称控制器
  • std::ranges::views::as_const 和 std::ranges::as_const_view
  • ABAP创建类
  • 【Tools】VMware Workstation 17.6 Pro安装教程
  • windows使用ollama部署deepseek及qwen
  • SnapEdit安卓版:AI赋能,一键抠图与创意编辑
  • 创新点!贝叶斯优化、CNN与LSTM结合,实现更准预测、更快效率、更高性能!
  • 基于jsp+mysql+Spring的Springboot旅游网站管理系统设计和实现
  • OpenWeatherMap API ,常见的方式来管理 API Key:
  • 系统思考:动态性复杂
  • 0519Java面试题总结
  • 网络漏洞扫描系统都有哪些类型?
  • PAW3950DM-T5QU游戏级光导航芯片
  • 博图1200硬件组态与启保停程序编写步骤详解
  • AM32电调学习解读九:ESC上电启动关闭全流程波形分析
  • 无人机遥控器光纤通信模块技术要点!
  • 前端(vue)学习笔记(CLASS 6):路由进阶