KaliNethunter icon indicating copy to clipboard operation
KaliNethunter copied to clipboard

Coping zip to temp directory... Unzip error

Open Developits opened this issue 2 years ago • 8 comments

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

Developits avatar Mar 15 '22 12:03 Developits

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

Its not working bro

LxaNce-Hacker avatar Aug 15 '22 04:08 LxaNce-Hacker

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 avatar Oct 16 '22 20:10 mtrofimov19

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.

mtrofimov19 avatar Oct 16 '22 20:10 mtrofimov19

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

NoNameLmao avatar Nov 14 '22 15:11 NoNameLmao

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

lt541013990 avatar Jul 20 '23 06:07 lt541013990

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

RealYukiSan avatar Nov 11 '23 15:11 RealYukiSan

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~

bluce-vayn avatar Aug 06 '24 14:08 bluce-vayn