Help! accidentally erased internal memory in TWRP. How do i FIX?

dieselstation

Member
Jul 21, 2010
31
5
0
So I accidentally deleted all my files in TWRP recovery. Now I can't boot up cuz there's no ROM to boot to. I have tried sideloading a ROM but I get error messages during the process in TWRP.

Is it because I have S-On? I have no idea what to do now. Is there a simple step by step guide to just flash a new ROM or original ROM using ADB or Fastboot? This is what my screen says.. and i'm stuck at the "This build is for development purposes only" screen.