1. 出错原因
该模块作者忘记更新该路径/META-INF/com/google/android/update-binary下的脚本文件。
该文件中magisk作者也作出了说明:
#!/sbin/sh
# This is a dummy file that should be replaced with a proper installer script
# If you are creating a module locally for personal usage or testing,
# download the script in the following URL:
# https://github.com/topjohnwu/Magisk/blob/master/scripts/module_installer.sh
# And replace this script with the downloaded script
# Error, this script should always be replaced
exit 1
大致意思为:
# 这只是一个假的脚本文件,它本应当被替换为合适的安装脚本
# 如果你正以私人或测试为目的在本地安装模块
# 下载下面这个url中的脚本文件
# https://github.com/topjohnwu/Magisk/blob/master/scripts/module_installer.sh
# 然后用上面链接中的脚本内容替换该脚本
# error, 此文件应当永久被替换。
该文件应当替换为: https://github.com/topjohnwu/Magisk/blob/master/scripts/module_installer.sh
2. 解决办法
azio@github作者重写了正确的脚本,可以直接使用此repo。
- 一.
git clone https://github.com/azio7/movecert.git下载该repo - 二.
cd movecert进入到repo的主目录 - 三.
zip -r movecert.zip .压缩该目录下的所有文件并打包成movecert.zip压缩文件。 - 四. 在magisk上安装
更多详情,请看github movecert 里的issues12。
参考链接:
文章讲述了由于模块作者忘记更新/META-INF/com/google/android/update-binary下的安装脚本导致的问题,提供了解决方案,即通过下载azio7/movecert的GitHub仓库,压缩并打包成zip文件后在Magisk上安装。同时,建议使用MagiskTrustUserCerts模块,因为原模块已停止维护。
5812

被折叠的 条评论
为什么被折叠?



