No access to internal memory. Problem during format
I basically have no internal memory anymore. I was formatting it through my pc, and then it froze when I opened an app. When I forced reboot it, I had no access to the internal memory, and if I try to format it through the phone it goes into it for a while and then reboots on its own. My computer doesn't detect it and TWRP says the wipe failed. Suggestions? I am really worried. Luckely I still have access to external SD.
PHONE: Samsung Galaxy SII GT-I9100
ROM: NeatROM 4.1.2 XWMS3 5.9
KERNEL: Apolo 4.14 Light TWRP