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

Recovery and Shell on XA2+ how to navigate to android_storage [answered]

asked 2019-10-21 23:17:16 +0200

nerip gravatar image

updated 2019-10-22 13:12:17 +0200

Hi (I'm kind of a newbie with linux commands)

i've experiencing a boot problem on my XA2 Plus (boot until logo SONY and boot stop), so i used the recovery mode and check the filesystem but didn't solve the booting process :

4
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  2 logical volume(s) in volume group "sailfish" now active
e2fsck 1.45.0 (6-Mar-2019)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
root: 46943/153600 files (0.2% non-contiguous), 445325/640000 blocks
e2fsck 1.45.0 (6-Mar-2019)
home: recovering journal
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong (1596420, counted=1596419).
Fix? yes

Free inodes count wrong (895066, counted=895065).
Fix? yes


home: ***** FILE SYSTEM WAS MODIFIED *****
home: 138183/1033248 files (1.7% non-contiguous), 3005437/4601856 blocks
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  0 logical volume(s) in volume group "sailfish" now active
Done

I've then accessed the shell via telnet on OSX (even if not documented yet), but where is everybody?

I would like to save my Android Storage folder on my Sd Card but can't find anyone, only this with the "ls -l" :

drwxr-xr-x    2 root     root             0 Jul 13  2019 bin
drwxr-xr-x    4 root     root             0 Jan  1  1970 config
drwxr-xr-x    9 root     root          6960 Mar 29 14:48 dev
drwxr-xr-x    5 root     root             0 Mar 29 14:42 etc
-rwxr-xr-x    1 root     root          4634 Jul 13  2019 init
drwxr-xr-x    3 root     root             0 Jul 13  2019 lib
drwxr-xr-x    2 root     root             0 Jul 13  2019 mnt
dr-xr-xr-x  493 root     root             0 Jan  1  1970 proc
drwxr-xr-x    3 root     root             0 Jul 13  2019 res
drwxr-xr-x    2 root     root             0 Jul 13  2019 root
drwxr-xr-x   32 root     root          4096 Dec 29 03:59 rootfs
drwx------    3 root     root             0 Mar 29 14:42 run
drwxr-xr-x    2 root     root             0 Jul 13  2019 sbin
dr-xr-xr-x   13 root     root             0 Mar 29 14:42 sys
drwxrwxrwt    2 root     root            40 Mar 29 14:42 tmp
drwxr-xr-x    6 root     root             0 Jul 13  2019 usr
drwxr-xr-x    6 root     root             0 Mar 29 14:42 var

could someone help me save my files before reflashing the unit?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Spam Hunter
close date 2019-10-23 11:18:07.708904

Comments

Don't know whether this thread helps at all:link text

aspergerguy ( 2019-10-22 08:39:15 +0200 )edit

3 Answers

Sort by » oldest newest most voted
1

answered 2019-10-23 11:01:34 +0200

nerip gravatar image

updated 2019-10-23 11:01:56 +0200

Hi the answer from Jolla zendesk (thanks to them) :

/ # mkdir -p  /mysd
/ # mkdir -p  /myhome
/ # mount  /dev/mmcblk1p1  /mysd    
/ # mount  /dev/sailfish/home /myhome

and it was mounted and i was able to save my files. Thanks everyone

edit flag offensive delete publish link more
0

answered 2019-10-22 08:51:00 +0200

mSorvisto gravatar image

https://together.jolla.com/question/203539/guide-externalising-android_storage-and-other-directories-files-to-sd-card/ in comments of this question path seems to be /home/.android/data/media/0.

edit flag offensive delete publish link more
0

answered 2019-10-22 11:34:57 +0200

coderus gravatar image

updated 2019-10-22 11:35:33 +0200

mount /dev/sailfish/home /rootfs/home

or to any other folder you want

edit flag offensive delete publish link more

Comments

what i've got is :

/ # mount /dev/sailfish/home /rootfs/home
mount: mounting /dev/sailfish/home on /rootfs/home failed: Device or resource busy
nerip ( 2019-10-22 22:39:29 +0200 )edit

Question tools

Follow
2 followers

Stats

Asked: 2019-10-21 23:17:16 +0200

Seen: 465 times

Last updated: Oct 23 '19