I just upgraded my LG V20 (H918) phones to LineageOS 19.1 and I tried to format my SD card in my Android storage settings and it failed every time I tried. I can still boot into the Android OS, but when I go to boot into the TWRP recovery, it will always freeze on the TWRP boot startup screen. Therefore I cannot reflash LineageOS onto the device, or even update the ROM.

I cannot reflash TWRP or even flash LineageOS recovery in fastboot mode since I always get an error.

Does anyone know a way to solve this? To my understanding, trying to format the SD card caused this issue as the recovery was working before.