Unhappy [Q] How To gain Root and S-OFF on a Unlocked S-ON HTC Desire HD

I have unlocked my htc desire hd and using a custom rom. I tried many tools to gain root and s-off. Can anyone help me out of this issue?