Originally Posted by ssyap
Finally, after searching high and low for this conversion, I'm able to get all my contacts back. Pain in the ass trying all sorts of method usuing the app but none of them work appropriately. Thanks for sharing guys!
P/S: editing the line 43 will help to eliminate the error.
Found this thread when searching for a way to convert a .db to a .vcf or any other way to import my .db contacts to my phone. I had performed a contacts backup using Huwaei All Backup, then rooted my phone and installed a custom rom, of course, not thinking that I was getting rid of probably the only backup/restore app that uses that filetype.
My solution was fairly simple. I found the All Backup apk but it of course wouldn't install on the phone, so I installed Bluestacks android emulator on the pc and was able to install All Backup on that. I then had to install dropbox on Bluestacks to allow me to move my .db to the virtual sd card, fired up All backup, performed a restore using my .db, then on Bluestacks used an app called Go Contacts to backup all contacts, which created a .vcf file, which I copied over to dropbox, copied over to my phones sd card, and used Go Contacts to restore.
More complicated than it should have been? Yes.
From now on, my contacts can stay synced with Gmail.
But overall the process took about 10 min including all the installs and whatnot, which isn't so bad considering I figured I was going to have to manually input my contacts one by one.
Hopefully someone looking to import a .db file into their phone's contacts will find this 'method' useful.