Guides for Redmi 4, 4X, 4A, Prime

Redmi 4X Complete User Guide

Here you’ll find the complete set of most important tutorials for Xiaomi Redmi 4X, Redmi Prime, Redmi 4A and Redmi 4 phones. Basically all these guides, except flashing with MiFlash, require unlocked bootloader. Also check out this post to find all drivers for Redmi 4X device.

Guides and Top Tips for Redmi 4, Redmi 4X, Redmi 4A & Redmi Prime

How to Unlock Redmi 4X Bootloader with Mi Unlock

Before unlocking your Redmi 4X / 4A / 4 device you’ll need to request official unlock permission.

  1. Sign into your Mi-Account – “Setting” > “Mi Account”.
  2. Start your device in fastboot mode (turn off, press and hold “Power” and “Volume down” button, after short vibration signal release the “power” button and wait for the fastboot logo to appear.
  3. Now connect your device to PC.
  4. Download Mi Unlock tool (check out Redmi 4X drivers post). Unpack downloaded archive into new folder on your PC or laptop.
  5. Start Mi Unlock and press “Agree” to continue.
  6. Enter your Mi Account credentials and click on “Sign In” button. You should use the same account you’ve previously signed in on your phone!
  7. Now press “Unlock” button.
  8. Wait until you see a “Unlocked successful” message. Now press “Reboot phone” and wait until your device reboots in system.

How to check Redmi 4X bootloader lock state?

  1. Download Platform-tools (adb/fastboot) and unpack downloaded archive into new folder on your PC or laptop.
  2. Start your device in fastboot mode (turn off, press and hold “Power” and “Volume down” button, after short vibration signal release the “power” button and wait for the fastboot logo to appear. Connect your phone to PC or laptop.
  3. Open the folder with adb/fastboot files, hold “Shift” button and right click on the empty space, select “Open command window here”.
  4. In the command prompt enter the following command:
    Fastboot devices
    Fastboot oem device-info
  • Device unlocked: true – bootloader is unlocked
  • Device unlocked: false – bootloader is locked

How to flash MIUI ROM on Redmi 4x

Flash locked bootloader Redmi 4X / 4A / Prime with MiFlash

  1. Disable disable driver signature enforcement (read more here).
  2. Download MiFlash (Redmi 4X drivers & Tools) and install. Confirm drivers installation!
  3. Download Redmi 4X MIUI ROM for MiFlash / fastboot and unpack downloaded ROM into “C:\rom” folder.
  4. Open MiFlash and select folder with unpacked ROM files. In MiFlash select “Flash all” or “clean all” option.
  5. Boot your device in EDL / Download mode.
  6. Let Windows install all drivers. In “Device Manager” your device should be found in “Ports (COM & LPT)” and recognized as Qualcomm HS-USB QDLoader 9008 (COMX). In case you see Relink HS-USB QDLoader 9008 (COMX) device, then manually delete this drivers and reconnect your device in EDL / Download mode (first turn on your device by holding “Power” button until vibration signal). In case it doesn’t help, right click on device in “Device Manager” > “Update drivers” > “Search for drivers on this PC” > “Select from installed drivers” > “Qualcomm HS-USB QDLoader 9008 (COMX)”.
  7. In MiFlash press “Refresh”. In “Device” tab you should see the same COM port number as in “Device manager”.
  8. Press “Flash” button and wait until installation process is completed. Usually it takes around 5 minutes.

In case of error you may try different version of MiFlash. If it doesn’t help either, then try connecting your device to another USB port and use another PC if possible.

How to flash from China 8.1.x.0 or later

  1. Download 8.0.3.0 MIUI ROM Recovery / System and copy to phone root memory.
  2. Open the “Updater” app, tap on “three dots” icon and select copied ROM .zip archive. If you’ve stuck with verification errors try renaming the file to update.zip.
  3. All data and personal settings will be deleted!
  4. Confirm with terms and wait for the system to start.
  5. Turn off your device, press “Power” and “Volume Up” buttons, after vibration release the “Power” button.
  6. In the menu select “download”.

How to downgrade Redmi 4X to 8.0.5.0 MIUI ROM

  1. Turn off your phone.
  2. Hold both volume buttons and connect your device to PC.
  3. After vibration signal, release volume buttons. Nothing should appear on the screen after vibration. If your device just reboots, try turning off your device, then connect it to PC while pressing both volume buttons at the same time. After vibration release both buttons.

How to flash unlocked bootloader Redmi 4X with fastboot

  1. Download Platform-tools (adb/fastboot) and unpack downloaded archive into new folder on your PC or laptop.
  2. Download Redmi 4X MIUI ROM for MiFlash / fastboot and unpack to the folder with adb/fastboot.
  3. Start your device in fastboot mode (turn off, press and hold “Power” and “Volume down” button, after short vibration signal release the “power” button and wait for the fastboot logo to appear. Connect your phone to PC or laptop.
  4. In the folder with the adb/fastboot files, run flash_all.bat, wait until device reboots and then disconnect from PC.

How to flash TWRP Custom Recovery on Redmi 4X

  1. Download Platform-tools (adb/fastboot) and unpack downloaded archive into new folder on your PC or laptop.
  2. Download TWRP for Redmi 4A and unpack downloaded archive into folder with adb/fastboot files. In downloaded archive replace twrp.img with TWRP version for your device.
  3. Start your device in fastboot mode (turn off, press and hold “Power” and “Volume down” button, after short vibration signal release the “power” button and wait for the fastboot logo to appear. Connect your phone to PC or laptop.
  4. In the folder with adb/fastboot files, start “flash_twrp.bat” and wait for TWRP to start. Disconnect your device from PC.
    • If you’re installing TWRP without flashing new ROM. Confirm system partition modification if TWRP asks for it.
  5. In TWRP: Go to “Advanced” > “Disable Verify” (or install SuperSU 2.65, if your want to have root on your phone).
  6. “Reboot” > “System”.

After SuperSU installation, it’s recommend it to update it via Google Play. This will help you to get rid of ADB, PTP, MTP and USB hot-spot issues.

How to update TWRP on Redmi 4X / 4A / Prime

Here’s a method on how to update via currently install TWRP Custom Recovery version:

  1. Connect your device to PC or laptop and copy fresh TWRP version to phone MicroSD or internal memory. Disconnect your device.
  2. Boot into TWRP Custom Recovery, select “Install” > “Install Image” > select TWRP .img file > select “Recovery” partition > wait until installation process is completed.
  3. “Reboot” > “Recovery”.

How to update TWRP on Redmi 4X via fastboot

The process is similar to flashing TWRP. Simply rename the new downloaded TWPR Custom Recovery image to twrp.img and replace it in the  adb/fastboot folder.

How to flash Custom ROM on Redmi 4X

It’s recommended to copy downloaded custom ROM version to MicroSD card. Allow system partition modifications if required by TWRP Custom Recovery.

  1. Boot into TWRP Custom Recovery.
  2. Go to “Wipe” > “Advanced Wipe” > Select all partitions, except MicroSD and OTG.
  3. “Reboot” > “Recovery”.
    • In case you’ve stuck on Mi logo hold “Power” and “Volume Up” buttons, after short vibration, release the “Power” button and wait for TWRP to start.
  4. Select language in TWRP.
  5. Download custom ROM for your device. Download Custom ROM for Redmi 4X here.
  6. Connect your device to PC and copy downloaded ROM archive as well as SuperSU 2.65 archive to phone MicroSD or internal memory, if you want to have root on your phone.
  7. “Reboot” > “Recovery”.
    • In case you’ve stuck on Mi logo hold “Power” and “Volume Up” buttons, after short vibration, release the “Power” button and wait for TWRP to start.
  8. In TWRP menu tap on the “Install” button > select custom ROM you want to install, also add SuperSU .zip archive if you want to enable ROOT, select reboot into system after flashing.
  9. Wait until installation is finished.

Don’t forget to update SuperSU via Google Play after installation. This will help you to get rid of ADB, PTP, MTP and USB hot-spot issues.

How to root Xiaomi Redmi 4X / 4A / Prime

  1. Download Platform-tools (adb / fastboot) and unpack the archive into an empty folder on your PC or laptop.
  2. Download this archive and unpack it into the same folder with the adb / fastboot files.
  3. Boot your device into the fastboot mode (turn it off, hold down the “Power” button and “Volume Down”, after the vibration signal, release the power button and wait for the fastboot logo to appear).
  4. Connect Redmi 4X to a PC / laptop.
  5. In the folder with the adb / fastboot files, start boot_twrp.bat and wait for the TWRP launch. TWRP will not be installed, only loaded for a single time. Confirm system partition modification if TWRP asks for that.
  6. Download and copy SuperSU 2.65 archive into phone internal memory or MicroSD.
  7. Disconnect your device from PC.
  8. In TWRP menu press “Install” and select SuperSU archive and select “Reboot after install” option. Wait until installation process is finished.
  9. In this script “Boot image patcher” is included, no need to patch boot with “Disable Verify”.
  10. After installation of SuperSU, go to Google Play and update it. This will help you to get rid of issues with ADB, PTP, MTP and USB hot-spot.

Check out this post on how to enable root on Redmi 4X for more methods.

How to install GApps on China Stable Redmi 4X / 4A / Prime

  1. Download Platform-tools (adb / fastboot) and unpack the archive into an empty folder on your PC or laptop.
  2. Download this archive and unpack it into the same folder with the adb / fastboot files.
  3. Boot your device into the fastboot mode (turn it off, hold down the “Power” button and “Volume Down”, after the vibration signal, release the power button and wait for the fastboot logo to appear).
  4. Connect Redmi 4X to a PC / laptop.
  5. In the folder with the adb / fastboot files, start boot_twrp.bat and wait for the TWRP launch. TWRP will not be installed, only loaded for a single time. Confirm system partition modification if TWRP asks for that.
  6. Download and copy GApps archive into phone internal memory or MicroSD.
  7. “Reboot” > “Shutdown”.
  8. Boot your device into the fastboot mode (turn it off, hold down the “Power” button and “Volume Down”, after the vibration signal, release the power button and wait for the fastboot logo to appear).
  9. Connect Redmi 4X to a PC / laptop.
  10. In the folder with the adb / fastboot files, start boot_twrp.bat and wait for the TWRP launch. TWRP will not be installed, only loaded for a single time. Confirm system partition modification if TWRP asks for that.
  11. Select “Install” > Select .zip archive with “GApps” > Reboot after install > Wait until installation is completed.

Just in case here you may find a tutorial on how you can unbrick Redmi 4X if something goes wrong. Also, pay attention, that author of this tutorial is not responsible for any of your actions with your phone! Make sure you’ve completely understand what you’re doing.