Today we are sharing you how to root any xiaomi device with recovery method. safest method to root any rom of MIUI. 
Recovery with fastboot.
Here are the Simple Steps. (We Chooses Redmi2. You can download your recovery as per device and follow the same)
Required Recoveries for Redmi2.

1. Download cwm/twrp/philz recovery for your device (these are not flashable zips) extract the zip files and get the .img file.

TWRP HM2014811   HM11_twrp_recovery.zip
TWRP HM2014813   HM13_twrp_recovery.zip
CWM   HM2014811   HM11_cwm_recovery.zip
CWM   HM2014813   HM13_cwm_recovery.zip 
PHILZ  HM2014811  HM11_philz_recovery.zip

2. Copy the desired recovery(after extracting) to C:/Program/Files(x86)/Xiaomi/MiPhone/Google/Android/

1. Download Super Su from here.
2. Copy the file to your SD Card.
3. Install MiFlash from here: http://bigota.d.miui.com/tools/MiPhone20140509.exe
4. Go to C:/Program Files(x86)/Xiaomi/MiPhone/Google/Android/   
     You will find files like adb.exe,fastboot.exe,AdbWinApi.dll, etc.
5. Now switch off your Redmi 2.
6. Press and hold Power+Volume Down till you get this Image.

 
7. Now connect your Redmi 2 to your PC.
8. Hold down Shift and press the Right Mouse Button (Same Above Location)  and you will get something like this.
9. Left Click Open Command Window Here . You will get Something like this.
8. Type fastboot devices. press enter.
     It will Show Something Like (114f5570 fastboot).

Which Type You Want Temp Recovery or the Permanent. ( Permanent will Replace your Default MI Recovery).

Temporary Recovery Method : In this method the recovery will not be flashed, i.e. This will not replace your stock recovery.

Copy this line and paste it in the command prompt by right click and select paste.
  • Type:  fastboot boot HM11_twrp_recovery.img


  • Wait some seconds. The device will now restart into recovery.
  • Select install update from zip and select SuperSU.zip from your sdcard.
  • Finally restart the device and enjoy root.


Permanent Recovery with fastboot Method : In this method the recovery will be flashed on your existing stock recovery, i.e. This will replace your stock recovery.Copy this line and paste it in the command prompt by right click and select paste.

  • Type: fastboot flash recovery twrp.img


  • Unplug the usb cable and start the device into recovery mode by :
  • Press and hold Volume UP + Power on button.
  • Wait some seconds. The device will now start into recovery.
  • Select install update from zip and select SuperSU.zip from your sdcard.
  • Finally restart the device and enjoy root.

and you will get something like this

sending ‘recovery’ (16922 KB) . .  .OKAY [  0.338s]writing ‘recovery’ . . .OKAY [  0.494s]finished. total time: 0.833s

 
9. After you boot to TWRP/CWM/PHILZ go to Install and flash the Super SU from     your      SD Card.

10. Done ! you have rooted your device.

How to revert back/unroot:
1. Go to SuperSU app.
2. Navigate to settings.
3. Scroll Down and select Full unroot.