I recently switched from an iPhone to the M8. After having the phone for a couple of weeks I rooted it and flashed viperone. A few days later I decided that I wanted to change roms and made the mistake of accidentally deleting the entire operating system. Eventually I was able to install the...