This question already has an answer here:
I was looking into installing ubuntu on my Samsung s5 can this be done? if yes how?
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.
10 months ago