System requirement Python3, pip google protobuf for python pip3 install protobuf Full OTA LD_LIBRARY_PATH=./lib64/ ./extract.py --output_dir output/ payload.bin This will start to extract the images within the payload.bin file to the output folder you are in. Incremental OTA Copy original images (from full OTA or dumped from devices) to old folder (with part name without file extension, ex: boot, system) LD_LIBRARY_PATH=./lib64/ ./extract.py --output_dir output/ --old_dir old/ payload.bin