I have an old Samsung Galaxy A3 (SMA300FU) that I upgraded to android 10 with an unofficial lineageOS ROM for android 10. Anyway, the entire experience has been fine, but it didn’t resolve one of the main issues I had with the stock OS, this SD card issue. the SELinux policy is set to permissive & the SD card slot is fine, the SD card is a 32GB SONY card that has nothing wrong with it. The card mounts fine, but the system always mounts it as read-only & if you eject then mount it again, it will be marked as corrupted. if you format, the SD card will disappear from view of all apps, I can only see it in /storage/<card UUID> with read/write perms. Any app on my phone refuses to acknowledge the card & if it sees it it wont read it. help please.
Here are some ADB shell outputs that might help diagnose the issue
a3ultexx:/ $ su a3ultexx:/ # ls -l /storage/ total 40 drwxrwx–x 5 root sdcard_rw 32768 2025-01-13 10:41 608F-5CE8 drwx–x–x 4 root sdcard_rw 4096 2025-01-13 10:39 emulated drwxr-xr-x 2 root root 60 1979-10-23 16:20 self a3ultexx:/ # mount | grep /storage/608F-5CE8 /mnt/media_rw/608F-5CE8 on /storage/608F-5CE8 type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,mask=6) a3ultexx:/ # a3ultexx:/ # ls -Z /mnt/media_rw/608F-5CE8 <<I DONT BELIEVE THIS IS THE NORMAL OUTPUT>> u:object_r:vfat:s0 System\ Volume\ Information a3ultexx:/ # chcon -R u:object_r:sdcard_external:s0 /mnt/media_rw/608F-5CE8 <<IT WOULDNT ALLOW CHOWN EITHER>> chcon: ‘/mnt/media_rw/608F-5CE8’ to u:object_r:sdcard_external:s0: Read-only file system chcon: ‘/mnt/media_rw/608F-5CE8/System Volume Information’ to u:object_r:sdcard_external:s0: Read-only file system chcon: ‘/mnt/media_rw/608F-5CE8/System Volume Information/IndexerVolumeGuid’ to u:object_r:sdcard_external:s0: Read-only file system chcon: ‘/mnt/media_rw/608F-5CE8/System Volume Information/WPSettings.dat’ to u:object_r:sdcard_external:s0: Read-only file system 1|a3ultexx:/ # ls -Z /mnt/media_rw/608F-5CE8 u:object_r:vfat:s0 System\ Volume\ Information a3ultexx:/ # mount | grep 608F-5CE8 <<THIS COMMAND SHOWS SOME AEAS WITH R/W BUT THE MAIN BLOCK IS RO>> /dev/block/vold/public:179,65 on /mnt/media_rw/608F-5CE8 type vfat (ro,dirsync,nosuid,nodev,noexec,noatime,fs=vfat:32,eio=0x1,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=utf8,utf8,shortname=winnt,namecase=0,symlink=0,bps=512,errors=remount-ro) /mnt/media_rw/608F-5CE8 on /mnt/runtime/default/608F-5CE8 type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,mask=6) /mnt/media_rw/608F-5CE8 on /storage/608F-5CE8 type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,mask=6) /mnt/media_rw/608F-5CE8 on /mnt/runtime/read/608F-5CE8 type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,mask=18) /mnt/media_rw/608F-5CE8 on /mnt/runtime/write/608F-5CE8 type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,mask=18) /mnt/media_rw/608F-5CE8 on /mnt/runtime/full/608F-5CE8 type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,mask=7)
It looks like your using vfat. Did you try fat32 or exfat?