Reply
Thread Tools
Posts: 9 | Thanked: 2 times | Joined on Mar 2011 @ Freiburg / Germany
#31
When i do it so, i get 'Permission denied'. I tried to change rights for this file with chmod, but i will not change it.
 
Posts: 120 | Thanked: 279 times | Joined on Sep 2009 @ Perth, Australia
#32
After today's Sailfish OS update I decided to switch to the Jolla as my primary phone. These utilities worked beautifully - thanks merlin1991!

Last edited by mattaustin; 2013-12-31 at 16:38.
 
Posts: 53 | Thanked: 104 times | Joined on Jan 2011 @ Veska, Czech Rep.
#33
I've hacked an old smsexporter program to work with newer rtcom-eventlogger DB format (used on recent versions of N900 FW) and output CSV format which can be imported in Jolla.

So, you can export SMS messages from your N900 by using:

Code:
n900export <filename>
e.g.:
Code:
$ ./n900export sms_backup.csv
(it must be run as normal user, not as root)

and then use generated file with Merlin's jollaImport to import SMS messages to your Jolla.

Please note I'm not a C programmer and this is just a quitck&dirty hack. So please check the generated file whether the format looks okay and backup Jolla's history DB before importing.

But it worked fine for me, I've transfered about 2000 of SMS messages without problem.
Attached Files
File Type: gz n900export.tar.gz (5.5 KB, 150 views)

Last edited by jamar; 2014-01-01 at 16:51.
 

The Following 6 Users Say Thank You to jamar For This Useful Post:
Posts: 61 | Thanked: 31 times | Joined on Mar 2011 @ Germany
#34
when I use the command "n900export" on N900, it says "not found" although I copied the bin to /home/user/ as well as the .cvs files I got from Nokia communication centre, am I doing something wrong?

Last edited by xkkkx; 2013-12-31 at 17:14.
 
Posts: 11 | Thanked: 12 times | Joined on May 2012
#35
Originally Posted by xkkkx View Post
when I use the command "n900export" on N900, it says "not found" although I copied the bin to /home/user/ as well as the .cvs files I got from Nokia communication centre, am I doing something wrong?
You need to either put the bin into a directory in your $PATH (e.g. /usr/bin/) or you call it with the whole path i.e.
Code:
/home/user/n900export <csv-file>
You can check you $PATH by doing a
Code:
echo $PATH
in the terminal.

Last edited by lokimotive; 2013-12-31 at 19:52.
 

The Following User Says Thank You to lokimotive For This Useful Post:
Posts: 61 | Thanked: 31 times | Joined on Mar 2011 @ Germany
#36
Thanks, however, now I am getting a message "permission denied" even as su on Jolla, why is that?
 
zlatko's Avatar
Posts: 861 | Thanked: 936 times | Joined on Feb 2010 @ Bulgaria
#37
@xkkkx
Look several posts above - use develsh command!

EDIT: On Jolla? I missed that. Are you sure you have all the right permissions setup for the import script? Do
Code:
chmod 777 <file>
EDIT1: Copy and paste here exactly the commands and the error message.
EDIT2: Change the permission on the script file itself. Looks like it is not executable. Run:
Code:
 ls -l /home/nemo/Documents/ |grep jollaImport
and then(if permission not correct)

Code:
chmod 777 jollaImport

Last edited by zlatko; 2013-12-31 at 22:09.
 

The Following User Says Thank You to zlatko For This Useful Post:
Posts: 61 | Thanked: 31 times | Joined on Mar 2011 @ Germany
#38
develsh command does not work on Jolla, I am getting the "permission denied" message on my Jolla, even after "devel-su" command... I am already done with the n900 part.
EDIT: I did like you suggested: chmod 777 smsbackup.csv
and then ./jollaImport -s smsbackup.csv
and the same message came:
Code:
bash: /home/nemo/Documents/jollaImport: Permission denied
EDIT1: great, that was the problem, thanks for your help and a HAPPY NEW YEAR!!!

Last edited by xkkkx; 2013-12-31 at 22:48.
 
Posts: 228 | Thanked: 100 times | Joined on May 2010 @ Australia
#39
Firstly, thankyou for the exporter! I was using smsbackup and it suffered from the libcommhistory bug - really annoying.

Secondly, I am wondering is it possible to export the messages to match the timezone set for the phone, not GMT?

I see how to do it now, using Qt::SystemLocaleLongDate but I do not have the scratchbox installed. :-)

EDIT: Scratchox installed and locatime used for exported sms's.

Last edited by skyjumper; 2014-01-05 at 10:37. Reason: extra info
 
Posts: 7 | Thanked: 2 times | Joined on Dec 2013 @ Switzerland
#40
Great stuff! Successfully transferred 1500+ SMS form N9 to Jolla :-)
 
Reply


 
Forum Jump


All times are GMT. The time now is 04:50.