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

    How to transfer configuration and data to another phone?

    Scheduled Pinned Locked Moved General
    9 Posts 4 Posters 709 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.
      • ogogonO Offline
        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.

        KenedaK 1 Reply Last reply Reply Quote 0
        • KenedaK Offline
          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-2023 : Meizu MX4 ☠️⚰️✝️
          2023-2024 : Nexus 5 ☠️⚰️✝️
          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
          🇲🇫🇬🇧

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

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

            KenedaK 1 Reply Last reply Reply Quote -1
            • KenedaK Offline
              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-2023 : Meizu MX4 ☠️⚰️✝️
              2023-2024 : Nexus 5 ☠️⚰️✝️
              2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
              🇲🇫🇬🇧

              1 Reply Last reply Reply Quote 0
              • ogogonO Offline
                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
                • ogogonO Offline
                  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...

                  KenedaK jezekJ 2 Replies Last reply Reply Quote 0
                  • KenedaK Offline
                    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-2023 : Meizu MX4 ☠️⚰️✝️
                    2023-2024 : Nexus 5 ☠️⚰️✝️
                    2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                    🇲🇫🇬🇧

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      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 :smiling_face:

                      1 Reply Last reply Reply Quote 0
                      • jezekJ Offline
                        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