Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to transfer configuration and data to another phone?

    General
    4
    9
    212
    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.
    • ogogon
      ogogon last edited by

      Colleagues, tell me, please, what should I do in order to transfer the phone settings and data (address book, SMS, history) to a new device?

      In my opinion, this is quite important information, but I did not find any FAQ or HowTo on this topic. If I haven't been looking well, tell me where it is.

      Is there any information about where and in what format this data is stored?

      Ogogon.

      Keneda 1 Reply Last reply Reply Quote 0
      • Keneda
        Keneda @ogogon last edited by Keneda

        @ogogon
        Adress book can be found in :

        .local/share/evolution/adressbook/system
        

        You'll find in it "contact.db" wich contains contact infos, and maybe a "photos" folder if you put pictures for some contacts.

        In "evolution" folder you'll find other stuff you can save, as tasks, calendars, or such.

        SMS/MMS data can be found in :

        .local/share/history-service
        

        There is "history.sqlite" wich contains messaging threads, and "attachments" folder, wich contains... attachments ^^

        @ogogon said in How to transfer configuration and data to another phone?:

        (address book, SMS, history)

        Not sure what you're talking about with "history".

        2015-Now : Meizu MX4 (ubp OTA-22) for daily use
        Spare : Nexus 5

        K ogogon 3 Replies Last reply Reply Quote 0
        • K
          kugiigi @Keneda last edited by

          @keneda Calls and SMS is at ~/.local/share/history-service 😉

          Keneda 1 Reply Last reply Reply Quote -1
          • Keneda
            Keneda @kugiigi last edited by Keneda

            @kugiigi
            Oh yes, bad edited my copy/paste of first location, thanks for insight.
            Plus i didn't know there is also calls in history.sqlite.

            2015-Now : Meizu MX4 (ubp OTA-22) for daily use
            Spare : Nexus 5

            1 Reply Last reply Reply Quote 0
            • ogogon
              ogogon @Keneda last edited by

              @keneda said in How to transfer configuration and data to another phone?:

              @ogogon
              Adress book can be found in :

              .local/share/evolution/adressbook/system
              

              You'll find in it "contact.db" wich contains contact infos, and maybe a "photos" folder if you put pictures for some contacts.

              Thanks. Indeed, there are entries in the contact.db database that correspond in number and content to the address book.

              Is it enough just to copy this file to the new phone to the same place?

              K 1 Reply Last reply Reply Quote 0
              • ogogon
                ogogon @Keneda last edited by

                @keneda said in How to transfer configuration and data to another phone?:

                SMS/MMS data can be found in :

                .local/share/history-service
                

                Unfortunately, I did not find the content of my SMSs in the history.sqlite database, only a huge number of very strange links.
                I think you are confusing something...

                Keneda jezek 2 Replies Last reply Reply Quote 0
                • Keneda
                  Keneda @ogogon last edited by Keneda

                  @ogogon said in How to transfer configuration and data to another phone?:

                  Is it enough just to copy this file to the new phone to the same place?

                  It should be.

                  @ogogon said in How to transfer configuration and data to another phone?:

                  I think you are confusing something...

                  No i'm not 😉
                  You can search the forum and you'll see.
                  For instance : https://forums.ubports.com/topic/441/history-sqlite-reconstruct-threads?_=1652668008566

                  2015-Now : Meizu MX4 (ubp OTA-22) for daily use
                  Spare : Nexus 5

                  1 Reply Last reply Reply Quote 0
                  • K
                    kugiigi @ogogon last edited by

                    @ogogon You can also export your contacts to vcf file and import it to your new phone. There's an export function in the settings page For importing, I think you need to open the vcf file from the file manager.

                    @ogogon said in How to transfer configuration and data to another phone?:

                    @keneda said in How to transfer configuration and data to another phone?:

                    SMS/MMS data can be found in :

                    .local/share/history-service
                    

                    Unfortunately, I did not find the content of my SMSs in the history.sqlite database, only a huge number of very strange links.
                    I think you are confusing something...

                    We're sure it's there. Did you open the sqlite database? Check all the tables ☺

                    1 Reply Last reply Reply Quote 0
                    • jezek
                      jezek @ogogon last edited by

                      @ogogon said in How to transfer configuration and data to another phone?:

                      Unfortunately, I did not find the content of my SMSs in the history.sqlite database, only a huge number of very strange links.
                      I think you are confusing something...

                      The messages are in text_events table. This is what my phone returns if asked for last text message (text & numbers redacted):

                      phablet@ubuntu-phablet:~$ sqlite3 .local/share/history-service/history.sqlite 
                      SQLite version 3.11.0 2016-02-15 17:29:24
                      Enter ".help" for usage hints.
                      sqlite> select * from text_events order by eventId desc limit 1;
                      ofono/ofono/account0|+401901123456|2022-05-16T20:12:57+0200-18|+401901123456|2022-05-16T18:12:57.000Z|0|This is the redacted text of the message.|0|0|||0|2022-05-16T18:12:57.000Z
                      sqlite> 
                      
                      

                      jEzEk

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