Steps:
1. Wipe data and cache via recovery mode of your phone
2. Install the firmware downloaded via recovery mode
3. After intallation is done select Reboot
4. Intall oppotoolkit then launch it
5. Select common>root
6. May installation process after that and the fon will be restarted
7. Do step 5 again and your good!