[OnePlus 7 Pro Guides, News, & Discussion] nickman529:
C:\Users\remstar\Downloads\extract_android_ota_payload-master\extract_android_ot

a_payload-master>extract_android_ota_payload.py havocop7p.zip /tmp/

Extracting 'payload.bin' from OTA file...

Extracting 'boot.img'

Traceback (most recent call last):

File "C:\Users\remstar\Downloads\extract_android_ota_payload-master\extract_an

droid_ota_payload-master\extract_android_ota_payload.py", line 142, in <module>

main(filename, output_dir)

File "C:\Users\remstar\Downloads\extract_android_ota_payload-master\extract_an

droid_ota_payload-master\extract_android_ota_payload.py", line 121, in main

parse_payload(payload, p, out_f)

File "C:\Users\remstar\Downloads\extract_android_ota_payload-master\extract_an

droid_ota_payload-master\extract_android_ota_payload.py", line 95, in parse_payl

oad

r = decompress_payload('xzcat', data, e.num_blocks * BLOCK_SIZE, operation.d

ata_sha256_hash)

File "C:\Users\remstar\Downloads\extract_android_ota_payload-master\extract_an

droid_ota_payload-master\extract_android_ota_payload.py", line 78, in decompress

_payload

p = subprocess.Popen([command, '-'], stdout=subprocess.PIPE, stdin=subproces

s.PIPE)

File "C:\Users\remstar\AppData\Local\Programs\Python\Python38\lib\subprocess.p

y", line 854, in __init__

self._execute_child(args, executable, preexec_fn, close_fds,

File "C:\Users\remstar\AppData\Local\Programs\Python\Python38\lib\subprocess.p

y", line 1307, in _execute_child

hp, ht, pid, tid = _winapi.CreateProcess(executable, args,

FileNotFoundError: [WinError 2] The system cannot find the file specified

C:\Users\remstar\Downloads\extract_android_ota_payload-master\extract_android_ot

a_payload-master>extract_android_ota_payload.py havocop7p.zip /tmp/

Extracting 'payload.bin' from OTA file...

Extracting 'boot.img'

Traceback (most recent call last):

File "C:\Users\remstar\Downloads\extract_android_ota_payload-master\extract_an

droid_ota_payload-master\extract_android_ota_payload.py", line 142, in <module>

main(filename, output_dir)

File "C:\Users\remstar\Downloads\extract_android_ota_payload-master\extract_an

droid_ota_payload-master\extract_android_ota_payload.py", line 121, in main

parse_payload(payload, p, out_f)

File "C:\Users\remstar\Downloads\extract_android_ota_payload-master\extract_an

droid_ota_payload-master\extract_android_ota_payload.py", line 95, in parse_payl

oad

r = decompress_payload('xzcat', data, e.num_blocks * BLOCK_SIZE, operation.d

ata_sha256_hash)

File "C:\Users\remstar\Downloads\extract_android_ota_payload-master\extract_an

droid_ota_payload-master\extract_android_ota_payload.py", line 78, in decompress

_payload

p = subprocess.Popen([command, '-'], stdout=subprocess.PIPE, stdin=subproces

s.PIPE)

File "C:\Users\remstar\AppData\Local\Programs\Python\Python38\lib\subprocess.p

y", line 854, in __init__

self._execute_child(args, executable, preexec_fn, close_fds,

File "C:\Users\remstar\AppData\Local\Programs\Python\Python38\lib\subprocess.p

y", line 1307, in _execute_child

hp, ht, pid, tid = _winapi.CreateProcess(executable, args,

FileNotFoundError: [WinError 2] The system cannot find the file specified

EDIT: solved, bad dependancies

---------- Post added at 11:48 AM ---------- Previous post was at 11:17 AM ----------

I'm now getting "invalid sparse file format at header magi"