Install img2simg by entering the following commands in the terminal:
sudo apt update sudo apt install img2simg
Description:
Android sparse image creation tool
A command line tool to create sparse images for usage with Android devices.
Homepage: https://android.googlesource.com/platform/system/core
Version: 1:7.0.0+r33-2
Section: universe/devel