Android forensics: how analysis works
How Android forensic analysis works: file-based encryption, states before and after first unlock, logical, file system, full, physical and cloud extraction, differences between manufacturers, SQLite databases and the main artefacts.
Before and after first unlock
With file-based encryption, mandatory for new phones since Android 10, most user data is protected by keys that are released only by the owner’s passcode. A phone just switched on and never unlocked is in the BFU state (before first unlock): almost everything is unreadable. After the first unlock it enters the AFU state, and many keys stay in memory even when the screen locks again: that is why a phone that is on should be kept on.
| Extraction type | What it obtains | Limits |
|---|---|---|
| Logical | Data exposed by the system: contacts, calls, SMS, media, part of the apps | Usually requires the phone unlocked; much is missing |
| Backup | What the system or apps include in the backup | Many apps exclude their own data |
| File system | App folders with their databases | Requires unlocking techniques or vulnerabilities of the model |
| Full | A complete copy of accessible storage, including recoverable deleted data | Possible only on some models and versions |
| Physical, from the chip | Direct reading of the memory | With modern encryption the key is still needed |
| Cloud | Backups, photos, email, documents in the account | Requires credentials or the provider’s cooperation |
App databases
Almost all apps store their data in SQLite databases: messages, contacts, histories, settings. Forensic tools read and interpret them, but every app update can change their structure: the most important results should be checked by opening the database directly.
Android forensics: procedure
The procedure for acquiring and analysing an Android smartphone: isolate from the network, document its state, keep it powered, do not try passcodes, choose the extraction, compute hashes, analyse, validate with a second tool, write the report.
The pages of this topic
Back to the overviewAndroid forensics: tools
The tools for Android forensics: commercial extraction and analysis platforms, open-source tools such as ALEAPP, the MVT kit for spyware detection, adb, SQLite database readers, tools for cloud data.
Android forensics: mistakes to avoid
The most common mistakes in analysing an Android smartphone: leaving it online, switching it off, trying passcodes, trusting a single tool, forgetting the cloud, SIM and memory card, not recording changes, seizing and analysing everything indiscriminately.
Android forensics: value in court
The rules on examining smartphones under Italian and EU law: messages as correspondence, the Court of Justice ruling on access to phone data, the bill on device seizure, preservation of original data, non-repeatable examinations, producing chats in civil proceedings.
Android forensics: a case
A guided case: after a road accident, analysis of the driver’s Android phone reconstructs use of the messaging app in the seconds before the collision, with attention to times, time zones and the limits of the conclusions.
Android forensics: checklist
The checklist for the forensic acquisition and analysis of an Android smartphone: seizure and isolation, identification, extraction with hashes, validated analysis, conclusions and limits.
Android forensics: frequently asked questions
Short answers to the most common questions about the forensic analysis of Android smartphones.