[Galaxy S 4 i9505 Original Android Development] RDS5:
alright, are you sure your model IS supported under the device list?

if so, then just open up the zip file on your computer, open it in a program that can modify zip files (like 7zip) and find the "updater-script" file (which is located in [/META-INF/com/google/android/updater-script]) and then edit out these lines:

assert(getprop("ro.product.device") == "jflte" || getprop("ro.build.product") == "jflte" ||
getprop("ro.product.device") == "jfltexx" || getprop("ro.build.product") == "jfltexx" ||
getprop("ro.product.device") == "i9505" || getprop("ro.build.product") == "i9505" ||
getprop("ro.product.device") == "GT-I9505" || getprop("ro.build.product") == "GT-I9505" ||
getprop("ro.product.device") == "jgedlte" || getprop("ro.build.product") == "jgedlte" ||
getprop("ro.product.device") == "i9505g" || getprop("ro.build.product") == "i9505g" ||
getprop("ro.product.device") == "GT-I9505G" || getprop("ro.build.product") == "GT-I9505G" ||
getprop("ro.product.device") == "9505G" || getprop("ro.build.product") == "9505G" ||
getprop("ro.product.device") == "i9505G" || getprop("ro.build.product") == "i9505G" ||
getprop("ro.product.device") == "GT-9505G" || getprop("ro.build.product") == "GT-9505G" ||
getprop("ro.product.device") == "9507" || getprop("ro.build.product") == "9507" ||
getprop("ro.product.device") == "GT-9507" || getprop("ro.build.product") == "GT-9507" ||
getprop("ro.product.device") == "i9507" || getprop("ro.build.product") == "i9507" ||
getprop("ro.product.device") == "9508" || getprop("ro.build.product") == "9508" ||
getprop("ro.product.device") == "GT-9508" || getprop("ro.build.product") == "GT-9508" ||
getprop("ro.product.device") == "i9508" || getprop("ro.build.product") == "i9508" ||
getprop("ro.product.device") == "jfltevzw" || getprop("ro.build.product") == "jfltevzw" ||
getprop("ro.product.device") == "jfltespr" || getprop("ro.build.product") == "jfltespr" ||
getprop("ro.product.device") == "jflterefreshspr" || getprop("ro.build.product") == "jflterefreshspr" ||
getprop("ro.product.device") == "jfltetmo" || getprop("ro.build.product") == "jfltetmo" ||
getprop("ro.product.device") == "jfltecri" || getprop("ro.build.product") == "jfltecri" ||
getprop("ro.product.device") == "jfltecsp" || getprop("ro.build.product") == "jfltecsp" ||
getprop("ro.product.device") == "jflteatt" || getprop("ro.build.product") == "jflteatt" ||
getprop("ro.product.device") == "jfltecan" || getprop("ro.build.product") == "jfltecan" ||
getprop("ro.product.device") == "jfltetfnatt" || getprop("ro.build.product") == "jfltetfnatt" ||
getprop("ro.product.device") == "jfltetfntmo" || getprop("ro.build.product") == "jfltetfntmo" ||
getprop("ro.product.device") == "jflteusc" || getprop("ro.build.product") == "jflteusc" ||
getprop("ro.product.device") == "jfltezm" || getprop("ro.build.product") == "jfltezm" || abort("E3004: This package is for device: jflte,jfltexx,i9505,GT-I9505,jgedlte,i9505g,GT-I9505G,9505G,i9505G,GT-9505G,9507,GT-9507,i9507,9508,GT-9508,i9508,jfltevzw,jfltespr,jflterefreshspr,jfltetmo,jfltecri,jfltecsp,jflteatt,jfltecan,jfltetfnatt,jfltetfntmo,jflteusc,jfltezm; this device is " + getprop("ro.product.device") + "."););

those lines just check if your model is actually supported, so generally you shouldnt edit them out, but if you are ABSOLUTELY SURE your model is supported, then doing this should remove that error.