Re: How to transfer SMS from your old phone?

2009-11-23 Thread Ben Wong
On Sun, Nov 22, 2009 at 3:05 AM, Paul Fertser fercer...@gmail.com wrote:
 When the calypso is off (and it's always off unless GSM resource is
 requested), it's perfectly ok to swap SIM cards.

Thanks, Paul!  That's exactly the information I was looking for.  I'll
try this next time,

$ mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage \
  org.freesmartphone.Usage.SetResourcePolicy GSM disabled

[ Swap SIM here, unless previous command failed ]

$ mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage \
  org.freesmartphone.Usage.SetResourcePolicy GSM auto

--Ben

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: How to transfer SMS from your old phone?

2009-11-22 Thread Paul Fertser
Ben Wong lists.openmoko@wongs.net writes:
 By the way, the slowest part of the process was rebooting the
 FreeRunner between each SIM.  I didn't want to risk my FreeRunner by
 hot-swapping the SIM (and SD card since that's in the way).  Does
 anyone know if it would have been safe to do that?

When the calypso is off (and it's always off unless GSM resource is
requested), it's perfectly ok to swap SIM cards. And no, SD card is
under the SIM, so it shouldn't be a problem. Just do not forget to
connect to usb or wallcharger because you'll need to take out the
battery.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: How to transfer SMS from your old phone?

2009-11-22 Thread Torfinn Ingolfsen
Hi,

On Fri, Nov 20, 2009 at 10:07 AM, Jan Vlug jan.pub...@famvlug.nl wrote:

 I would like to transfer my old SMSes from my previous Windows Mobile
 phone to my Openmoko FreeRunner. I vaguely remember to have seen
 instructions on a user page on the wiki about how to do this. But I
 cannot find this page any more.

 Please, let me know how to do this if you know.


Generalized instructions, will possibly work with most phones:

1) export the data

- direct way: use the phone built in tools to export / transfer the messages
out to a file or somesuch
  SMS Exporter[1] or Mobile Express[2] can probably be used (never had a
windows phone, never used any tool)

- indirect way: connect the phone to a computer (PC) and use the phone tools
on the PC to export the messages to a file or...

2) import the data on the Openmoko phone
- find and use an existing tool that will import messages
- or write your own

References:
1) http://www.seiz.ch/en/projects/WindowsMobile/index_html/SMSExporter
2) http://www.efficasoft.com/mobileexpress/

-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


How to transfer SMS from your old phone?

2009-11-20 Thread Jan Vlug
Hi all,

I would like to transfer my old SMSes from my previous Windows Mobile
phone to my Openmoko FreeRunner. I vaguely remember to have seen
instructions on a user page on the wiki about how to do this. But I
cannot find this page any more.

Please, let me know how to do this if you know.

Thanks,
Jan.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: How to transfer SMS from your old phone?

2009-11-20 Thread Ben Wong
My older brother, a world traveler, had a box full of SIM cards from
which he wanted to back up all the old SMS and address books.  We used
my FreeRunner to do it using a quick hack script I wrote that dumps
the info to a text file.  The result was not in UTF-8, so I wrote a
tiny C program to fix it.  I'm sure my method could be vastly
improved, but this works.  I've pasted them below for everyone's
enjoyment.

By the way, the slowest part of the process was rebooting the
FreeRunner between each SIM.  I didn't want to risk my FreeRunner by
hot-swapping the SIM (and SD card since that's in the way).  Does
anyone know if it would have been safe to do that?

--Ben

- Start backupsim.sh -
#!/bin/sh

exec 1simbackup-$(date '+%Y-%h')

echo GetSimInfo
mdbus -s org.freesmartphone.ogsmd \
/org/freesmartphone/GSM/Device \
 org.freesmartphone.GSM.SIM.GetSimInfo
echo

for book in $(mdbus -s org.freesmartphone.ogsmd \
/org/freesmartphone/GSM/Device \
 org.freesmartphone.GSM.SIM.ListPhonebooks \
| tr ',' '\n' | egrep -o '\w*')
do
echo $book
mdbus -s org.freesmartphone.ogsmd \
/org/freesmartphone/GSM/Device \
 org.freesmartphone.GSM.SIM.RetrievePhonebook \
$book
echo
done

mdbus -s org.freesmartphone.ogsmd \
/org/freesmartphone/GSM/Device \
 org.freesmartphone.GSM.SIM.RetrieveMessagebook 'all'

 End of backupsim.sh 

 Start sim2utf8.c 

#include stdio.h
main() {
  int c;
  char h[3];

  while ((c=getchar()) != EOF) {
if (c== '\\') {
  c=getchar();
  if (c!='x') {
putchar('\\');
putchar(c);
continue;
  }
  c=hexme (getchar(), getchar());
  putchar(c);
  continue;
}
putchar(c);
  }
}

int hexme(int x, int y) {
  if (x= '0'  x='9')
x=x-'0';
  else
x=x-'a'+10;

  if (y= '0'  y='9')
y=y-'0';
  else
y=y-'a'+10;

  return x+16*y;
}
 End of sim2utf8.c 

P.S.  I pasted the text instead of using MIME attachments (or an
external web site) because I'd like this to be google-able.



On Fri, Nov 20, 2009 at 1:07 AM, Jan Vlug jan.pub...@famvlug.nl wrote:
 Hi all,

 I would like to transfer my old SMSes from my previous Windows Mobile
 phone to my Openmoko FreeRunner. I vaguely remember to have seen
 instructions on a user page on the wiki about how to do this. But I
 cannot find this page any more.

 Please, let me know how to do this if you know.

 Thanks,
 Jan.

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community