Replace Developer Rom With Stable And Root

Feb 12, 2015
Hi. I flashed the developer ROM 5.8.20 on my Redmi 1S and today I updated it to the new version 5.8.27. In both cases there are some bugs: some apps freeze constantly, the Atntutu Benchmark app doesn't finish the tests... In general there are some lags. The thing I like most is the RAM consumption, which is much lower than in me previous ROM (which was MIUI Portugal version of MIUI 5).

When I flashed the first developer ROM I also lost TWRP, it came back to the MI Recovery.

Anyway, I would like to:
- replace this developer ROM with the stable one (
- root the new ROM

What's the best way to achieve both?