I have a phone whose screen broke, but I'd like to export its contacts to .vcf
so I can import them to another phone. I usually do this with the built-in import/export function in the Contacts app overflow menu, but without a screen it is inaccessible. Is it possible to do this via adb?
-
Does your phone support OTG? If so, you could plug in a mouse to control/click on the screen to do the backup, then either upload to a cloud location or boot to recovery, and use adb pull to pull the backup file off of the device to your computer. – DukeSilversJazz Jun 5 '17 at 15:33
-
2Similar question here: android.stackexchange.com/questions/25646/… – esQmo_ Jun 5 '17 at 16:26
-
A root method: android.stackexchange.com/a/215426/218526 – Irfan Latif Jan 6 '20 at 16:09
Yes and no, if your screen is working, you can use an org cable or a microusb to USB adapter and plug a mouse into your phone. Works like a dream. If you have no visual display that is another matter.
- You must have already enabled usb debugging
- You must have already connected the phone to your computer and verified it.
It's extremely difficult
If you have done the above then you send the adb pull request to the correct location, and with that recieved file you will have to do a couple things.
- Find out the correct format for your phone's contacts db.
- Figure out the correct conversation script to convert to new phones db format
- Send converted file to new phone
Edit Forgot to mention you missy have already rooted your phone to access the contacts file
Easiest Solution Just make sure your contacts are backed up to and linked to your gmail email.