I'm running a MIUI 12.5.5 xiaomi.eu ROM on a rooted Redmi Note 9 Pro. I'm trying to format my 128GB micro SD Card via Settings > Storage > Format SD Card, but this causes the device to reboot. I suspect it's something to do with the ROM, so I'd like to format it via terminal or Termux if needed.
How should I proceed? Also, should I format it to exFAT or FAT32?