Ask / Submit
7

Camera pictures stored on encrypted SD card are not displayed in gallery app

asked 2019-02-02 15:29:37 +0300

rebos gravatar image

Hello fellow SFOS users,

I stumbled over the following phenomenon: Pictures taken by the camera app are not display in the gallery app, if the pictures are stored on an encrypted SD card. I am able to find and open the picture files via the file system using the app "File Browser". I already tried to refresh the media database using the "Sailfish Utilities". Unfortunately this did not solve the problem.

Formating the SD card without encryption and storing pictures on the card that way makes them appear in the gallery app as expected.

I'd like to know, if anybody can confirm this behaviour. If it is reproducable, it might be a general bug that Jolla developers could probably fix. I am using SailfishOS X 3.0.1.11 on Xperia X in combination with a SDXC card from SanDisk with a capacity of 200 GB.

Thank you and greetings,

rebos

edit retag flag offensive close delete

Comments

Got the same bug.

ahoi_jolla ( 2019-02-02 22:22:18 +0300 )edit

I've actually got the opposite problem - I symlink the encrypted SD card folder (which is a hidden .folder on the decrypted volume) to /home/nemo/Pictures and photos without fail ALWAYS show up twice in the gallery app. I'm using the scripts from This thread though, so not sure if there's something in there that picks the tracker into gear sifting through the decrypted volume.

Piece_Maker ( 2019-02-02 23:47:28 +0300 )edit

No videos but pictures in Galery app, using encrypted 128 GB sdhc card (ext4 formated with phone settings app). Seems to be really a bug!

Marti Masa K ( 2019-02-20 20:37:30 +0300 )edit

@Piece_Maker, if you want to discuss your observations in an issue at Github (assuming that you are using crypto-sdcard) or at the appropriate thread at TJC, I am pretty sure we can resolve your pictures being shown twice in the Gallery app.
Please provide a bit more details then: The device and SailfishOS version you are using, plus what ls -l /home/nemo | grep '^l.*' emits.

olf ( 2019-06-14 22:02:37 +0300 )edit
2

The problem for both, pictures and music is - say - asynchronous.

On startup of the device the trackerd is started. But at that point an encrypted device cannot be found because it is not unlocked at that time.

When restarting the trackerd after unlocking - via sailfishos tools -> empty media database (and e. g. virgi's Tracker Path Settings patch is used and set to recursively search the sd card) all data will occur in media player and gallery.

@jolla: please retrigger trackerd after unlocking!

cy8aer ( 2019-06-15 15:43:34 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2019-06-14 17:46:35 +0300

Leon gravatar image

I have the same Problem. My temporary solution are symlinks:

ls -la /home/nemo/Pictures/
total 8
drwxrwxr-x  2 nemo nemo 4096 Jun 14 16:41 .
drwxr-x--- 20 nemo nemo 4096 Jun 14 16:33 ..
lrwxrwxrwx  1 nemo nemo   45 Jun 14 16:40 Camera -> /run/media/nemo/SD/Pictures/Camera/
lrwxrwxrwx  1 nemo nemo   44 Jun 14 16:41 Local -> /run/media/nemo/SD/Pictures/Local/
lrwxrwxrwx  1 nemo nemo   50 Jun 14 15:51 Screenshots -> /run/media/nemo/SD/Pictures/Screenshots/
edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2019-02-02 15:29:37 +0300

Seen: 188 times

Last updated: Jun 14