Home Custom Roms How to Install MIUI V5 on Nexus 4 or Nexus 5

How to Install MIUI V5 on Nexus 4 or Nexus 5


Flashing a custom rom and revert back to original state is never been an easy task but the Nexus Root Tool Kit (NRT) made life easier. Thanks to wugfresh for developing such a unique software. And today, the rom we going to flash is MIUI. Yes, it is that rom inspired by Apple IOS and the company “Xiaomi” – which is often referred to as Apple of China, interesting right!. Right from iCloud to Music Player everything is inspired from apple but there are some features in MIUI which makes android a bit more powerful than the stock android. The dailer, contacts, messaging settings are so well organised that we don’t need another app to accomplish a simple task like “finding duplicates and merging contacts”. The MIUI features many other interesting settings and options which makes it a recommended rom. So want to try something new today then lets get started!

Flashing MIUI V5 on Nexus 4 or Nexus 5:

To flash MIUI or any other custom rom, your device must be in unlocked state. To check, power off your phone > Press Volume down + power button to boot into bootloader. There you should see the Device State as Unlocked. If yes, then you are good to go. If No, follow the complete guide.

Step 1 : Prepare your Phone/Tablet

Since this method will utilize Android Debug Bridge (ADB), you’ll need to enable USB Debugging on your device, which is in the Developer Options menu. If you don’t see that menu in your Settings, let’s unlock it now.

Head into Settings, then scroll all the way down to the bottom and hit About Phone. In here, scroll down to the bottom again and tap Build Number seven times in rapid succession.

Next, back out one level and you’ll see a new Settings menu titled Developer Options. Open this menu, then tick the box next to Enable USB Debugging and press OK on the subsequent popup.

usb debugging android l nexusandme

Step 2: Connect Your Phone/Tablet to Your Computer

This is a simple step, but it’s an important one. You’ll need to connect your phone to your PC to apply the update, but the USB cable you’re using to do that is important. Make sure there is no visible damage to the cable and the connection it makes at both ends is firm.

Step 3: Download the rom from MIUI Official website

To download the MIUI V5 rom click this link from your Windows PC > Choose “Google” as brand > Choose your device “Nexus 4” or “Nexus 5” > Click “Download full Rom” to begin your download.

Step 4 : Install Nexus Root Toolkit

This is a superb tool which not only simplifies the things but also explains each and every option and its purpose. To download Nexus Root Toolkit click this link from your Windows PC.

When the download has finished double click the .exe file and hit RUN. From the next window, click Install.

Nexus Root ToolKit NRT

When the installer is finished, you’ll be asked to enter your device name and Android build number. Choose your device and its built as “OCCAM-MAKO: Android *.*.*-Any Build” from the drop down and click Apply.

Android L to KitKat NexusandMe

At this point, you’ll see a dialog box instructing you to enable USB Debugging on your device. We’ve already covered that part in Step 1, but you’ll also need to allow your computer to connect to your device at this point.

Unlock your device and you should see a dialog box asking you to Allow USB Debugging. Tick the box next to Always Allow From This Computer and tap OK.

Computers RSA Key

Next, NRT will ask you to download a couple of files. Click OK to allow it to download all of the necessary files.

Step 5: Configure Nexus Root Toolkit (NRT)

At this point, you should be looking at the main screen of the Nexus Root Toolkit. First, you’ll need to install the ADB drivers if you haven’t already done so. Right up top, tap the button that says Full Driver Installation Guide to get things started.

Nexus Root ToolKit Initial Setup

On the next screen, click the Step 3 tab and take note of the Recommended Driver Solution. Click the corresponding driver solution below it, then follow the prompts for driver installation.

ADB Drivers installation

To check whether the drivers configured properly or not. Goto Step 4 and hit the Full Driver Test.

confirm your drivers configuration NRT

When finished, head back to the Nexus Root Toolkit’s main page.

Step 6 : Create Android Backup File

It is always advised to create of a backup of your current stock rom because if something fails in middle of the process you have an option to restore back, no worries. Nothing gonna happen. To create a backup of all your existing apps and data click that Backup button under Backup+Restore on main screen of the NRT and then the “Create Android Backup File“.

Backup System apps and Data NRT

Be patient, the backup process takes time to complete.

Step 7 : Unlock the Bootloader

If you haven’t unlocked your bootloader you may now have to. Inorder to root the device you first have to unlock it and this process erases all the data on your device. So, it is recommended to take a backup of all your apps and their data before you begin this process.

Now, just go ahead and click the Unlock button.

Unlock Bootloader NRT Nexus and Me

The phone then boots into bootloader and thus begins the process. At the end you may notice the “Lock State – unlock” which states, the phone has been unlocked successfully.

Step 8 : Root and Flash Custom Recovery

Now our purpose, full administrative access and that is possible only by root. So, from NRT’s main screen, under the Root subsection, tick the box next to And Also Flash: Custom Recovery. Then, just hit the Root button to begin the process.

Root and Flash Custom Recovery

On the next screen, click OK to begin rooting and installing a custom recovery on your phone. When it’s all finished, a confirmation box will let you know that the process was successful. You should see two new apps in your app drawer one is SuperSu and other BusyBox.

Step 9: Flashing MIUI

Step 1 : Put the downloaded MIUI 5 .zip file onto your Internal Storage
Step 2 : Reboot into Recovery(TWRP) – Volume down + Power button.
Step 3 : Goto “wipe” – > Advanced
Step 4 : Check all (Dalvik, System, Data and cache) except internal storage and usb-otg then at bottom drag the “Swipe to Wipe” button to confirm and begin the wipe process.

Twrp Wipe Process
Step 5 : Next goto “Install” -> “install zip from sdcard” -> choose the [filename.zip] and confirm flashing procedure
Step 6 : When done “wipe dalvik cache” once again
Step 7 : “reboot into system”

That’s it. It may take up to 5 minutes for the device to boot completely– be patient. After successful boot choose English as your default language.

Note: If the sim or other hardware isn’t detected in the first boot. Reboot the device to set all things right and working. Enjoy the New Rom!

Any queries feel free to ask using the below comment section.

Direct Links:

MIUI V5 for Nexus 4 : Download Full Rom

MIUI V5 for Nexus 5 : Download Full Rom

Web & Mobile Developer