If I am making a call (blue arrow) or if I missed a call (red arrow), it keeps showing in phone calls / history after rebooting n900.
If I receive a call (green arrow), it keeps showing till I reboot.
As soon as I reboot, it shows all missed and dialed calls, but most of the received calls are not showing.
I checked manually in database el-v1.db, there I see events, groupcache, remotes etc table. but I could not find what is causing this problem.
There I see latest received record entry in events table with service_id 1, event_type_id 1 and outgoing 0. Also I see few entry in remotes table under for that particular received call number in remote_uid column.
Can anybody help me in finding the cause of this issue? which columns / tables are included or used to show call log / history? or what is the query that phone call / log is using?
I wish to get an answer as this problem is preventing me from viewing latest received call history and deleting an existing el-v1.db is not feasible....
I've found that at times the db can get corrupted or badly fragmented, and this fixes most issues (and nukes old cruft...) The new file is often significantly smaller than the old one, as it compacts it as it goes.
You can actually run the command as user, in which case there is no need for a chmod.
As for keeping the logs, I generally keep a backup of my database with glogger, it's a reasonably stable app in the repos. It provides a way to archive all the data in that particular database in another file. It also creates CSV files, allows searches based on user, keywords, dates and several other filtering methods.