In twrp tap on advanced, format data type 'yes'
Advanced wipe, system, dalvik and cache
Preliminary steps for root:
Install magisk manager canary select and patch a file, tap on the lineage recovery image in your preferred file manager
Boot to twrp and flash magisk patched recovery image to 'recovery'
Note: every time reboot phone, hold power, volume up and bixby until the warning screen flashes on then off for root
The sdcard doesn't get detected. Normal, wait for dev to fix. 👍