If you follow the technical method, you have to know a lot, yes I mean a lot.
You have to know the IMEI number or jailbreaking of devices or first rooting.
But, for this, you have to have physical access to the device.
When you do not have physical access, you have to use a customized spy app.
These apps are just perfect for smartphones, and only a number is all that you need.