The problem started when i got a messege every 3 seconds that the google play services have stoped. I got tired of it within minutes and went to find the answer in the internet. I found several solutions but neither worked. one way of solving this problem was deleting the cache and the memory of the system, so I did. after that, when I booted up, google tried to force me to update to android M (I was on lollipop) and I didnt want to cause I was rooted. I couldnt skip this setup section so I got angry and just decided to wipe the whole phone, foolish decision from my part. when I tried to boot up again twrp poped a messege saying that I dId not have an os installed. I went bonkers, I dont seem to find the solution, please someone help me. some helpful information... -I have a twrp version 188.8.131.52 -originaly the phone was a HTC ONE m8x, made it a ''GPE'' -got s-off -unlocked software status sorry for my english, its my second laguage.