How to Install Custom ROM on Any Xiaomi / Redmi MIUI Device – Guide

A ROM is a software program that allows you to change the way your smartphone behaves. A Stock ROM is a pre-installed ROM that is known to be based on the Android operating system. A Fastboot ROM is a firmware file that can be flashed onto your smartphone using the MiFlash tool. Every smartphone comes with a pre-installed ROM or user interface.

There are a variety of custom Android ROMs available for different devices, and each one has its own advantages and disadvantages. A custom ROM can be more feature-rich than the default ROM or skin on your phone, which can make it more user-friendly. However, a custom ROM can also be less stable and may not work perfectly on all devices. If you want to install a custom ROM on your phone, be sure to read the instructions carefully before doing so.

How to install custom ROM on any Xiaomi/Redmi MIUI device?

Unlock Xiaomi Bootloader Phone

  1. Unlock the bootloader on your Xiaomi device by following these steps: a. First, you need to connect your Xiaomi device to a computer. b. Once connected, open a command prompt and type “adb reboot bootloader” into the command prompt. c. After rebooting your Xiaomi device, you will need to unlock the bootloader by following these steps: d. Type “fastboot unlock” into the command prompt and press enter. e. After unlocking the bootloader, you can proceed with the custom ROM installation process by following these steps:
  1. Install a custom ROM on your Xiaomi device by following these steps: a. First, you need to connect your Xiaomi device to a computer and install the ROM that you want to install onto it. b. Once connected, open a terminal and type “fastboot flash recovery recovery-v3_6_5_4_armhf-signed .img” into the terminal and press enter. c. After flashing the recovery image onto your Xiaomi device, type “fastboot reboot” into the terminal and press enter. d. After rebooting your Xiaomi device, you will need to unlock the bootloader by following these steps: e. Type “fastboot unlock” into the command prompt and press enter again. f. After unlocking the bootloader, you can proceed with custom ROM installation process by following these steps:

We assume that you are already signed in with your Mi account on your device. If not, sign up and link your number to the Mi account.

Enable USB Debugging on your Xiaomi phone. Go to Settings -> About Phone -> Tap MIUI version 7 times to enter developer mode.

Enable sync options in Settings. Tap MIUI cloud in the menu bar and scroll down to find “Find My Device.” Scroll up and tap “Sync Details.” Enable sync all items. ..

Developer Options can be found under Additional Settings. Toggle the OEM unlocking and USB debugging toggle button.

Tap Mi Unlock Status and then tap Agree button.

Once done, tap on Add Account and Device.

This is a warning to anyone using Xiaomi devices, as a security flaw has been discovered that allows unauthorized access to personal data on the devices.

Now press volume down and power button simultaneously for a few seconds to enter Fastboot mode. When entering Fastboot mode, connect your Xiaomi/Redmi/POCO device to PC via USB cable.

This is the first step in the process of unlocking your Xiaomi Mi 4. Follow these steps to complete the process:

  1. Download and install the Mi Unlock Tool on your PC.
  2. Follow the steps shown below to complete the bootloader unlocking process.

Open the Mi Unlock Tool app and input your Xiaomi ID. The Mi Unlock Tool will then scan your phone and will display a list of available unlock codes. Select the code that best matches your phone’s IMEI number and click on “Unlock.” ..

Fastboot mode is a mode that allows you to access your device’s settings and functions without having to go through the normal process of unlocking it.

  1. Connect your device to the PC.
  2. Click on the Unlock button. ..

Your computer will start to unlock after a set amount of time, and a message will appear saying that the process was successful. ..

The patient needs to wait 7 days after the procedure is performed in order to try it again.

Install a custom recovery (TWRP recovery)

  1. Make sure your device is rooted.
  2. Have a custom recovery installed on your device.
  3. A TWRP recovery image is available for download on the official TWRP website.
  4. If you are using a MIUI ROM, you will need to install the MIUI recovery toolchain and ADB drivers.
  5. To flash the ROM, first boot into recovery mode and then flash the TWRP recovery image from the downloaded link above.

If you don’t have ADB installed on your Windows, you can install it here.

Your device is unlocked and can be used without a password.

To flash the TWRP recovery on your device, you will need to search for it in the list of compatible devices.

Turn off your Xiaomi device and press the power button and turn down the volume button simultaneously to enter.

To enter fastboot mode, connect your device to your computer and turn it on. Then, press and hold the Volume Down button while pressing the Power button. Release the buttons when you see the Fastboot menu appear. ..

Copy the TWRP image to your preferred location on your PC.

  1. Open a command prompt and type “twrp” (without the quotes) and hit enter.
  2. The TWRP image will be copied to your desired location on your PC.

Open the command prompt (CMD) or terminal on a PC and type the following: adb reboot bootloader

sudo mv twrp.img twrp.img.bak Type the following command to flash the TWRP image: sudo fastboot flash recovery twrp.img ..

To flash a recovery image on your Android device:

  1. Power off your device.
  2. Boot into fastboot mode by pressing and holding the Volume Down button while powering on your device.
  3. Connect your Android device to your computer using a USB cable.
  4. Open a command prompt window on your computer and type: fastboot flash recovery twrp-3.0-0-android.img ..

Many devices will automatically enter recovery during their first boot. You can avoid this by searching for the proper key combination for your device to enter recovery. After typing, restart fastboot, and hold the key combination to boot into TWRP.

Install a custom ROM

Now that you’re here, we’re ready to install a custom ROM. Also, be sure to back up your data before proceeding because you’ll need to restore it after flashing the custom ROM. Check out the steps below: ..

To flash a custom ROM on your Xiaomi phone, you need to find the appropriate ROM that supports your device.

Copy the downloaded ROM to your Xiaomi phone internal storage. Do not extract the ZIP file. To root your Xiaomi phone, follow these steps:

  1. Reboot your Xiaomi phone into recovery mode by pressing and holding Volume Down and Power at the same time for about 10 seconds.
  2. Once in recovery mode, select “install zip from sdcard” from the menu and press OK.
  3. Navigate to the folder where you extracted the ROM file to (for example, /storage/emulated/0/Android/ rom) and press OK to install it.

Boot your smartphone into TWRP recovery and then type in the following command to start the recovery process: fastboot flash recovery twrp

Back up your system before proceeding. Select Backup option in TWRP and select Boot, System Data, Modem and EFS and then slide to backup. If your installation fails, you can boot into TWRP and reach the previous state of your device.

Wiping data, cache and Dalvik will help you recover your device.

Tap Install and select the custom ROM zip file that is saved to your internal storage.

To install the ROM on your device, select the .zip file and swipe to confirm. ..

On successful installation of a custom ROM, select the Wipe cache/Dalvik option and enable “Swipe to Wipe.”

Reboot your device by tapping on Reboot System in the TWRP main menu.

Final note

This guide will show you how to install a custom ROM on your Xiaomi / Redmi MIUI device. If you have any query regarding this article, please do not hesitate to ask us. Additionally, please share this guide with your friends and family so that they too may benefit from it.