Default [Q] Kindle Fire HDX wont flash rom

Rooted my Kindle Fire HDX and now I cant flash the rom. Keep getting this error message

Assert failed : getprop("ro.product.device == "thor" || getprop("ro.build.product") == thor
E:Error executing updater binary in zip '/sdcard/thor-amazon-os.zip