Originally Posted by timmaaa
It doesn't seem like you have the faintest idea of what you're doing if you can't even recover from deleting your OS.
I tend to agree. There has also seems to be an increase of this occurrence in the last several months of "I wiped the OS accidentally and I don't know how to recover". Which is a bit troubling since the default wipe in TWRP is factory reset, Dalvik, and cache. The Wipe screen on TWRP explicitly states that this is all the is usually needed. If you wipe /system, you did so deliberately by going into the Advanced screen and picking it from there. Meaning the OP took extra steps to do something without knowing if it was necessary, and without knowing how to recover from it.
This also means the OP didn't create a nandroid backup in TWRP, which would have been a simple way to recover. This is basic, fundamental step that should be taken whenever modding a phone, but something n00bs seem to be "skipping" (or ignorant of) lately.
This type of behavior/mindset while modding does not bode well for the life of your phone.
Please click the "Thanks" button if you found a post helpful!
Phone: HTC One X (AT&T version) Rooted, Bootloader Unlocked, S-Off
Tablet: Samsung Galaxy Note 8 (WiFi only) Rooted