the original thread can be found here
After root 1st make a efs backup and put in a safe place. in attach you have an working tool to do this!!!
!!! This will NOT set the Knox warranty void flag !!!
>>> works only on MK... firmwares !!!
What you need:
>>> install kies or USB driver from here (skip if you have this)
>>> enable USB debugging mode (go to settings > about phone > tap on Build Number 7 times, until a message appears saying 'You are now a Developer.')
>>> go to settings > Developer Options and enable USB Debugging Mode
how to root:
1 - download root exploit from attach or from original thread
2 - extract the root exploit package using WinRAR / 7-zip
3 - connect the phone to computer
4 - navigate to the extracted directory and double click install.bat file
5 - follow the on-screen instructions
make the system status: official
> install xposed installer
> install wanam exposed
> activate wanam exposed from xposed installer
> go into wanam exposed - security hacks - system - fake system status
* or try this (have not tried)
* also you will get system status: official by revert to stock rom with odin
thanks to @k1mu for this method
how to un-root or set rom to official you will find on original thread