Custom recovery reporting wrong device when flashing CM11 in Samsung Galaxy Note 8 even when I downloaded the right firmware I'm trying to flash CM11 firmware on a GT-N5100 device. I installed the custom recovery (tried both CWM and PhilZ), and while flashing it says I'm on a wrong device. On CWM, it was saying "The package is for N5100 and you are in a N5110, update aborted". 

And on PhilZ, it says "This package is for kona3g, kona3gxx and you are on a konawifi, operation cancelled."

Now what am I supposed to do? I'm unable to install CM11??? So sad.
On comparing the models, there is difference between the two (especially when it comes to network). I suggest that you do have a look at this before proceeding and try that first.
But if you are sure that your model is N5100 and still want to try and proceed, there is a workaround you can do so it doesn't check/compare the models.


Open the ROM zip file with winrar.
Go to META-INF/com/google/android and open the updater-script with notepad.
You are looking for line similar to:


getprop("ro.product.device") == "N5100" || abort("This package is for \"  N5100\" devices; this is a \"" + getprop("ro.product.device") + "\".");

(this line should in fact be the very first line in script).

Erase this line, save the zip and flash again. It won't verify your model.

Warning: I am not really a Samsung user. So I am not aware of its models and naming conventions that much.  Make sure about models otherwise you may end up bootlooping your device or having other problems and having to flash firmwares over again (you can ask on xda itself about this).

Hope this helps ;)