First usage pip3 install protobuf git submodule update --recursive --init ./apply_patch.sh How to use ./extract_rom.py </path/to/rom.zip> [out/dir]