1-Root Your Phone With CF-Autoroot Script.
2-Open Usb Debugging in Developer Settings.
3-Use Z3X Box or Any Cert Writer Application and Reset Efs First.
4-Write Cert File
That's All
LOG
Checking certificate file... OK
KEY ID: 0813
Waiting ADB device... OK
Reading phone info...
Model: SM-N900
Android version: 5.0
Product code: Not Active
Phone version: N900XXUENG1
PDA version: N900XXUEBOA6
CSC version: N900SEREBOA6
CSC country code: Russia
CSC sales code: SER
HW version: REV__
Phone S/N:
Modem board: XMM6360
RF cal date: Unknown
IMEI:
Checking Super user right... true
Reading nv data... OK
Checking magic... OK
Running zTool, please wait... OK
Detected new type of security version 1
Calculating... OK
Writing nv data... OK
Rebooting phone... OK
Write CERT done
Done with Samsung Tool PRO v.25.8