Root your Android with a very simple tool:
It reboots your Android phone a few times and does his stuff. Some people need to run it several times before it’s completely fixed. After that, run ClockworkMod Recovery or something similar to put your favourite Android on it like Cyanogen or Oxygen.
Download http://revolutionary.io/. Put Cyanogen zip file on sd card, run revolutionary tool to boot revolutionary hboot, choose in revolutionary menu to install zip from sd card (Cyanogen), and reboot your system!