What still works with the Android 11 Contacts app is the following:
- go to Settings -> Export ... - just select the G contacts provider for export - take note of the filename - say -
- go to Settings -> Import ... - select P contacts provider as import destination and select the previously exported file
- in the main view, select just the G provider via the menu in the top right corner
- Select all via the
⋮ (vertical elipsis) top right menu
- Delete all via tapping the trash can symbol
End result: all remaining G contacts are moved to the P contacts provider
There is no need to edit the exported
.vcf file, since you want to move all remaining G contacts.
Editing would only be necessary if you want to split/filter/edit the exported contacts into multiple files before importing (only a subset of) them again. This isn't a big deal if you have a real text editor, since the format is relatively straight forward, as long as you just (re-)move complete
END:VCARD blocks, edit plainly encoded field values or completely remove fields.
Note that it's advised to re-import the contacts via the same app that you've used to export them since many VCF implementations are known to have compatibility issues with each other.
See also for example:
Do not use the .vcf files exported by Android's Contacts app for any other
purpose than importing again to the same Android Contacts app! Those .vcf
files are using an ancient vCard format (vCard 2.1) and contain syntax
errors. There are good chances that contacts will be corrupt when you try to
import these .vcf files anywhere else.
DAVx5 DAVcal/DAVcard Android provider app FAQ