Android, the open-source operating system, is full of secrets. From easter eggs to secret codes that unlock unique features or show hidden information, Google likes to add some fun elements. So, without any further ado, here is the list of the best secret codes for all Android phones, including the one for every OEM and manufacturer. Also, we have tested every code on different phones from different manufacturers to ensure that we include only the working Android codes in the list.

Table of Contents
What Are Android Secret Codes?
No, I am not referring to those cryptic messages you send to your crush on your Instagram. Android has a series of numbers, asterisks, and hashes (to be pressed in a specific order) that unlock hidden settings and menus. Furthermore, you can discover new details about your phone’s software and even unlock disabled features. It can also be handy for testing whether your phone is working as intended by checking each hardware part, such as the display, individually. Mainly, there are two types of codes, and we will be mentioning both of them.
There are two types of secret codes found in Android. Let’s take a look at them one by one.
- MMI (Man Machine interface Codes). These codes have been designed by your phone’s manufacturer. It can help you access hidden settings and even enable disabled features. But since these are brand-specific, a code compatible with OnePlus phones may not work with Samsung ones.
- USSD (Unstructured Supplementary Service Data): USSD codes can be entered via the dialer of your phone and are useful for getting carrier-related info. For example, if you wish to get details about your remaining balance, talk time, bills, or additional charges, these are the codes to use. You can easily identify a USSD code since it begins with an asterisk and ends with a hash.
How to Use Secret Codes on Android?
Using these secret codes on Android is pretty straightforward. You just need to follow these steps:
- Using the Phone app: Open the dialer app on your phone that you use to make phone calls.
- Access the Dialer/Keypad: Tap on the area where you can dial phone numbers.
- Enter the code: Make sure to enter the secret code on Android carefully, including all the asterisks and symbols. You can copy and paste the code to prevent any mistakes.
A Word of Caution: Using some of these codes can be risky since they directly let you tinker with the hardware.
Also Read:
Android Secret Codes Complete List
Universal Android Secret Codes List
Unlike the OEM-specific codes mentioned below, these codes work on any Android device, so you can deep dive into your device for troubleshooting and info retrieval. You might need to click on the dial button on some devices for the code to work.
Information Retrieval Codes
Here is the list of universal secret Android codes that work on every device.
USSD Code | Function | Explanation | Risk Level |
*#06# | Display IMEI (International Mobile Equipment Identity) number | Shows the unique 15-digit identifier(s) for your phone’s cellular modem. Essential for device identification, reporting loss or theft, warranty claims, and network unlocking. This is one of the most universally supported codes. | None: Displays essential device identifier. No risk of data loss or system changes. |
*#*#4636#*#* | Access the “Testing” or “Phone Information” menu. | Shows the unique 15-digit identifier(s) for your phone’s cellular modem.Essential for device identification, reporting loss or theft, warranty claims, and network unlocking. This is one of the most universally supported codes. | Low-Medium: Primarily informational, but contains settings (e.g., preferred network type) that, if changed incorrectly, could disrupt connectivity. Exercise caution if modifying settings. |
*#07# | Display Specific Absorption Rate (SAR) values and regulatory information. | Shows the rate at which the body absorbs radio frequency (RF) energy from the device. Useful for users concerned about RF exposure levels | None: Displays regulatory information. No risk. |
*#*#225#*#* | Display Calendar Storage Information / Events. | Lists events, birthdays, and holidays from all Google calendars linked to the device | None: Displays calendar data. No risk. |
*#*#426#*#* | Google Play Services / Firebase Cloud Messaging (FCM) Diagnostics. | Shows the unique 15-digit identifier(s) for your phone’s cellular modem.. Essential for device identification, reporting loss or theft, warranty claims, and network unlocking. This is one of the most universally supported codes. | Low: Displays diagnostic info for Google services. Unlikely to cause issues unless internal settings are changed without knowledge. Note: It only works on some phones |
Call and Message Management Codes
Code | Function | Explanation | Risk Level/Factor |
*#67# | Check Call Forwarding status | Displays information about where calls are forwarded when your line is busy, you don’t answer, or your phone is unreachable. Requires pressing ‘Call’. | Low: Checks network setting status. Does not modify settings. |
*#61# | Check Call Forwarding settings/delay | Checks the status of call forwarding when unanswered and may show the delay time before forwarding occurs. Requires pressing ‘Call’. | Low: Checks network setting status. Does not modify settings. |
#31# | Enable Caller ID (Outgoing) | Ensures your phone number is displayed to the person you are calling. This is usually the default setting. Requires pressing ‘Call’. | Medium: Modifies network setting for caller ID presentation. Ensure this is the desired state. |
*31# | Disable Caller ID (Outgoing) | Hides your phone number when making outgoing calls; the recipient will typically see “Private Number” or “Unknown”. Requires pressing ‘Call’. | Medium: Modifies network setting for caller ID presentation (hides number). Ensure this is the desired state. |
*43# | Enable Call Waiting | Activates the call waiting feature, notifying you with a beep if another call comes in while you are already on a call. Requires pressing ‘Call’. | Medium: Modifies network setting for call waiting. Ensure this is the desired state. |
#43# | Disable Call Waiting | Deactivates call waiting. Incoming calls received while you’re on another call will likely go directly to voicemail or receive a busy signal. Requires pressing ‘Call’. | Medium: Modifies network setting for call waiting. Disabling may cause missed calls if you’re already on a call. |
System Function and Settings Codes
These codes can help you dive deeper into the Settings and access the service menu or diagnostics. Be careful as some of them can mess up your device settings, so it’s best to take some caution. Here are the codes you can use:
Code | Function | Explanation | Risk Level/Factor |
*#9900# | System Dump Mode | Primarily used by developers and advanced users to capture system logs (dumpstate/logcat) for debugging purposes. Sometimes, clearing these logs can free up internal storage space. Often associated with Samsung devices. | Medium: Primarily for capturing logs (debugging). Generally safe, but some options within the menu might allow clearing logs or other actions. Clearing logs might free space but could hinder future debugging if needed. |
*#9090# | Diagnostic Configuration | Accesses settings related to device diagnostics, often involving modem or network parameters. Intended for technicians or advanced troubleshooting. | High: Accesses advanced diagnostic settings, often modem-related. Intended for technicians. High risk of misconfiguration impacting connectivity or performance. |
*#7284# | USB I2C Mode Control / PhoneUtil | Allows configuration of the phone’s USB connection mode when connected to a computer (e.g., MTP for file transfer, PTP for photos, ADB for debugging, Modem for tethering). Crucial for certain developer operations or flashing firmware. Often associated with Samsung devices. | Medium: Configures USB connection modes (MTP, PTP, ADB, Modem). Essential for some developer tasks but changing to incorrect modes can affect PC connection or tethering. |
*#872564# | USB Logging Control | Enables or disables logging of USB-related activities, useful for debugging connection issues. | Low: Enables/disables USB logging for debugging. Unlikely to cause harm. |
*#746# | Debug Dump Menu | Provides access to menus for generating various debug logs and memory dumps for troubleshooting complex system issues. | Medium: Generates various debug logs. Primarily for advanced troubleshooting. Unlikely to cause harm unless storage space is critically low. |
*#0228# | Battery Status and Details | Displays detailed information about the battery, including voltage, temperature, capacity, and health status (ADC Reading on Samsung). Often associated with Samsung devices. | Low: Displays detailed battery information. Primarily informational. |
Reset and Backup Codes
These codes are used for performing data reset and backup. So I highly recommend using it with caution and make sure that you have the data backed up before using it.
Code | Function | Explanation | Risk Level/Factor |
*#*#7780#*#* | Factory Data Reset (Soft Reset) | Wipes application data, settings, and removes associated Google accounts. It typically does not wipe user files on the internal storage (like photos, music, downloads) but will remove installed apps and their data. Often prompts for confirmation before proceeding. Can resolve software glitches, performance issues, or prepare a phone for a new user without erasing personal media files. RISK: Significant data loss (apps, settings, accounts). Always back up critical data first. | High: Wipes app data, settings, and Google accounts. Leads to significant data loss (apps, settings). Usually preserves user files (photos/music) but not guaranteed. Backup critical data first. |
*2767*3855# | Full Factory Reset / Firmware Reinstall (Hard Reset) | This is a more drastic reset. It performs a complete wipe of the device, including all data on the internal storage (photos, music, files), and reinstalls the phone’s original firmware. This code often executes immediately upon entry without any confirmation prompt. Used as a last resort for severe software corruption, boot loops, or to ensure a completely clean state before selling the device. RISK: COMPLETE AND IRREVERSIBLE DATA LOSS. High risk of accidental activation due to lack of confirmation. Potential, though less common, risk of bricking the device if the process is interrupted (e.g., battery dies). USE WITH EXTREME CAUTION. Back up everything first. | Extreme: Performs a complete wipe, including all internal storage (photos, music, files), and reinstalls firmware. Often runs without confirmation. COMPLETE AND IRREVERSIBLE DATA LOSS. High risk of accidental activation. Potential (low) risk of bricking if it is interrupted. USE ONLY AS A LAST RESORT. BACK UP EVERYTHING. |
*#*#273282*255*663282*#*#* (or variant *#*#273283*255*663282*#*#*) | Create Device Media Backup | Initiates a backup process specifically for media files (photos, videos, music, voice memos) stored on the device. The backup destination might be an SD card or a specific folder on internal storage. Offers a potentially quick way to back up media before performing resets or other risky operations. Warning: Verify the backup location and confirm the backup was successful before relying on it. The reliability and completeness of this backup method may vary between devices and Android versions. | Medium: Initiates media file backup. Usefulness depends on reliability and destination. Verify backup success and location before relying on it. Does not back up apps or settings. |
Android OEM Specific Codes
Manufacturers often like to introduce codes that allow users to access diagnostics and engineering menus for troubleshooting or conducting hardware. These codes, unlike the universal ones, only work on their respective phone manufacturers.
Secret Codes for Samsung Phones
Samsung phones are popular for supporting plenty of Android codes, including the standard ones. One UI is known for its feature-rich software, so it’s no surprise that the company offers some additional codes to take advantage of the hardware:
Codes | Function | Explanation |
*#0*# | General Test Mode | This is the cornerstone diagnostic tool for Samsung phones, offering tests for display, sensor, cameras, audio vibration, and more |
*#1234# | View Firmware Version | Displays the PDA (software build), CSC (region/carrier code), and Modem (baseband) versions currently running on the device. Essential for checking software updates and compatibility. |
*#0228#: | Battery Status (ADC Reading) | Provides detailed battery information, including voltage, temperature, health estimation, and ADC (Analog-to-Digital Converter) readings. |
*#9900#: | System Dump Mode | Accesses options to dump system logs (logcat, dumpstate) for debugging, check kernel logs, and sometimes clear log files to free up space. |
*#2663# | TSP / TSK Firmware Update / Version: | Shows firmware versions for the Touch Screen Panel (TSP) and Touch Key (TSK, for capacitive buttons if present) and may offer firmware update options (Use update options with caution). |
*#7353# | Quick Test Menu | tions (Use update options with caution). *#7353#: Quick Test Menu: A simpler alternative to *#0*#, offering quick access to tests for melody, vibration, speaker, camera, Bluetooth, sensors, etc |
*#0808# | USB Settings | Allows configuration of USB connection modes like MTP (Media Transfer Protocol), PTP (Picture Transfer Protocol), ADB (Android Debug Bridge), DM+Modem+ADB, etc.. Crucial for developers and advanced users |
*#9090# | Advanced Debugging / Diagnostic Config | Accesses advanced diagnostic and debugging settings, typically intended for service personnel. |
*#0011# | Service Mode / Network Info | Displays detailed real-time information about the current cellular network connection, including band, signal strength (RSSI, RSRP, RSRQ), cell ID, etc. |
*#272*IMEI#* | Change/View CSC (Customer Software Customization) | Allows viewing or, on some older models/firmwares, changing the device’s region/carrier code (CSC). Warning: Changing the CSC can impact available features, software updates, network compatibility, and often requires a factory reset. Proceed with extreme caution |
*2767*3855#: | Full Factory Reset | This hard reset code is particularly well-known (and feared) in the Samsung community for its immediate execution without confirmation and complete data wipe. EXTREME CAUTION ADVISED |
Secret Codes for Google Pixel
Google’s Pixel lineup uses stock Android, so the company uses the standard Android codes instead of relying on fancy and cryptic ones. Here are all the secret Android codes for Google’s Pixel lineup:
Codes | Function | Explanation |
*#*#7287#*#* | Pixel Diagnostics Menu | This is the primary Pixel-specific diagnostic tool. It launches a dedicated menu or app that allows users to run tests on various hardware components like the display, touch panel, sensors, charging port, speakers, cameras, connectivity (Wi-Fi, Bluetooth), etc.. Note: Requires a reliable Wi-Fi connection to initiate. |
*#*#4636#*#*: | Phone Information Menu | The standard Android testing menu works reliably on Pixel devices, providing access to Phone info, Battery info, Usage stats, and Wi-Fi info. |
*#06# | IMEI Display | Standard code to display the IMEI. |
*#*#225#*#* | Calendar Info | Standard code to view calendar events. |
*#*#426#*#* | FCM Diagnostics | Standard code for Google Play Services / Firebase Cloud Messaging diagnostics. |
Secret Codes for Oppo/Realme/OnePlus Phones
OnePlus phones have specific codes to access their engineering and diagnostic modes. It is sort of a reflection of the company’s software over the years, evolving from Cyanogenmod to OxygenOS to a diluted OxygenOS based on ColorOS code. Since ColorOS, OxygenOS, and RealmeUI are more or less the same, here are some codes that work on all of them:
Codes | Function | Explanation |
*#899#: | Engineering/Diagnostic Mode | This menu allows extensive hardware testing (Screen, Camera, Sensors, GPS, Wi-Fi, Bluetooth, Audio, Vibration, etc.), viewing component information, logging, and potentially accessing advanced settings. Warning: Contains advanced functions; operate with caution to avoid unintended changes. |
*#66# | Display IMEI and Encrypted IMEI | Shows the standard IMEI and an encrypted version, potentially used for specific verification purposes. |
*#888#: | Display Motherboard PCB ID / QR Code | Provides hardware identification for the main circuit board. |
*#1234# | Display Software Version | Shows basic firmware version information |
*#6776#: | Display Detailed Software Version Info: | Offers a more comprehensive software build breakdown compared to *#1234#. |
*#800#: | System Logging / Feedback Menu | Used for capturing system logs (QXD, network, etc.) to report bugs or provide feedback |
Secret Android Codes for Xiaomi (MIUI/HyperOS)
If you have a device running Xiaomi’s HyperOS or older MIUI, then you can take advantage of these secret Android codes to run diagnostics or get more info:
Codes | Function | Explanation |
*#*#4636#*#*: | Phone Information Menu | The standard Android menu is accessible for phone, battery, usage, and Wi-Fi details. |
*#06# | IMEI Number | Standard code for IMEI. |
*#*#284#*#* | Create Bug Report / Log Capture: | Generates a comprehensive bug report zip file, usually saved in internal storage under MIUI/debug_log/, which can be shared with developers to report issues. |
*#*#6485#*#* | Charging and Battery Information | Displays detailed battery parameters ,including charging status, current capacity, voltage, temperature, battery health status (e.g., “Good”), charge cycle count, and more. Very useful for assessing battery condition. |
*#*#3646633#*#* | Engineer Mode (MediaTek Chipsets Only) | For Xiaomi devices using MediaTek processors, this code accesses the specific MediaTek engineering menu, offering advanced control over hardware, network settings (band locking, etc.), and testing. Warning: This code will not work on Qualcomm Snapdragon-based Xiaomi phones. Modifying settings within can cause issues if done incorrectly. RISK: Misconfiguration. |
Secret Codes for Nothing Phones
Codes | Function | Explanation |
*#*#4636#*#*: | Offline Update Tool | Let you access offline update tool for latest updates |
Secret Codes for Motorola Devices
With Motorola phones offering a close-to-stock Android experience, it’s no surprise that all the standard codes work on them. Although it’s worth mentioning that Motorola phones also have these specific codes:
Codes | Function | Explanation |
*#*#2486#*#* | Engineering Mode (CQATest) | Accesses the Motorola-specific engineering mode, often labeled CQATest or similar. It typically provides options for hardware diagnostics, viewing device information, and potentially accessing logs or advanced settings. Functionality can vary significantly between models and software versions. Use with caution. |
*#*#4636#*#* | Phone Information Menu | The standard Android testing menu is available. |
*#06# | IMEI Display | Standard IMEI code |
Carrier-Specific Secret Codes for Android
Apart from OEM-specific codes, there are also unique codes available for certain carriers. What do these do? Well, these are the second type of codes: USSD codes.
With these codes, you can check your account balance, data usage, and other features. You will need to press the call button to initiate them, unlike MMI codes. Here are the codes for every carrier, whether you are living in the US or India.
USSD Codes for Verizon:
Verizon uses a system of # codes (pound codes) for account information and * codes (star codes) for call feature management.
- #BAL (#225): Check Account Balance.
- #DATA (#3282): Check Data Usage
- #MIN (#646): Check Minute Usage
- #PMT (#768): Make a Payment
- #UPG (#874): Check Upgrade Information
- #ROAD (#7623): Request Roadside Assistance
- *611: Call Verizon Customer Service
- *86: Check Voicemail
- *71 + 10-digit number: Activate Conditional Call Forwarding (forward when unanswered).
- *72 + 10-digit number: Activate Unconditional Call Forwarding (forward all calls immediately).
- *73: Deactivate Call Forwarding.
- *67 + 10-digit number: Block Caller ID (Per Call).
- *82 + 10-digit number: Unblock Caller ID (Per Call).
- (Note: Additional codes exist for Verizon Business Voice services like Do Not Disturb (*78/*79) and Call Pickup (*97, *88), which may differ from standard mobile codes
USSD Codes for AT&T
If you are on AT&T, then you can use these Feature Access Codes (FAC) starting with * or #. Do note that some of these codes only work with certain AT&T plans, such as AT&T Collaborate.
- *72 + Number + #: Call Forwarding Always Activate.
- *73: Call Forwarding Always Deactivate.
- *21*: Call Forwarding Always Interrogation (Check Status).
- *90 + Number + #: Call Forwarding Busy Activate
- *91: Call Forwarding Busy Deactivate.
- *92 + Number + #: Call Forwarding No Answer Activate.
- *93: Call Forwarding No Answer Deactivate.
- *43: Call Waiting Activate.
- #43: Call Waiting Deactivate.
- *70: Cancel Call Waiting (Per Call).
- *67 + Number: Caller ID Block (Per Call).
- *82 + Number: Caller ID Unblock (Per Call)
- *31: Caller ID Delivery Blocking Persistent Activate.
- #31: Caller ID Delivery Blocking Persistent Deactivate.
- *646#: Check Minutes (Postpaid).
- *777#: Check Balance (Prepaid).
- (Note: Many generic Android codes are often sought by AT&T users in forums, suggesting carrier-specific codes might not cover all needs or aren’t widely known.).
USSD Codes for T-Mobile
If you are a T-Mobile user, then there are plenty of codes available. From account management to knowing details about your device, prepaid account, or blocking a specific number, here are the codes for them.
- #BAL# (#225#): Check Account Balance.
- #WEB# (#932#): Check Data Usage, Plan Info, Expiration Date.
- #MIN# (#646#): Check Minute Usage.
- #MSG# (#674#): Check Message Usage.
- #NUM# (#686#): Display Your Phone Number.
- #PWD# (#793#): Reset Voicemail Password.
- #PWO# (#796#): Turn Voicemail Password On/Off.
- #RON# (#766#): Turn On International Data Roaming.
- #ROF# (#763#): Turn Off International Data Roaming.
- ##004#: Reset All Call Forwarding to Default.
- **21*PhoneNumber#: Turn On Unconditional Forwarding (CFU).
- ##21#: Turn Off Unconditional Forwarding.
- **61*PhoneNumber#: Turn On Forwarding if No Reply (CF NRY).
- ##61#: Turn Off Forwarding if No Reply.
- **67*PhoneNumber#: Turn On Call Forwarding When Busy (CFB).
- ##67#: Turn Off Call Forwarding When Busy.
- *43#: Turn On Call Waiting.
- #43#: Turn Off Call Waiting.
- *67 + PhoneNumber: Block Outgoing Caller ID (Per Call).
- #ONI# (#664#): Turn On Scam ID.
- #634#: Turn Off Scam ID.
- #ONB# (#662#): Turn On Scam Block
- #OFB# (#632#): Turn Off Scam Block.
- #STS# (#787#): Show Scam Block Status.
- Prepaid Codes: #999# (Balance), *ADD (*233) (Customer Care).
USSD Codes for Jio:
In case you are a Jio user, you can use these codes apart from the MyJio app for more information:
- *333#: Check Balance (Likely combined Data/Voice/SMS).
- *1#: Know Your Jio Number.
- SMS MBAL to 55333: Check 4G Data Usage.
- SMS BAL to 199: Check Prepaid Balance & Validity.
- SMS BILL to 199: Know Postpaid Bill Amount.
- SMS MYPLAN to 199: Check Current Tariff Plan.
- Call 1925 or SMS START to 1925: Activate 4G Data.
- *333*3*1*2#: Deactivate Jio Caller Tune.
- SMS JIO to 199: Know JioFi Device Number.
- JioPhone Specific: *#2886# (KaiOS MMI Test), *#*#0574#*#* (LogManager)
USSD Codes For Airtel
For those on the other side of the spectrum with an Airtel SIM, you can use these USSD codes for prepaid/postpaid account details:
- *123#: Check Main Balance and Validity.
- *282#: Know Your Airtel Number.
- *121#: Check Offers / My Airtel My Offer.
- *121*1#: Check Unlimited Packs Information.
- *121*2# (Reply with ‘1’): Check 4G Data Balance.
- 198: Call Customer Care / Complaints.
- 121: Complaint Number / Other Services Menu.
- 1909: Activate/Deactivate DND (Do Not Disturb).
- SMS BP to 121: Check Postpaid Bill Plan.
- SMS OT to 121: Check Postpaid Due Amount.
- SMS PMT to 121: Check Last Postpaid Bill Payment.
- SMS UNB to 121: Check Postpaid Plan Usage.
USSD Codes for Vodafone Idea (Vi)
If you are still stuck in the past with Vi SIM, then here are some codes that will help you get the best out of your Vi SIM:
- *199*2*1#: Check Main Balance. (Legacy Voda: *141#; Legacy Idea: *121#)
- *199*2*2#: Check Data Balance.(Legacy Voda: *111*6#; Legacy Idea: *125#).
- *111*2# or *131*1#: Know Your Vi Number. (Legacy Voda: *111*2#; Legacy Idea: *1#).
- *199*1*7#: Check Recharge Offers. (Legacy Voda: *121#)
- 1909: Activate/Deactivate DND. (Standard across most Indian carriers).
- *199*1*8#: Check Voice, SMS, Roaming Offers.
- *199*1*3#: Check 2G/3G/4G Data Offers.
- 199: Call Customer Care. (Legacy Voda: 111; Legacy Idea: 12345).
Important Considerations Before Entering Codes
Since these Android codes can unlock a new side of your device and take it to a new potential, it’s wise to use them with caution. Here are a few things you need to keep in mind:
- Irreversible data loss: Some codes that allow you to reset will permanently erase your data. You must perform a backup since some of them can even run without a confirmation.
- System instability: Since these codes let you tweak hidden settings and play around with things like the network band or the diagnostics menu, you should be careful around them.
- Accidental Activation: As these do not have a confirmation prompt, they get automatically activated once you enter them.
- Be careful with carrier codes: USSD codes that modify carrier settings can affect the speed, availability, and even the range of your network. Messing with them can leave you with a phone without calling or data functionality.
- Region and OEM specific codes: Some of these codes are only specific to a particular region or OEM, such as Samsung, OnePlus, or Motorola.