While trying to sideload this LineageOS from this link, on a Samsung J530F I'm getting the error:

E3004 This package is for device: j5y17ltexx; this device is .

Normally that message can be used to indicate you are trying to install the wrong/an incompatible operating system on the phone. However, in this case the this device is . does not show what the device type actually is. And when I rebooted the phone into its original recovery mode, it said on top:

Phone type is:

So I think the lineageOS package is the right one for the right phone.

Image with Error:

enter image description here

TWRP version

TWRP version is: 3.1.1-0 from the Team Win Recovery Project


Why does the phone not indicate what type it is/how can I ensure the lineageOS file is installed anyways?


1 Answer 1


The answer was to update the twrp version to version 3.2.x. I tried roughly 14 TWRP versions until I found a working one. Additionally on that one I installed TWRP 3.2.x from TWRP 3.1.1-0 (which was installed on the RECOVERY partition), onto the BOOT partition.

Within that new TWRP, the error on installing the Lineagos zip changed from the above to error 7, which also implies the image and the phone are not compatible. One could overrule that by unpacking the image, taking out some asserts, and repacking it. However, I did not do that, instead I found an /e/ os image in this link which did work.

You must log in to answer this question.

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