cyxx/extract_android_ota_payload

Is this any Vital Error or should be ignored ?

dg28gadhavi opened this issue · 4 comments

ssh@bash:~/ext$ python extract_android_ota_payload.py up.zip out
Extracting 'payload.bin' from OTA file...
Extracting 'abl.img'
Traceback (most recent call last):
File "extract_android_ota_payload.py", line 75, in
main(sys.argv)
File "extract_android_ota_payload.py", line 72, in main
parse_payload(payload, p, out_f)
File "extract_android_ota_payload.py", line 40, in parse_payload
raise update_payload.error.PayloadError('Unknown operation type (%d)' % operat
ion.type)
update_payload.error.PayloadError: Unknown operation type (4)

cyxx commented

Hi,

OpType 4 corresponds to SOURCE_COPY. Is up.zip an incremental upgrade package ?

cyxx commented

Committed 467ead7 to skip the current image extraction if an unsupported operation type occurs.

Yes it was incremental OTA

cyxx commented

Thanks for the confirmation. There is not much we can do then, as the image is reconstructed from the flash contents.