Android bugreport.zip Structure
Modern bugreports are containers, not just logcat exports. The main text entry gives broad system state while separate ZIP entries preserve artifacts that are better analyzed independently.
version.txt and main-entry.txt
AOSP bugreport format defines metadata entries that identify the format version and the main flat-text entry. DroidDiagnostics reads these metadata files when present and marks the declared main entry.
FS/ entries
dumpstate can copy files from the device filesystem into the ZIP under FS/. Current AOSP also adds historical ANR data and tombstones as separate entries. Never assume the main text file is complete.
Why parsers should be section-aware
The same word can mean different things in logcat, kernel output, dumpsys or a tombstone. Source and section identity reduce false positives and make evidence reproducible.