This question already has an answer here:
- What hardware will Ubuntu Touch support? 15 answers
Can i instal ubuntu on my Samsung Galaxy S Advance? If yes, what are the procedures?
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.
The list of currently supported devices along with links to the install procedure can be found here... https://wiki.ubuntu.com/Touch/Devices
Unfortunately the Samasung Galaxy S Advance isn't supported at the moment although this may change in the future.