This question already has an answer here:

I am interested in knowing whether installing a custom ROM that is made for the same tablet but the wifi variant, is possible to flash it on the LTE variant. Namely, I have a samsung SMT525 and if found only the compatible LineageOS ROM for the SMT520 which is basically the same device same hardware and everything except it doesn't have LTE functionality. I am ready to lose the LTE its just I wanna make sure that I don't hard brick my device.

marked as duplicate by Matthew Read Mar 21 '17 at 23:37

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.