echo $ANDROID_PRODUCT_OUT
$env:ANDROID_PRODUCT_OUT="C:\path\to\your\images\folder" fastboot android-product-out not set
The error message neither -p product specified nor ANDROID_PRODUCT_OUT set typically occurs when using the fastboot flashall command. This happens because . Common Causes fastboot android-product-out not set
Ensure the target folder actually contains android-info.txt , boot.img , system.img , and other necessary partition images. fastboot android-product-out not set
If you have closed your terminal window since building the ROM, or if you are trying to flash from a new terminal window, the lunch configuration is lost. This is the most common cause of the error.
These commands rely on ANDROID_PRODUCT_OUT to find device.zip or partition images. Without the variable, Fastboot cannot locate the necessary files.
You should see a path like: