How do I import SIM card contacts?
#5
I'm not aware of any app solution for this yet (there very well may be one, I haven't searched), but you can access the SIM card's phonebook through AT commands. Check out the section on "AT+CPBR" in the modem's command reference. You could write a little script that parses and formats the command output into a vcf file (or do it by hand) and then import that with evolution.

Example of reading the first phonebook entry of the SIM card using mmcli (ModemManager) to send AT commands:
Code:
mmcli -m any --command='AT+CPBR=1'
 
edit: To read all entries (maximum number of entries might vary, not sure, check the supported indices with 'AT+CPBR=?'):
Code:
mmcli -m any --command='AT+CPBR=1,250'
  Reply


Messages In This Thread
RE: How do I import SIM card contacts? - by kqlnut - 01-20-2022, 06:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't add micro SD card to Pinephone thorensjubilee 7 2,622 02-27-2023, 10:21 AM
Last Post: mikehenson
Question Problem with booting from SD card. Several errors LittleStone 0 855 09-04-2022, 02:34 PM
Last Post: LittleStone
  nextcloud contacts are duplicating Uturn 1 1,874 10-24-2021, 01:35 AM
Last Post: user641
Question Backing up contacts prior to OS reinstall danimations 3 2,557 09-27-2021, 03:35 AM
Last Post: kqlnut
  How to import contacts into the phone book app? nelstomlinson 8 6,994 07-18-2021, 03:26 AM
Last Post: Gary2003
  PinePhone Beta Edition will not boot from MicroSD card Timothy_Ecc 8 7,416 04-30-2021, 03:42 PM
Last Post: Timothy_Ecc
  Contacts not Importing mdshell 1 2,243 03-30-2021, 02:24 AM
Last Post: acrux
  Manually mount SD card in running system? lsitongia 3 3,792 03-03-2021, 11:27 AM
Last Post: lsitongia
Sad Cannot play songs directly from SD card SameExpert 2 3,102 01-25-2021, 04:33 AM
Last Post: SameExpert

Forum Jump:


Users browsing this thread: 2 Guest(s)