I am trying to flash LineageOS 18.1 GO custom ROM on my Samsung Galaxy Grand Prime. The model is gprimeltexx, and TWRP works. When I try to flash the ROM, it gives me this error:

E3004: This package is for device: gprimeltexx,fortunafz,grandprimelte,grandprimeltexx; this device is .

So it says that it is for my model, but it says "This device is ." So it doesn't report any model. Is there any way to fix that?


1 Answer 1


in TWRP terminal type 'setprop ro.product.device gprimeltexx'

This fixed my issue. Now all the roms I tried to flash now see my Samsung Galaxy Grand Prime as gprimeltexx.

Thanks everyone for help

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .