Samsung SM-J530F

The best way would be to have some build an unofficial ROM for the device - in /e/ Pie code - test that out and share the feedback. @Anonyme is listing the best options to port or upgrade to Pie and later Q. The devices with the best feedback are the top contenders.