Method 1:
2. Open framaroot
3. Choose the exploit that you want to do..in my case i chose "Install Supersu "Click "Gandalf "wait for the confirmation if successfully rooting.
4 . Reboot Device
5. If successful reboot phone.. Supersu app it means your samsung core is now rooted..Congrats!
Mehtod 2:
If above method not working in your device then
2.open and click on root
3 . Download supersu app from play store.open supersu select option>normal
4.Done.
If you want to delete baidu root goto> system app & delete it.
Warning - I'm not responsible for any damage of your device.