If your phone starts acting strangely, like turning itself off, having distorted ringtones, or losing signal , it's most likely not a simple software glitch, but a malfunctioning hardware component. The good news is that you don't need to be a tech expert to have a pretty good idea of ​​which part might be causing the problem in an Android smartphone.
With the right tools, you can check your phone's hardware health , including battery, screen, sensors, connectivity, and cameras, and even generate comprehensive reports that are very useful if you're buying or selling a used phone. Let's take a step-by-step look at all the reliable ways to detect what's wrong with your Android device using built-in tests, hidden codes, and specialized apps.
Signs that a component of your mobile phone is failing
Before you start running tests like crazy, it's a good idea to pay attention to the clues your phone is already giving you . Certain symptoms are almost always associated with specific components, and they can give you a lot of guidance before you move on to more advanced tests.
When a battery takes ages to charge, discharges too quickly , or the percentage drops erratically, the prime suspect is the battery module itself or the charging circuit. In other cases, the problem might be with the USB connector or even the charger, but the discharge pattern usually points to internal battery faults.
If you notice that the speaker distorts, is very quiet, or makes strange noises , the problem is usually with the main speaker or the earpiece. The microphone may also be faulty if the other person hears you choppy or not at all when you're on the phone.
A screen that dims for no reason, flickers, or is unresponsive to touch points to problems with the LCD panel, the touch digitizer, or the light sensor. If there are also areas where your finger doesn't respond, the digitizer is likely damaged.
When the keyboard freezes, the phone rotates on its own , or the compass points in nonsensical directions, sensors like the accelerometer, gyroscope, or internal compass come into play. And if the GPS places you on the other side of town, there could also be a problem with the positioning module or the antenna.
Check the health of your hardware with diagnostic apps

A very convenient way to find out what's going on with your phone is to use hardware diagnostic apps . These tools test each component of the phone one by one and generate a fairly comprehensive report with the results.
These apps can thoroughly check the screen, sound, sensors, camera issues , connectivity, battery, and processor , among other things. Many even generate a report that you can save as a PDF or HTML file, which is very useful if you want to demonstrate the actual condition of a phone you're going to sell or inspect a used phone you're about to buy.
TestM: guided and highly visual analysis
One of the most comprehensive and user-friendly apps is TestM, available on Google Play and for other operating systems. With TestM, you can analyze the main components of your Android smartphone through a series of straightforward guided tests.
When you install it from the Google Play Store, the app will ask for permission to access virtually all of your phone's components . This is normal, as it needs to test sound, cameras, sensors, connectivity, and so on. You grant the permissions, it installs, and the first time you open it, it shows you a short tour across several screens with the typical "Next" button until you reach the message that everything is ready.
On the main screen, you'll see six large circles representing component groups : Display, Sound, Motion, Connectivity, Hardware, and Camera. As you complete tests in each category, these circles fill up, and when everything is working correctly, a green symbol appears indicating that that part of the phone is healthy.
From that screen, you can choose between a Quick Test or a Full Test . The Quick Test focuses on the essentials for a basic check, but if you really want to know which hardware is failing, it's recommended to run the Full Test, which includes around twenty short tests.
In each test, the app displays a screen with very simple instructions: touch areas of the screen , press physical buttons, speak into the microphone, move your hand toward the proximity sensor, activate Bluetooth, check the flash, etc. Once you understand what you're doing, tap Start and follow the instructions. If you're not interested in a particular test or can't complete it, there's a Skip button to omit it.
Within each category, you can see a list of available tests and repeat any of them as many times as you like. There's also a button to check the entire group of components at once . When you complete all the tests and all six circles are filled and green, you'll have a very accurate snapshot of your phone's condition.
Other useful features of TestM
In addition to the tests, TestM includes a side menu that you access by tapping the menu icon in the upper left corner . There you'll find your exact phone model, the number of tests performed, and a number of additional options.
From that menu, you can access an advanced device information section , with details about available storage, screen resolution and type, camera specifications, processor, and even the IMEI. This IMEI code helps you check if a phone has been reported stolen or if it's unlocked to connect to networks in different countries.
TestM also offers detailed battery information, internet speed tests , the ability to send feedback to the developers, and the option to create a comprehensive report with all test results. And if something goes wrong during the tests, there's a "Find Repair Shops" section that displays nearby repair shops on a map where you can take your phone.
Other testing apps: Phone Doctor Plus and Phone Check
There are other alternatives on Google Play that can also detect which component is failing on your Android phone . Two of the best-known are Phone Doctor Plus and Phone Check, both free and with versions for other operating systems.
Phone Doctor Plus can check around thirty different components of your device . It checks the touchscreen, battery, memory, compass, microphone, speakers, flash, Bluetooth, and cameras, among others. If, for example, you can't open a webpage, the app itself can tell you if the problem is with your network connection, Wi-Fi, or mobile data.
Phone Check, on the other hand, is designed to offer a very comprehensive guided analysis of your phone . It checks memory, storage, battery, mobile networks, Wi-Fi, and many other components. If everything is in order, it displays a green checkmark; if it detects any faults, the result appears in red so you know something is wrong.
Both apps generate clear reports and, in the case of Phone Check, you can email the report to yourself to save it or share it with a technical service or a potential buyer if you are going to sell the phone.
Advanced diagnostics with Device Info HW

If you want to go a step further and learn about every piece of hardware in your phone , a very interesting app is Device Info HW. It's not your typical interactive test, but rather a tool that attempts to identify and display as much information as possible about the device's hardware and software.
Device Info HW attempts to detect components such as the screen, touch digitizer, cameras, sensors, RAM, eMMC or UFS memory chips , audio chip, NFC, charger, Wi-Fi, and battery , provided the system allows reading this data. In many modern models, some information is restricted, but the app extracts as much as it can.
From its tabbed interface, you can view very detailed SoC data : CPU model, number of cores and clusters, processor family, ABI type, governor, maximum and minimum frequencies, as well as the GPU model, manufacturer, OpenGL version and list of supported extensions.
You also have complete information about the system and the installed ROM: Android version, build number, security patches , RAM type (e.g., LPDDR), and even, on some devices, the RAM frequency. The memory section lets you see RAM and internal storage usage.
The battery section displays basic data such as level, temperature, and status, and on many phones it also includes discharge speed, charging speed, and a power consumption profile defined by the manufacturer. It may even show a kernel profile and model to better understand how the device manages power.
Device Info HW includes extra sections to view temperatures by thermal sensor, a list of sensors with tests to check their operation , information on installed apps (including system apps), a list of drivers, storage partitions, voltage regulators (PMICs), Wi-Fi connection details, and Bluetooth capabilities.
The app offers a report creation feature in its paid version, generating HTML or PDF files, which is very useful for sending data via email or saving it for reference. And if you have root access, it can read even more low-level information, which is especially useful for developers or those who create custom ROMs and kernels.

Many Android phones hide an internal diagnostic menu that's activated with special codes from the Phone app. It's a little-known but incredibly useful feature because it allows you to run hardware tests without installing anything and without needing root access.
These codes vary depending on the manufacturer and, in some cases, even between models of the same brand. The idea is simple: you open the phone app as if you were going to dial a number and enter a specific combination of symbols and numbers. When you finish, instead of making a call, a hidden menu opens with tests for the screen, keyboard, sensors, battery, Wi-Fi, and other components.
Most common diagnostic codes by brand
The codes most frequently used on Android mobiles to access these test menus are the following, which you must enter without spaces in the dialer :
- Samsung: *#0*# to open a panel with tests of screen, sensors, colors, vibration, etc.
- Xiaomi, Redmi and POCO: *#*#64844#*#* or access the CIT menu from settings for hardware testing.
- Sony: *#*#7378423#*#* to open your internal testing service.
- HTC: *#*#3424#*#* to run guided terminal tests.
- Huawei: *#*#2846579#*#* to enter the device's testing menu.
- Motorola: ##4636## or, in recent models, its own diagnostic help app.
Upon entering the correct code, the phone displays a list of components with their own tests : screen, keyboard, touchscreen, battery, Wi-Fi, Bluetooth, sensors, camera, speaker, microphone, and more. You can tap each one to see how the device performs in that specific area.
The advantage of these menus is that the entire process is integrated by the manufacturer, eliminating reliance on third-party apps . Furthermore, many brands use these tests in their official service centers to ensure that the hardware functions correctly after repairs.
However, it's important to note that in some countries or with certain carriers, the codes may be deactivated or ineffective . In those cases, you can always use the diagnostic apps mentioned earlier, which offer a very similar experience.
Brand-specific diagnostic tools
Some manufacturers go beyond code and offer their own apps or tools for diagnosing their Android phones. This is especially useful when you're checking a used phone or want to rule out hardware problems yourself.
On Samsung Galaxy devices, for example, the code *#0*# usually opens a diagnostic menu with buttons to check the screen, sensors, vibration , cameras, and other components. If the code doesn't work, it may be because the carrier has disabled that function to use its own support software.
Modern Motorola phones come pre-installed with an app called Device Help (or something similar). From there, you can access the Device Diagnostics section and run tests on the battery, audio , camera, connectivity, and touchscreen. The app also includes a hardware diagnostic option that tests sensors like the proximity sensor and cameras, as well as a full device diagnostic.
On Google Pixel phones, accessing diagnostics may vary depending on the model. In some cases, you can try the same code *#0*# in the dialer , and if that doesn't work, Google offers self-help flows from its online community. There, you can describe the problem, enter your email address and the device's IMEI to follow a troubleshooting guide.
Huawei phones include a built-in app called HwMMTest, which acts as a diagnostic tool. It doesn't appear as a regular app; you have to go to Settings, then to Applications, enable the option to show all system apps, and then search for HwMMTest to run it . To perform the guided hardware test, the battery should be between approximately 55% and 80% charged, and some models require booting into a special boot mode.
Professional diagnostic software and certification of used mobile phones
Beyond the average user, there are diagnostic suites designed for secondhand stores, repair shops, and phone wholesalers . This type of software goes beyond simply confirming that "everything is working correctly": it offers comprehensive certification reports for each device.
One of the clearest examples is when buying a second-hand Android phone . Just as you wouldn't buy a used car without checking its history, you shouldn't pay for a phone without a clear picture of its condition. Without a thorough check, you risk acquiring a stolen device, one with non-original parts, or one with serious hardware defects.
The professional diagnostic software performs similar tests to those we've seen (audio, battery, cameras, screen, sensors, and connectivity), but adds features such as verifying the authenticity of key components : cameras, LCD panel, battery, fingerprint button, or motherboard. This way, it detects if non-OEM replacement parts have been installed.
When we talk about OEM (Original Equipment Manufacturer), we're referring to parts manufactured by the same company that designed the device . Using non-OEM replacement parts can lower the cost of repairs, but it often means lower quality, worse results, and, in many cases, the loss of the warranty. For a buyer, knowing whether a phone has non-original parts is essential to assessing whether the price is fair.
These diagnostic solutions always generate a written report with all the results , which can be saved in the cloud, exported to PDF and even printed as a label to stick on the box or on the phone itself, showing that the device has been checked and is ready to use.
The advantages are clear for sellers: with reliable certification that the phone is fully functional, restored, and unlocked , it's easier to build trust, justify the price, and avoid returns. For buyers, having access to the device's history (make, model, IMEI, whether it's been reported stolen, outstanding debts, carrier locks, warranties, and previous repairs) is the safest way to avoid unpleasant surprises.
In this professional environment, the ability to securely and reliably erase all data from a phone is also highly valued , guaranteeing that the previous owner's information has been completely removed before resale. Some systems offer specific secure erasure certifications to provide this added peace of mind.
Practical tips for interpreting the results and deciding what to do
After running tests with apps or hidden menus, it's time to interpret the diagnostic results . An isolated fault doesn't always mean the phone is beyond repair, but it's helpful to know when it's worth repairing and when it's better to get a new phone.
If tests indicate faults in relatively simple components, such as the speaker, microphone, charging port, or battery , repairs are usually affordable and quite common in most repair shops. In many cases, these components can be replaced without affecting the rest of the hardware.
Conversely, if the diagnosis points to problems with the motherboard, several critical sensors, or the memory controller , things get more complicated. These types of repairs are usually expensive, and the phone isn't always restored to 100% functionality, so sometimes it's more worthwhile to spend that money on a new device.
When diagnostic tests clearly show that the touchscreen or LCD panel is damaged , the cost must also be considered. For mid-range or high-end phones with complex screens, original replacement parts can be very expensive. However, if the rest of the hardware is in perfect condition, the investment may be worthwhile.
If you intend to sell your phone, having a clean diagnostic report allows you to demonstrate to the buyer that the hardware has been checked and is in good working order . And if the report reveals any faults, you can be transparent, adjust the price, and avoid potential claims later on.
Having all these tools—apps like TestM, Phone Doctor Plus, and Phone Check, utilities like Device Info HW, hidden menus accessed via code, and professional diagnostic solutions—allows you to move from mere suspicions to having concrete data about which hardware is failing in your Android smartphone . With that information in hand, deciding whether to repair, replace your phone, or negotiate a fair price for a used device ceases to be a gamble and becomes an informed decision.
Table of Contents
- 1 Signs that a component of your mobile phone is failing
- 2 Check the health of your hardware with diagnostic apps
- 3 Advanced diagnostics with Device Info HW
- 4 Integrated diagnostics in Android: hidden codes and special menus
- 5 Professional diagnostic software and certification of used mobile phones
- 6 Practical tips for interpreting the results and deciding what to do