Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coping zip to temp directory... Unzip error #17

Open
Developits opened this issue Mar 15, 2022 · 8 comments
Open

Coping zip to temp directory... Unzip error #17

Developits opened this issue Mar 15, 2022 · 8 comments

Comments

@Developits
Copy link

When i flash this zip file in magisk-24.3 it shows:
-Coping zip to tamp directory
!Unzip error

Attached log there.

magisk_install_log_2022-03-15T18_45_50.log

@animalCollectiveAreTheBest

what you have to do is select all the files without any external folders and then rezip them so the root directory is the first thing the zip sees

@LxaNce-Hacker
Copy link

Its not working bro

@mtrofimov19
Copy link

what you have to do is select all the files without any external folders and then rezip them so the root directory is the first thing the zip sees

How?

@mtrofimov19
Copy link

I found this answer on reddit which kinda explains a bit better for anyone else running into this issue.
""To fix this, use a file manager to unzip the ZIP, go into the extracted folder and select all the contents and make a ZIP (note: the contents, not the <repo_id>- directory)."" so pretty much I downloaded the module zip from this website, unzipped the file on my android, Installed the winzip app and opened the new directory that I just unzipped and then zipped the contents inside that new folder which was apps, META-INF, system, busybox-amd...etc. and created a new zip file, opened magisk, selected modules tab, click install from storage and select the new zip file and it worked. Hope this helps.

@NoNameLmao
Copy link

use a file manager to unzip the ZIP

using RAR app to achieve this worked for me. the xiaomi's file manager (explorer) can also create archives .zip but they do not work for magisk

@lt541013990
Copy link

what you have to do is select all the files without any external folders and then rezip them so the root directory is the first thing the zip sees

it works for me,thanks bro

@RealYukiSan
Copy link

RealYukiSan commented Nov 11, 2023

Try RAR, zip on Linux, and zip from zarchiver, but still face the same error on custom module.

@bluce-vayn
Copy link

I found this answer on reddit which kinda explains a bit better for anyone else running into this issue. ""To fix this, use a file manager to unzip the ZIP, go into the extracted folder and select all the contents and make a ZIP (note: the contents, not the <repo_id>- directory)."" so pretty much I downloaded the module zip from this website, unzipped the file on my android, Installed the winzip app and opened the new directory that I just unzipped and then zipped the contents inside that new folder which was apps, META-INF, system, busybox-amd...etc. and created a new zip file, opened magisk, selected modules tab, click install from storage and select the new zip file and it worked. Hope this helps.

thanks! this helps me~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

8 participants