Installation on old Smartphone (galaxy S4)

Hi. As we know Android smartphones could be turned into LInux powered devices.

Does anybody has some idea how to get HA on some smartphone, lets say Galaxy S4 (which will be used only for HA, not for calling etc.)?

Docker or some step by step installation os some LInux distribution?
Thanks