Dial certain numbers if your mobile device is being monitored or is tapped. You can Dial *#06# to check your phone’s IMEI number. To reveal whether spyware on your handset has been diverting phone calls, text messages, and data, dial *#21#. This code will help you clear the settings.