Use a different format for sd-card as portable storage (ext3, ext4, extfat)

I had problems with my Sandisk 512 GB U1 card with exFat so I ordered a SAMSUNG EVO Plus 512 GB which works fine even after formatting it under Linux.
I wanted to try ext4 first. BTW I do not understand why this is not working for many Android versions and different devices, now. Except for AOSP or LineageOS based systems.