epidenimus
Racer of Elevators
I've been reading this thread and I want to be sure that we understand where you are. Here is my understanding:
You have managed to install and get into TWRP, which you got from this forum.
You're able to boot into your modified and possibly jacked up stock ROM on which you have done a factory reset of some type. You are not sure if it still properly rooted.
I would put a solid custom ROM zip on your SD card (easiest way is to just use the adapter with a card reader on a PC), then boot to TWRP and clean wipe and format the internal partitions (not the SD card). Then flash the ROM (and Gapps, if AOSP) by choosing the "Choose zip from SD card" (not sure the exact path to this in TWRP).
Be sure to do a nandroid backup once you get the basics configured on your fresh install.
You have managed to install and get into TWRP, which you got from this forum.
You're able to boot into your modified and possibly jacked up stock ROM on which you have done a factory reset of some type. You are not sure if it still properly rooted.
I would put a solid custom ROM zip on your SD card (easiest way is to just use the adapter with a card reader on a PC), then boot to TWRP and clean wipe and format the internal partitions (not the SD card). Then flash the ROM (and Gapps, if AOSP) by choosing the "Choose zip from SD card" (not sure the exact path to this in TWRP).
Be sure to do a nandroid backup once you get the basics configured on your fresh install.