Rooting:
This technique should work on any stock firmware.
1.First flash CWM recovery.Instructions are given below
2.Boot in CWM recovery and connect phone to PC
3.Download and extract the RootMe.zip package on your PC
4.Run runme.bat on PC while phone is in recovery mode
5.Reboot the phone after process is over.
Clockworkmod Recovery:
1.Download the cwm tar package
2.Put phone into download mode and connect to the PC
3.Flash the cwm tar package as PDA and wait for phone to reboot
Recovery download link:
http/www.4shared.com/file/BNA22af2/cwm-trebontar.html
Note:
[1]The yellow triangle at boot is of no importance.Deal with it
Recovery Mode: volume up+ volume down + home + power
Download Mode: volume down + home + power
Download Odin3.zip: forum.xda-developers.com/attachment.php?s=01f275014fc0b1456327979429f2d7b6&attachmentid=1023691&d=1335335248
Download RootMe.zip : forum.xda-developers.com/attachment.php?attachmentid=1032490&d=1335783005
Source:
http/forum.xda-developers.com/showthread.php?t=1618324