Hacking a phone without proper authorization is illegal in most jurisdictions. Always consult with legal professionals and obtain consent before attempting any form of phone hacking.