Android (generic) Secret Codes & USSD Dial Codes (2026)

Android (generic) secret codes are short USSD and MMI sequences typed directly into the phone dialer that open diagnostic screens, service menus and network information panels normally hidden from the standard settings app. They let you inspect the hardware and firmware of your Android (generic) device without installing anything.

Typical uses include checking the exact firmware build, reading battery voltage and health data, running display and touch tests, viewing the serving cell and signal strength, and displaying the IMEI. Each entry in the table below is documented publicly and labelled with a risk level so you know what will happen before you dial.

Codes execute immediately on most Android builds, with no confirmation dialog, so read the risk column carefully. Anything marked destructive erases user data the moment it is accepted by the dialer, and there is no way to cancel or undo it afterwards.

Full Android (generic) secret code list (26 codes)

Every code below is documented from public device and service documentation. None of these codes erase user data, but always read the risk column first.

Android (generic) secret codes with description, category and risk level
CodeWhat it doesCategoryRisk level
Testing & Usage Menu. Opens the Android testing menu: phone info, battery status, cell/Wi-Fi info and usage statistics.diagnosticsSafe — read only
Factory Data Reset (partial). Clears app data, downloaded apps and accounts. Keeps system apps. Back up first.resetCaution — changes settings
Wi-Fi MAC Address. Displays the device's Wi-Fi MAC address.infoSafe — read only
GPS Test. Runs a quick GPS test to verify satellite lock and location performance.diagnosticsSafe — read only
Wireless LAN Test. Opens the Wi-Fi / wireless LAN test screen.hardware-testSafe — read only
Vibration & Backlight Test. Runs a test cycle for the vibration motor and screen backlight.hardware-testSafe — read only
LCD Display Test. Opens the screen test suite (colors, dead pixels, touch).hardware-testSafe — read only
Touchscreen Test. Tests touch response across the screen.hardware-testSafe — read only
Proximity Sensor Test. Verifies the proximity sensor used to blank the screen during calls.hardware-testSafe — read only
Audio / Melody Test. Runs a speaker and audio playback test.hardware-testSafe — read only
Bluetooth Test. Opens the Bluetooth hardware test screen.hardware-testSafe — read only
Camera Information. Shows camera firmware details. Avoid the firmware-update option unless you know what you're doing.diagnosticsCaution — changes settings
Field Test (GSM). Runs a GSM field/signal test.diagnosticsSafe — read only
Build & Version Info. Shows PDA, phone, CSC and build-time information.infoSafe — read only
Touchscreen Firmware Version. Displays the touchscreen controller firmware version.hardware-testSafe — read only
RAM Version. Shows the device RAM type/version.infoSafe — read only
Packet Loopback Test. Runs an audio/packet loopback hardware test.hardware-testSafe — read only
Melody / Audio Test. Plays a test melody to check the speaker.hardware-testSafe — read only
Bluetooth Address. Displays the device's Bluetooth MAC address.infoSafe — read only
Advanced GPS Test. Opens a detailed GPS/location diagnostics screen.diagnosticsSafe — read only
PDA / Phone / RF Info. Shows PDA, phone, hardware and RF firmware version details.infoSafe — read only
Power-Button Behaviour. Changes what the power button does on long-press (end call vs menu). Changes a setting.diagnosticsCaution — changes settings
Backup Media Files. Opens a file-copy screen to back up media (photos, videos, audio).diagnosticsCaution — changes settings
MediaTek Engineer Mode. Opens the engineer menu on MediaTek (MTK) chipset phones. Advanced — changing values can affect radios.diagnosticsCaution — changes settings
Google Talk Service Monitor. Legacy GTalk service monitor screen (older Android).Community-reported · unverifieddiagnosticsSafe — read only
Service Mode. Opens the service/test mode menu on many devices. Advanced — for diagnostics only.diagnosticsCaution — changes settings

How to use Android (generic) codes

  1. Open the Android (generic) dialer and go to the keypad, exactly as if you were dialling a number.
  2. Type the code precisely as shown, including the leading * and the trailing #. Autocorrect and paste can drop characters, so type it out.
  3. Most sequences fire the moment the final character is entered — you usually do not press call.
  4. If the screen does not change, press the call button once; a few USSD strings need it.
  5. Back up photos, messages and app data before running anything marked destructive, then confirm you are on the right device.
  6. Nothing at all happening usually means the code is disabled on your firmware or blocked by your carrier — it is not a fault with your handset.

Android (generic) secret codes — FAQ

Do all Android (generic) phones support the same secret codes?

No. Code support depends on the model, the firmware version and in many cases the carrier that supplied the handset. Older Android (generic) models often expose more service menus than the newest releases, because manufacturers gradually lock engineering tools behind signed diagnostic apps. If a code does nothing, it has almost certainly been removed or disabled on your build rather than typed incorrectly.

Is it safe to dial Android (generic) secret codes?

The codes we mark as "safe" only display information or open a read-only test menu, so they cannot damage your phone. Codes marked "caution" change a setting or start a hardware routine you should understand first, and codes marked "destructive" erase user data instantly with no confirmation dialog. Always back up before running anything in the destructive category.

Why does nothing happen when I enter a code?

Three common reasons: the code is not supported on your firmware, your network operator has blocked the USSD string, or the dialer requires you to press the call button for that particular sequence. Try the code on a different SIM or in airplane mode, and confirm every character including the leading asterisk and trailing hash.

Will using these codes void my Android (generic) warranty?

Simply reading diagnostic information does not void a warranty. However, changing radio band settings, running write operations in an engineering menu, or performing a factory format can leave your device in a state a service centre may treat as user-caused. Stick to read-only codes unless you are following official repair guidance.

Can these codes unlock a network-locked Android (generic) phone?

No. Network unlocking requires a carrier-issued unlock code or an official unlock request through your operator. Any site promising a free universal unlock dial code is misleading you. The codes listed here only expose diagnostics, network status, firmware information and factory reset routines.

How do I find my IMEI on a Android (generic) device?

Dial *#06# on any GSM or LTE phone, including every Android (generic) model, and the IMEI appears immediately. You can also validate the number with our IMEI checker, which runs the Luhn checksum used by the GSMA to detect mistyped or invented IMEI numbers.