0

Phone is a Samsung Galaxy E5 SM-E500m (lte, dual chip, codename e5lte). Android version 5.1.1 "lollipop" Stock ROM.

I pulled the database file from /data/data/com.android.providers.contacts/databases/contacts2.db and tried to inspect it with both the DB Browser for SQLite and also the sqlite3 command-line tool.

The file is 1.7MiB in size. It has 42 tables.

From my research efforts, I was hoping to be able to see the call log in the calls table; but it is empty (0 records).
Other tables in this db file all appear to have data.

I also checked the file over /data/data/com.android.providers.telephony/databases/telephony.db but it does not appear to contain call logs (only 4 tables: android_metadata, carriers, siminfo and sqlite_sequence).

Where else can I potentially find the call logs for this device?

The call log is shown correctly in the Phone app.

Thank you.

Marc.2377
  • 464
  • 3
  • 8
  • 23
  • /data/data/com.android.providers.contacts/databases/calllog.db – Irfan Latif Jun 14 '19 at 01:48
  • @IrfanLatif it's not there. I only got contacts2.db and profile.db. – Marc.2377 Jun 14 '19 at 02:50
  • In fact find . -type f -name "calllog.db" shows me such a file does not exist anywhere under /data/data/. – Marc.2377 Jun 14 '19 at 02:53
  • Ok then it was added later, exists on Pie. Don't have a lollipop device to help you exactly. May be some extra column in some table of contacts2.db or telephony.db. A trick is to use inotify to watch for changed files when you make a call. – Irfan Latif Jun 14 '19 at 06:35
  • Possible duplicate of https://android.stackexchange.com/questions/41455/where-is-the-data-for-contacts-storage-located – Bo Lawson Jun 14 '19 at 08:23

0 Answers0