Use an ext4-formatted microSD as portable storage

Hello. I have a MB-MC512SA/EU microSD card that I’ve been using as an external portable storage for the phone for the past ~2 years. The phone had previously formatted the storage device with the exFAT filesystem. However, I have been having write issues with the card’s filesystem recently where it frequently became read-only when trying to write multiple files simultaneously, which necessitated reboots to get it to be writeable again.

As such, I have made a block-level backup of the storage device using ddrescue and have manually reformatted with the ext4 filesystem using mkfs.ext4, as I believe that it is a more robust filesystem than exFAT and that Android fully supported the filesystem. Afterwards, I manually copied over the files from the backup to the new filesystem.

However, upon reinserting the card and rebooting the OS, it seems like the phone incorrectly recognises the storage device as corrupted (“This Samsung SD card is corrupted” displays in the storage settings page), even though it isn’t actually, as I can read and write data to it fine on my Linux system.

I have tried manually using the mount tool on Termux to mount the storage device, but this predictably fails as I don’t have root access.

As such, does anyone know how I can go about getting this set up to work, preferrably without having to root the phone (I’d like to continue being able to use it for mobile banking, which I’ve had issues with on previous rooted devices).

For context, I am currently on build number FP5.UT2M.B.113.20250319 of the official OS.

Seems unlikely, I found this here … https://x.com/MishaalRahman/status/1641130390088826896?lang=en … which links to this here … https://android-review.googlesource.com/c/platform/system/vold/+/2494691

3 Likes

Thanks for sharing those conclusive sources of info. It’s quite unfortunate that ext4 isn’t supported for use on external storage devices on Android. It’s strange that it seems to be supported on internal storage devices but not on external ones. I hope they add support for that use case soon, as I really dislike being stuck with using exFAT which, frankly, is not that good of a filesystem.

I’m not sure using ext4 will have definitively fixed my particular issue, but it would’ve been nice to have been able to at least give it a try.

Anyway, thanks again!

1 Like

I tried that when I bought my FP4 2.5 years ago. I was used to formatting all bei external SD cards with ext4 as I always ran alternative ROMs on my previous mobile phones (AOSP or LineageOS based).
This would be the reason to switch to another OS on the FP4. Can someone acknowledge ext4 on the external SD is working für /e/OS, IodeOS, CalyxOS or LinageOS?

LineageOS 18.1 was Android 11.

/e/OS and iodéOS are based on LineageOS, “CalyxOS draws heavily from the LineageOS community and code.”

1 Like