[Xperia + Jolla 1] Migrating problems to the xperia (Update every step)
asked 2017-10-29 12:51:30 +0200
This post is a wiki. Anyone with karma >75 is welcome to improve it.
TL;DR: I'm having a hard time migrating to the xperia. Restore backup doesn't work. Any tips?
Hi All,
I have installed Sailfish X on my Xperia. Now I want to transfer/migrate everything (well 99%) of what is on my Jolla 1 tot the Xperia.
I have tried loading the backup on my Xperia but it keeps hanging on importing the messages. So no contacts or call history gets imported.
But if this worked I still have to export the Ambiance, I have all of other half. And how do I export my whatsapp conversations to the new device.
I can't find any guide to help with this. And Jolla doesn't offer any graphical export only import.
I'm probably not the only one with this problem. I think a lot of people with a Jolla 1 are planning to switch.
Best regards, ddh
p.s. I'm happy to use cmd and ssh to sync.
Updates:
- The "old" ambienses are made to have a architecture. So no joy coping them. Made a bug-report/feature-request for this. @Edz had a good comment will try this.
- Did a full copy of /home/nemo Between the devices. I copied the content to my PC using scp and uploaded to the Xperia using scp.
ToDo
- Restore backup without issues.
- Copy ambiences
- [DONE] Move all user files, Android storrage, downloaded files, documents, ...
Ad 1.
I was able get a logfile from the backup restore process.
cat sailfish_backup_2017-10-29T10-33-49Z_restore_log.txt
Status = Preparing
[UI] Preparing to restore files from /media/sdcard/7CAA-1741/sailfish_backup_2017-10-29T10-33-49Z.tar
Preparing to restore units: Accounts, Browser, Calendar, Gallery, Media, Messages, Notes, People, Phone from /media/sdcard/7CAA-1741/sailfish_backup_2017-10-29T10-33-49Z.tar
Status = LoadingArchive
[UI] Extracting data from backup file
Start: tar --exclude */*/*/* -tf /media/sdcard/7CAA-1741/sailfish_backup_2017-10-29T10-33-49Z.tar
Done: tar [OK]
Standard out was:
./
./Accounts/
./Accounts/blobs/
./Accounts/data/
./Browser/
./Browser/blobs/
./Browser/data/
./Calendar/
./Calendar/blobs/
./Calendar/data/
./Gallery/
./Gallery/blobs/
./Gallery/data/
./Media/
./Media/blobs/
./Media/data/
./Messages/
./Messages/blobs/
./Messages/data/
./Notes/
./Notes/blobs/
./Notes/data/
./People/
./People/blobs/
./People/data/
./Phone/
./Phone/blobs/
Mount archive /media/sdcard/7CAA-1741/sailfish_backup_2017-10-29T10-33-49Z.tar to /home/nemo/.local/share/system/privileged/Backups-tmp/mount/sailfish_backup_2017-10-29T10-33-49Z
Start: archivemount -o allow_other -o nosave /media/sdcard/7CAA-1741/sailfish_backup_2017-10-29T10-33-49Z.tar /home/nemo/.local/share/system/privileged/Backups-tmp/mount/sailfish_backup_2017-10-29T10-33-49Z
Done: archivemount [FAILED] Exit code: 1
Standard error was:
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
[ERROR] 3 Process exited with non-zero exit code or status, quitting.
Status = Finalizing
[UI] Finalising operation
Unmount /home/nemo/.local/share/system/privileged/Backups-tmp/mount/sailfish_backup_2017-10-29T10-33-49Z
Start: fusermount -u /home/nemo/.local/share/system/privileged/Backups-tmp/mount/sailfish_backup_2017-10-29T10-33-49Z
Done: fusermount [FAILED] Exit code: 1
Standard error was:
fusermount: failed to unmount /home/nemo/.local/share/system/privileged/Backups-tmp/mount/sailfish_backup_2017-10-29T10-33-49Z: Device or resource busy
Ignoring fusermount process failure on cleanup
Status = Finished
Removing working files in /home/nemo/.local/share/system/privileged/Backups-tmp/mount/sailfish_backup_2017-10-29T10-33-49Z
wser/data --home-dir /home/nemo
Done: vault-browser [OK]
Status = UnitScriptFinished
Running unit script Calendar (3 of 9)
Status = UnitScriptStarted
[UI] Reading data
Start: /usr/libexec/jolla-vault/units/vault-calendar --action import --name Calendar --bin-dir /home/nemo/.local/share/system/privileged/Backups-tmp/mount/sailfish_backup_2017-10-29T10-33-49Z/Calendar/blobs --dir /home/nemo/.local/share/system/privileged/Backups-tmp/mount/sailfish_backup_2017-10-29T10-33-49Z/Calendar/data --home-dir /home/nemo
Done: vault-calendar [OK]
Status = UnitScriptFinished
Running unit script Gallery (4 of 9)
Status = UnitScriptStarted
[UI] Reading data
Start: /usr/libexec/jolla-vault/units/vault-gallery --action import --name Gallery --bin-dir /home/nemo/.local/share/system/privileged/Backups-tmp/mount/sailfish_backup_2017-10-29T10-33-49Z/Gallery/blobs --dir /home/nemo/.local/share/system/privileged/Backups-tmp/mount/sailfish_backup_2017-10-29T10-33-49Z/Gallery/data --home-dir /home/nemo
Done: vault-gallery [OK]
Status = UnitScriptFinished
Running unit script Media (5 of 9)
Status = UnitScriptStarted
[UI] Reading data
Start: /usr/libexec/jolla-mediaplayer/vault-mediaplayer --action import --name Media --bin-dir /home/nemo/.local/share/system/privileged/Backups-tmp/mount/sailfish_backup_2017-10-29T10-33-49Z/Media/blobs --dir /home/nemo/.local/share/system/privileged/Backups-tmp/mount/sailfish_backup_2017-10-29T10-33-49Z/Media/data --home-dir /home/nemo
Done: vault-mediaplayer [OK]
Status = UnitScriptFinished
Running unit script Messages (6 of 9)
Status = UnitScriptStarted
[UI] Reading data
Start: /usr/libexec/jolla-vault/units/vault-messages --action import --name Messages --bin-dir /home/nemo/.local/share/system/privileged/Backups-tmp/mount/sailfish_backup_2017-10-29T10-33-49Z/Messages/blobs --dir /home/nemo/.local/share/system/privileged/Backups-tmp/mount/sailfish_backup_2017-10-29T10-33-49Z/Messages/data --home-dir /home/nemo
On to the next step.
I had no problem restoring a backup from my Jolla 1 to the Xperia. Which version of SFOS do you use on the Jolla 1?
ossi1967 ( 2017-10-29 14:10:05 +0200 )editI thought Whatsapp conversations were held on Whatsapp servers not on your phone - do I have that wrong?
As for ambience and as the owner of a J1, you should be able to download and install ambience via terminal on your SonyX, using such commands;
pkcon install ambience-the-first-one
- this works if you are actually the owner of The First One TOH and so on, this means you can still use the ambience even if you lost/sold/broken your original TOH.....having said that, some of the earlier ambience will look a bit odd on XperiaX I think, as the wallpaper dimension are 540w X 1600h px.If some inexplicable reason you cannot download your ambience on your SonyX, then you could rebuild the RPM package on your J1 using 'rpmrebuild' from openrepos, this does what it says on the tin, rebuilds the package into an RPM, send RPM to SonyX device, install, smile move on with your life :)
p.s. I don't own a SonyX.........yet, so your mileage may vary according to what I've said above.
Spam Hunter ( 2017-10-29 14:20:51 +0200 )edit@ossi1967 My 1 is 2.1.2.3 and the xperia is 2.1.3.5? But I get stuck and can't force the phone to go to the next step... Do you know of a cmd I can use?
@Edz Thanks I'll try that. There are a lot to try. No the "old" ambiences aren't listed. If I search I only find the new ones. I'm working on seeing where the differences are in the repo's.
DDH87 ( 2017-10-29 14:26:08 +0200 )editWhatsapp messages/files/backups are in the 'Whatsapp' folder in the Android folder on your SDcard. Just copy the whole folder to your new device, and then install whatsapp AFTER that. On first start it will ask you if you want to restore the backup . It is also possible that you enabled cloud backup in Whatsapp, then it's easier to restore but you should not do so if you value your privacy(although using Whatsapp in the first place isn't helping).
yomark ( 2017-10-29 14:46:30 +0200 )edit@DDH87 So you have the same version on the Jolla 1 as I have. Strange. I thought the OS version on the Jolla 1 might be a problem because often backup/restore isn't possible between versions. But it worked for me in the exact same configuration you have. So my idea was obviously wrong. :(
ossi1967 ( 2017-10-30 12:56:09 +0200 )edit