Simple firmware extraction tool to create flashable zips from official ROM zips
Adapted from https://github.com/whirm/oneplus3t-firmware-extractor
If TWRP complains about "Zip Treble Compatibility Error" open the firmware zip and remove 'compatibility.zip' and reflash