cd /work/android-sdks/platform-tools/
sudo ./fastboot devices
sudo ./fastboot flash system '/home/archermind/Downloads/Image_file/system.img'
sudo ./fastboot flash userdata '/home/archermind/Downloads/Image_file/userdata.img'
sudo ./fastboot flash boot '/home/archermind/Downloads/Image_file/boot.img'
sudo ./fastboot flash recovery '/home/archermind/Downloads/Image_file/recovery.img'
sudo ./fastboot reboot