Dialing ##002# cancels all call diversions managed by a mobile operator, but it does not detect spyware, remove viruses or prove that a phone is being monitored.
The ##002# code is a network instruction sent through the Phone app. When the operator accepts it, all configured call diversions are canceled at once, including unconditional forwarding, forwarding when the line is busy or unanswered, and forwarding when the phone is off or out of coverage.
Canceling every diversion can also disable forwarding to voicemail. It does not automatically erase saved voicemail messages, and restoring the previous setup later may require the operator’s app, call settings or customer support.
The code can be entered on Android or iPhone with an active SIM or eSIM and a connection to the operator’s network. Support may vary for MultiSIM accounts, special configurations and some networks; a fixed-line service can also use different codes and conditions.
Codes such as *#21#, *#62#, *#67# and *#61# check specific forwarding settings without canceling them. An unknown forwarding number is not by itself evidence of spying, while an error message should be followed by checking coverage and contacting the operator if the problem persists.