Default [Q] Htc one x european international version re-root and flash to stockrom


i have an international htc one x+ with baseband version 3.1204.171.33; i tried rooting the device but that did not happen properly ; the fastboot mode shows rooted but in apps i can not get root access; what i need to do now is re-root the device back to the way it was when it came and flash the factory rom back to it.

if the phone gets switched off it does nt charge ; in short the default rom on the phone that is android 4.2.2 and sense 5 has gone bad and i want to re-install a fresh copy of that back to the phone.

please help me with the same as i could not find an ruu for the baseband mentioned above;