We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-05-05 17:45:37 +0200

Permanent Device Lock - In Recovery mode - Save Data?

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.

[HOWTO] Permanent Device Lock - In Recovery mode - Save Data?Recover your Data onto SDCard (IF you know the pin)

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.

  1. 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/

  2. Enter 4 for Shell

  3. Enter your pin

  4. Do bklid and note the first part, example output .. /dev/mmcblk1p1: UUID="B474E96674E92BB4" LABEL="SDCARD" TYPE="vfat" ..

  5. 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

  6. Enter this command: mkdir /mnt/SDCARD

  7. Do mount /dev/mmcblk1p1

  8. 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

  9. Now you have your SD Card under /mnt/SDCARD and your home directory under /mnt/@home

  10. Copy the files you need with cp command

  11. 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

  12. 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

  13. Go into Recovery mode again

  14. Make a factory reset

  15. Start phone and enable developer mode + SSH

  16. Use a SCP program (i used winscp) to copy your documents + pictures, also copy the vault.tar file to the user home (~)

  17. Unpack the tar tar -xvf vault.tar

    1. Go to ~/mnt/\@home/ and use mv to copy the .vault folder into the home (~)

    2. 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