Copy media, pictures, video in recovery mode
Hi,
Is there any guide how to copy media, pictures, video in recovery mode to your PC in shell?
Would be great to have.
We have moved to a new Sailfish OS Forum. Please start new discussions there.
Hi,
Is there any guide how to copy media, pictures, video in recovery mode to your PC in shell?
Would be great to have.
answered 2014-03-18 17:10:33 +0200
This post is a wiki. Anyone with karma >75 is welcome to improve it.
This hasn't been tested with actual recovery mode, but I did something similar last night. This method requires you to have microSD card (and for me, it was formated as vfat). Once you've telnetted to your device:
mkdir /mnt/my_home
mkdir /mnt/sdcard
mount -t btrfs -o subvol=@home /dev/mmcblk0p28 /mnt/my_home
# This is where all of your personal settings, videos/pictures/music files are located at. Including account details, phone books and text-messages.
mount /dev/mmcblk1p1 /mnt/sdcard
cp -a /mnt/my_home/nemo /mnt/sdcard/
# copies the whole nemo-folder to your sdcard..
I'll leave this as wiki, so this can be updated and fixed if necessary.
Another option is to chroot into the phone's system and send all contents of /home/nemo to your own machine using the scp
-command. This is a bit more complicated though.
Hello,
Sounds good to copy to SD.
My problem is that I have my phone stuck in strange screen mode and have to restet it to facory settings after the copy of media.
Will the factory reset delete the SD card as well?
Another thing is that I dont have the developer mode on, can I SSH in to the phone anyway?
sjpilis ( 2014-03-18 17:31:10 +0200 )editFactory reset shouldn't delete anything from the SD card, and you can ensure this by removing it before doing factory reset.
By "recovery mode" you are talking about this, right?
Milo ( 2014-03-18 19:43:28 +0200 )editThis is how I restored my files. Caution: it's not yet confirmed whether 1.0.3.8 /home/nemo has any notable file changes which can cause issues on 1.0.4.20. All I can say is that I haven't had any issues, yet.
devel-su
mkdir -p /mnt/sdcard
# This is only because default mount point for your sdcard includes unique identifermount /dev/mmcblk1p1 /mnt/sdcard
# Same as above.mv /home/nemo /home/nemo_reseted
cp /mnt/sdcard/nemo /home/
After reboot your ambiences, system sounds, text-messages, call logs, account settings and all that should be just like they were before boot.
Milo ( 2014-03-20 12:48:03 +0200 )editThis thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2014-03-18 15:30:01 +0200
Seen: 580 times
Last updated: Mar 18 '14
cannot copy a file from Documents to PC
[Feature-request] Track & protect my Jolla
What screen protectors are/will be available for Jolla device? [not relevant]
optional encryption of the device
Dialpad visible as default [duplicate]
Browsing device over USB confusing and very slow (using KDE)
USB PC connection (Ubuntu 13.10) doesn't work [answered]
Copy / paste entries in Calendar
If you can achieve starting sshd from the shell in recovery mode, it might be possible to use scp to copy stuff.
Timo ( 2014-03-18 16:56:40 +0200 )edit