Re: Retrieving contacts for remote backup in QtMoko.
Thank you very much, that works. To be exact, as it turns out my contacts are already locally saved in /home/root/Applications/Qtopia/qtopia_db.sqlite. I guess that that one is a mirror of my SIM card, as I can't remember transferring them (also pushing a new image onto the phone would have removed them before). For some reason I can't get my SIM card to show my the contacts, all I get is "OK". Well, doesn't matter as long as the qtopia_db is up to date I guess. Thanks again! On Thu, 22 Jan 2015 21:34:29 +0100 Ed Kapitein wrote: > On 01/22/2015 09:11 PM, Robert 'Bobby' Zenz wrote: > > Hello. > > > > Thank you. The contacts are on the SIM card, I already tried > > "talking" with it but my tries were a little unsuccessful and > > resulted in the modem/SIM not answering at all and locking up. My > > assumption was that that was because I tried to talk with it at the > > same time as QtMoko and its services. > > > > Do you know what the preferred way is to send commands to the SIM in > > QtMoko? Or should a "normal" serial/terminal communication program > > be enough? > >< > > You should stop qpe, so it is not using the modem anymore. > ( /etc/init.d//qpe/.sh /stop/ i believe ) > Then you can use a normal terminal program to send commands. > Minicom should work just fine. > > If the modem locks up, you can reset it with: > echo 0 > > /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-gpio.0/reg-fixed-voltage.1/gta02-pm-gsm.0/power_on > sleep 5 > echo 1 > > /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-gpio.0/reg-fixed-voltage.1/gta02-pm-gsm.0/power_on > > if > /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-gpio.0/reg-fixed-voltage.1/gta02-pm-gsm.0/power_on > > > does not exists, try > /sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-gsm.0/power_on, > > there was a change of path somewhere in the past. > > Kind regards, > Ed > > > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Retrieving contacts for remote backup in QtMoko.
On 01/22/2015 09:11 PM, Robert 'Bobby' Zenz wrote: Hello. Thank you. The contacts are on the SIM card, I already tried "talking" with it but my tries were a little unsuccessful and resulted in the modem/SIM not answering at all and locking up. My assumption was that that was because I tried to talk with it at the same time as QtMoko and its services. Do you know what the preferred way is to send commands to the SIM in QtMoko? Or should a "normal" serial/terminal communication program be enough? >< You should stop qpe, so it is not using the modem anymore. ( /etc/init.d//qpe/.sh /stop/ i believe ) Then you can use a normal terminal program to send commands. Minicom should work just fine. If the modem locks up, you can reset it with: echo 0 > /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-gpio.0/reg-fixed-voltage.1/gta02-pm-gsm.0/power_on sleep 5 echo 1 > /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-gpio.0/reg-fixed-voltage.1/gta02-pm-gsm.0/power_on if /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-gpio.0/reg-fixed-voltage.1/gta02-pm-gsm.0/power_on does not exists, try /sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-gsm.0/power_on, there was a change of path somewhere in the past. Kind regards, Ed ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Retrieving contacts for remote backup in QtMoko.
Hello. Thank you. The contacts are on the SIM card, I already tried "talking" with it but my tries were a little unsuccessful and resulted in the modem/SIM not answering at all and locking up. My assumption was that that was because I tried to talk with it at the same time as QtMoko and its services. Do you know what the preferred way is to send commands to the SIM in QtMoko? Or should a "normal" serial/terminal communication program be enough? On Thu, 22 Jan 2015 20:24:23 +0100 Ed Kapitein wrote: > On 01/22/2015 06:55 PM, Robert 'Bobby' Zenz wrote: > > Hello everyone. > > > > Does somebody know if it is possible to retrieve the contacts of the > > phone in QtMoko so that they can, f.e., be send via SSH to a remote > > system for backup? > > > >< > > Hi Bobby, > > If your contacts are stored on the phone you could try the script > from [1] > > If they are on the the SIM, you can retrieve them with an AT command > like AT+CPBR=1 > > Kind regards, > Ed > > [1] http://marc.info/?l=openmoko-community&m=127790542718546 > > > > > > > > > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Retrieving contacts for remote backup in QtMoko.
On 01/22/2015 06:55 PM, Robert 'Bobby' Zenz wrote: Hello everyone. Does somebody know if it is possible to retrieve the contacts of the phone in QtMoko so that they can, f.e., be send via SSH to a remote system for backup? >< Hi Bobby, If your contacts are stored on the phone you could try the script from [1] If they are on the the SIM, you can retrieve them with an AT command like AT+CPBR=1 Kind regards, Ed [1] http://marc.info/?l=openmoko-community&m=127790542718546 ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Retrieving contacts for remote backup in QtMoko.
Hello everyone. Does somebody know if it is possible to retrieve the contacts of the phone in QtMoko so that they can, f.e., be send via SSH to a remote system for backup? My use case is that I'm already using SSH to retrieve my messages and store them as backup and archive on my PC. I'd like to expand that to the contacts as well, but I was unable to find a way to retrieve them. Does somebody know how that might be possible? Best Regards, Bobby ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community