This question already has an answer here:
- What hardware does Ubuntu Touch support? 14 answers
Can i instal ubuntu on my Samsung Galaxy S Advance? If yes, what are the procedures?
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.