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

    How to export UT contacts from contacts.db without a working phone?

    Scheduled Pinned Locked Moved Solved Support
    2 Posts 1 Posters 268 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
        dad_and_alive
        last edited by

        Alas, my Nexus 5 didn't get to celebrate it's symbolic 10 year anniversary, I can't get it to boot any longer.

        While waiting for a new UT device I have to 'go Lineage' for a moment. And I was hoping to find a way to import, directly or indirectly, the -salvaged just in time- contacts.db file into Android.

        Any ideas? Can for instance syncevolution be run outside of UT?

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          dad_and_alive @dad_and_alive
          last edited by dad_and_alive

          Ok, it was much easier than I believed. I just had to

          • query the contacts.db (I used DB Browser for SQLite) as select vcard from folder_id;.
          • select all results, copy and paste them into a text file and save this file as contacts.vcf.
          • open this file in Android, confirming that contacts need to be imported.
          1 Reply Last reply Reply Quote 4
          • D dad_and_alive has marked this topic as solved on
          • First post
            Last post