Originally Posted by blountish
I have rooted/ unlocked bootloader and did have a custom rom installed and working using twrp. I accidently deleted the whole system and all is left is twrp. I have tried to sideload but it wont detect my device in dos. Im really clueless to this now
For sideload to work, you need to have ADB working. You need to have the Motorola USB drivers installed.
Another option would be to restore to a stock image (via mfastboot) and start over.