Your Android phone can do far more than most people realize. Android secret codes are hidden inside the dialer, unlocking diagnostic menus, hardware tests, and system details you normally never see. They act as shortcuts, helping you access advanced information and tools in seconds instead of digging through layers of settings.
For example, checking battery health usually means hunting through menus and still coming up empty. With the right code, it opens instantly. Before diving into the list, it helps to know what these codes do, how they work, and what precautions to take if a code does not respond on your device, or worse, does something you were not expecting.
What Are Android Secret Codes?
Android secret codes were originally created for manufacturers and service technicians. They used them during production and repairs to test components quickly. Instead of connecting a phone to diagnostic software, they could type a short code in the dialer and instantly see results.
Over time, these codes became publicly known, and that is why regular users can now access powerful diagnostic menus too.
These codes give direct access to different parts of your phone’s system. Think of them as shortcuts that reveal hidden information or trigger internal actions that are otherwise buried inside Android’s structure.
Some codes are universal and safe to use, while others are brand-specific or intended for technicians. That is why it is important to understand how Android secret codes work before experimenting with them.
How Android Secret Codes Work
When you enter a code in your phone’s dialer, you are speaking to Android in its native language, a numeric command system. Just like typing a query in Google and getting an instant result, the Android OS scans its internal command list for that exact pattern.
If it finds a match, it executes the linked action immediately. That could be showing your battery stats, IMEI number, or even triggering a factory reset.
That is why these codes are both powerful and sensitive. You are accessing the same backend commands used by service engineers.
Worth knowing before you start: newer Android versions have quietly disabled some of the most commonly cited codes for security reasons. The engineering menu code, *#*#4636#*#*, is one of the most affected. It has been disabled on most One UI 6 and later Samsung phones, and on many Android 12 and later devices generally, though results vary by manufacturer and firmware.
If a code in this list does not respond on your phone, that is often the reason, not a typo on your end.
Safety and Precautions Before Using Android Secret Codes
While many codes are completely safe, others can erase data or change internal configurations. Before trying any, make sure you follow these essential safety tips.
- Understand the purpose of each code before using it. Every Android secret code is designed for a specific purpose. Some are safe and only display information, while others can reset your phone or change its internal settings. Always check what a code does before entering it into your dialer.
- Always create a backup first. If you are going to use a code that can reset your device, a small mistake can remove all your data. Before trying such a code, always back up your important information.
- Use only verified codes. Never rely on random social media posts for secret codes. Some codes may be fake or harmful. Use only trusted tech sites or official brand forums for verified codes.
- Be very careful with reset or firmware commands. Codes like
*#*#7780#*#*or*2767*3855#can wipe your phone without asking for confirmation. Do not use them unless you are certain of what you are doing. - Turn off mobile data or Wi-Fi before using unknown codes. Some older codes send signals through your mobile network. To stay safe, turn on airplane mode or turn off data before entering any code you have not used before.
How to Use Android Secret Codes
Using Android secret codes is simple once you know the process.
- Open your phone’s default dialer app (avoid third-party dialers).
- Type the secret code exactly as provided below.
- Wait for a few seconds for it to run automatically. If it doesn’t, press the call button.
- Follow on-screen instructions if a diagnostic menu appears.

- If a warning or reset option appears, stop immediately unless you are sure.
- Exit the menu and return to the home screen once done.
Best Secret Codes for Android
Here is an organized list of Android secret codes, grouped by category so you can quickly find what you need, whether it is testing your sensors, viewing system info, or accessing your brand’s hidden service menu.
Note: if a code fails to respond, do not repeat random combinations, and do not assume it is broken. Manufacturer restrictions and Android security updates are the most common reasons a previously working code stops responding.
Codes for Testing and Device Information
These codes are for checking what is inside your phone, its hardware parts, and firmware details. They do not change anything on your device. They only show information that stays hidden.
These codes are for checking what is inside your phone, its hardware parts, and firmware details. They do not change anything on your device. They only show information that stays hidden.
| Function / Information Displayed | Secret Code | Purpose / Use |
|---|---|---|
| Check IMEI Number | *#06# | Displays your device’s 15-digit identifier code used to track and verify your device. |
| Show SAR Value | *#07# | Displays the SAR value (Specific Absorption Rate) of your phone to verify radiation compliance. |
| Open Testing Menu | *#*#4636#*#* | Opens a hidden testing menu to view details like battery health, network type, Wi-Fi signals, and real-time usage stats. Increasingly disabled on newer Android versions and One UI 6+. |
| Show Build Time / Changelist | *#*#44336#*#* | Displays firmware build time and changelist number to confirm the build date and version. |
| Show RAM Version | *#*#3264#*#* | Displays RAM module and version information to verify memory configuration. |
| Touchscreen Version Info | *#*#2663#*#* | Shows the touchscreen controller firmware version to confirm replacement or compatibility. |
| Touchscreen Test | *#*#2664#*#* | Runs a touchscreen diagnostic where you can draw to check for dead zones or non-responsive areas. |
| Firmware / PDA / Phone Info | *#*#4986*2650468#*#* | Displays PDA, phone, hardware, and RF call date info used by technicians for firmware checks. |
| Camera Firmware Info | *#*#34971539#*#* | Displays camera firmware version to verify camera software and updates. |
| PDA / Phone Firmware | *#*#1234#*#* | Shows PDA and phone firmware identifiers used to check installed build numbers. |
| Show Wi-Fi MAC Address | *#*#232338#*#* | Displays the device Wi-Fi MAC address used for network setup. |
| Show Bluetooth MAC Address | *#*#232337#*#* | Displays the Bluetooth adapter address used for device pairing and verification. |
| Show NAND Flash S/N | *#03# | Shows the NAND serial number to confirm internal storage identity. |
| FTA Software Version | *#*#1111#*#* | Displays FTA software version used by service centers for calibration checks. |
| FTA Hardware Version | *#*#2222#*#* | Shows FTA hardware version to confirm original component versions. |
| Software and Hardware Info | *#12580*369# | Displays combined SW and HW info to quickly view device internals. |
Codes for Managing System and Settings
These codes unlock hidden menus for managing system settings, letting you adjust power-button actions, run diagnostics, switch network bands, and check battery health.
| Function / Menu | Secret Code | Purpose / Use Case |
|---|---|---|
| Show Battery Stats | *#*#4636#*#* then tap Battery tab | Displays detailed battery statistics and usage history, useful for identifying battery health issues. |
| Change Power Button Behaviour | *#*#7594#*#* | Used to remap the power-button action (for example, changing it from “shutdown” to “end call”). |
| Enter Service Mode | *#*#197328640#*#* | Opens a service mode for advanced tests and configuration, often used by technicians. |
| Field Mode / Cellular Info | 3001#12345#* | Attempts to open a field or engineering view for cellular metrics (behaviour varies by phone manufacturer). |
| Show Data Usage / Storage | *#3282*727336*# | Displays storage or billing information, useful for checking data usage counters. |
| OTA Update Menu | *#8736364# | Opens the Over-The-Air (OTA) update menu, used for manual update triggers on some devices. |
| RF Band Selection | *#2263# | Opens a menu to switch radio frequency (RF) bands for testing purposes. |
| Diagnostic Configuration | *#9090# | Opens diagnostic configuration to view or change various diagnostic parameters. |
| USB I2C Mode Control | *#7284# | Opens USB I2C control, used for low-level USB hardware mode changes. |
| USB Logging Control | *#872564# | Enables or disables USB logging for debugging USB and modem activity. |
| Debug Dump Menu | *#746# | Opens debug dump menus to extract system debug information. |
| System Dump Mode | *#9900# | Opens the system dump tool, used for log extraction and system-level debugging. |
Factory Reset and Firmware Codes
Here is where you need to be careful. These codes can reset your device or reinstall its firmware completely. They are used by service centers when a phone starts acting up or needs a clean reinstall. Back up your data before running any of them.
| Secret Code | Name / Action Type | Function / Description |
|---|---|---|
*#*#7780#*#* | Factory Data Reset (Soft) / Remove Google Accounts | Performs a soft factory data reset, removing user data, settings, and Google account data from the device. |
*2767*3855# | Full Reflash / Factory Reinstall | Triggers a full firmware reinstall and completely wipes the device, with no confirmation prompt. Use only when intentionally flashing official firmware. |
*#2663# | TSP / TSK Firmware Update | Opens the touchscreen firmware update menu used to update the device’s touch controller firmware (often vendor-specific). |
Connectivity, Network, and Wireless Codes
If your phone’s Wi-Fi, Bluetooth, or GPS is not working right, this is your go-to list. These codes let you test wireless connections, measure signal strength, and check GPS locks.
| Secret Code | Function / Description |
|---|---|
*#*#232339#*#* or *#*#526#*#* | WLAN Test: Opens Wi-Fi test/engineering mode used to verify Wi-Fi hardware and transmissions. |
*#*#1472365#*#* | Quick GPS Test: Runs a quick GPS test used to verify GPS lock and basic satellite fix. |
*#*#1575#*#* | Alternate GPS Test: Opens a different GPS control/test interface used by some OEMs. |
*#*#232331#*#* | Bluetooth Test: Runs a Bluetooth hardware test used to verify audio and RFCOMM operations. |
*#*#7262626#*#* | Field Test / Radio Info: Opens a field-test interface displaying radio signal metrics used for network diagnostics. |
*#*#232338#*#* | WLAN MAC Address: Shows the Wi-Fi MAC address for router setup. |
*#*#232337#*#* | Bluetooth MAC Address: Shows the Bluetooth device address for pairing troubleshooting. |
*#*#528#*#* or *#*#526#*#* | WLAN Engineering / Band: Opens WLAN engineering menus used to manipulate Wi-Fi test modes. |
*#3214789650# | LBS Test Menu: Opens location-based services test interfaces used to verify LBS behaviour. |
Troubleshooting and Diagnostic Test Codes
Here you will find codes that check sensors, speakers, vibration, display, and other key hardware parts. When something stops working, like your screen not responding properly or sound crackling, these tests help you figure out if it is a software issue or a real hardware fault.
| Test Name | Code | Purpose |
|---|---|---|
| LCD / Display Test | *#*#0*#*#* | Opens a screen/display test menu to check colors, pixels, and dead zones. |
| Touch Screen Test | *#*#2664#*#* | Runs an interactive test to check touch accuracy and dead zones. |
| Vibration + Backlight Test | *#*#0842#*#* | Tests device vibration motor and backlight used to verify haptics and brightness control. |
| Packet Loopback Test | *#*#0283#*#* | Runs a loopback for the audio pipeline to verify microphone-speaker transmission. |
| Audio / Melody Test | *#*#0673#*#* or *#*#0289#*#* | Runs speaker and audio tests used to confirm audio output and tone generation. |
| Proximity Sensor Test | *#*#0588#*#* | Tests the proximity sensor used to detect near-face events during calls. |
| Light Sensor Test | *#0589# | Tests the ambient light sensor for auto-brightness functionality. |
| Battery Status / ADC | *#0228# | Shows battery voltage, temperature, and ADC readings used to check battery condition. |
| Quick Test Menu | *#7353# | Opens a consolidated quick test menu for various hardware components. |
| Real-Time Clock Test | *#0782# | Tests the RTC (Real-Time Clock) used to verify system clock hardware. |
| Show Test History | *#07# | Displays stored test history logs (device-dependent). |
Call, Message, and Network Settings
These codes deal with your phone’s basic communication features like calls, texts, and network functions.
| Function | Code | Description |
|---|---|---|
| Show Call Forwarding | *#67# | Displays call forwarding settings used to check where calls are forwarded when busy or unreachable. |
| Check Call Forward Delay | *#61# | Shows the forwarding delay/time used to configure when forwarding triggers. |
| Enable Caller ID | *31# | Enables outgoing caller ID for your number. |
| Disable Caller ID | #31# | Disables outgoing caller ID to hide your number. |
| Enable Call Waiting | *43# | Turns on call waiting to receive incoming calls during another call. |
| Disable Call Waiting | #43# | Turns off call waiting to prevent interruptions. |
| Show SMS Service Center | *5005*7672# | Displays SMSC number used by the carrier to route text messages. |
| Disable All Call Forwarding | ##002# | Cancels every active call-forwarding rule at once. Useful if you suspect calls are being quietly redirected, since it can help block certain OTP-interception scams. |
Developer and Debug Tools
Developer and debug codes reveal advanced menus that engineers and testers often use. They let you view logs, open system dumps, or adjust modem settings.
| Code | Function / Description |
|---|---|
*#*#3646633#*#* | Engineering Mode (MediaTek): Opens MediaTek engineering menu used to modify modem, USB, and audio settings. |
*#*#8351#*#* | Voice Dial Logging On: Enables voice dialing logging used for voice debug. |
*#*#8350#*#* | Voice Dial Logging Off: Disables voice dialing logging. |
*#745# | RIL Dump Menu: Opens radio interface layer dump menu used for deep radio diagnostics. |
*#746# | Debug Dump Menu: Opens debug dump options used to collect system logs. |
*#9900# | System Dump Mode: Opens system log/dump mode used to pull kernel and system logs. |
*#3214789# | GCF Mode Status: Shows global compliance test status used in certification checks. |
*#301279# | HSPA/HSUPA Control Menu: Opens HSPA control menu used to manage high-speed data settings. |
##778 + call | Execute EPST Menu: Opens EPST menu on some Qualcomm devices for provisioning and NV items. |
Brand-Specific Secret Codes
Every smartphone brand hides its own set of special codes. Samsung, OnePlus, Xiaomi, Motorola, and many others have unique diagnostic menus that general Android codes cannot open.
Note: brand codes vary by region and model. For each brand, verify on your exact model, since a code confirmed on one device may not work identically on another.
Samsung
| Secret Code | Function / Description | Applicable Devices |
|---|---|---|
*#0*# | Service/Test Menu: Opens Samsung service screen for display, sensor, and camera tests. | Samsung |
*#12580*369# | SW & HW Info: Displays software and hardware details. | Samsung |
*#232338# | WLAN MAC: Shows the Wi-Fi MAC address. | Samsung (and sometimes other OEMs) |
*#7465625# | View Lock Status: Shows SIM/Network/Bootloader lock status. | Samsung |
*#197328640# | Service Mode: Opens deeper service menus. | Some Samsung models |
One Samsung-specific note worth flagging: the default Samsung dialer blocks *#*#4636#*#* on many current models. If that code does not respond, installing and setting the Google Phone app as your default dialer, then trying again from there, is a common workaround.
Motorola
| Menu / Code | Function | Notes |
|---|---|---|
##7764726 | Hidden Services Menu: Opens Motorola’s hidden service menu. | Default Service Programming Code (SPC) |
000000 (often) | Default SPC used for older Motorola service menus. | N/A |
Xiaomi / Redmi
| Function | Code(s) | Description |
|---|---|---|
| Engineering Mode (MIUI/MTK) | *#*#6484#*#* or *#*#3646633#*#* | Opens engineering options for sensors, camera, and hardware tests (model-specific). |
| Show Firmware Info | *#06#, *#*#1234#*#* | Standard info codes apply; Xiaomi may add vendor menus on top. |
OnePlus
| Code | Description | Notes |
|---|---|---|
*#800# or vendor-specific | Accesses the engineering mode or a detailed support/diagnostic menu. | OnePlus devices often use model-specific codes. The exact string can vary, so check your device’s documentation for your model. |
Huawei / Honor
| Mode / Function | Code | Notes |
|---|---|---|
| Engineering Mode | ##2846579## | Opens Huawei engineering/service menus on many models. |
Oppo / Realme / Vivo
| Feature | Primary Purpose | Common Access Codes | Notes |
|---|---|---|---|
| Engineering Mode | Provides advanced diagnostic, testing, and configuration options. | *#808#, *#*#3646633#*#* | Vendor engineering codes differ by chipset and manufacturer. Devices using MediaTek chipsets commonly use *#*#3646633#*#*. |
Google Pixel
| Test / Tool Name | Access Method | Function / Purpose | Notes for Pixel Devices |
|---|---|---|---|
| Field Test / Radio | Dialer Code: *#*#4636#*#* | Standard Android testing menu for phone, battery, usage statistics, and Wi-Fi information. | Pixel devices often rely more heavily on Developer Options and ADB for in-depth radio and network testing, since this menu may not surface everything on newer builds. |
Backup and Utility Codes
These codes help you back up files, check calendar data, or open media-copy menus. They are small but useful when you are setting up, cleaning, or transferring data from one phone to another.
| Secret Code | Description | Purpose / Usage |
|---|---|---|
*#*#273283*255*663282*#*#* | Backup Media Files | Tries to create a backup copy of media files used by some vendor tools. |
*#273283*255*663282*# | Data Create SD Card | Opens a save-to-SD backup menu on devices with vendor support. |
*#*#225#*#* | Calendar Storage Info | Displays details related to calendar storage, often used to check saved events. |
*#*#426#*#* | Google Play Services Info | Shows Google Play Services status and information, used for troubleshooting Play Services. |
*#*#759#*#* | RLZ Debug UI | Shows debug UI with Unique Device ID and installed app data, used in some debug flows. |
*#273283*255*3282*# | Create Data Menu | Opens a data-create menu for copying files or creating backups (vendor-specific). |
Related: Adaptive Battery vs Adaptive Power: How Android and iPhone Save Energy
Fix Android Secret Codes Not Working
If you are typing the right code but nothing happens, it could be due to software restrictions, carrier limitations, or disabled service menus. Here is what to do.
- Restart your phone, or toggle Airplane mode on and off.
- Certain codes, those related to the network or carrier, will not work if your SIM card is inactive or has a poor signal. Make sure your SIM is inserted and active.
- Clear the Phone app’s cache and data. Go to Settings, then Apps, then find Phone, then tap Storage, then Clear Cache and Clear Data. Then try again.
- Update your system software. Newer Android versions have disabled certain diagnostic codes for security, most notably
*#*#4636#*#*on many devices, so this is worth checking before assuming a code is broken. - Boot your phone into Safe Mode and test the code again. If it works there, a third-party app is likely blocking your code. Uninstall any suspicious apps afterward.
Final Thoughts
Android secret codes are like cheat codes for your phone. They are powerful shortcuts that reveal what is happening behind the scenes. Whether you are checking your battery health, verifying your IMEI, or testing your sensors, these hidden codes can save you a lot of time, and many of them still work reliably across current Android versions.
Just remember to be cautious and always double-check what a code does before running it. Some of the codes in this list, particularly *#*#4636#*#*, have been restricted or disabled on newer devices for security reasons, so do not be surprised if a few do not respond the way older guides describe. When used wisely, the ones that still work turn your regular smartphone into a professional-grade diagnostic tool without needing any extra apps.
No. iPhones use a closed system. Android codes communicate with internal firmware in a way iOS does not allow.
No. Android secret codes work entirely offline using your device’s internal software. A small number of network-related codes (like call forwarding settings) do require an active SIM and signal.
Not directly, but they can help identify battery drain, overheating, or faulty sensors so you can fix the underlying performance issues yourself.
No. You cannot create your own secret codes. All Android secret codes are built by developers and manufacturers, and they only work if the corresponding command already exists in your phone’s firmware.


