Did you know your Android phone has hidden menus and features that most people never discover? These secret menus can help you test hardware, check phone information, diagnose problems, and even unlock hidden features.
In this comprehensive guide, I'll share 25+ working Android secret codes that unlock hidden menus on Samsung Galaxy, Xiaomi, OnePlus, Realme, Oppo, Vivo, and other Android devices.
⏱️ Reading time: 12 minutes | 25+ tested codes
📋 Table of Contents
🔐 What Are Android Secret Codes?
Android secret codes (also called USSD codes or dialer codes) are special number combinations you enter in your phone's dialer app to access hidden menus, settings, and diagnostic tools.
These codes were originally created by manufacturers and developers for testing and troubleshooting, but users can access them too.
Why Use Secret Codes?
- 🔍 Check phone information (IMEI, serial number, battery stats)
- 🔍 Test hardware (screen, speakers, sensors, camera)
- 🔍 Diagnose problems before visiting repair shop
- 🔍 Access hidden settings not available in regular settings
- 🔍 Check warranty status
- 🔍 Verify if phone is genuine (not counterfeit)
📞 How to Use Secret Codes
Using secret codes is simple:
Step-by-Step Guide:
- Open your Phone app (dialer)
- Tap the dial pad
- Enter the secret code exactly as shown (including * and #)
- The code will execute automatically (no need to press call)
- A hidden menu or information will appear
Example:
Type: *#06#
Result: Your phone's IMEI number appears instantly
📊 Phone Information Codes (Work on Most Android)
These codes display important information about your device:
1. Check IMEI Number
What it does: Displays your phone's unique IMEI number(s). Essential for warranty claims, insurance, and reporting stolen phones.
Works on: All Android phones (100% compatibility)
2. Phone Information & Battery Stats
What it does: Opens a hidden menu showing:
- 📱 Phone information (signal strength, network type, IMEI)
- 🔋 Battery information (health, temperature, voltage)
- 📊 Usage statistics
- 📡 WiFi information
Works on: Samsung, Google Pixel, OnePlus, Motorola, Nokia
Note: Doesn't work on some Xiaomi/Oppo/Vivo phones
3. Software Version Info
What it does: Shows PDA, CSC, modem, and firmware versions
Works on: Samsung, LG
4. Calendar Storage Info
What it does: Displays calendar events and storage info
Works on: Most Android phones
5. Check Android Version & Build
What it does: Shows detailed firmware info, build date, and model number
Works on: Samsung, some other brands
🧪 Hardware Testing Codes
These codes help you test if your phone's hardware is working properly — perfect before buying a used phone!
6. Complete Hardware Test
What it does: Opens comprehensive hardware test menu with buttons to test:
- 🔴 Red, Green, Blue screen test (check for dead pixels)
- 📳 Vibration motor
- 📷 Camera (front & back)
- 🔊 Speakers & receivers
- 📡 Sensors (proximity, gyroscope, accelerometer)
- 🔦 LED/flashlight
- 👆 Touch screen sensitivity
Works on: Samsung Galaxy phones (S series, A series, Note, Z series)
This is THE BEST code for buying used Samsung phones!
7. LCD Display Test
What it does: Same as above (alternate code)
Works on: Samsung
8. Backlight/Dimming Test
What it does: Tests screen brightness and backlight functionality
Works on: Samsung, some Motorola
9. Vibration & Backlight Test
What it does: Tests vibration motor and touch screen
Works on: Samsung, LG
10. Proximity Sensor Test
What it does: Tests proximity sensor (sensor that turns screen off during calls)
Works on: Samsung
11. WiFi MAC Address
What it does: Shows WiFi MAC address
Works on: Samsung, some other brands
12. Bluetooth Test
What it does: Tests Bluetooth functionality
Works on: Samsung, LG
13. Bluetooth Device Address
What it does: Shows Bluetooth MAC address
Works on: Samsung
14. GPS Test
What it does: Opens GPS test menu to check satellite connectivity
Works on: Samsung, some other brands
15. Camera Firmware Version
What it does: Shows camera firmware information and update option
Works on: Samsung
📱 Samsung Galaxy Secret Codes
These codes are specifically designed for Samsung Galaxy devices:
16. Samsung Service Mode
What it does: Opens service mode showing:
- Network signal details
- Band information
- Cell tower info
- Network debugging options
Works on: All Samsung Galaxy phones
Use case: Check exact signal strength and network diagnostics
17. USB Settings & Version
What it does: Opens USB settings menu (MTP, PTP, charging mode options)
Works on: Samsung Galaxy
18. RF (Radio Frequency) Signal
What it does: Opens service mode for advanced network testing
Works on: Samsung
19. Samsung Firmware Version
What it does: Shows PDA, CSC, Phone, and Hardware versions
Works on: Samsung Galaxy
20. Samsung Software & Hardware Info
What it does: Shows detailed software and hardware information
Works on: Samsung Galaxy
21. Samsung Battery Status
What it does: Shows battery ADC, temperature, and health status
Works on: Samsung Galaxy (some models)
22. Samsung Sales Code & CSC
What it does: Shows and allows changing CSC (Country Specific Code)
Replace "IMEI" with your actual IMEI number
Works on: Samsung
🔶 Xiaomi/Redmi/POCO Secret Codes
Xiaomi phones use different codes than Samsung:
23. Xiaomi Hardware Test
What it does: Opens comprehensive hardware test menu (similar to Samsung's *#0*#)
Tests available:
- Display test (colors, dead pixels)
- Touch screen test
- Camera test
- Speaker & microphone test
- Vibration test
- Sensor tests
- Button tests
- Charging test
Works on: Most Xiaomi, Redmi, POCO phones
24. Xiaomi Version Information
What it does: Shows detailed device information
Works on: Xiaomi/Redmi
25. Xiaomi Diagnostic Mode
What it does: Opens service tests menu
Works on: Some Xiaomi models
Alternative Xiaomi Test Code:
What it does: Phone info, battery stats, usage stats (works on some models)
🔧 Other Android Brands Secret Codes
OnePlus
Engineer Mode:
- Dial:
*#808#or*#36446337# - Opens full hardware test suite
Oppo/Realme
Engineer Mode:
- Dial:
*#899#or*#36446337# - Hardware testing and diagnostics
Vivo
Factory Test:
- Dial:
*#*#4838#*#*or*#558# - Complete hardware test
Google Pixel
Device Info:
- Dial:
*#*#4636#*#* - Phone information, battery stats, usage
Motorola
Hardware Test:
- Dial:
*#*#2486#*#*or*#*#4636#*#* - Test menu and device info
Nokia
Test Mode:
- Dial:
*#*#0*#*#*or*#*#2486#*#* - Hardware diagnostics
⭐ Most Useful Codes (Must Save)
Here are the TOP 5 codes everyone should know:
🏆 Top 5 Must-Know Codes
1. IMEI Check: *#06#
✅ Works on ALL phones
✅ Essential for insurance, warranty, theft reports
2. Samsung Hardware Test: *#0*#
✅ Perfect before buying used Samsung
✅ Test screen, camera, sensors in 2 minutes
3. Xiaomi Hardware Test: *#*#64663#*#*
✅ Complete Xiaomi/Redmi diagnostics
✅ Test everything from display to charging
4. Battery & Phone Info: *#*#4636#*#*
✅ Works on most Android brands
✅ Check battery health, signal strength, network info
5. Samsung Service Mode: *#0011#
✅ Check exact signal strength
✅ Diagnose network problems
⛔ Codes to AVOID (Dangerous)
Some codes can erase data or brick your phone. NEVER use these unless you're a technician:
🚨 DANGEROUS CODES - DO NOT USE
❌ Factory Reset Codes
*2767*3855#- Instant factory reset (no warning!)*#*#7780#*#*- Factory reset
Risk: All data deleted instantly without backup option!
❌ Format/Wipe Codes
*2767*2878#- Complete firmware reinstall*#*#7378423#*#*- Service menu (can brick phone if misused)
❌ Camera Update Code
*#*#34971539#*#*- Don't click "Update firmware"
Risk: Can corrupt camera firmware
❌ CSC Change Code
*#272*IMEI#- Don't change CSC randomly
Risk: Software incompatibility, lost features
📝 Quick Reference Table
| Code | Function | Compatible Brands |
|---|---|---|
*#06# |
IMEI Number | All Android |
*#0*# |
Hardware Test | Samsung |
*#*#64663#*#* |
Hardware Test | Xiaomi/Redmi |
*#*#4636#*#* |
Phone & Battery Info | Most Android |
*#0011# |
Service Mode | Samsung |
*#1234# |
Firmware Version | Samsung |
*#808# |
Engineer Mode | OnePlus |
*#899# |
Engineer Mode | Oppo/Realme |
🎯 Practical Use Cases
Before Buying a Used Phone:
- Check IMEI:
*#06#(verify it matches box/listing) - Run hardware test:
*#0*#(Samsung) or*#*#64663#*#*(Xiaomi) - Test display for dead pixels (use color screens)
- Test camera, speakers, vibration, sensors
- Check battery health:
*#*#4636#*#*
Troubleshooting Network Issues:
- Check signal strength:
*#0011#(Samsung) - View phone info:
*#*#4636#*#* - Check if on correct network band
Verifying Phone Authenticity:
- Check IMEI:
*#06# - Verify on official IMEI checker websites
- Check firmware version matches official Samsung/Xiaomi releases
❓ Frequently Asked Questions (FAQ)
Q1: Are secret codes safe to use?
A: Codes that VIEW information are 100% safe. Codes that change settings can be risky. Never use factory reset codes or firmware update codes unless you know what you're doing.
Q2: Why doesn't a code work on my phone?
A: Different manufacturers enable different codes. Samsung codes won't work on Xiaomi. Some codes are disabled in newer Android versions for security. Try alternate codes or check brand-specific codes.
Q3: Can secret codes unlock my phone or bypass lock screen?
A: No. Secret codes cannot bypass security locks, FRP lock, or PIN/password. They only access diagnostic menus and information.
Q4: Will using these codes void my warranty?
A: Simply viewing information won't void warranty. But if you change settings in service menus and cause problems, warranty may be affected. Only VIEW, don't change.
Q5: Do secret codes work on iPhones?
A: No, these are Android-specific. iPhones have very limited codes (mainly *#06# for IMEI and a few diagnostic codes through Field Test Mode).
Q6: How do I exit a secret code menu?
A: Usually press Back button or Home button. Some menus have Exit button. If stuck, restart your phone.
Q7: Can I use these codes to check if my phone is original or fake?
A: Partially. Check IMEI with *#06# and verify on official databases. If hardware test menus work properly with correct branding, likely authentic. Fake phones often have broken/missing code menus.
Q8: What's the difference between *#0*# and *#*#0*#*#*?
A: They're the same function (Samsung hardware test). Different formats work on different models. Try both if one doesn't work.
Q9: Why do some codes execute automatically and others don't?
A: Codes starting and ending with *# usually execute automatically. Some codes require pressing the Call button. Depends on the code type and phone model.
Q10: Are there codes to improve battery life or performance?
A: No. Secret codes only access existing features and information. They can't magically improve performance. Use proper optimization settings instead.
🎯 Final Thoughts
Android secret codes are powerful tools for diagnostics, testing, and accessing hidden information. While they're incredibly useful, remember to use them responsibly.
✅ Best Practices:
- ✅ Save useful codes in your Notes app
- ✅ Test your phone's hardware before warranty expires
- ✅ Always test used phones before buying
- ✅ Only VIEW information, don't change settings
- ✅ Never use factory reset codes accidentally
💡 Pro Tips:
- 📱 Bookmark this page for future reference
- 📱 Screenshot codes that work on your phone
- 📱 Use hardware tests every 6 months to catch issues early
- 📱 Share these codes with friends buying used phones
Did you discover a new code that works on your phone? Share it in the comments below and help other users!
Which code did you find most useful? Let us know!
Last updated: 2026 | Tested on Samsung, Xiaomi, OnePlus, Oppo, Vivo, Realme, Motorola, Nokia, Google Pixel
📚 Related Articles You'll Love:
- How to Make Your Samsung Phone Faster Without Root
- 10 Hidden Samsung Settings You Should Turn On Immediately
- Samsung Battery Draining Fast? 7 Proven Fixes
- How to Check If Your Android Phone Is Original or Fake
