|
Page 1 of 2 |
|
1
2
|
Next
N900 -> SFOS Offline data migration
Hi,
I recently switched with some tears from N900 to an Xperia XA2 with Sfos 4.3.0.12 The main reasons for me to abandon the n900 is that I need: -Mms with pics (fmms not working for sending with me, sometimes receives) -Sometimes easily internet surf while I am away -Some android apps like whattsapp/telegram/signal/thema (because you can't change people...) -Maybe a stock maps/gps app -being able to show videos for work 'on the fly' I guess that with time, I will have to import lots of things from the n900 to SFOS. I am not the only one (am I?). So I thought a thread to collect solutions was perhaps an idea. First question: Calendar I searched here, on Jolla forum, on the net but didn't find what urges mostly ATM for me: How to import N900 calendar events to Sfos? What I tried: I exported the N900 datebook calendars in the n900 terminal with Code:
for line in $(maecaltool --operation list |grep -v Available |cut -f 1 -d " " );do; maecaltool --operation export --calendar $line --file "/home/user/datebook_export/"$line".ics";doneSome trick I missed? |
Re: N900 -> SFOS Offline data migration
Contacts
This was not very hard, worked after some tries: -Exported contacts from within the contacts app in the N900. -Moved to PC -Splited the file into several .vcf text files (I had approx 1500 contacts, recipes, notes... collected since my Palm Pilot) -Moved files into Sfos -Imported by clicking onto files from within the settings 'file manager'. |
Re: N900 -> SFOS Offline data migration
^ I don't remember anymore how I moved contacts but it wasn't hard.
Quote:
Quote:
will create an .ICS file (not tested). IIRC you can tap on .ICS files in SFOS and they will get imported into the current default Calendar. (SFOS has many such features that aren't selectable, labeled or documented, but simply happen when you "do the obvious thing".) That said, I have long stopped using local calendars - CalDAV and CardDAV it is for me, all the way. I need the sync with my desktop, email client etc. |
Re: N900 -> SFOS Offline data migration
Thanks nonsuch for the fast answer.
Hm, I thought it was mandatory to do thinks in terminal to be a real member. ;--) So simple... Gonna try asap. |
Re: N900 -> SFOS Offline data migration
No, I tried to export from N900 datebook GUI as well as command line.
The .ics files are made correctly. When clicking on the file in Sfos, calendar says it imported them correctly but nothing happens and events are not there. Also after a reboot. I then tried to import the n900 generated files in Thunderbirds calendar. Events are displayed correctly in thunderbird. Then, export to .ics and import again in Sfos. No events. Gonna explore the online way but it seems complicated to me. |
Re: N900 -> SFOS Offline data migration
Maybe you can find answer searching the net about sfos not being able to get .ics files.
https://together.jolla.com/question/...fish-x-on-xa2/ It may not be a problem only from N900 to your sailfish device. |
Re: N900 -> SFOS Offline data migration
Or can there be something like this in the file:
"Notes for some reason puts a lot of END:VCALENDAR and BEGIN:VCALENDAR statements throughout the .ics file. When iCal hits the first "END" statement it stops importing and ignores the rest of the file. I did a search and delete for all such statements (except those at the beginning and end of the file), and everything imported." This is an apple product problem but could be the same with you. |
Re: N900 -> SFOS Offline data migration
One solution maybe for contacts which you already got:
"From what I see in the People App in my Experia, there's a wizard that may let you import them directly from the files you already have. These are the steps I followed: Settings App --> Scroll Down to "Apps" --> Select "People" --> Either select "Start Import Wizard" or "From Contact File" I guess the option "From contacts file" should work straight forward..... |
Re: N900 -> SFOS Offline data migration
Another possible reason:
"Depending where the ICS file is located, this may be an issue with the application isolation. Sailjail is only authorizing the following directories: $HOME/Documents and $HOME/android_storage/Documents, $HOME/Downloads and $HOME/android_storage/Downloads, $HOME/Music, $HOME/Playlists, $HOME/android_storage/Music and $HOME/android_storage/Podcasts, $HOME/Pictures, $HOME/Images, $HOME/android_storage/Pictures and $HOME/android_storage/DCIM, $HOME/Public, $HOME/Videos and $HOME/android_storage/Movies. Everything out of these directories will raise an error in the importation dialog." More about this in here: https://forum.sailfishos.org/t/bug-4...s-file/7988/14 |
Re: N900 -> SFOS Offline data migration
Thank you Maemish for your researches.
The problem probably sat in some formats errors and file length. I finally managed to import all the 7000 events. Before to import the events, you can create several calendars following the instructions on this page:https://talk.maemo.org/showthread.php?t=92788 You can also change the calendars color as the available color variety within Sfos Calendar is poor enough. Keep a terminal open while you import your calendar files to control the total number of entries: Code:
devel-su sqlite3 /home/defaultuser/.local/share/system/privileged/Calendar/mkcal/dbCode:
select count(*) from Components;-Export .ics files from the N900 with one of the command line or calendar preferences method. -Open these files in the PC and verify the encoding (I had to chose 8859-1 to avoid accents problems later) -Split the file/each file to approx 15'000 lines (maybe working with bigger files, I didn't search for the limit) -Import them to an online calendar service which can import/export ics files -Export them from the online calendar service to the Sfos device (at this step, it seems the files can be bigger). -Click on each file from within Settings -> Storage ... and they will import into the calendar. I did not choose to sync the events through the network between Sfos and the web service. Doing so, the events are also written into the Calendar database but shown only if the account is active. It seems to me too fragile. Too many dependencies. I prefer to have all in local, persistent even if I loose my account data and so on. I also tried the same method but with Thunderbird Calendar instead of the web service. Files imported (said the phone) but no events in the database nor in the Calendar. |
| All times are GMT. The time now is 14:04. |
Page 1 of 2 |
|
1
2
|
Next
vBulletin® Version 3.8.8