Android artifacts · Lesson 6 of 7
Google apps: Chrome, Gmail, Photos and Maps
9 min read
Google's own apps are installed on almost every Android phone outside a few markets, and they often hold the most detailed record of what a user searched for, read, photographed and planned. They are also designed around the cloud: much of what they show is a local cache of server data, and the same account may be signed in on other devices. This lesson covers Chrome, Gmail, Google Photos and Google Maps: where each keeps its data, the formats and timestamps you will meet, and how to tell what happened on this phone from what was synchronized from elsewhere. Their app versions change every few weeks, so treat every schema here as something to confirm against the extraction in front of you.
Working with Google app data
All four apps keep their data in their CE sandboxes under /data/user/n/<package>/ (lesson 3.1). Three habits help:
- Record the app version from packages.xml or the APK. Schemas change between versions, and parsers are tested against specific ones.
- Expect protobuf. Google apps often store records as protocol buffer blobs inside SQLite columns or in standalone files. Without the app's schema, a decoder can show field numbers and values but not their meaning; tools assign labels from testing, so check how a label was derived before relying on it.
- Separate local and synced data. Ask of every record whether it was created on this device or received from the account.
Chrome
Chrome (package com.android.chrome) keeps its main profile in /data/user/n/com.android.chrome/app_chrome/Default/. The browsing history is the SQLite database History, with its -wal or -journal file. Its most useful tables are:
| Table | Key columns |
|---|---|
| urls | url, title, visit_count, typed_count, last_visit_time |
| visits | url (the urls id), visit_time, from_visit, transition, visit_duration, originator_cache_guid |
| keyword_search_terms | term, with the url_id of the search results page |
| downloads and downloads_url_chains | target_path, start_time, end_time, received_bytes, tab_url and the chain of source URLs |
The same folder holds other Chromium files: Cookies, Login Data (saved credentials), Web Data (autofill entries), Bookmarks, Top Sites and tab state files. The downloads tables link a file in shared storage to the page and URL it came from, often the quickest way to establish a file's origin. Chrome expires history older than 90 days, so older visits come only from other sources.
Login Data needs care. Older Chrome versions on Android protected saved passwords only with a key derived from fixed text in the Chromium source (checked at Chromium 120), so tools can decrypt them. Current Chrome on Android stores passwords in Google Password Manager, inside Google Play services, so the file may be empty. Decrypt saved passwords only if your authority covers it, keep them out of the report unless a password is itself the evidence, and never use one to sign in to an online service without a separate legal basis (lessons 2.7 and 3.5).
Transitions and synced visits
The transition column describes how a visit started. Its lowest byte is the core type, such as 0 for a link, 1 for a typed address, 5 for a search or suggestion chosen in the address bar, 7 for a form submission, 8 for a reload and 9 for a search through a keyword other than the default search engine; higher bits add qualifiers such as redirects. A typed transition is better evidence of intent than a link, but it also covers addresses chosen from suggestions.
If Chrome sync is on, visits made on the user's other devices are written to the same History database. Chromium marks such remote visits: their originator_cache_guid holds an identifier of the device the visit was made on, while local visits leave it empty. Check this column before stating that a visit happened on the phone.
Worked example: WebKit time
Chrome stores times as microseconds since 1601-01-01 00:00:00 UTC, the format often called WebKit or Chrome time. An illustrative visit_time of 13423779730250000 converts as follows: divide by 1,000,000 to get seconds since 1601 (13,423,779,730.25), then subtract the 11,644,473,600 seconds between 1601 and 1970 to get Unix time 1,779,306,130.25, which is 2026-05-20 19:42:10.250 UTC. If a tool reads the same value as Unix microseconds, it shows a date in the year 2395, a sign of a wrong epoch. visit_duration is a length in microseconds, not a date: 47000000 means 47 seconds.
Other Chromium browsers and WebView
Many browsers are built on Chromium and use the same History format in their own folders: Samsung Internet under com.sec.android.app.sbrowser/app_sbrowser/Default/ (lesson 3.7), and others such as Brave and Opera. Apps that show web pages inside themselves use Android System WebView, which keeps cookies, local storage and caches under the host app's app_webview/Default/ folder; parsers also look for a History file there, but whether one exists depends on the app. Incognito tabs are not written to History; traces of them may survive elsewhere, such as downloaded files in shared storage.
Gmail
The Gmail app (package com.google.android.gm) keeps one database per Google account, named bigTopDataDB.<number>, in its databases folder. Messages are stored in the item_messages table as zlib-compressed protobuf records holding the sender and recipients, subject, body and a time in Unix milliseconds. ALEAPP decodes these, but the field meanings come from testing, not documentation. The file shared_prefs/Gmail.xml records the active account, which links a database number to an address. Downloaded attachments are under files/downloads/<number>/attachments/. Non-Google accounts added to Gmail, such as IMAP or Exchange mailboxes, use a separate EmailProvider database in the same app.
Gmail on the phone is a cache of the server mailbox. It holds what the app synchronized, which depends on the account's sync settings and how recently the mail was opened; it is not a complete copy of the account. A message present locally shows that the account received or sent it, not that it was sent from this phone. An email deleted on the server may disappear from the cache at the next sync. The full mailbox is a cloud source (lesson 2.7).
Google Photos
Google Photos (package com.google.android.apps.photos) indexes both the photos on the device and those in the user's cloud library. Its main database is gphotos<number>.db, often gphotos0.db, in the databases folder:
- local_media lists media files on the device, with filename, filepath, a utc_timestamp in Unix milliseconds, a timezone_offset in milliseconds and the bucket (folder) ID;
- remote_media lists items in the cloud library, with their remote URL, so it can describe photos that are not on the phone at all;
- shared_media lists items shared through shared albums or conversations;
- backup_folders lists the device folders selected for backup.
Deleted items go to the Photos trash; Google's help pages give 30 days, whether or not the item was backed up. Where the app keeps the trash itself, local_trash.db records the items and the files are kept under files/trash_files/ until the trash is emptied. On Android 11 and later a deleted device item may instead be in the system trash, marked as trashed in the media provider (lesson 6.2), so check both. Thumbnail caches in cache/glide_cache and the disk_cache database can hold small copies of images viewed in the app, including cloud images and images since deleted from the device. A cached thumbnail shows that the app displayed or prepared the image, not that the photo was taken on this phone. Camera origin and EXIF analysis are covered in lessons 6.2 and 6.3.
Google Maps
Google Maps (package com.google.android.apps.maps) spreads its data over several files, mostly protobuf:
| File | What tools report from it |
|---|---|
| databases/gmm_myplaces.db | Saved and labeled places, with coordinates as E6 integers and a time in Unix milliseconds |
| databases/gmm_storage.db | Cached records, including directions URLs with start and destination coordinates |
| databases/gmm_sync.db | Synced places and people records |
| databases/da_destination_history | Destinations, with time, title and address |
| files/new_recent_history_cache_search.cs | Recent searches, with times read as Unix microseconds |
| files/saved_directions.data.cs | The last planned trip, with start and end places |
Coordinates are often stored as scaled integers. An E6 value divides by 1,000,000 and an E7 value by 10,000,000: a latitude_e6 of 38712345 is 38.712345 degrees, and an E7 latitude of 485761234 is 48.5761234 degrees. A directions record shows that a route was requested or displayed, not that it was driven.
Google Maps Timeline, formerly Location History, is now stored on each device rather than in the cloud, with an optional encrypted cloud backup, and it is off unless the user opts in. On Android, Google Play services keeps an on-device location history database, odlh-storage.db in com.google.android.gms, which ALEAPP parses into time-bounded segments and path points; the field meanings come from testing, not documentation. Lesson 6.1 places it among the other location sources and discusses its accuracy.
Applying this to the Corvane case
On Day 3 the bids are opened and Brightwell wins. In the illustrative extraction of Victor's phone, made about ten weeks after Day 1, Chrome's History shows visits to the public tender portal's results page, and keyword_search_terms holds a search for the tender's name a few days earlier. This works only because the phone was acquired within 90 days of those visits; after that Chrome would have expired them locally, and the examiner would need the account's synced history (lesson 2.7). The examiner checks originator_cache_guid: the search visit is local, but one portal visit was synced from a desktop computer signed in to the same Google account, so it is reported as an account visit, not a phone visit. Google Photos' local_media lists the three images that WhatsApp downloaded, with their file paths in shared storage, and remote_media shows that they were also backed up to Victor's cloud library, which is relevant to what the parties can request. Neither app shows where the images came from; that answer is in WhatsApp's database and in the media metadata (lessons 5.2 and 6.3).
Exam focus: Know the location of Chrome's History database and its urls, visits, keyword_search_terms and downloads tables, how to convert WebKit time and why originator_cache_guid matters. Know that Gmail's bigTopDataDB is a partial cache of the server mailbox, which Google Photos tables describe local, cloud and shared media, where Photos keeps its trash and thumbnails, how E6 and E7 coordinates convert, and where on-device Timeline data is kept.
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