How To: use save sms to text file script for non-technical users

asked 2015-02-01 21:22:33 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2015-02-01 21:22:33 +0300

DavidJ gravatar image

This is how I got this to work via my Windows 8 laptop

I copied the script text [https://together.jolla.com/question/54249/how-to-saving-sms-text-conversations/] (Answer 2) and pasted it into Notepad. I saved it as sms-dump.txt and then renamed the file as sms-dump.sh

I connected my Jolla to laptop via USB and copied sms-dump.sh to Downloads folder in Phone Menu.

I enabled Developer Mode on Jolla and made SSH connection using Remote Terminal.

At the Jolla prompt I changed to bin directory

cd /bin

and then copied sms-dump.sh

cp /home/nemo/Downloads/sms-dump.sh .

In order to remove erroneous characters from the file (caused by copying from Windows) I used this command to create a new, clean version of sms-dump.sh

cat sms-dump.sh | col -b > sms-dump2.sh

In order to convert the new file sms-dump2.sh from text to executable, I ran the following

chmod 755 sms-dump2.sh

The new file, named sms-dump2.sh is the one I used to create the SMS output. At the prompt

sms-dump2.sh > ~/Downloads/allmessages.txt

I then copied allmessages.txt to my PC.

I'm sure that this could be done and described more elegantly but it worked for me.

edit retag flag offensive close delete