How to Perform a Hardware Test on a Samsung Phone
In this article
Yes, you can perform a full hardware test on a Samsung phone using built-in diagnostic tools. This test checks key components like the touchscreen, sensors, camera, microphone, speakers, and charging port to identify malfunctions or defects. Running this test helps confirm whether a hardware issue is present before seeking repair or replacement. You don’t need any external tools—everything is accessible directly from your phone.
What You'll Need
- A Samsung Android phone with power (at least 20% battery recommended)
- Ability to unlock the device or access recovery mode
- Optional: headphones, SIM card, and SD card (for full sensor testing)
Step-by-Step
- Unlock your Samsung phone and ensure it’s on the home screen. Some tests require you to be logged in and connected to the network.
- Open the Phone app (the dialer used to make calls).
- Enter the code *#0*# using the keypad. This launches Samsung’s built-in diagnostic menu, officially called the “Engineering Mode” or “LGP Hidden Menu”.
- Wait a few seconds. The screen will load a test menu with multiple hardware categories such as “RGB,” “Touch,” “Sensor,” “Receiver,” “Speaker,” “Microphone,” “Rear Camera,” “Front Camera,” and “Battery.”
- Tap on each category to begin individual tests. For example, tap “Touch” to test touchscreen responsiveness. Drag your finger across the screen to verify input is registered correctly.
- Test the “Receiver” (earpiece speaker) by holding the phone to your ear. You should hear a tone. For the “Speaker” test, place the phone on a flat surface and confirm sound plays from the bottom speaker.
- Use the “RGB” test to check the display. The screen will cycle through red, green, and blue solid colors. Look for dead pixels, discoloration, or backlight bleed.
- Run the “Sensor” test to verify the accelerometer, proximity sensor, and gyroscope. Follow on-screen prompts—tilt the phone or cover the top sensor to check responsiveness.
- Test both front and rear cameras. Tap “Rear Camera” and “Front Camera” to preview the image. Check for blur, dark spots, autofocus issues, or black screens.
- Use the “Microphone” test by speaking into the mic. The bar should respond to your voice. Try both primary and secondary mics if available.
- Check “Battery” status to view voltage and temperature. This won’t fix issues but confirms if the battery is charging and recognized.
- After testing, press the Home button or Back button to exit the menu. The phone returns to normal operation.
Common Mistakes
One common mistake is entering the wrong code—ensure you type *#0*# exactly, with no spaces or extra characters. Some users confuse this with *#0228# or other service codes that serve different purposes. Another error is skipping tests—each component should be verified individually, especially if you suspect a specific issue. Avoid testing in low-light or noisy environments, as this can interfere with microphone or camera results. Finally, do not exit tests prematurely; some sensors require a few seconds to register input.
Tips
If the *#0*# code doesn’t work, your device may have restricted access—some carriers or regional models disable this menu. Try restarting the phone first. For older Samsung models, this code works consistently. If your phone is unresponsive, you can access limited hardware tests via recovery mode: power off, then press and hold Volume Up + Bixby + Power until the logo appears. Use volume keys to navigate to “Device Diagnostics” if available. Always perform tests with a clean screen—dirt or screen protectors can affect touch and display results. Save test results by taking screenshots during camera or display tests to show technicians if needed.
Troubleshooting
If the *#0*# code doesn’t open the test menu, first confirm your phone is a Samsung Galaxy model—this feature is not available on non-Samsung devices. Restart the phone and try again. If still unresponsive, check for software updates under Settings > Software Update, as outdated firmware can disable hidden menus. Some carrier-locked phones block access; contact your provider for details. If the screen is cracked or unresponsive, you may only be able to test audio components. In extreme cases, boot into recovery mode and look for a “Diagnostic” or “Hardware Test” option—this varies by model. If hardware fails multiple tests (e.g., no sound, no camera response), back up data and consider authorized service.
Frequently Asked Questions
Does the hardware test work on all Samsung phones?
Most Samsung Galaxy smartphones support the *#0*# code, but some carrier-locked or region-specific models may restrict access. Older models generally work best.
Can the hardware test fix my phone?
No, the test only identifies issues—it does not repair hardware. If a component fails, you’ll need service or replacement.
Why doesn’t *#0*# work on my phone?
It may be disabled by your carrier, blocked by software restrictions, or unsupported on your specific model. Try restarting or checking for updates.
Can I test water damage using this method?
No. While the test may reveal non-functional components (e.g., speaker failure), it cannot detect water exposure. Check the in-device moisture indicator (usually in the SIM tray) for signs of liquid contact.
Is the hardware test safe?
Yes. The test reads device status and runs safe diagnostics. It does not modify settings or delete data.
What if my touchscreen isn’t responding during the test?
If touch input fails, try using a stylus or different finger. If still unresponsive, the digitizer may be damaged—consider professional repair.