How to open Xiaomi Redmi 4: unlock the screen, bootloader and MI-account

Xiaomi Redmi 4 is one of the most popular budget smartphones of 2016-2017, but even years later, users face access problems: a forgotten pattern lock, locked in the hands of the user. MI-account or the need to unlock the bootloader to install custom firmware. In this article, we will discuss all the current ways to unlock Redmi 4 (including versions of Redmi 4 Pro, Redmi 4 Prime and Redmi). 4A), Considering the changes in Xiaomi policy for 2023-2026.

It is important to understand that the methods differ depending on the type of lock: it can be a lock screen (PIN, pattern lock), reference to MI-We'll look at each case separately, with the risks and tools you need. If you're not sure why you're blocking, skip the introductory section and go to Diagnostics for lock typeΒ».

Warning: some methods require data loss (e.g., a Fastboot reset), and unlocking the bootloader in the official way now takes up to 720 hours of latency (under Xiaomi 2026 rules). Alternative solutions (e.g., via EDL) can lead to a device "brick" - use them only as a last resort.

1.Diagnostics: What type of lock is on your Redmi 4?

Before you start unlocking, determine what problem you are facing, and the choice of method and tools depends on it:

  • πŸ”’ Screen lock: the phone turns on, but does not let further input PIN-code/pattern lock. The screen responds to touch.
  • πŸ“± MI-Post-Reset account: The device requires you to enter your Mi Account login/password after Hard Reset (even if your smartphone is not yours).
  • πŸ”§ Blocked bootloader: You need to flash custom software (for example, LineageOS), but the fastboot oem unlock command gives an error.
  • 🚨 Β«Brick (not included): after a failed firmware, the phone vibrates but does not load (black screen or Mi logo).

If your Redmi 4 doesn’t respond to charging or shows no signs of life (no vibration, no light), the problem may be in the hardware (for example, the battery is discharged or the motherboard is damaged).

πŸ“Š What kind of blockage did you encounter?
Screen lock (PIN/pattern lock)
MI-account after reset
Locked loader
Phone's not turning on (brick)
Other

2. unlock the Redmi 4 screen (PIN, pattern lock)

If you have forgotten the pattern lock or PIN-code, but the phone is not tied to MI-You can try to reset the lock without losing data. MIUI:

Method 1: Mi Account Reset (if an account is linked)

If Redmi 4 is authorized MI-Account, use the Find Device function:

  1. Go to i.mi.com and log in.
  2. Select your Redmi 4 from the list of devices.
  3. Press Unlock Device β†’ confirm SMS-code.
  4. The device is unlocked remotely (internet connection is required).

Limitation: This only works if you have Find Device enabled and you have access to the network (Wi-Fi/mobile Internet). If you have an offline smartphone, move to the next one.

Method 2: Recovery (Data Loss)

If MI-account is not tied or Find Device is disabled, only a hard reset via Recovery Mode remains:

β˜‘οΈ Preparing for resetting through Recovery

Done: 0 / 5
  1. Turn off Redmi 4 (squeeze power for 10 seconds).
  2. Hold the volume.+ + Food before the appearance of the Mi logo.
  3. From the Recovery menu, select Wipe Data β†’ Wipe All Data (Manage volume buttons, confirmation – Power).
  4. After resetting, restart the phone (Reboot).

⚠️ Warning: This method deletes all data (photos, contacts, messages) if the phone was on MI-account, after reset, you will need to enter a login / password!

πŸ’‘

If the phone requires a password from MI-account, but you do not remember it – go to the section β€œUnblock” MI-accountΒ».

Method 3: Bypassing the lock through ADB (only for MIUI 8-10)

If Redmi 4 has USB debugging enabled and you have access to your computer, you can try removing the lock file via ADB:

adb shell


su




rm /data/system/gesture.key




rm /data/system/locksettings.db




rm /data/system/locksettings.db-wal




rm /data/system/locksettings.db-shm




reboot

This method only works on older versions of MIUI (up to 11), and Xiaomi has closed this vulnerability on new firmware.

3. Unlocking MI-Redmi 4 account after reset

If after Hard Reset the phone requires to enter the login / password from MI-account, and you do not remember them (or the device is bought with hands), options are few:

  • πŸ”‘ Official method: Restore account access via account.xiaomi.com (access to account is required) email/phone-linked).
  • πŸ’» Fastboot: Reset your account with PC (not working on all versions) MIUI).
  • πŸ› οΈ EDL-Mode: Reflash the phone in emergency mode (risk of "brick", requires an authorized Xiaomi account to unlock).

The most reliable way is to contact the previous owner and ask them to remove the device from their Mi Account via i.mi.com. If that is not possible, try the method below.

Reset MI-Fastboot account (MIUI 9–12)

This method works if the bootloader is not blocked on Redmi 4:

β˜‘οΈ What it takes to dump MI-account

Done: 0 / 4
  1. Download the Mi Unlock Tool and install it.
  2. Download Redmi 4 to Fastboot Mode (Lock Loudness)βˆ’ + Nutrition).
  3. Connect your phone to your PC and start MiFlashUnlock.
  4. Sign in to your Mi Account (yes, you need access to your account, but not necessarily to what is linked to your phone!).
  5. Click Unlock – the program will reset the account binding to the device.

⚠️ Note: Xiaomi has tightened unlock rules since 2023: If the phone was tied to an account more than 30 days ago, it may take 720 hours of waiting (30 days) before unlocking!

If this method doesn’t work, only the firmware through EDL (see Recovery through EDL) remains, but it’s risky without experience.

4 Unlock the bootloader on Redmi 4

If you want to install custom firmware (like LineageOS or Pixel Experience), you first need to unlock the bootloader.

  • πŸ“± Linked Mi Account to the phone (minimum 7 days).
  • πŸ–₯️ Mi Unlock Tool (download from the official website).
  • ⏳ Waiting 720 hours (30 days) after account binding (the 2026 rule).

The unlocking process:

  1. Enable OEM Unlocking in phone settings: Settings β†’ About Phone β†’ MIUI Version (click 7 times to activate Developer Mode) β†’ Return to Settings β†’ Additional β†’ For Developers β†’ Enable OEM Unlocking and USB Debugging.
  2. Attach Mi Account in your account settings.
  3. Download your phone to Fastboot (Volume)βˆ’ + Nutrition).
  4. Connect to your PC, launch the Mi Unlock Tool and follow the instructions.

After successful unlocking, you can flash custom software through TWRP or Fastboot.

πŸ’‘

Officially unlocking the bootloader is the only safe way. Alternative methods (e.g. via EDL) can lead to IMEI blocking!

5. Redmi 4 Recovery via EDL (Emergency Mode)

EDL (Emergency Download Mode) is the last chance to bring Redmi 4 to life if:

  • πŸ”„ Phone stuck on Mi logo after failed firmware.
  • πŸ”’ Forgotten. MI-The account and other methods did not help.
  • πŸ“± You need to flash the phone with a "brick" (does not turn on).

Working with EDL will require:

ComponentDescriptionWhere to find it.
MiFlash ProOfficial utility for firmware in EDLxiaomiflashtool.com
.tgz firmware for Redmi 4Stock firmware for your model (for example, markw for Redmi 4 Prime)Official website
Authorized Xiaomi AccountAccount with firmware rights in EDL (can be bought or obtained from an official service center)Forums or service centres
USB Type-C Cable (original)Unoriginal cables may not recognize EDLXiaomi phone or store kit

Step-by-step:

  1. Install Qualcomm 9008 drivers (required for phone recognition in EDL).
  2. Turn off Redmi 4 and press the volume.+ + Loudnessβˆ’ + Connect the cable to the PC (the phone should not be turned on!).
  3. In Device Manager, check that the phone is defined as QHSUSB_BULK qualcomm 9008.
  4. Start MiFlash Pro, select firmware and press Flash.

⚠️ Attention: Firmware through EDL Without an authorized Xiaomi account, it can lead to blocking IMEI (Don't use pirated versions of MiFlash.

What if the EDL firmware doesn’t help?
If the phone is not recognized in EDL, Try: 1. Use another. USB-port (preferably) USB 2. Reinstall drivers manually through Zadig. 3. Check the cable is often a problem in a damaged cord. If nothing helps, the motherboard may have been damaged (repair required).

6 Hardware problems: when unlocking won't help

If Redmi 4 doesn’t respond to charging, doesn’t vibrate when connected to a PC, or isn’t detected in Fastboot/EDL, the problem may be:

  • πŸ”‹ Battery: If the phone is zero, it won't turn on even when you're connected to a charger. Solution: push the battery with an external power source (3.7–4.2V).
  • πŸ”Œ porte USB/Type-C: oxidation or contact breaks, check the port for damage.
  • πŸ“± Motherboard: If the phone fell or got wet, the power controller or memory (eMMC) could have burned).

For diagnosis:

  1. Try charging your phone with another cable and power supply (preferably original).
  2. Connect to a PC – if there is no connection sound and the device is not detected, the problem is in the port or board.
  3. Light a flashlight on the screen when connecting to charging: if you see a dim Mi logo, the problem is in the display lighting.

If you're not sure about your skills, it's best to contact the service center.The average cost of repairing Redmi 4 in 2026:

Type of repairCost (β‚½)
Battery replacement1 200–1 800
Repairing a USB port1 500–2 500
Replacement of the display (with touchscreen)2 500–4 000
Diagnosis of the motherboard500–1000 (free for repairs)

7. Frequent Questions (FAQ)

❓ Can you unlock Redmi 4 without losing data?
Yes, but only if: The phone is debugging on USB and have access to ADB (The method of removing gesture.key. MI-account, and you remember the login / password (unlock through Find Device). In all other cases (reset via Recovery, firmware) data will be lost.
❓ How long does it take to officially unlock the bootloader?
Since 2026, Xiaomi has increased the latency to 720 hours (30 days) after linking an account to a device, which used to take 72 hours. EDL) Require an authorized account and are risky.
❓ What to do if Redmi 4 does not turn on after firmware?
Possible causes and solutions: Inappropriate firmware: run the correct version for your model (markw - Redmi 4 Prime, prada - Redmi 4A). bootloader damaged: try flashing through EDL (see section 5). Hardware problem: if the phone is not identified in Fastboot/EDL, the eMMC chip may have burned (repair required).
❓ How to find out the Redmi 4 model (Prime, Pro, 4A)?
Models differ in specifications and firmware: Model Codename Differences Redmi 4 Prime markw Fingerprint scanner, 3/32 GB, Snapdragon 625 Redmi 4 Pro markw (sometimes nikel) 5-inch screen, 3/32 or 4/64 GB Redmi 4A rolex or prada Without fingerprint scanner, Snapdragon 425 You can know exactly: On the box (model sticker). In settings: Settings β†’ Phone β†’ Model. Through Fastboot: connect the phone to the PC and get the command
❓ Where to download the official firmware for Redmi 4?
Official firmware is available on the sites: Xiaomi official website (choose the Global Stable version for Russian devices), Xiaomi Firmware Updater (firmware archive for all models). Attention: do not download firmware from questionable forums - they may contain viruses or be incompatible with your model!