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

crypted sd card does not work for me...

asked 2019-01-10 15:34:02 +0300

cy8aer gravatar image

updated 2019-01-11 16:16:16 +0300

jovirkku gravatar image

Maybe I am simply too stupid but I am not able to create and mount a crypted sd card:

  • insert new and fresh sd card (here samsung evo 128GB)
  • startup device (here Jolla1)
  • Settings -> Memory (Speicher)
  • Long press memory card -> Format
  • Enter the name, check crypt and set password -> Format (luks)
  • rotating clock - accept access
  • rotating clock - Error

Maybe more luck with an existing card:

  • Gnome Desktop
  • format ext4 with luks
  • insert into device, bootup
  • Settings -> Memory
  • Card is seen as encrypted. -> decrypt, enter credentials
  • rotating clock - Error

hm, probably wrong user, mount it on the desktop machine, chown disk 10000,10000, and try it again on the Jolla1

  • Error.

What am I doing wrong?

Saw this "unlock" thingie from the yet edited post: Where is this? Is this the thing missing?

edit retag flag offensive close delete

Comments

If you insert an encrypted SD card you should see an unlock option in Settings-Storage.

Are you sure that JP1 can handle 128GB SD cards? I did the same on XA2 with an 128GB Sandisk. Maybe you try a smaller one. Mine was originally formated as exVAT and in Settings-Storage I got the message that it's the wrong file system and whether I want to format that card.

jollajo ( 2019-01-10 16:06:52 +0300 )edit

I had an unencrypted 128GB in the phone before. And the unlock seems to fail somewhere after decrypting I guess (?)

cy8aer ( 2019-01-10 19:20:06 +0300 )edit

H, is there a chance that you run into a Umlaut-problem? I'd try to use plain 7-bit-ASCII characters for verification.

jollajo ( 2019-01-10 20:09:36 +0300 )edit

Remember to always unmount the sdcard before crypting it.

Nrsisti ( 2019-01-11 10:05:14 +0300 )edit
1

On 3.0.0 the card must be unmounted before formatting it.
Update 3.0.1 has an automatic unmount built-in to format command.
This help article might be useful to somebody.

jovirkku ( 2019-01-11 11:38:25 +0300 )edit

I now get it somehow running. But at my first attempt I first locked it before unmounting and then the card was not readable anymore (needed to reformat on a linux box). And for the UI: It is quite dangerous to have the format near the unlock in drop down menu...

cy8aer ( 2019-01-11 12:27:52 +0300 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2019-01-13 01:40:39 +0300

Yo gravatar image

updated 2019-01-13 02:03:18 +0300

I just had the very same problem. This solved it for me, I hope it helps you, too:

  1. Format the µSD card with a pc. I used Windows / exFAT / 128 kb / quick
  2. Format the µSD card with your Jolla Phone without encryption. (long press -> format)
  3. Mount the µSD card (long press -> mount)
  4. Format the µSD card with your Jolla Phone with encryption (long press -> format)

While this seemed to work at first it turns out it doesn't. After unmounting the µSD card it was impossible to use it again.

Edit: WTF is wrong with my Jolla? I had to reformat the card with my pc and afterwards could format it with the Jolla phone (without encryption) but access was impossible. Some approaches later including removing the card the phone unexpectedly rebooted while/after/before formatting. After the reboot everything seems to be fine. Without encryption.

edit flag offensive delete publish link more
0

answered 2019-01-16 15:21:23 +0300

olf gravatar image

updated 2019-01-16 15:24:04 +0300

If you are able to use the command line, chapter 4.3 of the "Guide: Creating partitions on SD-card, optionally encrypted" is working fine (since SFOS 2.1) and is interoperable with Jolla's new GUI solution in SFOS 3.0.

This seems to be easier to deploy (for command line savvy users) and more reliable (taking above and other issues with Jolla's solution into account), if just an encrypted SD-card (partition) automatically mounted at boot time is wanted.
Please mind the prerequisite steps noted in the preceding chapters of "Guide: Creating partitions on SD-card, optionally encrypted".

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

Question tools

Follow
3 followers

Stats

Asked: 2019-01-10 15:34:02 +0300

Seen: 336 times

Last updated: Jan 16 '19