Prerequisites :
-Before doing anything you have to backup your Samsung Galaxy S Advance Data See this guide here-Charge phone more than 80 %
Downloads :-
Odin Flashing tool-
Root File Step by step root for Samsung Galaxy S Advance :1-Make sure that you had install the
necessary drivers on your PC
2-Open odin
3-Connect your Samsung Galaxy S Advance via original USB cable to the computer.
4-Enable the
USB Debugging mode.
5- Enter
Download mode :
- Turn off your phone and start it in Download mode (Press volume down+home+power buttons together for few seconds).
6-Odin will detect your phone Then Hit Start
7-Your phone will restart and successfully rooted now.
8-Check the root with
root checker hereSource :
Rooter15,
quora ,
techotv