Boot into TWRP and select Mount. There should be a option that you can check or uncheck. It's a option for read-only system.
The other thing you could try is:
Format your Internal Memory however many times you want (I do it twice),
Wipe System, Dalvik, Data, Internal and Cache however many...