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

[Solved] New to Jolla, how can I access sd card? [answered]

asked 2015-12-11 01:31:32 +0200

linux inside gravatar image

updated 2015-12-16 21:00:35 +0200

Nothing seems to happen when I insert a (32GB) micro sd. Media player can't find any files from it and File Browser won't show the card. The folder "/media" seems to be empty. It seems that the phone won't recognize or mount the card properly. I've tried to insert the card when the phone is off and then boot and restart again but no luck. The card is FAT32 and taken straight from my previous phone (Nokia N8). Do I have to format it? It's almost full of files so I'm not interested in formatting it for fun D: Is this a known problem and is there a solution? By the way, I don't have sim-card inserted, so could it be the problem?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by drummer12
close date 2015-12-17 13:03:47.560318

Comments

It could be that 16 GB is the maximum supported.

john ( 2015-12-11 01:45:27 +0200 )edit
3

I don't know what max support actually is, but I'm using a 32GB card, no problems. I would say backup the contents of your sdcard, format it FAT32 and put it back in the device.

Spam Hunter ( 2015-12-11 01:56:57 +0200 )edit

actually i have the same issue. can't figure out how to access the card or to be more precise how to make the phone actually use it. 16gb sdhc fat32 formatted.

i do however see the card when using the file browser and click on the arrow (upside down triangle) in the upper right hand corner next to the folder name (there are 4 options that pop up - home, android storage, root, SD card

so i also wonder how to use it to store images, videos, apps etc.

thanks a lot!

richardsvk ( 2015-12-11 08:53:22 +0200 )edit

@richardsvk: You have a new directory where you can store stuff by moving it there yourself. Unfortunately SFOS currently does not offer any other kind of support for SD cards in addition to integrating them in the file system.

Giacomo Di Giacomo ( 2015-12-11 10:20:23 +0200 )edit

Do you see it if you do a df or if you connect the phone to a computer?

Sthocs ( 2015-12-11 11:14:31 +0200 )edit

2 Answers

Sort by » oldest newest most voted
2

answered 2015-12-16 20:59:28 +0200

linux inside gravatar image

I don't know what happened, but now my Jolla recognises the SD card with no issues, so the problem has been "solved".

Phone had been on for about 24 hours and when I was browsing the File Manager I saw the card listed in the drop down -menu. Before that, I had compared the dmesg-output from the boot time and I found a line saying "[ 1.777384] mmc1: Slot eject status = 1" no matter whether the card was physically present or not. I don't remember if I had checked the boot dmesg the time it finally started to work, but it wasn't one or two times that I tried to get it work :D

Thanks to all of you who were interested enough to send me suggestions. The Jolla community (at least) seems to be alive and kicking.

edit flag offensive delete publish link more

Comments

Glad you got sorted, even if you don't know how :)

I should add, there are occasions where the memory card does not show. I find this happens on the odd occasion when connecting my Jolla to PC (pc suite mode), but it is seldom.

Spam Hunter ( 2015-12-16 22:28:44 +0200 )edit
1

answered 2015-12-11 11:36:55 +0200

Mike Gabriel gravatar image

32GB cards should be supported out of the box, with a 64GB SD Card (which is normally pre-formatted with unsupported exFAT file system), I did this:

  • enable Developer Mode
  • open a terminal

In the terminal:

$ devel-su
# fdisk /dev/mmcblk1

Using fdisk, set the type of partition 1 to "Linux" and write back the partition table (Keys: "t" -> "83" -> "w").

Then format the SD card using ext4 filesystem:

# mkfs.ext4 /dev/mmcblk1p1

Now reboot the Jolla device, it should mount the SD Card under /media/sdcard/<uuid>.</uuid>

For easy access, you can then create a "nemo" folder on the SD Card, give access to user nemo and then symlink it into nemo's home directory:

# mkdir /media/sdcard/<uuid>/nemo
# chown nemo:nemo /media/sdcard/<uuid>/nemo
# ln -s /media/sdcard/<uuid>/nemo /home/nemo/sdcard
edit flag offensive delete publish link more

Comments

It gives: "fdisk: cannot open /dev/mmcblk1: file or directory does not exist" for the first fdisk command.

linux inside ( 2015-12-11 11:51:35 +0200 )edit

Question tools

Follow
4 followers

Stats

Asked: 2015-12-11 01:31:32 +0200

Seen: 2,153 times

Last updated: Dec 16 '15