MatthewPierson / Vieux

Vieux - A tool for 32/64 Bit iOS downgrades using OTA Blobs
805 stars 146 forks source link

zlib.error: Error -3 while decompressing data: invalid block type #26

Closed pongsupavit closed 4 years ago

pongsupavit commented 4 years ago

Could you please help? File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 1619, in extractall self._extract_member(zipinfo, path, pwd) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 1674, in _extract_member shutil.copyfileobj(source, target) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/shutil.py", line 79, in copyfileobj buf = fsrc.read(length) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 899, in read data = self._read1(n) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 975, in _read1 data = self._decompressor.decompress(data, n) zlib.error: Error -3 while decompressing data: invalid block type

MatthewPierson commented 4 years ago

I need the full logs before I can do anything

pongsupavit commented 4 years ago

IPSW found at given path... Cleaning up old files... Files cleaned. Unzipping.. Traceback (most recent call last): File "./vieux", line 63, in ipsw.unzipIPSW(argv[2]) File "/Users/supavitkruaongarjnukool/Desktop/Vieux-master/ipsw.py", line 129, in unzipIPSW zip_ref.extractall(outputFolder) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 1619, in extractall self._extract_member(zipinfo, path, pwd) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 1674, in _extract_member shutil.copyfileobj(source, target) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/shutil.py", line 79, in copyfileobj buf = fsrc.read(length) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 899, in read data = self._read1(n) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 975, in _read1 data = self._decompressor.decompress(data, n) zlib.error: Error -3 while decompressing data: invalid distance code

MatthewPierson commented 4 years ago

Can you redownload the IPSW from ipsw.me and try again? The IPSW you have now might have got corrupted at some point

pongsupavit commented 4 years ago

Starting IPSW unzipping Continuing... IPSW found at given path... Cleaning up old files... Files cleaned. Unzipping.. Found: CPID:8960 CPRV:11 CPFM:03 SCEP:01 BDID:12 ECID:00000275AC86BAA4 IBFL:1C SRTG:[iBoot-1704.10] ERROR: No Apple device in DFU Mode 0x1227 detected after 30.00 second timeout. Exiting.

MatthewPierson commented 4 years ago

Just keep rebooting into DFU mode and run it again. This just means the exploit failed.

pongsupavit commented 4 years ago

Starting IPSW unzipping Continuing... IPSW found at given path... Cleaning up old files... Files cleaned. Unzipping.. Found: CPID:8960 CPRV:11 CPFM:03 SCEP:01 BDID:12 ECID:00000275AC86BAA4 IBFL:1C SRTG:[iBoot-1704.10] Traceback (most recent call last): File "./vieux", line 73, in ipsw.unzipIPSW(argv[2]) File "/Users/supavit/Desktop/Vieux-master/ipsw.py", line 153, in unzipIPSW pwndfumode() File "/Users/supavit/Desktop/Vieux-master/restore.py", line 28, in pwndfumode runexploit = checkm8.exploit() File "/Users/supavit/Desktop/Vieux-master/resources/ipwndfu/checkm8.py", line 532, in exploit libusb1_async_ctrl_transfer(device, 0x21, 1, 0, 0, b'A' * 0x800, 0.0001) File "/Users/supavit/Desktop/Vieux-master/resources/ipwndfu/checkm8.py", line 45, in libusb1_async_ctrl_transfer assert usb.backend.libusb1._lib.libusb_cancel_transfer(transfer_ptr) == 0 AssertionError Segmentation fault: 11

MatthewPierson commented 4 years ago

Thats the same error, just keep trying. Nothing I can do about the low success rate sorry

pongsupavit commented 4 years ago

Normally, how many times should I try, or Is there any other solution to make higher success rate?

MatthewPierson commented 4 years ago

I will be closing this issue in 24 hours if you no longer need help/the issue has been resolved. If you still need help then comment with what you need and I will not close it.