Reasons for slow Phone and Messaging app initialization
-
reposting from an old thread: https://forums.ubports.com/topic/1548/the-first-use-of-the-dialing-program-the-upper-left-corner-is-always-shown-in-the-initialization-why/14
In some situations you can have the phone and messaging apps initialize very slowly (a few seconds) displaying the message "Initializing..." before they allow any interaction.
Also for messaging the browsing of past messages becomes slow and buggy.
I think I might have found the reason for this. Reposting what I said:
*Last week, while trying to solve an unrelated bug (the one that prevented OTA updates), I accidentally wiped out my phone userdata. I reinstalled ubports to the last OTA, and it was working fast and efficiently.
However, once I put back some backups and logs from the phone, the issue appeared again. I did some detective work and the issue lies when I put back the history.sqlite file with the calls and messaging logs (in .local/share/history-service).
My file is 2.6MB. If I put it there, I get the Initializing... message for a few seconds. If I delete the file, it initializes in less than half a second, the phone is much more responsive.
So my suggestion would be to archive your history.sqlite file (if you care for your phone calls and text messages history) and then delete it if you can afford it, it will solve the issue.*
Hope this helps. Its a pity that we can't keep older records in the phone though.
-
-
@doktorcaligari said in Reasons for slow Phone and Messaging app initialization:
In some situations you can have the phone and messaging apps initialize very slowly (a few seconds) displaying the message "Initializing..." before they allow any interaction.
Also for messaging the browsing of past messages becomes slow and buggy.Have you noticed an issue with cellular ?
According to the history database model, even a big database should not makes the app slow to start. But if clearing the db works for you, makes me doubt now... -
@lduboeuf
I have a 3.4 Mb history.sqlite file and yes, phone app take more or less 3 seconds to initiate.But not to the point making app unusable or a pain to use it.