Your HTC Desire 510 is bad rooted definitely.
Please do unroot, then root again...(Can use
KingRootv4.62.
Go to
http://www.kingroot.net from phone, download it, install it... and run it.
Then, to repeat the process.
Check here a HTC Desire 510 unlock done sucess Best Regards
zZKey Team