Forgot the pattern lock on Xiaomi Redmi 4 or the phone requires data entry from Mi Account after reset?The situation is familiar to many owners of budget Xiaomi smartphones, especially if the device was bought from hand. The Redmi 4 (codenamed prada) is one of the most popular models of 2016, but its protection system often becomes a headache. FRP (Factory Reset Protection, Fastboot reset and Mi Account reset without data loss.
The Redmi's main problem 4 β It's a link to a Xiaomi account that you can't delete using standard methods, and even after a Recovery reset, the phone may require a username and password from the previous owner. MIUI 8β14 (And we've got the global and Chinese versions, and we've only selected the working solutions. 430 (Redmi 4 Prime/Pro) Snapdragon 435 (Redmi 4X) instructions differ - see the compatibility table below.
If you are not sure about your device model, check it by the label on the box or by using the ##4636## command in the phone app (Phone Information section), which will help you avoid mistakes when choosing the unlock method.
Why Xiaomi Redmi 4 is blocked and what to do
Redmi 4
1. A forgotten pattern lock/PIN-code
The most common thing that happens is that the user changes the password and forgets it, and in this case, a Recovery reset helps, but only if the Mi Account link is disabled, and if the meter is active, the phone will require the previous owner to enter the data after the reset.
2.Blocking Mi Account (FRP)
Activates after resetting if the device was tied to a Xiaomi account. Even if you bought the phone with your hands, the previous owner could not untie the account. FRP).
Hardware locking (IMEI, serial)
It's less common, usually after a failed firmware or motherboard repair, and then the message appears on the screen, "This device is locked" or "Invalid." IMEI". Refrigeration is required through EDL-treatment or referral to a service center.
β οΈ Note: If a phone is stolen or lost, unlocking through the Mi Account bypass may be considered a violation of the law.
Before you start unlocking, check:
- π Battery charge (at least 50% to avoid shutdown during the process).
- πΆ Having a backup of data (unlocking often leads to loss of information).
- π§ Access to a computer with Qualcomm or MediaTek drivers installed (depending on the model).
- π‘ Stable Internet connection (required for downloading firmware and tools).
Method 1: Unlocking with Mi Account (official method)
If you remember the data from your Xiaomi account, or if the previous owner is willing to provide it, it's the easiest and most secure way to do it, and it works even after you reset your settings.
Steps to unlock:
- On the locked screen, click "Forgot Password?" (or "Forgot Password?" on English firmware).
- Select the method of recovery: SMS or through Mi Account or.
- Enter the linked phone number or email, then confirm the code from the message.
- Create a new password or pattern lock.
If the phone requires the previous owner's information, try contacting them. If you buy from hand and have no contacts, switch to alternative methods.
β οΈ Note: Reference to the Mi Account on Redmi 4 can be maintained even after a Fastboot reset.If you are not the original owner, official access restoration is not possible - you will need a bypass FRP.
What to do if you do not have access to your Mi Account:
- π§ Try to restore your password through account.xiaomi.com (you need access to an email or phone).
- π If your account is tied to a number that is no longer in use, contact Xiaomi with proof of purchase (check, box).
- π οΈ To get around FRP Use the methods in the following section.
π‘
If the phone asks for an old password after resetting, but you donβt know it, try entering 123456 or 000000 β sometimes this works on Chinese firmware.
Method 2: Bypass FRP (Factory Reset Protection on Redmi 4
FRP
Mi Account
Redmi 4
Recovery
Fastboot
Method 1: Emergency Call (works on the MIUI 8β10)
- On the lock screen, click "Emergency Call".
- Dial ##4636## and the test menu will open.
- Go to Usage Statistics β Back (back) β Click on the Settings icon (cogs).
- Turn on "Debugging by" USB" in the section For Developers.
- Connect your phone to your PC and use the Mi Flash Tool for firmware (see Method 4).
Method 2: Through ADB (requires an unlocked loader)
- Install Android SDK Platform Tools on your PC.
- Connect Redmi 4 to your computer and open the command line in the adb folder.
- Enter the commands: adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1 adb shell am start -n com.android.settings/.Settings
- After execution, go to the settings and disable Mi Account.
Compatibility table of FRP bypass methods:
| Model Redmi 4 | MIUI 8β9 | MIUI 10β11 | MIUI 12β14 |
|---|---|---|---|
| Redmi 4 Prime (Snapdragon 430) | Emergency Call + ADB | Only Fastboot. | EDL required |
| Redmi 4 Pro (Snapdragon 430) | Emergency Call | ADB or TestPoint | EDL + authorization |
| Redmi 4X (Snapdragon 435) | ADB or TestPoint | Fastboot + firmware | EDL with authorization |
β οΈ Attention: On firmware MIUI 12 and new roundabout FRP through an emergency call or ADB It often doesn't work. In this case, you'll need to run a firmware through EDL-Authorization mode (see Method 5).
βοΈ Preparation for bypassing FRP
Method 3: Recovery reset (without data loss)
If Redmi 4 does not activate the Mi Account binding, resetting via Recovery will help remove the pattern lock or PIN-However, this method removes all data from internal memory.
Instructions:
- Turn off the phone.
- Press Volume Up + Power at the same time and hold for 10-15 seconds until the Mi logo appears.
- From the Recovery menu, select the language (if you have a choice), then: Wipe Data β Wipe All Data β Confirm
- After resetting, restart the device (Reboot).
What to do if you need a Mi Account after reset:
- π Try entering data from your Xiaomi account (if you have previously linked it).
- π± If the phone was bought with hands, contact the seller to unbundle the account.
- π οΈ Use the roundabout FRP (Method 2) or firmware via Fastboot (Method 4).
Limitations of the method:
It does not work if the Mi Account protection is enabled.
Deletes all data, including photos, contacts and applications.
Some firmware may require a password even after resetting.
What happens if Recovery does not open?
Method 4: Unlocking via Fastboot (firmware)
If standard methods donβt work, itβs still running through Fastboot, which is suitable for all Redmi 4 models, but requires an unlocked bootloader.
Step-by-step:
- Download the official firmware for your model from the Miui Download website (choose the Fastboot version).
- Install the Mi Unlock Tool and unlock the bootloader (can take up to 72 hours).
- Connect your phone to your PC in Fastboot mode (clip Volume Down + Power).
- Launch the Mi Flash Tool, select the downloaded firmware and press Flash.
- Once completed, the phone will restart with a clean system.
Advantages of the method:
- π§ It works even when you block Mi Account (if the bootloader is unlocked).
- π± Installs official firmware without viruses.
- π You can choose a version. MIUI (global).
Disadvantages:
- Deleting all data.
Requires Bootloader unlocking (this may not be possible on new Xiaomi accounts).
- Nana MIUI 12+ You may need to be authorized to use the EDL.
β οΈ Note: Fastboot firmware on Redmi 4X Snapdragon 435 processor could cause loss IMEI. Before the procedure, save it via the command *#06#.
π‘
Unlocking the bootloader through the Mi Unlock Tool is only possible 1 time every 30 days for one account. If you have previously unlocked another phone, you will have to wait or use another account.
Method 5: Unlocking through EDL (power-user)
EDL
Redmi 4
EDL cable
TestPoint
Xiaomi
When you need an EDL:
- π§ Phone not switched on (brick).
- π± Blocking Mi Account on the MIUI 12+.
- π It is impossible to unlock the bootloader in the standard way.
Instructions (simplified):
- Download the firmware in.mbn format for your model.
- Connect your phone to your PC in mode EDL (via TestPoint or a special cable).
- Use Mi Flash Pro or QFil for firmware.
- Once completed, the phone will restart in clean condition.
Risks of the method:
Without authorization from Xiaomi, the firmware will not start (you will need an account with developer rights).
A wrong firmware can permanently disable the phone.
- On the Redmi. 4X after EDL might fly IMEI.
Where to get authorization for EDL:
- π§ Officially β through the Xiaomi Authorized Service Center program (only for service centers).
- π° Unofficially β buying an account with rights (risk of blocking).
- π€ Sharing with other users on forums (e.g, 4PDA).
What is TestPoint and how to use it?
Frequent Mistakes and How to Avoid Them
Even following the instructions, users often face problems, and let's look at the most common errors and their solutions:
1.The phone is not included in Fastboot/Recovery
- π Check the battery charge (minimum 30%).
- π Try another charger or cable.
- π₯οΈ Install Qualcomm or MediaTek drivers (depending on the processor).
2. Mi Flash Tool is giving an error
Error codes and their significance:
| Error code | Reason. | Decision |
|---|---|---|
| 0x80070002 | Wrong firmware | Download the firmware for your model |
| 0x8007010b | bootloader locked | Unlock with the Mi Unlock Tool |
| 0x8007001f | Problems with drivers | Reinstall drivers manually |
3. After firmware no network (IMEI invalid)
- π‘ Restore. IMEI Engineer Mode (code #3646633##).
- π§ Use tools like this. SN Writer or MauiMeta.
- β οΈ If IMEI Not recovering, contact the service center.
4.The phone is stuck on the Mi logo after firmware
- π Repeat the firmware by selecting the Clean All option in the Mi Flash Tool.
- π± Try a different version of the firmware (for example, an older one).
- π§ If it doesn't help, run through EDL.
π‘
If after unlocking the phone requires activation via Mi Account, but you do not know the data, the only legal way is to contact the previous owner. FRP New firmware often leads to locking the device.