Xiaomi Redmi 4X
santoni
Mi Account
Xiaomi
Redmi 4X
MIUI
The main difficulty is to find a method that will work in your case, for example, a reset via Recovery will delete all data, and bypassing Mi Account may require soldering or special cable. MIUI 12) and put them from the simplest to the most radical. If you're not sure about your skills, on Redmi. 4X firmware-old MIUI 9.6 bypassing the account through EDL-The mode is only possible with an authorized Xiaomi account.
Before you start, check:
- π Battery charge of at least 50% (when unlocked via Fastboot, the phone should not turn off).
- π₯ Availability of original USB-cables (cheap cables often don't transmit data to Fastboot).
- π» Windows computer 7/10/11 (c ADB Or Mi Flash Tool).
1. unlocking the pattern lock or PIN-code without loss of data
If you have forgotten the pattern lock or PIN-code, but remember the data from the Mi Account attached to the phone, use the built-in reset function through the account. 4X s MIUI 8-12 and does not require a PC connection.
Algorithm of action:
- On the lock screen, enter the wrong key 5 times in a row until the message βForgot the password?β appears.
- Click on this caption and select "Restore via Mi Account".
- Enter the username and password from the Xiaomi account associated with the device.
- Follow the system instructions to create a new lock key.
β οΈ Note: If your phone is not connected to the Internet (for example, via Wi-Fi or mobile network), the recovery option via Mi Account may not be available. β ##4636## β "Network testing").
If you donβt remember the Mi Account data, but your phone has been synced to Google, try an alternative way:
- π± Enter the wrong password 5 times, then click "Forgot the password?".
- π Select βRestore via Googleβ (if the option is active).
- π Enter the login and password from Gmail that was added to the device.
π‘
If there is no recovery option via Google, check if sync has been enabled in your account settings. On Redmi 4X with MIUI 8, this feature is disabled by default.
2.Reset to factory settings via Recovery Mode
If the previous method didn't work or you don't remember the data from your accounts, the only reliable way to unlock your phone is to hard-reset it through Recovery, which will delete all data, including photos, contacts and apps, but is guaranteed to unlock the device.
Step instructions:
- Turn off the phone with a long press of the power button.
- Press Volume Up (+) + Power button at the same time and hold for 10-15 seconds until the Mi logo appears.
- Release the buttons - you will be taken to the Recovery menu (navigation is carried out by volume buttons, the choice is by the power button).
- Select "Wipe Data" β "Wipe All Data" β "Confirm".
- Once the reset is complete, go back to the main menu and select "Reboot" β "Reboot to System".
β οΈ Note: Some of the Redmi firmware 4X Mi Account lock can be activated after reset via Recovery (even if it was not previously), this is due to Xiaomi's security policy for devices with a mobile device. MIUI 9+. If the phone requested a login and password from the account after the reboot, go to the section about bypassing Mi Account.
What happens if the Recovery Mode does not open?
Advantages and disadvantages of the method:
| Pluses | Cons |
|---|---|
| It works on any firmware. | Deletes all user data |
| No need for PC or special programs | Can activate the Mi Account lock |
| Takes less than 5 minutes. | It will not help if the Bootloader is blocked. |
3. Unlock via Fastboot (if USB debugging is enabled)
If the phone previously had USB debugging enabled (Settings β About Phone β MIUI Version β 7 times press to unlock the developer options), you can unlock Redmi 4X through the ADB command. This method saves data, but requires preliminary preparation.
What you need:
- π₯οΈ A computer with installed Xiaomi drivers and ADB Tools.
- π Original. USB-cable (important for stable data transmission).
- π± Included debugging by USB on the phone (even if it is blocked).
Step-by-step:
- Connect your phone to your PC via USB.
- Open the command prompt (Win + R β enter cmd) and execute the commands: adb devices If the device appears in the list, move to the next step. If not, install the drivers or try another cable.
- Enter the commands to delete lock files: 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 reboottings.
After the reboot, the phone will be unlocked, and the old pattern lock or PIN-If the commands don't work, try the alternative:
adb shell am start -n com.android.settings/.ChooseLockGenericβοΈ Preparing for Unlocking via Fastboot
4.Backpassing Mi Account lock after reset
If the phone requires a username and password from Mi Account after resetting via Recovery and you donβt remember them, one of the following methods will be required: Redmi 4X is vulnerable to EDL-bypassing (Emergency Download Mode), but this requires an authorized Xiaomi account or special equipment.
β οΈ Note: Since 2020, Xiaomi has tightened its security policy, and bypassing Mi Account on official firmware has become almost impossible without authorization. 4X work MIUI 11+, The only legal way is to contact the service center with proof of purchase.
Ways of bypassing (for firmware up to MIUI 10):
- π§ Through EDL Mi Flash Tool (requires an authorized Xiaomi account): Download Mi Flash Tool and firmware for Redmi 4X (For example, fastboot firmware from Xiaomi. EDL-Mode (close the Test Point contacts on the board or use the adb reboot edl command if debugging is enabled). Connect your phone to your PC, open the Mi Flash Tool and run the device with the "Clean All" option".
- π Through Deep Flash cable (for power users): A 300 kW resistor cable allows you to transfer your phone to a mobile phone. EDL You can then flash the modified firmware without checking the Mi Account.