Why is Redmi 4X blocked after incorrectly entering a password?
Xiaomi Redmi 4X automatically locks after 5 failed attempts to enter the pattern lock β this is a standard security feature of MIUI. The system does this to prevent unauthorized access to personal data. However, if you forget the combination, such protection becomes a problem.
The Redmi 4X (codenamed santoni) has several unlocking options, but their effectiveness depends on:
- π Versions MIUI (The old silk works by using the ADB)
- π Battery level (at a discharge below 20%, the reset may be interrupted)
- π± Having a linked Mi Account (without it, Hard Reset is inevitable)
- πΎ Important data on the phone (if there was no backup, some methods will lead to their loss)
Important: If the phone is asking PIN-code SIM-The card after the reset is a separate lock of the operator, not the graphical password. USSD-Request 111 or call in support.
Method 1: Unlock with Mi Account (if the phone is tied)
The safest method is to use an official Xiaomi account, which works if:
- π§ You remember the login (email/phone) and password from Mi Account
- π The phone has access to mobile Internet or Wi-Fi.
- π Find Device has been activated in the settings
Instructions:
- On the locked screen, tap Forgot your password? (if the inscription does not appear, enter the key 5 times in a row).
- Select Sign in via Mi Account and enter the details.
- Confirm unlocking via SMS or email (if two-factor authentication is enabled).
- Set a new graphical password or disable the lock.
Limitations of the method:
- β Does not work on firmware with disabled Xiaomi services (custom) ROM).
- β If the phone is not connected to the network, authorization is impossible.
- β After 3 failed attempts to log in to the account, the device will be blocked for 24 hours.
π‘
If you donβt remember the password from Mi Account, try to restore it through account.xiaomi.com. Use the linked email or phone number.
Method 2: Recovery Mode (Hard Reset)
This method will delete all data on your phone, including photos, contacts and apps, and only use it if other methods have not worked or there is no important information on the Redmi 4X.
Step-by-step:
βοΈ Preparation for Hard Reset
- Turn off the phone with a long press of the power button.
- Press Volume Up (+) + Power at the same time and hold for 10-15 seconds until the Mi logo appears.
- In the Recovery menu, select a language (if there is one) and go to Wipe Data β Wipe All Data.
- Confirm the action by swipe or press Yes.
- After reset, select Reboot β Reboot to System.
If the Recovery menu is in Chinese:
| Russian translation | Chinese character | Latin transliteration |
|---|---|---|
| Clear the data | QΔ«ngchΓΊ shΓΉjΓΉ | |
| Reboot the system | ChΓ³ngqΗ xΓ¬tΗng | |
| Confirm | Quèrèn | |
| Cancellation | QΗxiΔo |
What happens if the Recovery Mode does not open?
Method 3: Password bypass through ADB (only MIUI before version 10)
This method only works on older versions of MIUI (up to the 10th inclusive) and requires pre-activation of debugging over USB. If you haven't turned it on in advance, it's useless.
What you need:
- π₯οΈ Computer with Windows/Linux/macOS
- π USB-cable (original, without damage)
- π¦ Installed Xiaomi drivers and tool ADB
Instructions:
- Connect Redmi 4X to your PC and open the command line (Win + R β enter cmd).
- Enter the commands in order: 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
- After the reboot, the graphical password will be reset.
π‘
If after completing the commands, the phone is stuck on startup the Mi logo, reset via Recovery Mode (Method 2).
Method 4: Unlocking via Fastboot (for advanced users)
This method is suitable if:
- β You have access to Fastboot Mode (robot with a gear).
- β The phone has unlocked the bootloader (Bootloader).
- β You are ready for possible data loss.
Algorithm of action:
- Turn off the phone and press Volume Down (-) + Power to log into the Fastboot.
- Connect Redmi 4X to your PC and check for device detection by command: fastboot devices
- Run reset: fastboot erase userdata fastboot erase cache fastboot reboot
β οΈ Note: If the bootloader is locked, it must be unlocked through the official Mi Unlock Tool before reset.The process takes up to 720 hours (30 days) of waiting on new Xiaomi accounts.
Method 5: Contact Xiaomi Service Center
If independent attempts are unsuccessful, you can contact an authorized service center.
- π The phone has enabled data encryption (File-Based Encryption).
- π± Device for warranty (self-dumping can cancel it).
- π° You need data from your phone (the service may try to extract it).
What to bring with you:
- π Passport (to confirm possession).
- π Check or box from the phone (if any).
- π Charger (in the service can check the performance).
The cost of unlocking in 2026:
| Type of service | Time limit for implementation | Cost (β½) |
|---|---|---|
| Resetting password without saving data | 1-2 hours | 800β1 500 |
| Resetting with attempted data recovery | 1-3 days | 2 500β5 000 |
| Unlocking Bootloader + firmware | 3-5 days | 3 000β6 000 |
Frequent Mistakes and How to Avoid Them
When trying to reset a password, users often face typical problems:
- Phone is not included in Recovery: β οΈ Note: Some of the Redmi firmware 4X The combination of buttons to enter Recovery may be different.+ + The food is not working, try the volume.+ + Loudness- + Nutrition.
- ADB does not see the device: Solution: Install Xiaomi drivers manually through Device Manager (select βUpdate Driverβ β βFollow Search on This Computerβ β specify the driver folder).
- After reset, the phone asks for the old password: This means that the data has not been completely erased. Repeat Wipe Data in Recovery or run the fastboot erase userdata command again.
π‘
If Redmi 4X starts to brake after unlocking, reset to factory settings again and do not restore data from the backup - it may contain corrupted files.