You are going to need to get a copy of the original rom it had on it. Usually XDA or AndroidForums is a good place to start. Then you need to flash the original rom, and then probably unroot it as well. I am sure if you check either of those two sites that there will be information that you need there. Good luck.