Cyanogenmod - Filesystem for 64GB SD card, files larger than 4GB Every time I find a thread on the Internet describing "how to get your 64GB SD card to work with Cyanogenmod", the answer is always the same: format it to FAT32.

FAT32 does not support files larger than 4GB. Does Cyanogenmod (10.1) support a decent file system that can take files larger than that?
On yesterday's CyanogenMod nightly, I performed the following steps:


Unmount the SD card in the UI
Erase the SD card in the UI (this recreates the partition table itself and creates a new FAT32 fs)
Unmount the SD card again, if needed
Plug in the phone
Open a shell with adb shell
su to root (this has to be enabled in Settings)
Run make_ext4fs /dev/block/mmcblk1p1 to create the new ext4 fs
Mount the SD card in the UI (you'll have to unplug the phone to do this)
Reopen the root shell and run chown media_rw:media_rw /mnt/media_rw/sdcard1 to give the folder the expected owner
Run chmod 775 /mnt/media_rw/sdcard1 to make the sdcard writable


Having done this, the card is mounted automatically by CyanogenMod, and it can be written to from file managers without root privileges. I also copied music and pictures to the filesystem, and after a reboot, they are indexed and shown in Apollo and Gallery. I've only been using it for less than a day, but it's been working like a better FAT32 fs so far.