sudo apt install unzip tar liblz4-tool android-tools-fsutils
If you get this error:
bash: ./extract.sh: /bin/bash^M: bad interpreter: No such file or directory
Then you have LFCR line endings from windows. To fix that run:
sed -i -e 's/\r$//' extract.sh