Android artifacts · Lesson 7 of 7
Samsung-specific artifacts and analysis with ALEAPP
11 min read
Samsung is one of the largest Android manufacturers, and its One UI replaces many AOSP components with its own: the contacts provider, the dialer, the messaging app, the gallery, the browser, the file manager and Digital Wellbeing, plus Knox security features such as Secure Folder. This lesson surveys the Samsung artifacts you will meet most often and then shows how to run ALEAPP, the open-source Android parser, read its report and recognize its limits. The paths below come from ALEAPP's modules. As of November 2026 their test images include Samsung phones up to Android 16 (One UI 8) but no One UI 9 phone, so nothing here is confirmed on One UI 9; check each path and schema on the device you examine. Statements marked (one test) come from a single known-data image: treat them as leads, and reproduce the behavior on a test device of the same model and One UI version before relying on it (lesson 7.1).
Samsung components and where they keep data
All the paths below are app folders under /data/user/n/ (CE storage) unless stated otherwise.
| Function | Package | Main artifacts |
|---|---|---|
| Contacts and call log | com.samsung.android.providers.contacts | contacts2.db; calllog.db, which also holds SMS and MMS log rows |
| Messages | com.samsung.android.messaging | databases/message_content.db |
| Gallery | com.sec.android.gallery3d | databases/local.db: trash, operation_history and search_history tables |
| Media provider | com.samsung.android.providers.media | databases/media.db: files and location tables |
| Samsung Internet | com.sec.android.app.sbrowser | app_sbrowser/Default/History, SBrowser.db, SmartTabDelete.db, SearchHistory.db, webNotificationDB.db |
| My Files | com.sec.android.app.myfiles | Download and recent file history, operation history |
| Digital Wellbeing | com.samsung.android.forest | databases/dwbCommon.db |
| Device Care (older builds) | com.samsung.android.sm | databases/sm.db and the low-power context database; legacy, not confirmed on current One UI |
| Samsung Members (older app) | com.samsung.oh | Diagnostic event and app inventory databases; legacy (the current app, com.samsung.android.voc, is not parsed) |
| Badge provider | com.sec.android.provider.badge | databases/badge.db: badge count per app |
| Secure Folder | com.samsung.knox.securefolder | History log database and dump log files |
| Smart Switch | com.sec.android.easyMover | files/History/, one folder per transfer session |
| Trash | com.samsung.android.providers.trash | databases/trash.db and .Trash folders in shared storage |
Calls and messages
Lesson 3.3 introduced the Samsung contacts provider. Its calllog.db marks SMS log rows with logtype 300 and MMS log rows with logtype 200, each with the ID of the telephony provider message. In ALEAPP's tests, most of these rows still matched a message in mmssms.db, so a log row whose message is gone is a lead to a deleted message. Only messages sent with Samsung Messages created such rows; messages sent with Google Messages did not (one test). Samsung Messages keeps message_content.db (lesson 3.3). A copy of that database under user_de held no messages on any image ALEAPP's authors checked.
Samsung Internet
Samsung Internet is Chromium-based, so its History file is read like Chrome's (lesson 3.6). Its own databases add detail: SBrowser.db holds bookmarks, saved pages and open tabs; SmartTabDelete.db keeps per-tab records that include closed tabs; SearchHistory.db keeps one row per distinct keyword entered in the address bar, with a DATETIME stored as text without a time zone. According to analysis of the app's code reported in ALEAPP, Secret mode, the browser's private mode, does not write to SearchHistory.db, and a keyword may be a selected suggestion rather than text the user typed.
Gallery, My Files and Trash
Samsung Gallery's local.db has a trash table for deleted media, an operation_history table recording actions on media IDs with Unix millisecond times, and a search_history table. Media IDs can be resolved to file names through the media provider's external.db (lesson 6.2). The separate Trash provider keeps trash.db and moves deleted files into hidden Android/.Trash folders in shared storage until the trash is emptied. My Files records download history, recently opened files and file operations.
Samsung media provider
Beside the platform's media provider (lesson 6.2), Samsung phones run their own, com.samsung.android.providers.media, with the database media.db in its CE folder. ALEAPP reads two of its tables, tested on Samsung images from Android 10 to 15, so confirm them on later versions. The files table lists each media file with its path (_data) and name (_display_name), datetaken, date_added and date_modified, owner_package_name, latitude, longitude, a packed address string (addr) and is_trashed. The location table holds latitude and longitude with address_text, country_name, locality, street_name and related columns. Samsung does not document how it fills the location columns, so compare them with the file's own metadata (lesson 6.2) before reporting a position. A second media.db can exist under user 150, the Secure Folder.
Notifications
Two of ALEAPP's Samsung test images (Android 14 and 15) hold notification history in the platform store of lesson 3.4. ALEAPP has no module for a Samsung-only store of notification text, and this course covers none. Two narrower records exist. The badge provider's badge.db holds the count shown on each app icon, with no text and no time. Samsung Internet's webNotificationDB.db holds notifications posted by websites, with title, text, site and a time in Unix milliseconds (one test).
Digital Wellbeing, Device Care and Samsung Members
Samsung's Digital Wellbeing app keeps dwbCommon.db. Its usageEvents table holds a timeStamp, read by tools as Unix milliseconds, a package and an event type. ALEAPP labels the types with AOSP UsageEvents names, but Samsung does not document them and the mapping has not been verified; test it as lesson 3.4 describes. The same database holds app timers (daily limits set by the user) and a Logging table that has recorded time zone changes and boot events on test devices.
Two further stores are legacy, parsed by ALEAPP modules from 2020 that name no test image. Device Care (com.samsung.android.sm) kept app crash records in sm.db and app usage sessions in a low-power context database. The older Samsung Members app (com.samsung.oh) kept device events and an app inventory with last-used times in com_pocketgeek_sdk.db and com_pocketgeek_sdk_app_inventory.db. Use them only to corroborate.
Secure Folder
Secure Folder is a separate Android user, user 150 on the devices ALEAPP's authors tested, with its own CE keys and its own lock settings (lesson 3.1). Its apps and files are in /data/user/150/ and /data/media/150/, readable only if the folder's CE storage was unlocked at acquisition. Even when it was not, the Secure Folder app can leave records in the main user's folders (under user 0 in ALEAPP's test image): a history log database recording files moved in or out, with the folders and the number of files but not their names, and SecureFolderDumpLog files under cache/dump/ that named the file moved (one test). The history log stores times as text without a time zone; they matched the phone's local time (one test).
Logs and transfer records
- /data/log/power_off_reset_reason.txt records shutdown and reset reasons with a local time and the UTC offset written beside it.
- /efs/recovery/history on the efs partition (or /data/log/recovery_history.log) records starts of recovery mode, including those with a --wipe_data argument. A record shows that a wipe was requested, not that it completed; compare it with /data/misc/bootstat/factory_reset (lesson 3.5).
- Smart Switch keeps one folder per transfer session under files/History/, named with a number that reads as Unix milliseconds, with JSON files describing the other device and the categories transferred. This is how you show that data arrived from an old phone rather than being created on this one.
Running ALEAPP
ALEAPP (Android Logs, Events and Protobuf Parser) is a free, open-source Python tool maintained by Alexis Brignoni and contributors, part of the same family as iLEAPP. Each artifact is a module that declares the file path patterns it needs, the parsing code and notes on how its output should be read. Prebuilt releases for Windows, macOS and Linux need no Python installation.
A typical command-line run is: aleapp -t zip -i /cases/victor/extraction.zip -o /cases/victor/aleapp_out. The -t option gives the input type: fs for an extracted folder, tar, zip or gz for archives, and raw for disk images such as .img or E01 files. The output folder must already exist. Other useful options are --hash, which records a SHA-256 hash of each file ALEAPP stages before parsing it, -p, which lists the paths every module searches, and -m, which loads a profile so that only selected modules run. The graphical interface offers the same choices.
ALEAPP opens SQLite databases read-only, as lesson 3.2 recommends, and does not change the input. It writes its results to a new folder named with the date and time of the run.
Reading the report
The output folder contains an HTML report, TSV files for each artifact, a timeline, KML files for location artifacts, a LAVA database for the companion viewer, and logs. Read it in this order:
- The run log. Check the tool version, the input, which modules ran, which found files and which failed with errors. A module that failed reports nothing, which is different from finding nothing.
- The device information pages. Confirm the model, Android version and users before trusting anything else.
- Each artifact page. Read the description and notes, which say what each column means, which values are converted and which are shown as stored. Columns marked "as stored" have not been interpreted. Note the source file listed for the rows.
- The times. Converted times are shown in UTC. Times stored as text without a zone are shown unconverted, and you must establish their zone yourself.
For every row you rely on, go back to the source file, open a copy with the method in lesson 3.2 and confirm the value and its conversion yourself. Your report cites the source artifact, not the tool's table.
Limits of ALEAPP
- Coverage. ALEAPP reports only what its modules know. A new app, a new app version or a renamed Samsung database may produce no output. No output does not mean no data.
- Live records. Most modules read the current rows of databases and files; a few also read earlier committed states from WAL files. ALEAPP does not carve deleted records from freeblocks or freelist pages; use dedicated, validated methods for that.
- Interpretation. Many field meanings come from testing on known data, not from documentation. The notes often say a meaning "is not established". Respect those limits in your findings.
- Versions. Modules change frequently, and two releases can report different results for the same input. Record the exact version, keep the report it produced and rerun with the same version if results must be reproduced.
- Access. ALEAPP parses what the extraction contains. It cannot reach CE storage that was locked at acquisition or data that was never extracted.
Lesson 7.1 covers validation: compare ALEAPP with a second tool and with manual queries, and test it on reference data when a finding depends on one module.
Applying this to the Corvane case
The examiner runs ALEAPP on the full file system extraction of Victor's Galaxy A phone (Android 16, One UI 8) and records its version and the hashes from --hash. The run log shows the Samsung Messages and Samsung Internet modules found their databases. Samsung Messages holds no conversation with Lena, consistent with the two using WhatsApp. Samsung's dwbCommon.db may still hold WhatsApp usage events from Day 2, but Samsung does not document how long the database keeps events. The examiner therefore reads the earliest timeStamp in usageEvents first. If the rows reach back to Day 2, they can fill part of the gap left by pruned UsageStats files, once the event labels have been tested (lesson 3.4); if not, the report states that this store no longer covers the period. The users page lists user 150. The court-ordered protocol does not cover the Secure Folder, which stayed locked, so its contents are reported as not examined; the Secure Folder history log in user 0 shows no moves of files into it.
Exam focus: Know the main Samsung packages and databases, including the logtype values in Samsung's calllog.db, message_content.db, dwbCommon.db, the media provider's media.db, Samsung Internet's databases and Secure Folder's user ID and logs. Know how to run ALEAPP, what its output contains, how to read its run log and notes, and why its results must be verified and its version recorded.
Practice questions
Check your understanding. These questions do not count towards the exam.
Sign in to save your progress and continue where you left off. It is free. Sign in