IMEILens

Phone secret codes (Samsung, Android & iPhone)

A searchable list of safe dialer codes that show information or run hardware tests: the IMEI, battery status, test menus and signal readouts. We left out every code that resets, wipes or changes settings.

Brand

Only safe, read-only codes are listed. They vary by model, carrier and OS version; if nothing happens, your phone doesn't support that code.

21 codes

  • *#06#

    Show IMEI

    Shows the IMEI (two on dual-SIM phones) and on some phones the EID. Standard GSM code, works without a SIM.

    InfoWorks on:iPhoneSamsungAndroid (generic)XiaomiPixelMotorola
  • *#07#

    Regulatory info / SAR

    Opens the regulatory labels screen; on many Samsung and other phones it also shows the SAR values.

    InfoWorks on:SamsungAndroid (generic)XiaomiPixelMotorola
  • *#*#4636#*#*

    Testing menu

    Phone information (signal, network type) and usage stats. Look only: don't change the preferred network type or radio settings here. Blocked on many Samsung models.

    InfoWorks on:Android (generic)XiaomiPixelMotorola
  • *#*#426#*#*

    Push notification diagnostics

    Google Play services FCM diagnostics: shows whether the phone is connected for push notifications. Works from the Google Phone app.

    InfoWorks on:Android (generic)PixelMotorola
  • *#*#225#*#*

    Calendar storage info

    Shows how many calendar events and accounts the Android calendar provider stores.

    InfoWorks on:Android (generic)Pixel
  • *#*#7287#*#*

    Pixel Diagnostic

    Opens Google's Pixel Diagnostic app to test the display, touch, sensors, cameras and connectivity. Not available in every country.

    Hardware testWorks on:Pixel
  • *#0*#

    Samsung test mode

    Hardware test menu: screen colours, touch, receiver, speaker, vibration, sensors and cameras. Blocked on some models; Samsung Members → Diagnostics is the official alternative.

    Hardware testWorks on:Samsung
  • *#0228#

    Battery status

    Shows battery voltage, temperature and charging status on Galaxy phones.

    InfoWorks on:Samsung
  • *#1234#

    Firmware version

    Shows the AP (PDA), CP (modem) and CSC software versions.

    InfoWorks on:Samsung
  • *#12580*369#

    Software & hardware info

    Shows AP, CP, CSC and hardware revision details.

    InfoWorks on:Samsung
  • *#7353#

    Quick test menu

    Short test menu for speaker, vibration and similar checks. Missing on some recent models.

    Hardware testWorks on:Samsung
  • *#*#6484#*#*

    CIT hardware test

    Opens Xiaomi's CIT menu with single tests and an automatic test of screen, speakers, sensors and more. Alternative: tap Kernel version repeatedly in About phone.

    Hardware testWorks on:Xiaomi
  • *3001#12345#*

    Field Test Mode

    Shows cellular details such as serving cell and signal readings (RSRP on LTE/5G). Menus differ by iOS version and modem.

    InfoWorks on:iPhone
  • *#5005*7672#

    SMS centre number

    Shows the SMS service centre number stored for your SIM. Depends on the carrier; many return an error.

    Carrier-dependentWorks on:iPhone
  • *#21#

    Call forwarding status

    Asks the network whether all calls are forwarded, and to which number.

    Carrier-dependentWorks on:iPhoneSamsungAndroid (generic)XiaomiPixelMotorola
  • *#61#

    Forwarding if unanswered

    Status of forwarding when you don't answer (often to voicemail).

    Carrier-dependentWorks on:iPhoneSamsungAndroid (generic)XiaomiPixelMotorola
  • *#62#

    Forwarding if unreachable

    Status of forwarding when the phone is off or has no signal.

    Carrier-dependentWorks on:iPhoneSamsungAndroid (generic)XiaomiPixelMotorola
  • *#67#

    Forwarding if busy

    Status of forwarding when you're on another call.

    Carrier-dependentWorks on:iPhoneSamsungAndroid (generic)XiaomiPixelMotorola
  • *#43#

    Call waiting status

    Asks the network whether call waiting is on.

    Carrier-dependentWorks on:iPhoneSamsungAndroid (generic)XiaomiPixelMotorola
  • *#30#

    Caller ID display status

    Asks the network whether you see the number of incoming callers (CLIP).

    Carrier-dependentWorks on:iPhoneSamsungAndroid (generic)XiaomiPixelMotorola
  • *#31#

    Hidden number status

    Asks the network whether your number is hidden on outgoing calls (CLIR).

    Carrier-dependentWorks on:iPhoneSamsungAndroid (generic)XiaomiPixelMotorola

Got the IMEI from *#06#?

The phone can't tell you if it's reported lost or stolen. A blacklist check can, in seconds.

How it works

  1. 01Pick the phone brand or search for a code or keyword.
  2. 02Copy the code, open the Phone app and type it on the keypad.
  3. 03Most codes run as soon as you type the last character; some need the call button.

Three kinds of codes

Codes like *#06# are standard MMI codes defined by 3GPP (TS 22.030): the phone handles them itself, even without a SIM. Codes in the form *#*#number#*#* are Android "secret codes": the Phone app hands them to a system app, such as Settings for *#*#4636#*#*. Short codes like *#21# are supplementary-service queries sent to your carrier's network, so the answer comes from the carrier, not the phone.

Codes worth using when buying a used phone

  • *#06#: compare the IMEI with Settings, the SIM tray and the box, then run a blacklist check on it.
  • Samsung *#0*# or Samsung Members → Diagnostics: test screen, touch, speakers, vibration and sensors in a few minutes.
  • Samsung *#0228#: battery voltage, temperature and status.
  • Pixel *#*#7287#*#*: Google's Pixel Diagnostic app for the screen, sensors and cameras.
  • Xiaomi *#*#6484#*#*: the CIT hardware test menu.
  • iPhone: there's no test-menu code; use Settings → Battery → Battery Health and Settings → General → About → Parts and Service History.

Carrier status codes (read-only)

These codes ask your network for the status of a service and don't change anything. They are standardised, but whether they work, and what the reply says, depends on the carrier. On some networks, especially CDMA or VoLTE-only setups, they return an error.

CodeAsks the network
*#21#Is all-calls forwarding on?
*#61#Forwarding when you don't answer
*#62#Forwarding when unreachable
*#67#Forwarding when busy
*#43#Is call waiting on?
*#30#Is caller ID display (CLIP) on?
*#31#Is your number hidden on outgoing calls (CLIR)?

Codes we deliberately left out

Lists online often mix harmless codes with dangerous ones. We don't list codes that factory-reset or wipe the phone, codes that change the product/CSC code, network bands or modem settings, codes that unlock SIM or network locks, or service menus meant for technicians. If a site tells you a code will "unlock" or "fix" an IMEI, close it: changing an IMEI is illegal in many countries.

Codes vary by model, carrier and OS version, and manufacturers change them without notice. This list was checked in November 2026 against the 3GPP standard, Android's open-source Phone and Settings apps, Google and Samsung support pages, and several independent tests.

Frequently asked questions

Do secret codes work on every phone?

No. *#06# is part of the GSM standard and works almost everywhere. The rest depend on the brand, model, carrier and software version, and manufacturers remove or block codes in updates.

Are these codes safe?

The codes listed here only display information or open test screens. Inside a test or info menu, look but don't change settings you don't understand.

Why does a code do nothing on my phone?

The code may not exist on your model, your carrier may block it, or your phone uses a different dialer. On Samsung, try Samsung Members → Diagnostics instead; on Pixel, Settings → Battery and About phone show much of the same data.

Is there a secret code to check if a phone is stolen?

No. *#06# shows the IMEI, but the phone itself doesn't know whether it's been reported. Use the IMEI in a blacklist check.

Does *#*#4636#*#* work on Samsung?

On many recent Galaxy phones it's blocked or shows a reduced menu. Samsung's own codes (*#0*#, *#0228#) and Samsung Members are the reliable options there.

More free tools

Check IMEI