Find the failing part before you open the phone.
PhoneMD reads what a phone knows about its own hardware: the battery fuel gauge, charger negotiation, flash wear, sensors, cameras, radios and every crash it logged. Then it ranks the findings and names the component to check first. No root, no jailbreak, nothing installed on the phone.
Runs on macOS, Windows and Linux. Reports stay on your computer.
A deep scan of an Android test device: score, ranked findings and a repair hint for each.
Four layers of evidence
One reading can mislead. Each scan cross-checks what the phone reports, what it was built with, what has crashed, and what a live test shows.
System reads
Battery capacity and cycles from the fuel gauge, charging watts, thermal sensors, CPU clocks, eMMC/UFS wear counters, Wi-Fi, Bluetooth, SIM and biometrics. Read over adb on Android and Apple's lockdown services on iPhone.
Declared vs. detected
Android lists the hardware a phone was built with. When a declared proximity sensor, camera, fingerprint reader or NFC chip is missing from the running system, a part is dead or a flex cable is loose.
Crash forensics
iPhone panic logs are decoded to the component that stopped responding. Android boot reasons and kernel crash history are sorted the same way: watchdog, brown-out, thermal shutdown.
Live tests
A kernel-level touch heatmap, buttons, vibration, original camera files, a flash write benchmark and a 45-second all-core stress test that catches throttling and brown-out reboots.
Crash logs, translated into parts
An iPhone that restarts every few minutes usually says why in its panic log. PhoneMD reads the latest ten from the last 90 days and points at the part.
| Missing sensor(s): mic1 prs0 | Charging-port flex: bottom microphone and barometer |
| Missing sensor(s): TG0B | Battery or its temperature sensor |
| no successful checkins from thermalmonitord | A sensor on the thermal bus stopped answering |
| ANS2 Recoverable Panic / NAND | Storage chip (NAND) or its controller |
| SEP panic | Secure Enclave, often after a Face ID or board repair |
| AOP PANIC / SPU | Always-on processor or sensor hub |
Signatures come from repair practice and differ between iPhone generations, so hints say “usually”. Confirm by swapping or isolating the part.
What it checks
Everything the operating system exposes over a cable, without unlocking anything.
Android 18 areas
- Identity and IMEI check
- Root, bootloader, Knox
- Google FRP and account locks
- Battery health and cycles
- Charging watts
- Thermal sensors
- CPU clusters and caps
- RAM
- Flash wear (eMMC/UFS)
- Display panel ID
- Touch and buttons
- Sensors present vs. declared
- Cameras
- Speakers and microphones
- Wi-Fi, Bluetooth, NFC, GPS
- SIM and signal
- Fingerprint and face
- Reboot and crash history
iPhone 8 areas
- Model, region, purchase type (retail, refurbished, replacement, demo)
- Activation lock and Find My
- Battery from the fuel gauge: capacity, cycles, serial
- Part serials and swaps since last scan
- Storage
- Wi-Fi hardware
- Panic log analysis
- Live log for “Unknown Part” messages
No cable? Test it in the browser.
Open the online test on the phone you are checking. It walks through every part a web page can reach:
- Dead pixels and tint
- Touch grid and multi-touch
- Left and right speakers
- Microphone level
- Every camera lens and the flash
- Accelerometer, gyroscope, compass
- GPS fix time
- Vibration
It runs entirely in the phone's browser. Results stay on the phone until you download the report.
Install
PhoneMD is a Python app that serves a local dashboard in your browser. It is not on PyPI yet, so install it from a copy of the source.
- Python 3.12+ and uv.
- Android: Platform-Tools (adb). On the phone, turn on USB debugging and accept the prompt.
- iPhone: works out of the box on macOS and Linux (usbmuxd). Windows needs Apple Devices or iTunes. Unlock the phone and tap Trust.
# in the PhoneMD folder $ uv sync $ uv run phonemd # or from the command line $ uv run phonemd devices $ uv run phonemd scan --html report.html
The dashboard opens at 127.0.0.1:8737. Pick the phone and press Quét sâu (deep scan). The dashboard is in Vietnamese.
Private by design
- Everything runs on your computer. Nothing is uploaded.
- The dashboard listens on 127.0.0.1 only and every API call needs a session cookie.
- Phones reach only the test page, never the dashboard or saved reports.
- Account names and emails are never read, only account types to warn about activation locks.
What software can't see
- iOS 17.4 and later hide factory part serials over USB. PhoneMD falls back to the battery serial, genuine-part messages and scan-to-scan comparison.
- IMEI blacklist, carrier lock and warranty status need external databases.
- Water damage, board shorts and burn-in still need eyes and bench tools.