Magisk movecert模块安装时出现‘unzip error‘的解决办法 您所在的位置:网站首页 unzip解压大文件失败的解决办法 Magisk movecert模块安装时出现‘unzip error‘的解决办法

Magisk movecert模块安装时出现‘unzip error‘的解决办法

2023-09-06 13:23| 来源: 网络整理| 查看: 265

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。 参考链接:

https://github.com/Magisk-Modules-Repo/movecert/issues/12#issuecomment-1037292665https://github.com/Magisk-Modules-Repo/movecert/issues/12#issuecomment-1193517108该模块原作者已长期未更新且停止维护,可以考虑使用MagiskTrustUserCerts模块,https://github.com/NVISOsecurity/MagiskTrustUserCerts


【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有