Phone Diagnostic
1.4.0 · GitHub
More about this app
On-device phone diagnostics for CPU, GPU, battery, RAM, storage, sensors and display, with optional Shizuku/root elevated readings.
Phone Diagnostic Tool
Privacy-focused Android diagnostics: CPU, GPU, battery, RAM, storage, display, sensors, cameras, and optional network latency — all on-device.
No accounts. No analytics SDKs. No cloud upload of reports.
Screenshots
| Overview | CPU / SoC | Battery | Sensors | More |
|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
Captured on a Galaxy Z Flip4 running Android 16.
Features
Device and hardware
- Overview — model, Android version, security patch, fingerprint, board, bootloader, kernel, uptime
- CPU / SoC — cluster layout and peak clocks, governors, available frequencies, live per-core clocks
- GPU — OpenGL ES renderer and version
- Battery — charge, health, temperature, voltage, charging power, charger rating, drain rate and time left, capacity wear and cycle count (where available)
- RAM — usage, kernel stats (cached, buffers, swap, ZRAM) and process detail (system-wide with Shizuku/root)
- Storage — volumes, per-app breakdown (requires Usage Access), flash type and wear (UFS / eMMC)
- Display — resolution modes, refresh rates, HDR formats and peak brightness, wide colour gamut
- Sensors — list, reporting mode / wake-up / batching, live streaming with per-axis charts
- Cameras — facing, pixel array, focal lengths, hardware level, ISO / exposure ranges, flash, capabilities (no camera permission)
- Media codecs — every video and audio format, hardware vs software playback and recording, max resolution and frame rate
- Thermals — every zone with readable names, Android's thermal status and throttling headroom
- System activity — awake vs deep-sleep time since boot, last wake reason, top wakeup sources
- Network — IPs, DNS / private DNS, Wi-Fi standard (4 to 7, 6E) / band / signal, cellular generation (2G to 5G) and signal, latency probe with burst stats
- Security — verified boot, bootloader lock, encryption, SELinux, patch age, StrongBox / hardware keystore
- Connectivity — NFC / Bluetooth state, connected audio devices
Privacy
- Privacy audit — which apps hold camera, microphone, location, contacts, SMS and other sensitive permissions, and which have accessibility, notification or device-admin access
- Redacted reports (on by default) — exports leave out fingerprint, bootloader, baseband and build host
- Latency target of your choice — Cloudflare, Quad9, Google, or your router only
- Sensitive clipboard — copied reports are hidden from the copy preview and cleared after a minute
- Block screenshots (optional) — no screenshots, screen recording or Recents preview
Tools
- History — battery, temperature and RAM trends from up to 24 h of on-device samples
- Load test — 1 / 5 / 10 min CPU load with k-ops/s score and throttling detection (sustained % of peak)
- Vibration check, storage speed test, background monitor with a rotating log (5000 lines)
- Reports — share as text / JSON / file, save, or copy
- Elevated access (optional, off by default) — Shizuku or root for fuel-gauge health, per-core clocks, flash wear, wakeup sources and the system process list
- Theme: system / light / dark; fully externalised strings
Privacy
See PRIVACY.md.
Short version: everything stays on the device. The only network use is an optional latency check you can point at your own router or switch off in Settings. The app asks for no camera, microphone, location, contacts or phone permissions.
Download
Latest release — grab the .apk. Allow install from unknown sources when prompted.
Releases are signed with a private release key (when the four GitHub secrets are configured). CI debug builds use a fixed keystore so they install over each other.
Usage Access blocked after sideload (Android 13+)
Per-app storage needs Usage Access. On sideloaded apps Android treats this as a restricted setting:
- Settings → Apps → Phone Diagnostic
- ⋮ (top right) → Allow restricted settings (confirm with PIN / biometrics)
- Back in the app: Storage → Open Usage Access and enable the toggle
Overall volume sizes work without this. Only the per-app breakdown needs it.
CI artifacts (Actions → Build APK → latest green run) expire after 14 days:
| Artifact | Contents |
|---|---|
PhoneDiagnostic-debug |
Debug-signed APK |
PhoneDiagnostic-release-apk |
Release APK |
PhoneDiagnostic-release-aab |
Play-ready AAB |
Stores
Packaging is ready; store accounts and listings are still manual.
- Google Play — upload the release AAB; enroll in Play App Signing
- F-Droid — draft metadata in
metadata/com.phonediagnostic.yml
Full checklist: docs/DISTRIBUTION.md.
Changelog
See CHANGELOG.md.
Build from source
Requirements: JDK 17, Android SDK 35
git clone https://github.com/ScoobyDouche/PhoneDiagnosticTool.git
cd PhoneDiagnosticTool
# Optional: decode CI debug keystore for local parity
# base64 -d keystore/debug.keystore.b64 > keystore/debug.keystore
./gradlew test
./gradlew assembleDebug
./gradlew assembleRelease # R8 + shrink; signs if RELEASE_* env is set
./gradlew bundleRelease # AAB for Play
CI runs tests + debug/release APK + AAB on every push and pull request.
Permissions
| Permission | Why |
|---|---|
INTERNET |
Optional latency measurement only |
ACCESS_NETWORK_STATE |
Detect connection type; DNS and link details |
ACCESS_WIFI_STATE |
Wi-Fi link speed, band, signal |
VIBRATE |
Vibration hardware check under Tools |
PACKAGE_USAGE_STATS |
Per-app storage (user must grant Usage Access) |
QUERY_ALL_PACKAGES |
List installed apps for the storage breakdown and Privacy audit (Android 11+) |
REQUEST_DELETE_PACKAGES |
Uninstall from storage detail |
FOREGROUND_SERVICE / SPECIAL_USE |
Optional background monitor |
POST_NOTIFICATIONS |
Background monitor notification (Android 13+) |
moe.shizuku.manager.permission.API_V23 |
Optional elevated access via Shizuku (off by default) |
Camera and sensors use system APIs without requesting the CAMERA permission (characteristics only; no capture).
Tech
- Kotlin · Jetpack Compose · Material 3
- ViewModel + StateFlow
- Min SDK 26 · Target / compile SDK 35
- Version 1.4.0
Diagnostics stay on-device only: a rotating log and 24 h metric history live in internal storage. The app opts out of Android cloud backup and device transfer (allowBackup="false").
License
How Shizuku is used
Can read CPU speeds, battery health, storage wear, wake sources and full process list via `sh -c`, `cat` and `dumpsys` through Shizuku
This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.
How this app uses Shizuku
Shizuku is used as an optional elevated reader for hardware and system data the app cannot read directly.
- Read CPU speeds: shows per core current frequencies and min and max limits plus clusters, governors and available frequencies read from system files with the
catshell command through Shizuku when direct access is denied. - Read battery health: shows full and design capacity, health percentage and charge cycle count from battery fuel gauge files and the aggregate
ueventdump with thecatshell command through Shizuku. - List system processes: shows system wide per process memory and CPU use collected with
dumpsys meminfoanddumpsys cpuinfothrough Shizuku instead of the self only view. - Check storage health: shows flash type and wear indicators for eMMC and UFS storage read with the
catshell command through Shizuku when the storage health files are not directly readable. - Show wake activity: shows the last wake reason and top wake sources collected with the
catshell command through Shizuku when direct access is denied. - Show memory details: shows cached, buffers, swap and ZRAM use from kernel memory info read with the
catshell command through Shizuku.
Android APIs or commands used
sh -ccatdumpsys meminfodumpsys cpuinfo
Notable details
Elevated access is opt in and off by default. Without it the app still works using direct reads where allowed and a self only process list, with elevated sourced readings marked in the UI.
Changelog
What's new for version 1.4.0
Phone Diagnostic Tool 1.4.0 (versionCode 36). Installs over 1.3.2 in place — no uninstall needed. No new permissions.
Privacy
- Privacy audit (More → Privacy audit) — which of your apps can use the camera, microphone, location, contacts, SMS, call log and more. Apps with accessibility, notification-reading or device-admin access are highlighted, since that is how stalkerware operates. Tap any app to open its system settings and revoke access. A This app card lists every permission this tool holds and what it is for.
- Reports leave out device identifiers by default — build fingerprint, bootloader, baseband and build host. Turn it off in Settings if you need them.
- Choose where the latency check connects — Cloudflare (new default), Quad9, Google, or your router only, which never leaves your network.
- Copied reports are marked sensitive and cleared from the clipboard after a minute.
- Block screenshots — optional setting that also hides the app in Recents.
Deeper diagnostics
- CPU — real cluster layout from each cluster's peak clock (e.g. "3 + 4 + 1 cores · 2.0 / 2.8 / 3.2 GHz"), governors and available frequencies for every cluster.
- Battery — what your charger offers in watts, drain rate and estimated time left from recent history. Capacity health and cycle count are now in reports too.
- Storage — flash type (UFS / eMMC) and how worn it is, where readable.
- System activity — how long the phone has been awake vs in deep sleep, what last woke it, and what kept it awake longest.
- Thermals — Android's own thermal status and a 10-second throttling forecast. The load test now says how much speed it kept at the end and flags throttled runs.
- Media codecs (new screen) — every video and audio format, whether playback and recording use hardware or software, and the maximum resolution and frame rate.
- Display — every resolution and refresh-rate mode, HDR peak brightness.
- Network — Wi-Fi standard (Wi-Fi 4 to 7, including 6E) and cellular generation (2G to 5G) with signal strength, read without any phone or location permission.
- Security — security patch age in days, StrongBox and hardware key storage.
- Memory, sensors, cameras — kernel memory stats (cached, buffers, swap, ZRAM), sensor reporting mode and batching, camera ISO / exposure ranges, flash and capabilities.
Some readings — flash wear, wake sources — are blocked for normal apps on most phones and appear only with Shizuku or root enabled in Settings.
Polish
- Screens remember where you were scrolled when you back out of a submenu.
- The More tab is far more compact: grouped links and one export card.
Permissions
12 permissions requested
Sources
2 sources
Sources
2 sources




