- Python3, pip
- google protobuf for python, six
pip3 install -r requirements.txt
./extract.py [--skip_hash] [--output dir <output-dir-name>] payload.bin
- This will start to extract the images within the payload.bin file to a folder named "output" by default (a different folder name can be specified).
- Copy original images (from full OTA or dumped from devices) to old_dir folder
./extract.py [--skip_hash] [--ignore_block_size] [--output dir <output-dir-name>] [--old_dir <old-dir-name>] payload.bin