UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Reasons for slow Phone and Messaging app initialization

    Scheduled Pinned Locked Moved Solved Support
    3 Posts 3 Posters 264 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • D Offline
        doktorcaligari
        last edited by doktorcaligari

        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

        alt text

        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.

        lduboeufL 1 Reply Last reply Reply Quote 0
        • D doktorcaligari has marked this topic as solved on
        • lduboeufL Offline
          lduboeuf @doktorcaligari
          last edited by

          @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...

          KenedaK 1 Reply Last reply Reply Quote 0
          • KenedaK Offline
            Keneda @lduboeuf
            last edited by

            @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.

            2015-2023 : Meizu MX4 ☠️⚰️✝️
            2023-2024 : Nexus 5 ☠️⚰️✝️
            2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
            🇲🇫🇬🇧

            1 Reply Last reply Reply Quote 0
            • First post
              Last post