The forgotten password on the Xiaomi Redmi 4 smartphone (or its 4A/4X/4 Pro modifications) is unpleasant, but fixable. The main thing is not to panic and not to try to guess the combination dozens of times: after 5-10 unsuccessful attempts, the device will lock for 30 minutes, and then may even require a factory reset. In this article, we will analyze all the current ways of unlocking, from the simplest (through Mi Account) to radical (full reset via Fastboot).
It's important to understand that not all methods will save your data. If your phone is synced with Mi Cloud, the chances of recovering contacts, photos and notes after unlocking are higher. But local files (messaging apps, games, documents stored in the device's memory) are likely to be lost. The only way to save data when unlocked is to use the ADB method, but it only works if USB debugging was previously enabled.
Before you start, check:
- π Battery charge (at least 50% - this is critical for methods with firmware).
- πΆ Availability of backup (if backup was done through Mi) PC Suite or Google Account).
- π Access to the email linked to the Mi Account (if the phone was linked to it).
1 Unlocking through Mi Account (if the phone is tied)
The fastest and safest way is to use Xiaomiβs official Find Device feature, which only works if:
- π± The phone was tied to Mi Account (even if you don't remember it).
- π Mobile Internet or Wi-Fi (to communicate with Xiaomi servers) was enabled on the device).
- π The βFind Deviceβ feature was not manually disabled in the settings.
Instructions:
- Go to i.mi.com from a computer or other phone.
- Sign in with the same account as the blocked Redmi 4.
- In the menu, select the locked device (if there are several).
- Click βUnlock the deviceβ and confirm the action.
- Wait 5-10 minutes β the phone unlocks automatically (you need a connection to the network).
If nothing happens after pressing the button:
- π Update the page and try again.
- πΆ Make sure your phone has internet (you can turn on mobile data via the notification panel if it is available).
- π Wait up to 30 minutes β sometimes Xiaomi servers process a request with a delay.
β οΈ Note: If the phone was purchased from hand and linked to someone else's account, this method will not work, in which case you will have to contact the previous owner or use other methods (see below).
2. Recovery Mode reset (data loss)
If Mi Account doesn't work (or the phone isn't tied), the next step is to hard-reset the Recovery menu, which erases all the data on the device, including apps, settings, and files in internal memory, and the SD card won't be affected.
How to Sign In to Recovery Mode on Xiaomi Redmi 4:
- Turn off the phone (press the power button for 10 seconds if it doesn't respond).
- Press the Volume Up (+) and Power button at the same time.
- Hold on for 10-15 seconds until the Mi logo and menu appear in English/Chinese.
Further action:
- π§ Use volume buttons for navigation and power button for selection.
- π Select Wipe Data (or Wipe & Reset in newer versions).
- π Confirm the reset by choosing Wipe All Data.
- π After completion, select Reboot to restart.
The first download after the reset will take 5-10 minutes. If the phone has been stuck on the logo for longer than 15 minutes, repeat the procedure or try the method through Fastboot (see the next section).
Turn off phone |Clamp Volume+ and Power |Wait for Recovery |Select Wipe Data |Confirm reset |Reboot device-->
β οΈ Note: Some Xiaomi firmware may require data entry from the Mi Account that was previously tied after resetting via Recovery.If you don't remember them, use the Fastboot firmware method.
3. Unlock via Fastboot (for power users)
If the previous methods didn't work, you're left with the Fastboot mode, which requires a computer, USB-It is possible to use cables and special tools, but it is guaranteed to bypass the lock (including binding to Mi Account.
What you need:
- π» Windows computer (or Mac/Linux driverless ADB).
- π Original. USB-cable (not cheap charging!).
- π₯ Firmware for Redmi 4 (download from the official Xiaomi website).
- π The Mi Flash Tool (download here).
Step-by-step:
- Install the Mi Flash Tool and ADB drivers on your computer.
- Unpack the downloaded firmware (file with the extension.tgz or.zip) in a folder without Cyrillic characters.
- Turn off the phone and press Volume Down (-) + Power to enter the Fastboot (the image of a hare in a hat-eared will appear).
- Connect the phone to the computer.
- In the Mi Flash Tool, click Select and specify the path to the firmware folder.
- Select Clean All mode and press Flash.
- Wait for the end (5-10 minutes) and the phone to restart.
If the Mi Flash Tool is making an error:
- π Check the cable and port USB (better USB 2.0 on the back of the PC).
- π Reinstall the driver manually through Device Manager.
- π₯ Download a different firmware version (e.g. Global Stable instead of China).
What if the Mi Flash Tool can't see the phone?
4. Unlock through ADB (if debugging was enabled)
The only way to unlock the Xiaomi Redmi 4 without losing data is to use ADB (Android Debug Bridge), but it only works if you have enabled USB debugging in the developer's settings before locking. If not, skip this section.
Instructions:
- Install ADB on your computer (download Platform Tools from Google).
- Connect your phone to your PC via USB.
- Open the command line (Win + R β enter cmd).
- Enter the commands in order: adb devices (should display your device) adb shell rm /data/system/gesture.key or for password: adb shell rm /data/system/password.key
- Reboot your phone: adb reboot
After the reboot, the lock will reset, but all the data will remain in place. If the command does not work, try an alternative method:
adb shell
su
rm /data/system/locksettings.db
rm /data/system/locksettings.db-wal
rm /data/system/locksettings.db-shm
rebootβ οΈ Attention: On new versions MIUI (12 and above) this method may not work due to enhanced security, and some firmware also require root rights that are disabled by default.
1. Switch USB connection mode to File Transfer (if available in the notification curtain).
2 Enter the command adb kill-server, and then adb start-server.
3. Use another USB-cable (preferably original).-->
5. Contact the Xiaomi Service Center
If all of the above methods did not help (or you are afraid of breaking something), you can contact the official service center Xiaomi.
What will be required:
- π Check or warranty card (if the phone is guaranteed).
- π Passport (to confirm possession).
- π³ From 500 to 2000 rubles (cost depends on the model and the complexity of unlocking).
How to find a service center:
- Go to the Xiaomi Service website.
- Choose a country and a city.
- Check the addresses and reviews (it is better to choose a center with a rating above 4.5).
Advantages of using the service:
- β Data retention guarantee (in some cases).
- β Official firmware without the risk of installing βleftβ software.
- β Possibility to check the phone for other malfunctions.
Disadvantages:
- β Cost (sometimes comparable to the price of a used phone).
- β Waiting time (from 1 day to a week).
- β The risk of failure if the phone was blacklisted (stolen/lost).
Comparison of Unlocking Methods
| Method | Data retention | Difficulty | PC required | It works without a Mi Account. |
|---|---|---|---|---|
| Mi Account (i.mi.com) | β Yes. | β | β No. | β No. |
| Recovery Mode | β No. | ββ | β No. | β Yes. |
| Fastboot + Mi Flash | β No. | βββ | β Yes. | β Yes. |
| ADB (debugging included) | β Yes. | βββ | β Yes. | β Yes. |
| Service centre | β οΈ Maybe. | β | β No. | β Yes. |
π‘
If you have synced with Mi Cloud on your phone, you can restore contacts, notes and some files through the Cloud app on the home screen after unlocking.
Frequent Mistakes and How to Avoid Them
When unlocking the Xiaomi Redmi 4, users often face typical problems.
1.The phone is not included in Recovery/Fastboot
- π Check the battery power (below 20% β will not come in).
- π Try a different button combination (on some versions of Redmi) 4X It's up. Loudness up. + Loudness down + Nutrition).
- π If the buttons are not working, the plume may be faulty (requires repair).
2. Mi Flash Tool is giving an error
- π βCouldnβt find fastbootβ error β check the drivers or try another one USB-port.
- π Flash Not Done β Download another firmware version (e.g. Fastboot instead of Recovery).
- π Anti-rollback error means you are trying to flash an older version MIUI, You can download a new firmware than the one you're looking at now.
3.After reset, requires an old Mi Account
- π If the phone was tied to an account and you donβt remember it, then only the firmware through Fastboot with a full reset remains).
- π§ Try to restore access to your account via account.xiaomi.com (forgot password button?Β»).
4.The phone got stuck after firmware
- π Wait 20β30 minutes (first load can be long).
- π If it doesnβt work, repeat the firmware or try another version. MIUI.
- π Check the battery (the phone may have run out during the process).