PDA

View Full Version : 64GB microSD & Jolla


Schturman
2014-01-21, 22:42
I bought one of Transcend, and jolla can see it.. It come formatted to exFAT, already tried to reformat it to NTFS and ext4, but nothing help..
Both file mangers (CargoDock and File Browser) can't see it, also when I connect jolla to pc :(
Can someone explain me how to get it work, please ?

aegis
2014-01-22, 00:56
Format it to FAT32. You'll need to use command line tools on Windows as the GUI will insist on exFAT. On a Mac Disk Utility will format it ok but watch the default partition options.

The partition scheme has to be the old Master Boot Record type and only one partition is supported. It should auto mount.

You can also use btrfs and ext4 but those aren't compatible with Windows or Macs and it won't auto mount.

Schturman
2014-01-22, 02:09
thank you , i will try it later..

Kabouik
2014-01-22, 02:18
ext4 format will be OK, but it will not be automatically mounted. I had to edit /usr/sbin/mount-sd.sh with valuable help from someone on the IRC channel to automatically mount it. Now it works and I can use SFTP to transfer or remove files from /run/user/100000/media/sdcard, even using Windows.

My mount-sd.sh after the changes is the following, but I cannot guarantee this is safe as I only did what I was told to. Please keep in mind that it might really result in issues with your Jolla, and here the warning is a true warning because I'm not a Linux power user.

#!/bin/bash

SDCARD=/dev/sdcard
DEF_UID=$(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2)
DEF_GID=$(grep "^GID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2)
DEVICEUSER=$(getent passwd $DEF_UID | sed 's/:.*//')
MNT=/run/user/$DEF_UID/media/sdcard

if [ "$ACTION" = "add" ]; then
if [ -b /dev/mmcblk1p1 ]; then
ln -sf /dev/mmcblk1p1 $SDCARD
elif [ -b /dev/mmcblk1 ]; then
ln -sf /dev/mmcblk1 $SDCARD
else
exit $?
fi
su $DEVICEUSER -c "mkdir -p $MNT"
mount $SDCARD $MNT -o uid=$DEF_UID,gid=$DEF_GID
if [ -z $(mount | grep $MNT) ]; then
# let's try 2nd time w/o options
mount -o rw $SDCARD $MNT
if [ $? = 0 ]; then
chown $DEF_UID:$DEF_GID $MNT
fi
fi
else
umount $SDCARD

if [ $? = 0 ]; then
rm -f $SDCARD
else
umount -l $MNT
rm -f $SDCARD
fi
fi

juiceme
2014-01-22, 06:43
I formatted my card to btrfs and it works OK.

rainisto
2014-01-22, 07:17
exFAT works ok if you just compile these into the device http://code.google.com/p/exfat/downloads/list

ZogG
2014-01-22, 07:29
Anyone tried to use samsung's driver? http://www.phoronix.com/scan.php?page=news_item&px=MTQzODQ

javispedro
2014-01-22, 07:57
Note that FAT32 works just fine for Windows.

cvp
2014-01-22, 07:59
i use samsung 64gb with fat32 and work very well. No Probs. i dont try it with exFAT/NTFS before, cant say if this working too

willi6868
2014-01-22, 09:38
exFAT works ok if you just compile these into the device http://code.google.com/p/exfat/downloads/list

Could someone please provide a rpm-package or a How-To for this? :D

nieldk
2014-01-22, 10:20
Could someone please provide a rpm-package or a How-To for this? :D

create a .spec file and use rpmbuild -ba /rpmbuild/SPECS/fuse-exfat.spec

fuse-exfat.spec (example)


Name: fuse-exfat
Version: 1.0.1
Release: 0
Summary: Free exFAT file system implementation
Group: System/Tools
Vendor: Samsung
Distribution: SailfisfOS
URL: http://code.google.com/p/exfat/
Source: http://exfat.googlecode.com/files/fuse-exfat-%{version}.tar.gz
License: GPL
BuildRequires: glibc-devel
BuildRequires: libfuse-devel
BuildRequires: scons
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%debug_package
%description
A full-featured exFAT file system implementation for GNU/Linux other Unix-like systems as a FUSE module.
%prep
%setup -q
%build
scons
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
scons install DESTDIR=%{buildroot}/sbin
install -d %{buildroot}%{_mandir}/man8
install -m 644 fuse/mount.exfat-fuse.8 \
%{buildroot}%{_mandir}/man8/mount.exfat-fuse.8
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
/sbin/mount.exfat
/sbin/mount.exfat-fuse
%{_mandir}/man8/mount.exfat-fuse.*
%doc COPYING
%changelog
* Wed Jan 22 2014 Builder <builder@...> 1.0.1
- To be done

cvp
2014-01-22, 11:16
create a .spec file and use rpmbuild -ba /rpmbuild/SPECS/fuse-exfat.spec


I copy past and correct the second link and save this as fuse-exfat.spec and put it to the phone in Downloads folder.

I start Terminal an write this command:
rpmbuild -ba /home/nemo/Downloads/fuse-exfat.spec

after than i get this:
command not found

do i have install a rpmbulider over terminal?

nieldk
2014-01-22, 12:46
Well, I suggest googling building RPMs'
But, short, you need C development tools and libraries etc install.
Then, you need the tool rpmbuild (pkcon install rpm-build)
setup a directory structure like this

mkdir -p ~/rpmbuild/SPECS
mkdir ~/rpmbuild/SOURCES
mkdir ~/rpmbuild/RPMS
mkdir ~/rpmbuild/SRPMS

create .spec files in ~/rpmbuild/SPECS folder (ie. fuse-utils.spec goes here)
download source tarballs to ~/rpmbuild/SOURCES folder

run rpmbuild -ba rpmbuild/SPECS/fuse-utils.spec
once, and if, it finish without errors, rpms will be created in rpmbuild/RPMS folder and source rpms in rpmbuild/SRPMS folder

EDIT: and oh, probably, it might not work with my spec file ;) then you will need to investigate the errors outputted by rpmbuild, make changes, and try again :)

nieldk
2014-01-22, 13:07
You may try these I guess
ftp://fr.rpmfind.net/linux/rpmfusion/free/fedora/releases/20/Everything/armhfp/os/fuse-exfat-1.0.1-1.fc20.armv7hl.rpm

ftp://fr.rpmfind.net/linux/rpmfusion/free/fedora/releases/20/Everything/armhfp/os/exfat-utils-1.0.1-1.fc20.armv7hl.rpm

Since they are compiled for armv7hl they may work, or, download the SRPMS from

ftp://fr.rpmfind.net/linux/rpmfusion/free/fedora/releases/20/Everything/source/SRPMS/fuse-exfat-1.0.1-1.fc20.src.rpm
ftp://fr.rpmfind.net/linux/rpmfusion/free/fedora/releases/20/Everything/source/SRPMS/exfat-utils-1.0.1-1.fc20.src.rpm

Raim
2014-01-22, 13:33
Anyone tried to use samsung's driver? http://www.phoronix.com/scan.php?page=news_item&px=MTQzODQ

Yes, I got it to compile with a minimal fix. For testing purposes on my Jolla I only used it against a loop device and not a real SD card yet. But it works fine. :-)

https://github.com/raimue/exfat-nofuse/compare/master...jolla

stefanmohl
2014-01-22, 14:38
Format it to FAT32. You'll need to use command line tools on Windows as the GUI will insist on exFAT.

A quick trick to fool Windows into enabling FAT32 in the GUI is to enable caching on the USB-memory:


Right-click the USB-drive and select "Properties"
Select the "Hardware"-tab
Find and select your USB-memory in the list
Click the "Properties"-button below
Select the "Policies"-tab on the new requester
Choose "Optimize for performance"
Click "OK" on the requesters


This should allow you to use FAT32-formatting on your USB-drive, but don't forget to repeat the process and set it back to "Optimize for quick removal" once you are done formatting!

But remember, FAT32 only allows files up to 4GB in size and can't handle soft-links or permissions. Trasferring files over network and formatting as ext3/4 makes the microSD much more useful.

Thoke
2014-01-22, 15:47
Anyone know how to make music & pictures in a btrfs-formatted microsd to show in Jolla's gallery and media player app? Manually mounting it (/dev/mmcblk1p1) to run/user/100000/media/sdcard doesn't work, so the apps must fetch their data from somewhere else, or there's another problem somewhere. The card doesn't automatically mount to anything.

My microsd has a ms-dos partition table and has no file-permission restrictions in it currently (chmod 777). Any help will be appreciated, as I really don't have that much linux command-line knowledge, it just started accumulating recently :)

nieldk
2014-01-22, 16:09
Anyone know how to make music & pictures in a btrfs-formatted microsd to show in Jolla's gallery and media player app? Manually mounting it (/dev/mmcblk1p1) to run/user/100000/media/sdcard doesn't work, so the apps must fetch their data from somewhere else, or there's another problem somewhere. The card doesn't automatically mount to anything.

My microsd has a ms-dos partition table and has no file-permission restrictions in it currently (chmod 777). Any help will be appreciated, as I really don't have that much linux command-line knowledge, it just started accumulating recently :)

http://talk.maemo.org/showthread.php?p=1407186#post1407186

rannari
2014-01-22, 16:16
Anyone know how to make music & pictures in a btrfs-formatted microsd to show in Jolla's gallery and media player app? Manually mounting it (/dev/mmcblk1p1) to run/user/100000/media/sdcard doesn't work, so the apps must fetch their data from somewhere else, or there's another problem somewhere.

I have made three symlinks:
- one from /run/user/100000/media/sdcard to /home/nemo to be able to access the sdcard with PC connection
- for music I have a symlink from my music folder in sdcard to /home/nemo/Music
- and a symlink to /home/nemo/Pictures to handle images

Works just fine. No problems.
Card is 64 Gb btrfs-formatted...

Mitrigol
2014-01-22, 16:44
To add media on sdcard to libraries, i manually created a folder "sdcard" in /home/nemo and then mount /dev/mmcblk1p1 to it.
Then add the command into fstab to make it permanent.

Now you can even copy files from windows on it! (if you are successfull on installing the phone on the computer, of course)

Thoke
2014-01-22, 16:58
http://talk.maemo.org/showthread.php?p=1407186#post1407186
Yes, I've been following that thread. The things there are still a little above my 'expertise', but I'll definetely try to learn to script -it's probably easier than I think- when I have time. But thank you anyways :)
Also, that thread and this, they seriously overlap.

I have made three symlinks:
- one from /run/user/100000/media/sdcard to /home/nemo to be able to access the sdcard with PC connection
- for music I have a symlink from my music folder in sdcard to /home/nemo/Music
- and a symlink to /home/nemo/Pictures to handle images

Works just fine. No problems.
Card is 64 Gb btrfs-formatted...

Thank you, this worked! Now when you wrote it, it seemed so obvious, I'm amazed I didn't try that before :o

PS: I've also a 64gb card.

javispedro
2014-01-22, 17:57
Anyone know how to make music & pictures in a btrfs-formatted microsd to show in Jolla's gallery and media player app? Manually mounting it (/dev/mmcblk1p1) to run/user/100000/media/sdcard doesn't work, so the apps must fetch their data from somewhere else, or there's another problem somewhere.


What does running the following command show?
gsettings get org.freedesktop.Tracker.Miner.Files index-recursive-directories
(GSettings is the program that reads/writes program settings for programs using the GSettings library, while "get" indicates reading a setting. org.freedesktop.Tracker.Miner.Files is more or less the name of the application, while index-recursive-directories is the name of the key to read).

I think that people are overcomplicating things. Virtually the only thing you have to change to automount btrfs sdcards is to remove the uid=X,gid=X settings from the mount-sd.sh script. This is a much simpler modification that what people are doing over that thread, which is probably the result of a misunderstanding of some kind. Additionally, I suspect this change will come with a future SailfishOS update.

Everything -- including Tracker and thus the Music application -- works afterwards.

Kabouik
2014-01-22, 18:04
I think that people are overcomplicating things. Virtually the only thing you have to change to automount btrfs sdcards is to remove the uid=X,gid=X settings from the mount-sd.sh script. This is a much simpler modification that what people are doing over that thread, which is probably the result of a misunderstanding of some kind. Additionally, I suspect this change will come with a future SailfishOS update.

Everything -- including Tracker and thus the Music application -- works afterwards.I suppose that is what is modified in my mount-sd.sh file in first page (to be confirmed that nothing else differs), and I confirm the Sailfish apps required no additional tweaking to find the files I put on my ext4-formated SD card. I have no symlinks or mounting points (though I initially made one before solving the no-automount issue, it was not permanently set in fstab), and everything in /run/user/100000/media/sdcard/ is found Music/Gallery/etc. apps.

Schturman
2014-01-23, 00:56
A quick trick to fool Windows into enabling FAT32 in the GUI is to enable caching on the USB-memory:

Right-click the USB-drive and select "Properties"
Select the "Hardware"-tab
Find and select your USB-memory in the list
Click the "Properties"-button below
Select the "Policies"-tab on the new requester
Choose "Optimize for performance"
Click "OK" on the requesters

This should allow you to use FAT32-formatting on your USB-drive, but don't forget to repeat the process and set it back to "Optimize for quick removal" once you are done formatting!

But remember, FAT32 only allows files up to 4GB in size and can't handle soft-links or permissions. Trasferring files over network and formatting as ext3/4 makes the microSD much more useful.

This trick not worked for me on WIN 7...
Also I have formatted to ext4 on ubuntu, but phone still can't see it...

P.S. Ok successfully formatted to ext4 -> created 2 folders -> inserted to the phone -> trying to see this folders on the phone (file manger), but it not show them, it go to system sdcard..
I did the same with FAT32 and now I really see it on the phone, but when I connect my phone to PC as mass storage, I can't see this card... Why ?

But I can see it on WinSCP via wifi (/run/user/100000/media/sdcard/test777)

stefanmohl
2014-01-23, 14:31
Sorry about the trick not working on Windows 7. I used it on Windows XP, my Windows 7-machine allows me to use FAT32 freely for some reason.

Leinad
2014-01-23, 14:40
I did the same with FAT32 and now I really see it on the phone, but when I connect my phone to PC as mass storage, I can't see this card... Why ?

But I can see it on WinSCP via wifi (/run/user/100000/media/sdcard/test777)

https://together.jolla.com/question/10002/alternative-to-mtp-usb-mass-storage/

kollin
2014-01-26, 13:12
Ok guys how to mount my btrfs sdxc transcend card?
When i try to mount i get:

mount -t btrfs /dev/mmcblk1p1 /mnt/btrfs
mount: wrong fs type, bad option, bad superblock on /dev/mmcblk1p1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


dmesg:

device label transcend_sdxc64 devid 1 transid 45 /dev/mmcblk1p1
[42734.855389] btrfs: disk space caching is enabled
[42734.855419] BTRFS: couldn't mount because of unsupported optional features (40).
[42734.919146] btrfs: open_ctree failed
[42736.390289] [BAT] 90( 90, 90.0, 90.1( 89.9) 0.0)v4309(4196)(-530,-544)t313,c -408670, 0(20471)r214,L4350,s10
[42736.396332] [BAT]## SOC= 90( 90, 90),4312(4309),A=-536,T=313,On=0,1,(1),DCP 1100(1100),vd=4400(0,0),ib=1000,0,F07,R00,W1B
[42744.574296] dsme-server(628) send signal 1 to dsme(626)
[42744.574693] dsme-server(628) send signal 1 to dsme(626)
[42756.574907] dsme-server(628) send signal 1 to dsme(626)


btrfs filesystem show /dev/mmcblk1p1:

Label: 'transcend_sdxc64' uuid: 3f9ed2a2-8ce8-499a-9253-ca597a21fdcd
Total devices 1 FS bytes used 15.50GB
devid 1 size 59.03GB used 18.04GB path /dev/mmcblk1p1


May be some format changes on kernel level?
On my home pc i have kernel 3.9.1-gentoo-r1 on jolla is 3.4.0.?
:confused:

J4ZZ
2014-01-26, 15:43
First try to make a proper btrfs formatting. There is no need for a p1 (partition).
One great feature of btrfs is that you can create btrfs file systems on unformatted hard drives, i.e., you don't have to use tools like fdisk to make a partition first.
So just use:
mkfs.btrfs -L mylabel /dev/mmcblk1
and after creating /mnt/btrfs using
mkdir /mnt/btrfs
you should be able to mount your card just fine.
mount /dev/mmcblk1 /mnt/btrfs

Regards,

J4ZZ

javispedro
2014-01-27, 03:29
First try to make a proper btrfs formatting. There is no need for a p1 (partition).

Note: there is no need to use a partition, but also, there is no need to NOT use a partition. The Jolla will handle both situations without problem.

Also, this is not a btrfs "feature" at all -- not having a partition table is something that's called superfloppy and is at least decades old.

It is something of a personal preference mostly.

On my home pc i have kernel 3.9.1-gentoo-r1 on jolla is 3.4.0.?
:confused:
Yes, there is your problem. As a simple workaround you may want to format the card on the Jolla itself (with caution not to make any typos or else (http://talk.maemo.org/showpost.php?p=1409094&postcount=43))

Chinoman10
2014-02-04, 05:44
you may want to format the card on the Jolla itself

Is this possible even if Jolla doesn't recognize it?
If so, could you please tell me what I must type?
I'm used to Bash and Linux commands, but I've never formatted anything before, and I want to be sure I don't screw up :D

Thank you in advance ^^

~Chinoman10.

kollin
2014-02-04, 16:37
Is this possible even if Jolla doesn't recognize it?
If so, could you please tell me what I must type?
I'm used to Bash and Linux commands, but I've never formatted anything before, and I want to be sure I don't screw up :D

Thank you in advance ^^

~Chinoman10.

mkfs.btrfs -L mylabel /dev/mmcblk1

Should do it.
If the os cant't recognize the sdcard, the file mmcblk1 will not exist and the command will end with an error. ;)

Chinoman10
2014-02-06, 16:58
mkfs.btrfs -L mylabel /dev/mmcblk1

Should do it.
If the os cant't recognize the sdcard, the file mmcblk1 will not exist and the command will end with an error. ;)

It indeed appeared after inserting the card... But...
"probe of mmcblk1 failed, cannot detect existing filesystem.
Error: Use the -f option to overwrite."

After using the -f option...
"check_mounted(): Could not open mmcblk1
Error: error checking mmcblk1 mount status"

I guess it was errors with permissions, so I entered root mode (devel-su).

Then it worked, just printing two warnings:

"WARNING! - Btrfs v0.20-rc1 IS EXPERIMENTAL
WARNING! - see HTTP://Btrfs.wiki.kernel.org before using"

Thanks dude :)

~Chinoman10.

robnas
2014-02-07, 16:15
Yes, I got it to compile with a minimal fix. For testing purposes on my Jolla I only used it against a loop device and not a real SD card yet. But it works fine. :-)

https://github.com/raimue/exfat-nofuse/compare/master...jolla
So do you have ex-fat support on Sailfish? If yes, how/what did you exactly do?

coco_f2001
2014-03-03, 22:02
I compiled fuse exfat (pkcon install gcc gcc-c++ scons fuse-devel and then used scons as root) but for me the mount-sd.sh doesn't mount the card automatically. It works if I do it manually. Does it work for someone?

meemorph
2014-03-04, 09:10
You need to change the /usr/sbin/moint-sd.sh. Look: http://talk.maemo.org/showthread.php?p=1414837#post1414837

It should mount exfat.

requiem_76
2014-03-12, 14:15
Hi everybody!
Sorry for questioning, but,I spent hours trying to understand all the things that you wrote there,but unfortunately I'm not a developer.
I've got a micro sd card, 64Gb, SDHC ,exactly.
Using that in my laptop (windows8) I manage to format it in Fat32,but when I try to put some music in (about 15gb),this process could take really hours,and when I put the sd card in my Jolla, just a little part of my music is showed in the player. I made a surface test of the card,so it's not a fake one. Could be a problem of transferring files from my laptop? (my main pc,cannot even read the new sd card...i don't know why)...
Thanks

edit: I'm making right now a 2nd test of the card. I'll let you know ASAP.
UPDATE fake sd.......

chenliangchen
2014-03-16, 00:53
You may try these I guess
ftp://fr.rpmfind.net/linux/rpmfusion/free/fedora/releases/20/Everything/armhfp/os/fuse-exfat-1.0.1-1.fc20.armv7hl.rpm

ftp://fr.rpmfind.net/linux/rpmfusion/free/fedora/releases/20/Everything/armhfp/os/exfat-utils-1.0.1-1.fc20.armv7hl.rpm

Since they are compiled for armv7hl they may work, or, download the SRPMS from

ftp://fr.rpmfind.net/linux/rpmfusion/free/fedora/releases/20/Everything/source/SRPMS/fuse-exfat-1.0.1-1.fc20.src.rpm
ftp://fr.rpmfind.net/linux/rpmfusion/free/fedora/releases/20/Everything/source/SRPMS/exfat-utils-1.0.1-1.fc20.src.rpm

Do I need to compile fuse exFat or can simply using package in the first link? Thank you1;)

Tsippaduida
2014-03-17, 11:49
I finally decided to try if Jolla automounts my sd card. The original release automounted my card (SanDisk 64GB as btrfs) and media player found music files. After the first update i "lost" my card and resorted to a fixed mount configuration. Today i went through this thread and the modifications to mount-sd.sh were s simple enough so i modified it with Jolla's vi. (I made a backup of the original first). Worked great. Then I made symlink from music-directory on sdcard as /home/nemo/sdmusic. After reboot the player finds my ogg files again.

Thanks to you all for great advices. Later this week I might have some small piece of information to share.

Tsippaduida
2014-03-18, 06:46
It is somewhat ironic that in the same evening when finally modified the mount-sd.sh and added symlinks, Jolla's Ohijärvi update made these obsolete.

I removed sdcard, removed symlinks. Started media player and it could not find any music, as expected. I shut down the media player, inserted my 64 GB btrfs-formatted sdcard, started media player again and presto, my music files are all there and working.

Memory card support is now way better as stated in change log. There is still room for improvement, maybe with next update...

blobbyblobby2000
2014-03-18, 16:28
I have just got my jolla to mount a Kingston 64Gb SDXC card out of the box - which required building exFAT support.

I am running SailfishOS 1.0.4.20

This is what I did

open Web Browser
Go to http://code.google.com/p/exfat/downloads/list
Download both files:
fuse-exfat-1.0.1.tar.gz
exfat-utils-1.0.1.tar.gz

open Terminal
devel-su
pkcon install gcc gcc-c++ scons fuse-devel
cd /home/nemo/Downloads
tar -zxvf fuse-exfat-1.0.1.tar.gz
tar -zxvf exfat-utils-1.0.1.tar.gz
cd fuse-exfat-1.0.1
scons
scons install
cd ../exfat-utils-1.0.1
scons
scons install
REBOOT phone with card inserted
SDCARD mounted as /media/sdcard/0123-4567

In terminal I navigated to the directory and did

touch blob

The file blob was created. I edited blob with vi and saved it, mored it, and also deleted it.

Obviously /media/sdcard/0123-4567 is the default place on my phone and I havent played around with this.

df -kh reports

/dev/mmcblk1p1 59G 17M 59G 1% /media/sdcard/0123-4567

I downloaded using the web browser as I couldnt be bothered to try and sort our subversion on my phone and follow the google code instructions

I dont know if both fuse-exfat and exfat-utils are required, maybe someone else can comment.

The sdcard is not being recognised by default in CargoDock.

I havent done anything else as yet ....... so not sure how well it functions.

Tsippaduida
2014-03-20, 05:55
Seems that 128 GB cards work too, to some extend at least. I now have SanDisk Ultra 128GB UHS.I card. It does not work as well as my 64GB card.

Both are formatted as btrfs and both contain same music files. I made symlink to /run/user/100000/media/sdcard which points to /media/sdcard and the file browser is able to navigate the files on card. Music player finds files on 64GB card but not from 128GB card.

There might be something different in those cards but I haven't had time to investigate, will report back when I have had time to fiddle with it.

Sorry for not creating own thread for this, should we create a separate threads for each card size?. :)

rainisto
2014-03-20, 12:07
Have you checked that your 128GB card is not a fake. As all 128GB cards that I've seen have been fake cards.

Leinad
2014-03-20, 12:24
Have you checked that your 128GB card is not a fake. As all 128GB cards that I've seen have been fake cards.

There is only 1 atm, but it's real: http://www.sandisk.com/goto/newmicrosd128/

Tsippaduida
2014-03-20, 12:57
Have you checked that your 128GB card is not a fake.

Yes, both Jolla and my laptop reported correct size. AFAIK SanDisk is the only one having these large cards for sale.

Mine is this:
http://www.amazon.de/SanDisk-microSDXC-Speicherkarte-SD-Adapter-Android/dp/B00IIJ6W4S/ref=pd_rhf_gw_p_t_1_TENF

blobbyblobby2000
2014-03-21, 12:46
Connecting my phone via the USB as "PC connection" on a Windows PC is fine. The 64Gb SDXC is handled correctly and copying and deleting files to the jolla is fine.

However it is not fine under Linux - more specifically Fedora 19. I installed on the desktop computer:

fuse-exfat-1.0.1-1.fc19.x86_64
exfat-utils-1.0.1-1.fc19.x86_64

and while it shows both phone storage locations in the File Manager correctly copying to the 64Gb sdcard fails. Often it refuses, but also it quite often says that it has done it and instead the files have copied to the other storage location /home/nemo

As a result of these problems I lost all of my config data /home/nemo for contacts, call list, txts etc etc and it wiped out the default directories in /home/nemo. It deleted accounts and also screwed contacts so even when I try and re-import contacts it still says there are no contacts......Grrrrr. Bitter lesson.

I have resorted to connecting the phone in developer mode and scpping the data to the 64Gb sdcard.

In theory given that exFAT support was installed correctly on both jolla and desktop it should be fine.

There is something funky going on though on Fedora 19 as it believes the cards are camera devices and often it tries to connect to them with gphoto2://

Anyway thought somebody might like an update on how I got on with 64Gb SDXC

Oh havent tried MAC yet..........

robnas
2014-03-27, 11:14
Connecting my phone via the USB as "PC connection" on a Windows PC is fine. The 64Gb SDXC is handled correctly and copying and deleting files to the jolla is fine.

This is not true for me.
The 64GB card is recognized, but not all files can be copied. Files larger than 4GB (fat32 filesize limit) won't be copied. When removing the card, putting it inside a cardreader and try it again it does work.
So to be honest: it's not a good solution, it's a workaround.

Next to that, explorer is very slow and instable. When restarting explorer through taskmanager, it's working a bit faster. I'm using Windows 8, by the way.
Only things that do work is >32GB cards and seeing/using files >4GB.
What doesn't work: fast/stable using card on PC and copying files >4GB with pc.

Keeper of the Keys
2014-04-02, 09:20
Ok, I hope I am not regurgitating the old, I want to use a POSIX filesystem on my memory card, as far as I can tell from here it should all work.

My main question is what is better, btrfs or ext4 and even more importantly should mounting options like noatime be used or not...

ext4 obviously is more stable on the other hand jolla itself uses btrfs for most of the filesystems so clearly it's stable enough

Keeper of the Keys
2014-04-02, 12:25
Also, are you using GPT or MBR partition tables?

coco_f2001
2014-04-02, 12:55
@blobbyblobby2000
Your exFAT card is mounted automatically after reboot?
I have one too, but mine it's not mounted automatically.

Florian

blobbyblobby2000
2014-04-02, 14:18
Sorry been away.......

This is not true for me.
The 64GB card is recognized, but not all files can be copied. Files larger than 4GB (fat32 filesize limit) won't be copied.

sorry @robnas you are incorrect with regard to my post. Remember my post was about building exFAT support. 4GB is indeed the FS limit on FAT32 but the kingston 64GB SDXC is exFAT and that limit is 16EB. Hence I built exFAT support on my jolla

No idea why the PC isnt copying to your jolla/64Gb card

@blobbyblobby2000
Your exFAT card is mounted automatically after reboot?
I have one too, but mine it's not mounted automatically.

Florian

Yes it is. I didnt even have to do anything extra. It is always there and now with the latest version of CargoDock it is recognised correctly as well.

coco_f2001
2014-04-02, 14:49
@ blobbyblobby2000
This is strange... My card is a samsung pro 64GB (verified by copying to the entire capacity) but is not mounted at startup. I saw the mount-sd.sh has the support for exFAT. Maybe it is not formatted as expected (I didn't reformat). When I do /sbin/blkid /dev/mmcblk1 /sbin/blkid /dev/mmcblk1p1 I get only this part without UUID: /dev/mmcblk1: PTTYPE="dos" /dev/mmcblk1p1: TYPE="exfat"

Edit: I used fdisk to recreate the partition and then mkfs and now is working.

robnas
2014-04-08, 20:02
Sorry been away.......
No idea why the PC isnt copying to your jolla/64Gb card


So you say you can transport files >4GB from pc to Jolla SD-card directly, without issues?

pcfe
2014-05-11, 12:27
Could someone please provide a rpm-package or a How-To for this? :D

I've built this a while ago in the merproject OBS (https://build.merproject.org/project/show/home:pcfe:private:exfat). Install the fuse-exfat package to be able to use an exfat formatted µSD. If you also want to fsck exfat or format exfat on the Jolla, install exfat-utils too.

While it's still filed in private, as I'd like more feedback on whether it works for people besides me (and I also need to RTFM on how to move projects in OBS), as of a couple weeks I've made the compiled binaries downloadable for everybody.

bob_bipbip
2014-06-03, 19:16
for the second time, my jolla has made my 64gb card read only.
even on another device (computer) i cannot write in it (no dd, no nothing). last time, i had to use the warranty.
another one had this problem?

kollin
2014-07-14, 17:54
for the second time, my jolla has made my 64gb card read only.
even on another device (computer) i cannot write in it (no dd, no nothing). last time, i had to use the warranty.
another one had this problem?

Mine sdcard is read only also! Nothing helps. :(
Fdisk is useless, cgdisk, parted are useless also! :confused:
WTF is going on?

bob_bipbip
2014-07-20, 18:05
is it a transcend? because mine are those :rolleyes:

P@t
2014-07-23, 12:24
Sdcard readonly here also. 64Gb formatted as BTRFS for something like 2 months and today I could not store anything :(
It is a Transcend btw...
Now trying to backup before formating it again... Let's see if I can have it working again.

wormdrummer
2014-07-28, 05:17
Couldn't find anything on this so thought I'd share my experience, I formatted my Sandisk 128gb MicroSD as Fat32 and it works perfectly in the Jolla, so 128gb cards do work just like the 64gb.

requiem_76
2014-07-28, 07:12
Wormdrumner!!
This is a great news,to me!!!
Could You confirm that the micro sd 128Gb is working properly? Formatted in Fat32?? the media player read the music with no problem???

wormdrummer
2014-08-01, 04:37
Yup, Formatted in Fat32, the media player plays the music fine and all other apps including android all work perfectly as well.

robnas
2014-08-06, 20:21
...as Fat32 and it works perfectly in the Jolla...
IMO, perfectly means there's no known restriction of file size on the media, so do you encounter it? Are you ble to copy complete 1080P movies? (Playing is no problem, though)

wormdrummer
2014-08-07, 06:45
No, files over 4gb in size do not work. That's a restriction of Fat32.

bob_bipbip
2014-08-16, 16:52
Sdcard readonly here also. 64Gb formatted as BTRFS for something like 2 months and today I could not store anything :(
It is a Transcend btw...
Now trying to backup before formating it again... Let's see if I can have it working again.

ok, this S$#@ happened again, AGAIN :mad:
so i can count 3, THREE sdcard turned into garbage since i've used btrfs formated sdcard.

i don't know if it's a sd card bug, software bug, or jolla hardware bug, and it makes me very angry :mad:

rainisto
2014-08-16, 21:59
Big btrfs partitions can have issues if you dont run btrfs balance command once in a while. So if you use 64GB cards actively then ext4 or exfat might be better choises (they dont have 4GB limitations).

64GB sd turning readonly usually happens on fake cards. So if your getting 64GB card, then I recomend bigger chains that give your lifetime warranty for the card if it would happen to fail.

bob_bipbip
2014-08-19, 11:47
64GB sd turning readonly usually happens on fake cards. So if your getting 64GB card, then I recomend bigger chains that give your lifetime warranty for the card if it would happen to fail.

all of those are genuine transcend card.
even one of those is a warranty exchange. :eek:

i'm mad :mad:

MemphisX
2014-08-19, 14:58
all of those are genuine transcend card.
even one of those is a warranty exchange. :eek:

i'm mad :mad:

You are not alone and it is not only Transcent cards. And it is not Jolla either. I bought A Sandisk 128GB from Amazon (not a reseller that is fullfilled by amazon btw) so I am pretty sure it is genuine.

The card worked for one day and I have successfully formatted the card to btrfs and sharing the space between android and jolla following the guidelines at together.jolla.com. Everything was working fine. So next day I decided to move all my music/videos/photos to the card from ubuntu (through a card reader not through Jolla). And for the first few GBs it was smoothly doing what it had to do and suddenly the copying progress stucked.

Afterwards the whole sdcard was in read only mode not being able to do anything. SD Formatter on Windows says it is write protected no matter how many different microsd to SD adapters (with the lock trigger set to unlocked of course) I have used. Windows can't format either. Partition tools fail to actually make any change on the card. fdisk on linux says it creates a partition table but nothing is changed... dd is freezing my pc, gparted also fails and on some card readers I get I/O errors. Any symbian/android device I have tried failed to format the card. The same for my old and trusty N900.

I am going to return the card (so problem solved) but this whole mess really irritates me as sdcards where not like that. I remember 4-5 years ago I was buying the then expensive 8gb microsd (from Kingston) and they are still running with no problems after all these years no matter what I am doing with them. Used them in raspPi formatted them with not common FS (ReiserFS, Reiser4, Btrfs) and never had a problem.

Nowadays no matter what brand of sdcard I am getting I will always have to deal with their lies. Speeds are never what they are advertised (especially with Sandisk cards where class 10 cards are performing like class 4, but other brands like Kingston are doing the same). The QA seems to really went downhill the last few years with sdcards.

I had problems many years ago with mmc cards from not so popular brands and I knew it was the bad quality in them so I got my lesson and I am always buying branded stuff (especially kingston for SDs due to the lifetime warranty and transcent for mmc back then). Now no matter what the brand is, same story, and when you spend 70 pounds just for an sd card, that kind of behaviour is unforgivable.

bob_bipbip
2014-08-20, 11:56
I remember 4-5 years ago I was buying the then expensive 8gb microsd (from Kingston) and they are still running with no problems after all these years no matter what I am doing with them.
i know that feel bro, i used to buy 2gb and 4gb "no hc" sd card when it was over 100e, because my pocket pc could not handle hc card, and they still works :rolleyes:

how can someone sell sd card that cannot survive half a year ?
do they think it's like disposable razor, you use it a month or two, and trow it away? seriously?
http://i0.kym-cdn.com/photos/images/newsfeed/000/112/480/OpoQQ.jpg

Paspie
2014-08-20, 13:53
I once bought an ADATA 32GB microSD for an old Android phone. Worked for a few months, and then conked out. Wouldn't mount on anything. And the company were impossible to contact. A few years ago those card capacities were quite expensive to I was annoyed to say the least.

Fortunately they're less expensive now and also more reliable, I might get either a 32GB or a 64GB now, but not a 128GB; too risky.

Tsippaduida
2014-09-08, 21:08
I chose to ditch btrfs from my 128GB sdcard and formatted it as ext4. So far so good. No issues yet. Music player works.

Ext4 is no issue for me, as I use almost exclusively Linux. Jolla masks the underlying filesystem when connected to a computer with USB cable, so for me all seems to be o.k. even when connected to windows. I have not tried to transfer over 4GB files, will do this when I have some time.

salyavin
2014-11-08, 14:29
I'm also using a 128 GB card with ext4. If anyone has issues you can grab a newer /usr/sbin/mount-sd.sh from git. https://raw.githubusercontent.com/nemomobile/sd-utils/master/scripts/mount-sd.sh you can devel-su then move your mount-sd.sh to .bak and place that one in /usr/sbin

Keeper of the Keys
2014-11-14, 00:23
So I have a 64GB card of which I am not 100% sure if I messed it up or it's no good, I formatted it btrfs (using Jolla itself) but it always mounts read-only.

I tried re-formatting from my computer, no luck, tried re-formatting to other formats no luck either.

So now I'm considering getting another 64GB card, my only question is, what speeds does the sd interface of the Jolla support, is it worth the extra splurge to get a faster card or will the phone anyhow not be able to leverage that speed....?

rcolistete
2015-01-30, 02:46
What is the maximum read speed of the microSD slot in Jolla smartphone ? In MB/s.

So does it make sense to use fast microSDXC cards ? Because cards with 20-30 MB/s (read) costs US$30-40. But with 60-90 MB/s costs US$60-100.

mikelima
2015-01-30, 08:35
What is the maximum read speed of the microSD slot in Jolla smartphone ? In MB/s.

So does it make sense to use fast microSDXC cards ? Because cards with 20-30 MB/s (read) costs US$30-40. But with 60-90 MB/s costs US$60-100.

We do not know the specifications of the microsd interface, but I suppose it should handle high speed. After all, the chipset is high end enough.

The question is: is this extra speed really needed? I doubt it. Multimedia files do not need high speed read, 2MB/s should be plenty, Higher speed means you can exchange files with another device more quickly, and maybe index the files a little faster. But in most cases, it should not matter. Unless you plan to boot from the sd card, I think you can go for the cheaper one.

GizmoSmith
2015-03-13, 17:48
I'm also using a 128 GB card with ext4. If anyone has issues you can grab a newer /usr/sbin/mount-sd.sh from git. https://raw.githubusercontent.com/nemomobile/sd-utils/master/scripts/mount-sd.sh you can devel-su then move your mount-sd.sh to .bak and place that one in /usr/sbin

Glad to know about 128GB SDXC card working with the Jolla Phone

voyager25
2015-04-07, 16:38
Hey Guys!

I just ordered a Jolla and a Sandisk UHS-1 64 GB MicroSDXC Card. Any suggestions on what I should do first before inserting it into the device. I'm a Win 8.1 Pro 64 bit user with not much knowledge of Linux.

bob_bipbip
2015-05-27, 15:49
So I have a 64GB card of which I am not 100% sure if I messed it up or it's no good, I formatted it btrfs (using Jolla itself) but it always mounts read-only.

I tried re-formatting from my computer, no luck, tried re-formatting to other formats no luck either.


MY 64GB sd card fried counter : 4

salyavin
2015-06-02, 15:08
Do you think this is a brand problem? My 128 is Lexar, ext4, 100 gig of data on there. I've never had a problem with any card in any camera or phone.

aegis
2015-06-02, 19:17
Do you think this is a brand problem? My 128 is Lexar, ext4, 100 gig of data on there. I've never had a problem with any card in any camera or phone.

Me neither and I've a pile of 6 that I rotate around phones, cameras, tablets and my Mac. The only one that ever went read-only was in my Jolla and it was a Sandisk Ultra 64GB formatted FAT32 so not cheap and no weird non-standard Linux filesystems though obviously FAT32 isn't a standard either for 64GB cards. I'd been using that brand for ages and still do in other devices so I do not suspect it's a brand problem.

I wonder if people have the same reliability problems with 32GB cards in Jolla phones ?

bruce-one
2015-06-04, 12:00
I've also got a 128 gig micro in my Jolla, working well :-)


I actually did a `btrfs device add /dev/mmcblk1 /`; and so now I have 134 gig for everything... (I don't recommend trying this unless you're willing to deal with the risks of something going wrong...)

My Jolla seems to insist on doing a "filesystem check" (or something like that) on every boot, but other than that it seems to be working fine :-) (Been that way for ~2 weeks)

Has anyone else tried something similar? It hadn't crossed my mind as an idea until recently, but it seems to work well :-)

butler
2015-06-09, 15:53
I've also got a 128G Sandisk microSD about 8 month ago, formatted it with BTRFS. It works nicely. Previous 64G AData (or was it SiliconePower?) died after 2 months.

bruce-one: I'd strongly advice against adding SD to the same pool as root fs. AFAIK to use additional space you will have to use RAID0, so if SD dies or isn't available at boot, you can end with corrupt filesystem. What's worse, "factory" home/root filesystems are stored as btrfs subvolumes, so they can get corrupted too, leaving you with unrecoverable system.

IDK what recovery mode uses for root filesystem. If it doesn't depend on those "factory" subvolumes, you may still be able to recover by restoring those subvolumes or the whole partition if you backed them up beforehand. Jolla won't provide you with images because of licensing restrictions.

Running 'balance' operation in this setup is especially dangerous since it'll most likely move some parts of 'factory' files to your SD to achive nice RAID0-like performance. In newer versions of Sailfish balance may run automatically if free space is too low.

So I'd advice to make sure that you have all filesystem/block dev backups and recovery mode uses some other partition, or be ready to ship phone back to Jolla for reflashing...

kibet85
2015-06-13, 08:34
i bought a Sandisk UHS-1 64 GB MicroSDXC Card. formatted it to ex4...i can see it on phone through file browser. someone assist me to give permissions to be able to write on it.

bruce-one
2015-06-13, 09:03
Tehe, yeah...

Alas the worst happened :-p

Okay, actually, not the worst - one big positive came out of it. It would seem the recovery mode still works when the main partition does not...

It was fun while it lasted, but for now I might be warrantying an sd card, and am in the process of restoring the bits I had backed up :-p

Tsippaduida
2017-12-24, 17:45
I formatted my 200 GB Sandisk card in laptop (Ubuntu 16.04) to ext4. No permission problems. Might be that ubuntu automatically considered that the card should be usable by anyone and wrote access rights accordingly.

My 128 GB card seems to be completely broken, I was not able recover any partition info via GParted nor testdisk and ŕeformatting it failed both using the phone and laptop. I guess I should try to do some post mortem analysis, but cannot get bothered with it. I had backups of most of the content so not a big deal for me. Sad thing is that the 128 GB Sandisk card lasted under 3 years. Even sadder thing is that Jolla phone did not warn me about non accessible sdcard. I noticed problems when listening stored music stopped working.

I have 64 GB Sandisk card in N900, it is possibly a month younger than the phone (I got mine on December 2009).