maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   HOWTO: Importing SMS messages from Nokia phones to N900 (https://talk.maemo.org/showthread.php?t=37354)

matts76 2010-05-15 16:19

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Hi, i know this is a little off topic but im hoping someone here can help me.
When sending messages over a certian size to my gf they somehow get f*cked up with part of old messages (even long deleted ones) stuck on to the end of them, ive saved and exported all my messages to my memory card then deleted the original conversations but im still getting the same problem.
My questiom is what command do i need to totaly delete all traces of old sms messages?
I'm hoping this will sort itself out when i flash ota to pr1.2, my laptop is totaly knackered so i cant use the flasher tool anymore,
so for now my plan is to archive and delete my text messages regularly in the hope that this will stop it until i find a permanent solution.
I would really appreciate any help.
Thanks

zmolnr 2010-05-20 11:17

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Hi All, I'm pretty new to maemo, would you pretty appreciate some help. Almost finished the importing, but received the error, when running run-standalone.sh ./smsimporter sms.csv:
error while loading shared libraries: librtcom-eventlogger.so.o: cannot open shared object file.

Thanks in advance.

Zoltan

mr_jrt 2010-05-22 21:52

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Hi all, I've been evaluating a N900, and so far it's simply awed me.

I'm a bit miffed about how poorly PC-Suite handles SMS messages on the N900 though, and the lack of MMS support pains me :(

Anyway, I've just got the importer to work, and it's quite simply awesome. I'm looking to upgrade because my N95 runs out of memory when opening my inbox, and this has shown me the N900 is up to the task.

However, I've had a lot of backup-edit-restore cycles on my N95, and looking into the csv generated, most of my older recieved messages have text strings in the incoming field, not phone numbers. As such, conversations does not like them at all. The text appears in the summary in the main conversations list, but loading them up results in a blank window.

Examples are things like:
Code:

sms|deliver|"T-Mobile"|""|""|"2007.09.10 12:34"|""|"Your remaining Flext allowance...<snip>...text STOP to 48666."
sms|deliver|"Prowse Karen"|""|""|"2007.09.11 14:08"|""|"All done xx"
sms|deliver|"My Nokia"|""|""|"2007.12.17 11:39"|""|"Tip: To find & enter a symbol (e.g. $ or @) when writing an SMS, just press * and select the symbol you want."

Now, "Karen Prowse" exists in my contacts, but all the messages from her are in "lastname, firstname" form, and the code, as far as I can see, expects only phone numbers, and that aside, when matching to a contact, doesn't look for the "lastname, firstname" form.

I'll have a go myself (it's an excuse to put the compiler on the N900 I'm using ;)), but it'd be good if the original author could have a go too as I've no experience of maemo :)

Dibcsi 2010-05-25 18:40

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Hi.

Unfortunatelly this app doesn't works with new pr1.2 phone swversion, because in the new phonesw doesn't contain librtcom-eventlogger.so.0.
In the new ver there is only librtcom-eventlogger.so.1.
Could somebody update this smstool sw to the new environments ?

Thanks.

Saturn 2010-05-28 23:18

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Also with PR1.2 a new schema comes for the SMS DB. It now recides to /home/user/.rtcom-messaging/el-v1.db (previously was el.db).

Emjay 2010-06-10 19:26

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
At first, thanks very very much for creating this aid.

Ok, after that.... growl! Somehow I can't get it to work. It all works well up untill

Code:

run-standalone.sh ./smsimporter sms.csv
I get the following errormessage

Code:

error while loading shared libraries: librtcom-eventlogger.so.0: cannot open shared object file: No such file or directory.
I've been looking around a bit what it meant, but I can't really find it. I hope some one here can help me out.

[Knuckles] 2010-06-11 10:48

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Quote:

Originally Posted by Emjay (Post 709318)
At first, thanks very very much for creating this aid.

Ok, after that.... growl! Somehow I can't get it to work. It all works well up untill

Code:

run-standalone.sh ./smsimporter sms.csv
I get the following errormessage

Code:

error while loading shared libraries: librtcom-eventlogger.so.0: cannot open shared object file: No such file or directory.
I've been looking around a bit what it meant, but I can't really find it. I hope some one here can help me out.

I think you're having the same problem as post #164: smsimporter needs to be recompiled for PR1.2.

Emjay 2010-06-11 12:02

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Ah lol, I missed that one.

Does anyone have a recompiled version that works for PR1.2?

DavidB7237 2010-06-16 05:23

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Hey..

great stuff.. but, I have like over 700 Sent and Received SMS's that were on my old N97. I had always synced at the end of the day with Ovi Suite. All SMSs are stored in the program and I have sold my N97 and got the N900. Ovi Suite doesn't support N900, so I use PC Suite..

I want to find a way to get those SMSs into my N900....!!!

Emjay 2010-06-16 13:08

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
You have the same problem I have then. You can use this programm, but it's not working with PR1.2 yet. So we'll have to wait for a new version of it.

DavidB7237 2010-06-16 18:30

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Tried everything, no luck

Could be there more details on how to do that?!

DavidB7237 2010-06-16 19:39

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Quote:

Originally Posted by ziller (Post 501064)
When you copy files to your device, they land in /home/user/MyDocs/. The file manager is limited to this folder (and its subfolders) and cannot see files or directories outside it. You can also not execute any binaries that are within /home/user/MyDocs, that is why you have to move them to your /home/user/ folder first.

In xterm:
Code:

cp /home/user/MyDocs/smsimporter /home/user/
cp /home/user/MyDocs/sms.csv /home/user/
chmod +x /home/user/smsimporter
cd /home/user/
run-standalone.sh ./smsimporter sms.csv


And no need to blame Nokia on this, they have nothing to do with the sms importing tools posted here - it's all a community effort ;)

Ok, here's what I did:

1- connected via USB on Mass Storage Mode.
2- Moved the "smsimporter" file that has no extension and the sms.csv file (no edits made on the file content regarding semi-colons) to N900 main Directory (which is when you first open N900 on Windows)
3- typed each line in X-Terminal and pressed enter each time
I got no msgs at all, everytime I press enter the next line is like this "~ $ " ready to enter the next command.
however after entering the "run-standalone.sh ./smsimporter sms.csv" I get this msg:

" .lsmsimporter: error while loading shared libraries: librtco-eventlogger.so.0: cannot open shared object file:No such file or directory"

what is wrong?!!!

[Knuckles] 2010-06-17 08:13

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Quote:

Originally Posted by DavidB7237 (Post 718056)
however after entering the "run-standalone.sh ./smsimporter sms.csv" I get this msg:

" .lsmsimporter: error while loading shared libraries: librtco-eventlogger.so.0: cannot open shared object file:No such file or directory"

what is wrong?!!!

smsimporter does not work with PR 1.2, and no developer with a maemo dev environment has stepped up to provide an updated version (I'm guessing a straight recompile might do it).

mamruoc 2010-06-18 09:31

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
I can confirm that smsexporter doesn't work either in PR1.2

DavidB7237 2010-06-18 09:42

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
no update?!

matrim 2010-06-18 20:12

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
2 Attachment(s)
I've rebuild the source from post 104 in the PR1.2 sdk.

I haven't tested this so use at your own risk

DavidB7237 2010-06-18 20:34

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Quote:

I've rebuild the source from post 104 in the PR1.2 sdk.

I haven't tested this so use at your own risk
it says " ./smsimporter: line1: syntax error: "(" unexpected "

btw, I only copy smsimporter file to N900. Makefile and smsimporter.c I never used! is that alright?

matrim 2010-06-18 20:52

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
1 Attachment(s)
My fault. I built it against the x86 target.

This new version is build against the armel target and will run on the n900

DavidB7237 2010-06-18 21:12

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Awesome... totally worked... thx
name displayed and time line is right..

Note: I changed it back to comma "," instead of semi-colon ";"
it told me " error prasing line #linenumber. so with Comma it worked fine..

Issues:
1- all sent and received are under the contact tha twas sent to. every msg I sent is displayed as if I received it not as sent (not saying "you")
and something to note, when exported the sms file and tried to edit it, I only found "sms,deliver," there were no "sms,submit," how to fix it?!

2- all my sent msgs are incomplete. only the first 2 words are displayed
why?!?!

DavidB7237 2010-06-18 21:33

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
I had all my msgs stored in my old N97. I had always sync with my Ovi Suite, so I have all my msgs stored in Ovi Suite. N900 doesn't support Ovi Suite.
what I did was connect another phone to Ovi Suite (Nokia 6120). I moved all wanted msgs to the phone. I then connected it to PC Suite and Exported msgs as a csv file..
(it's weird Ovi shows msgs in conversation style, just like N900. and N900 isn't supported by Ovi.. is there an update to support Ovi?!)

EDIT: trying to export only sent by applying rules

BN900 2010-06-18 22:54

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Quick question: imported messages are added to existing conversations? In proper order?

Thanks again :)

DavidB7237 2010-06-18 22:57

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
ok, I tried to edit them to submit, the ones I sent, but they don't get imported. instead I get empty msg!!

how do I import Sent and received msgs and show them as a a proper conversation "sent and received"???

Emjay 2010-06-24 12:09

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
I just noticed Ovi Suite 2.2 is gonna support the N900 better. Including messaging. Hopefully I can import them with Ovi suite now :D

fleetn900 2010-07-13 13:04

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Hi,

How do I actually use SMSExporter.

I have the program saved to my home directory and can execute it as root,

sudo ./smsexporter

but I don't see any output - where is the output saved?

Keyur1800 2010-07-19 15:05

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Really heartly thanks buddy

arab_freak 2010-07-23 13:16

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Could someone please help me out? I've tried searching through the first few pages of this thread but to no avail. I copied my messages and the smsimporter into the root of my n900, but all I get is a "directory does not exist" error.

Here's what I type into X Terminal:

cd /home/user
cp MyDocs/smsimporter MyDocs/sms.csv .
chmod +x smsimporter ls-l

A lot of text appears after this (I typed ls-l to try avoiding the "permission denied" error) and I type in the last step:

run-standalone.sh ./smsimporter sms.csv

Only to get a "no such file or directory" error. What the hell am I doing wrong? I copied everything to the root of my n900 as posted, and I still get this stupid error.

arab_freak 2010-07-24 15:30

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Bump?

-------------------------

nicolai 2010-07-24 22:43

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
This
Quote:

Originally Posted by arab_freak (Post 762185)
cd /home/user
cp MyDocs/smsimporter MyDocs/sms.csv .
chmod +x smsimporter ls-l

aren't the right commands. Look for example in this message

http://talk.maemo.org/showthread.php...064#post501064

nicolai

seema.mawi 2010-07-26 16:51

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Quote:

Originally Posted by rmoravcik (Post 430075)
1. download smsimporter-bin.tar.gz from attachment and unpack it on your PC
2. connect your N900 using USB cable in "Mass storage mode"
3. copy extracted smsimporter and your sms messages directly to device
4. disconnect USB cable
5. open X terminal
6. enter these commands:
cd /home/user
cp MyDocs/smsimporter MyDocs/sms.csv .
chmod +x smsimporter
run-standalone.sh ./smsimporter sms.csv
Please make backup of your messages in N900 before importing your old SMS messages.

Hi rmoravcik,

I tried following the steps which you have posted however I'm getting an error, cp: cannot stat 'MyDocs/smsimporter' : No such file or directory as soon as I typed cp MyDocs/smsimporter MyDocs/sms.csv .

Can you let me know what's missing here?

arab_freak 2010-07-26 16:54

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Quote:

Originally Posted by nicolai (Post 763623)
This


aren't the right commands. Look for example in this message

http://talk.maemo.org/showthread.php...064#post501064

nicolai

I'm sorry but because I'm a total noob I don't know how to move my files to the home/user folder. Is it a directory I can access through my computer? I've used my Wifi router to get into the phone's system before to replace some icons with custom ones I downloaded. Are they in there? Because so far I only have the extracted smsimporter files and my csv contacts file in the root.

Thanks a lot. :)

seema.mawi 2010-07-27 17:48

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Quote:

Originally Posted by ziller (Post 501064)
When you copy files to your device, they land in /home/user/MyDocs/. The file manager is limited to this folder (and its subfolders) and cannot see files or directories outside it. You can also not execute any binaries that are within /home/user/MyDocs, that is why you have to move them to your /home/user/ folder first.

In xterm:
Code:

cp /home/user/MyDocs/smsimporter /home/user/
cp /home/user/MyDocs/sms.csv /home/user/
chmod +x /home/user/smsimporter
cd /home/user/
run-standalone.sh ./smsimporter sms.csv


And no need to blame Nokia on this, they have nothing to do with the sms importing tools posted here - it's all a community effort ;)

I tried the above steps and my x-terminal screen is full of errors stating "Error parsing Line:525". I'm getting this error after I entered the command, run-standalone.sh ./smsimporter sms.csv

Help please....

arab_freak 2010-07-27 23:36

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Quote:

Originally Posted by arab_freak (Post 765419)
I'm sorry but because I'm a total noob I don't know how to move my files to the home/user folder. Is it a directory I can access through my computer? I've used my Wifi router to get into the phone's system before to replace some icons with custom ones I downloaded. Are they in there? Because so far I only have the extracted smsimporter files and my csv contacts file in the root.

Thanks a lot. :)

Alright, so I tried doing it myself and I've managed to move them to home/user using WinSCP and the MAD-developer app. I still get the same damn error message telling me the directory doesn't exist. Help? :(

nicolai 2010-07-28 00:11

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Quote:

Originally Posted by arab_freak (Post 767138)
Alright, so I tried doing it myself and I've managed to move them to home/user using WinSCP and the MAD-developer app. I still get the same damn error message telling me the directory doesn't exist. Help? :(

Which directory does not exist?
If you have moved the files to /home/user already, you don't need
the command
cp /home/user/MyDocs/smsimporter /home/user/
anymore.
But
chmod +x /home/user/smsimporter
cd /home/user/
run-standalone.sh ./smsimporter sms.csv
To verify that all files are there,
ls -l /home/user/smsimporter
ls -l /home/user/sms.csv

nicolai

arab_freak 2010-07-28 01:50

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Quote:

Originally Posted by nicolai (Post 767170)
Which directory does not exist?
If you have moved the files to /home/user already, you don't need
the command
cp /home/user/MyDocs/smsimporter /home/user/
anymore.
But
chmod +x /home/user/smsimporter
cd /home/user/
run-standalone.sh ./smsimporter sms.csv
To verify that all files are there,
ls -l /home/user/smsimporter
ls -l /home/user/sms.csv

nicolai

:confused: I STILL keep getting that damn "cannot open shared object file: No such file or directory" error message. And I used the ls -l command to verify their location before I started the opeartion and it was there.

Do I have the wrong file or something? I only copied the two smsimporter files (one had a blank file extension, the other was smsimporter.c), a file called "MakeFile" and my sms.csv file into the home/user directory. What's wrong? :(

nicolai 2010-07-28 10:04

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Be sure you have the latest version from the smsimporter
(post number 178)

arab_freak 2010-07-28 12:17

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Quote:

Originally Posted by nicolai (Post 767565)
Be sure you have the latest version from the smsimporter
(post number 178)

Tried that, after the last command the "~ $" symbols appear slowly one after the other and no more text appears to confirm the operation. No messages appear in the conversations app either.

Please help, I'm desperate. :(

seema.mawi 2010-07-29 00:00

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
Quote:

Originally Posted by seema.mawi (Post 766719)
I tried the above steps and my x-terminal screen is full of errors stating "Error parsing Line:525". I'm getting this error after I entered the command, run-standalone.sh ./smsimporter sms.csv

Help please....

Please someone help me why am i getting this error?i really need my old sms....

mason 2010-07-30 21:20

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
@matrim can you build the exporter to for 1.2? highly appreciated...

matrim 2010-08-01 12:05

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
2 Attachment(s)
Here's the smsexporter. This is built from the code in the first post so I don't know if it's up to date and I haven't tested it myself.

Fremark 2010-08-05 16:29

Re: HOWTO: Importing SMS messages from Nokia phones to N900
 
"Tried that, after the last command the "~ $" symbols appear slowly one after the other and no more text appears to confirm the operation. No messages appear in the conversations app either."


Same problem for me :( Is the last smsimporter compatible with 1.2?


All times are GMT. The time now is 17:35.

vBulletin® Version 3.8.8