Anyone know how to import contacts with a .csv file?



  • I can't figure it out.



  • I think there is no way, as there is no standardized format for contacts in csv. If you export your contacts to a .vcf vCard format instead though, you can simply open it from the File Manager app and select Contacts to open it with.



  • I think you can import your csv-file into for example Thunderbird (or maybe there is an online-converter for this) and then export it from there to a vcf-file.
    This vcf-file can be imported into the phone. In Terminal-App you can import and export with the following commands.
    Import:

    syncevolution --import /home/phablet/Documents/utcontacts.vcf backend=evolution-contacts
    

    Export:

    syncevolution --export /home/phablet/Documents/utcontacts.vcf backend=evolution-contacts
    


  • Oh man ! Thank you @kristatos ! Given the amount of times I had to reflash my FP2 from the ground on, this command is extremely precious ! Last time I did save my contacts I had to go to recovery, adb shell in the phone, pull sth like "contacts.db" , and push it back the exact same way after the installation...


Log in to reply