Forgot the password from Xiaomi Redmi 7 or just want to remove the lock screen for convenience? In this article, you will find all the current ways to disable protection, from standard settings to radical measures like reset to factory settings: PIN-code, pattern lock and password, and how to bypass the security if you forget the combination.
It's important to understand that turning off your password can make your device less secure. However, if you only use your smartphone at home or in a trusted environment, it's really tiring to enter the code all the time. All the methods in this article are tested on Redmi 7 with MIUI 10-14 firmware and are relevant for 2026. If your phone is running on an older version, some menu items may differ.
Before you start, check if you remember your current password or PIN. This will make it much easier. If not, donβt worry: we have described options for forgotten data, but they will take longer and can lead to the loss of unsaved files (photos, messages, notes).
1. disable password through settings (if you remember the current code)
The easiest and safest way is to remove the lock through Xiaomiβs standard menu, which is suitable if you remember your current PIN, password, or pattern lock.
Instructions:
- π± Open Settings on the main screen (cog icon).
- π Go to Lock Screen and Password (in some versions) MIUI β Lockdown and protection).
- π Enter the current password/PIN confirm.
- β Click Remove Password (or Disable Screen Lock).
- β Confirm the action by following the hints on the screen.
After that, the phone will no longer require you to enter the code when you turn on or unlock. Please note that if you have the Smart Lock feature (automatically unlocking on trusted networks), it should also be turned off in the same menu, otherwise the phone can be blocked arbitrarily.
Do you remember the current lock code?
Is there a backup of important data
Is your Mi Account linked off (if you plan to sell your phone)
Is the phone at least 30% charged (to avoid crashes)
-->
If you donβt have a Delete Password option, you probably have additional protection enabled on your device through your Xiaomi account, in which case you first need to untie the device from your account (more about this in the next section).
β οΈ Warning: Once your password is disabled, Redmi 7 will become vulnerable to unauthorized access, and do not store sensitive data (bank applications, social media passwords) on it without alternative protection, such as a fingerprint.
2. Delete password through Xiaomi account (Mi Account)
If you forget the lock password, but remember the data from the Mi Account (email and password), you can reset the protection through the official Xiaomi service.
- π§ Mi Account was tied to phone before password set.
- π The phone has access to the Internet (Wi-Fi or mobile network).
- π Find the device activated in the settings.
Step-by-step:
- Go to account.xiaomi.com from a computer or other phone.
- Sign in with your Mi Account.
- Select the Find Device tab.
- The map will show your Redmi 7 β click on it.
- In the control menu, select Unlock Device (Unlock Device).
- Confirm the action via SMS or email (depending on the account security settings).
After 5-10 minutes, the phone unlocks automatically, and if that doesn't work, maybe the device has a Find Device or it's not connected to the network, and then you'll have to use Restore Mode (more on that below).
What to do if you donβt remember your Mi Account?
3. Reset password through Recovery mode (without loss of data)
If previous methods have failed, you can try resetting your password through Recovery Mode, which is suitable for Redmi 7 with an unlocked bootloader or if you have previously enabled debugging over USB. Importantly, the method does not guarantee data safety, but in most cases files remain intact.
Instructions:
- Turn off the phone with a long press of the power button.
- Press the Power button + Volume up at the same time and hold for 10-15 seconds until the Mi logo appears.
- From the Recovery menu, select the language (usually English or Chinese).
- Go to Wipe & Reset β Wipe All Data (donβt be afraid of the name β itβs not a complete reset!).
- Confirm the action, select Confirm.
- After the reboot, the phone will suggest you set it up as new β skip this step and check if the password is still there.
If the password is gone, congratulations! If it isn't, you'll have to do a full reset (about this in the next section). Note: on some firmware, Wipe All Data can reset your device to factory settings, so copy important files to your computer or cloud beforehand.
Through phone settings
With the help of the Mi Account
Reset via Recovery
I went to the service center.
Never blocked your phone.
-->
4. Full reset to factory settings (Hard Reset)
This is the most radical method that will completely delete the password, but also erase all the data on the phone: photos, contacts, messages and installed apps.
- π You have forgotten your password and canβt recover it in other ways.
- π± Your phone is not tied to your Mi Account or you donβt remember your data from it.
- π§ You are ready to lose all unsaved data.
How to make Hard Reset on Redmi 7:
- Turn off the phone.
- Press the Power button + Volume up until the Recovery menu appears.
- Select Wipe Data β Wipe All Data (in some versions β Factory Reset).
- Confirm the action, wait for the process to end (it will take 2-5 minutes).
- Reboot your device with Reboot β Reboot to System.
Once reset, the phone will turn on as new. You will need to go through the initial setup: select a language, connect to Wi-Fi, etc. If you previously had a Mi Account attached, the system can request its data to confirm ownership (this is protection against theft).
β οΈ Note: Some Xiaomi firmware after Hard Reset may require you to enter the old password to unlock.This is due to the Mi Cloud Lock function. If you do not remember the password, the phone will become a βbrickβ and you will need to contact the service center with proof of purchase.
| Method of unlocking | Do you need a password? | Is the data preserved? | Difficulty |
|---|---|---|---|
| Through settings | Yes. | Yes. | β |
| Mi Account | No (requires an account) | Yes. | ββ |
| Recovery (partial reset) | No. | Partially. | βββ |
| Hard Reset | No. | No. | ββββ |
| Service centre | No (requires paperwork) | Depends on the master. | βββββ |
5. Alternative Unlocking Methods (for Advanced Users)
If standard methods don't work, you can try more complex options, they require technical skills and can lead to loss of warranty or breakage of the device.
Method 1: ADB (Android Debug Bridge)
If the phone previously enabled debugging over USB, you can delete the password through the computer:
- Connect Redmi 7 to your PC via USB-cable.
- Open the command line (cmd) and enter:
adb shell rm /data/system/gesture.key
adb shell rm /data/system/password.key
adb shell rm /data/system/locksettings.db
adb rebootAfter the reboot, the password should disappear. If a device unauthorized error appears, confirm the debugging on the phone screen (if it is unlocked).
Method 2: Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fastboot Fast Fastboot Fastboot Fast Fastboot Fast Fastboot Fast Fastboot Fast FastBoat Fast Fast Fast FastBoat
This is a good method if you're willing to reinstall the firmware.
- π₯οΈ Computer with installed Xiaomi drivers and Mi Flash Tool.
- π Official firmware for Redmi 7 (you can download it on the official website).
- π§ Unlocked bootloader (if not unlocked, you will need to wait 72-360 hours through the Mi Unlock Tool).
Instructions:
- Turn off the phone and press Volume Down + Power to log in to Fastboot.
- Connect the device to the PC.
- Launch the Mi Flash Tool, select the downloaded firmware and press Flash.
- Wait until the process is completed (5-10 minutes).
β οΈ Warning: The wrong firmware can turn your phone into a brick. If you're not sure what you're doing, see a specialist. Also note that after flashing it, you may need to re-link your Mi Account.
π‘
Before you run through Fastboot, be sure to check the phone model in the settings (Settings β About Phone β Model).Firmware from Redmi Note 7 or another model can put Redmi 7 out of action!
6. Contacting the service center: when necessary
If all of these methods do not work, the last option is to contact an authorized Xiaomi service center.
- π Your phone is blocked by your Mi Account and you donβt remember the data.
- π΅ The device does not respond to buttons or does not turn on.
- π οΈ You are afraid to manipulate your own firmware.
What you need to unlock in the service:
- π Check or warranty card (proof of purchase).
- π Passport of the owner.
- π± Phone itself (preferably with a charge of at least 50%).
The cost of the service varies from 500 to 2000 rubles depending on the complexity. In some cases, it may be necessary to replace the motherboard if the lock is associated with hardware malfunctions. Xiaomi official service centers in Russia can be found on the official website.
π‘
If the phone was bought by hand and the previous owner did not untie the Mi Account, it is almost impossible to unlock it without proof of purchase, in which case it is better to abandon the transaction or require the seller to untie the device in front of you.