Ask / Submit
7

Android's default SD card path broken in SFOS 3.2.0

asked 2019-11-11 01:47:57 +0200

olf gravatar image

updated 2019-11-11 01:53:52 +0200

There are dangling symlinks WRT the SD-card in SailfishOS:

# ls -l /sdcard
lrwxrwxrwx 1 root root 21 1970-10-18 09:49 /sdcard -> /storage/self/primary
# ls -la /storage
total 8
drwxr-xr-x  2 root root 4096 1970-10-18 08:49 .
drwxr-xr-x 33 root root 4096 1972-03-19 10:16 ..
lrwxrwxrwx 1 root root 7 1970-10-18 09:49 sdcard0 -> /sdcard
#

As /storage/self/primary obviously does not exist, both symlinks point to nowhere!

This seems to be one part of the reason, why many file utilities for Android show a pretty void directory by default (OI Filemanager as an example): OI Filemanager screenshot

But likely some other misconfiguration causes the Android runtime environment to point Android apps to /storage/sdcard0.

Observed with SailfishOS 3.2.0.12 on an Xperia X.

edit retag flag offensive close delete

Comments

2

Do you think this observation covers the "Pictures/videos on SD card are not visible to Android apps." issue mentioned here?

svistak ( 2019-11-11 02:59:48 +0200 )edit

I have no idea, which technical issue Jolla intends to address with that statement, it far too "high-levelish".
Note, that this also is not true (technically): With a proper Android file-manager (e.g. OI Filemanager) everything (the whole file-system) is accessible as usual.

Why are you asking / what is your concern?

olf ( 2019-11-11 16:21:35 +0200 )edit

You have already seen (and commented on) my thread, but I'll link it here in case anyone is interested.

svistak ( 2019-11-12 03:06:24 +0200 )edit

The question "3.2.0.1 on XA2 Dual SIM: SD-Card in Android" might be identical to @svistak's, as already noticed.

olf ( 2019-11-13 02:26:39 +0200 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2019-11-18 14:40:24 +0200

svistak gravatar image

Do you think this issue might be remedied by correcting the symlinks manually? I am eager to try, but don't want to mess up my system even more...

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
6 followers

Stats

Asked: 2019-11-11 01:47:57 +0200

Seen: 318 times

Last updated: Nov 18