Android debugging guide

Android Storage and Filesystem Debugging

Storage latency and errors propagate upward. A blocked database call can become an app ANR; a stalled critical service can become a system watchdog; a corrupt partition can become a boot loop.

01

Find the first block/device error

Start with the earliest UFS/eMMC/block message and note the device/partition. Later ext4/f2fs recovery messages may only be consequences of the underlying device event.

02

Correlate latency, not just fatal errors

Even without permanent corruption, long I/O stalls can block important threads. Check PSI io, process wait channels and ANR/watchdog timestamps.

03

Treat integrity errors as a different class

dm-verity failures and read-only remounts are integrity/reliability incidents. They should be resolved before app-level symptoms are trusted.

Open related analyzerUnderstand bugreport structureTechnical references