How to root Xiaomi Mi 4i? | June 2022

Mi 4i is one of the best Xiaomi smartphones out there. Here you will learn how to root Xiaomi Mi 4i smartphones running on MIUI. 

There are two ways of rooting Mi 4i:

  • The first one of rooting is using an awesome tool – Mi Toolkit
  • The second way of rooting is using a fastboot method. 

Prerequisites:- Before starting ensure that your phone is charged above 30%.

Root Mi 4i using toolkit

Step 1: Download and install Xiaomi Mi 4i USB Driver first on your Windows PC.

You can download it here –

Alternatively, you could also download Mi PC Suite, which will automatically install a USB Driver for your Android device on your PC. 

Availability of proper ADB drivers is necessary for ADB reboot recovery.


Step 2: Enable your Developer Options and then turn on USB Debugging.

Here’s how you can do that:

  • Go to Setting -> About phone -> Tap on MIUI Version multiple times
  • Again open Settings-> Additional Settings -> Developer Options and then turn on USB debugging


Enable developer options in Android 1


Enable developer options in Android 2  

Image source –


Step 3: Now, Download the Mi 4i Root Toolkit from here –

Extract the files on your computer. After extracting, you will see the Mi 4i MIUI toolkit in it. 

Download Mi Toolkit V4

 Step 4: Connect your phone to your PC using a USB cable.


Step 5: Launch this Mi 4i toolkit. Credits- magdag(Developer of this toolkit) 

Mi Toolkit  

Image Source –


Step 6: Once the toolkit launches, Type 1 and press the Enter Key.

Note:- Suppose you flash the recovery and open recovery again using ADB reboot recovery. In that case, your Xiaomi stock recovery will open because stock recovery does not require root. Therefore ensure you have rooted(for MIUI) first to open custom recovery using ADB reboot recovery.


Step 7: It will take some time to complete, and a message will be displayed saying, “Press Any Key to Exit.”, then disconnect your phone after exit.


 Your phone will restart, and you will have SuperSu installed.  Your phone is rooted now.

Note: ADB reboot recovery requires root privileges and Adb Drivers installed.


UPDATE:- Link for a new version of TWRP

You can download dh.harald’s recovery .img file(Recovery Images), and copy your file to the extracted toolkit folder, then change dh.harald’s recovery filename into twrp.img. Ensure that the recovery filename is correct.

Root Xiaomi Mi 4i Through Fastboot Method

In this process, we will flash TWRP recovery.


  • Download Xiaomi Mi 4i USB Driver.
  • You must enable USB debugging.
  • The latest
  • TWRP Recovery(Credits: @magdag)
  • Battery life should be above 70%.

The rooting procedure will be the same after any OTA update.

Step 1:- First, Insert the file into your device’s internal storage. Also, make sure that USB Driver and USB Debugging are enabled.

Step 2:- Restart your phone in Fastboot Mode by pressing Volume Down + Power on button.

Step 3:- Head over to the location of your TWRP Recovery File. Press and hold the Shift key and then Press Right-click and select Open Command Prompt Window here.

Step 4:-. Copy and paste the following codes in the Command Prompt window,


For permanent recovery, use the following code to replace your stock recovery with a custom recovery

fastboot flash recovery twrp.img’

For temporary recovery (only for root),you can use stock recovery later 

‘fastboot boot twrp.img’

After this, turn off your phone and boot in recovery mode by pressing the Power on button + Volume Up Button.

 Note: For temporary recovery(MIUI), it will automatically bring your device into recovery and from the next boot you will again have stock recovery.

These are the steps to follow:

  • Choose to install Zip on Recovery.
  • Select the file stored on internal storage.
  • Swipe to confirm.
  • Finally, Restart your phone.

 To confirm Root Users privileges, download this app –

If the app tells you that your OS is rooted, then you have been successful in rooting your Mi 4i device

In case your device is facing a lot of issues, we recommend you to check out our article on how to hard reset Mi 4i.


Join The Discussion