We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2014-05-05 17:45:37 +0200 |
So i let my little cousin play with my phone and tada, its in permanent lock mode now. I booted up the phone in recovery mode and was able to ssh via USB, since i do know my unlock code.
Is there anyway to copy my recent backup file to my pc? Or to remove the lock?
Currently im inspecting recovery-menu.sh script in /usr/bin but im not really a gnu\linux pro. I think i need to mount something first, since i can't find the nemo user.
Help much appreciated
I don't want to save my data, or send it to Jolla for OoW Repair.
2 | No.2 Revision |
So i let my little cousin play with my phone and tada, its in permanent lock mode now.
now..
I booted up the phone recently made a backup with the integrated Function, so i wanted to save that & the pictures made since then etc.
Start device in recovery mode and was able to ssh via USB, since i do know my unlock code.
Is there anyway to copy my recent Recovery mode https://together.jolla.com/question/22079/howto-all-pc-users-recover-or-reset-a-device-that-is-stuck-in-boot-loop/
Enter 4 for Shell
Enter your pin
Do bklid and note the first part, example output .. /dev/mmcblk1p1: UUID="B474E96674E92BB4" LABEL="SDCARD" TYPE="vfat" ..
Edit /etc/fstab and add following line: /dev/mmcblk1p1 /mnt/SDCARD vfat rw,defaults 0 0 This is an example for a Fat32 partition (note the vfat), you have to use the TYPE which blkid returned you
Enter this command: mkdir /mnt/SDCARD
Do mount /dev/mmcblk1p1
Enter following commands: MOUNT_DIR=/mnt
ROOT=$(cat /proc/cmdline | sed -e "s/ /\n/g" | grep ^root= | cut -d "=" -f2)
mount -o subvolid=0 $ROOT $MOUNT_DIR
Now you have your SD Card under /mnt/SDCARD and your home directory under /mnt/@home
Copy the files you need with cp command
If you want to save the backup file to my pc?
Or to (.vault) do this:
tar cf /mnt/SDCARD/vault.tar -c /mnt/@home/nemo/.vault
Now shut down your phone (take out battery + USB) and remove the lock?
Currently im inspecting recovery-menu.sh script in /usr/bin but im not SDCard
Go into Recovery mode again
Make a factory reset
Start phone and enable developer mode + SSH
Use a SCP program (i used winscp) to copy your documents + pictures, also copy the vault.tar file to the user home (~)
Unpack the tar tar -xvf vault.tar
Go to ~/mnt/\@home/ and use mv to copy the .vault folder into the home (~)
Do a restore
Im really a gnu\linux pro.
I think tired, i need to mount something first, since i can't find the nemo user.
Help much appreciated
I don't want to save my data, shall retype this all, or send it to Jolla for OoW Repair.at least correct the many typo's.
Hope this hels