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

vlc cannot access sd-card [answered]

asked 2019-03-14 19:09:10 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2019-03-15 00:43:38 +0200

olf gravatar image

i installed the vlc player which works fine but it if i create the link to the music folder on the sd-card vlc says the folder doesn't exist. No problem with QuasarMX to access the music folder on the sd-card.

I tried to add the folder /run/media/sdcard/ or /media/sdcard/ but always a notice "folder not found" from vlc. There is only the internal folder visible so i think, vlc (or other android apps) cannot see the sdcard


Sony Xperia XA2

Sailfish OS 3.0 Build

Device Adaption

VLC 3.1.0 loaded from Aptoide Store (from Marketplace)

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by francko
close date 2019-04-28 15:14:13.330037


Hi, could you be a bit more specific e.g. what phone/OS version (Sailfish X for Xperia X or Xperia XA2-variants...or the mighty "old" Jolla1 or JollaC/IntexAF)? Have you encrypted your SD-card, what kind of card and format? I guess you use Android version of VLC-player, right? These infos would be helpful to help you :-)

Marti Masa K ( 2019-03-14 19:31:07 +0200 )edit

sorry Marti, just added the infos

francko ( 2019-03-14 20:29:28 +0200 )edit

i remember the same happening ... for me, symlinking individual files worked, but clearly thats not a solution!

pigg ( 2019-03-14 21:18:11 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2019-03-14 21:51:52 +0200

zuyev gravatar image

updated 2019-03-14 21:52:57 +0200

This is due to the beta version of Sailfish X for Xperia XA2.


Aliendalvik Android™ support - General


No access to SD card.

edit flag offensive delete publish link more


ok, no problem to wait until the official version of Sailfish X for Xperia XA2 is out. In the meantime the gallery plays the videos and QuasarMX deals with the music :-)

francko ( 2019-03-16 18:44:08 +0200 )edit

answered 2019-03-15 11:49:49 +0200

nas gravatar image

What I do and works some years now, even when all other solutions like sympoblic link weren't working (currently my SailfishX is version Nurmonjoki - XperiaX):

I have a symbolic link from the actual mounted path of the SD ( /run/media/nemo/XXXXXXXX-XXXX-XXXX-XXXXXXX ) to the /home/nemo/mysd . Not sure if it was automatically generated or I did it. If there isn't you can try create it using from terminal the following command:

ln -s /run/media/nemo/XXXXXXXX-XXXX-XXXX-XXXXXXX /home/nemo/mysd

You only do that once, and it works after that for the same SD card. Replace the XXXXXXXX-XXXX-XXXX-XXXXXXX with the directory name you will find in the directory /run/media/nemo - or doing in terminal

mount | grep /dev/mmcblk1p1

Then, let's say you have the dir MOVIES in your SD-card and you want it appear in the android, run from command line:

mount -o bind /home/nemo/mysd/MOVIES/ /home/nemo/android_storage/sdcard/

if directory /home/nemo/android_storage/sdcard/ does not exist, create it.

Have in mind, android support must be up and running in order this to work.

You do that once every boot. I suppose you could make it happen automatically on every boot, but I prefer to do it manually (last phone uptime was ~130 days for me , so I am ok with that). This is how I do it:

I have installed the application "ShellEx" , I think it is in jolla store, and even it hasn't been updated for years, it still works! I created a shell script as the following:

    systemctl start aliendalvik.service

sh -c "echo ROOTPASS | devel-su -c  mount -o bind /home/nemo/mysd/MOVIES/ /home/nemo/android_storage/sdcard/ ; "

and then I created a command in ShellEx which I call this shell script. Keep in mind the above solution it is not very secure friendly (your root pass is saved in a bash script in your device), - I am aware of the risks and I am fine with that, but feel free to change the bash script so it can ask for root password in the fly - ShellEx supports that.

I find it simpler than terminal and run the command from there. Any other suggestions / improvements are welcome.

One limitation that I don't understand some years now: vlc can't see the full files bigger than 2.1~2.4 Gb. It plays it up to this limit it stucks. I don't know if it has to do with the way I do the above...

edit flag offensive delete publish link more

Question tools



Asked: 2019-03-14 19:09:10 +0200

Seen: 433 times

Last updated: Mar 15 '19