Directory still named "devkit_image_" when flashing phone (not devkit)
This is minor but it is a bit confusing that the temporary directory that the image file is downloaded into is named "devkit_image_"-something when not flashing a devkit. Seeing the output "INFO Downloading to ./devkit_image_..." makes the user wonder, "did I do somthing wrong, does the script think that I am trying to flash a devkit?"
Looks like the string "devkit_image_" is always used for the outdir regardless of if the flashing is for a devkit or not:
outdir = args.dir if args.dir is not None else tempfile.mkdtemp(prefix='devkit_image_', dir='.')
Maybe it could simply be changed to be called "image_" instead of "devkit_image_" ?