Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 589 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 589 Bytes

System requirements

  • Python3, pip
  • google protobuf for python, six
pip3 install -r requirements.txt

Full OTA

./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).

Incremental OTA

  • 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