Generally, it's illegal to track someone else's phone without their consent. Laws vary by region, so you should consult your local laws or a legal expert to understand specific legalities in your area.