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.
/data/data/com.android.providers.contacts/databases/calllog.db
contacts2.db
andprofile.db
.find . -type f -name "calllog.db"
shows me such a file does not exist anywhere under/data/data/
.contacts2.db
ortelephony.db
. A trick is to useinotify
to watch for changed files when you make a call.