How to unlock Xiaomi Redmi 7: all ways to reset password and pattern lock

Xiaomi Redmi 7 is one of the most popular budget smartphones of the brand, but even it is not immune to lock problems. Forgotten password, failure after updating or buying a used phone with a locked screen are situations when you need urgent unlock. In this article, we will analyze all the current ways of unlocking, including official and alternative methods, taking into account the features of Redmi 7 (codename onc).

It's important to understand that some methods lead to a complete data cleanup, so if there's important information on your phone, try to restore access through Mi Account or Find Device first. If the device is bought from hand and tied to someone else's account, you can not do without a reset. We will also explain how to bypass FRP (Factory Reset Protection), which is activated after a reset on some firmware.

1 Unlocking through Mi Account (official method)

The safest method is if your phone is tied to your Xiaomi account, suitable for cases where you have forgotten your pattern lock or your phone is not connected to your Xiaomi account. PIN-The code, but remember the Mi Account data. On Redmi 7, this method works on the original firmware. MIUI (including global and Chinese versions).

Algorithm of action:

  • πŸ”Ή Enter the wrong password 5 times in a row until the message β€œForgot password?” or β€œForgot password” appears?".
  • πŸ”Ή Click on this link and select Unblock via Mi Account".
  • πŸ”Ή Enter your username (email or phone number) and password from your Xiaomi account.
  • πŸ”Ή Confirm the unlock through SMS or email (if two-factor authentication is enabled).

If after entering the data, an error appears "This device is not tied to the account", then:

  • πŸ“Œ The phone was reset to factory settings and the account binding reset.
  • πŸ“Œ The device was bought from hand and the previous owner did not untie his Mi Account.
  • πŸ“Œ Use custom firmware (e.g. LineageOS) where the Mi Account function is disabled.

⚠️ Attention: On firmware MIUI 12 or later, after 3 failed login attempts, the system can block the ability to unlock through Mi Account for 24-72 hours.

πŸ“Š What Unlocking Method Have You Tried Before?
Through the Mi Account.
Reset to factory settings
Fastboot/EDL
I went to the service center.
Never blocked.

2. Recovery Mode reset (without data loss?)

Many users mistakenly believe that resetting through Recovery always erases all data.In fact, there is a caveat on Redmi 7: if the phone is not encrypted (no). PIN-If you have a code or password for encryption, some files (photos, videos) can be stored in internal memory, but applications, settings and accounts will be deleted.

How to Sign In to Recovery on Redmi 7:

  1. Turn off the phone (press Power + Volume up for 10 seconds).
  2. Press Power + Volume up and hold until the Mi logo appears.
  3. Release the buttons – the Recovery menu (in Chinese or English) should open.

Next, select:

  • πŸ”§ Wipe Data β†’ Wipe All Data (complete reset).
  • πŸ”§ Reboot β†’ Reboot to System (Reboot after resetting).
Action.The resultNote
Wipe DataDelete all data except files on SD-mapOn encrypted devices, it erases everything.
Wipe CacheClears the app cacheIt does not help when blocking the screen
Reboot to BootloaderGoing to Fastboot ModeI need it for PC firmware.

⚠️ Note: If after reset, the phone requires you to enter a password from the previous Mi Account (lock) FRP), You'll need to unlock it through Fastboot or call the service. FRP possible MIUI 11.

Get out. SIM-map SD-card (if any)

Charge your phone at least 50%

Prepare the charger (reset can take 5-10 minutes)

Remember the data from Mi Account (if the phone is tied)-->

3. Unlock via Fastboot (for advanced users)

The method is suitable if:

  • πŸ“± The phone is not unlocked through your Mi Account.
  • πŸ“± Password is forgotten and Recovery is not available.
  • πŸ“± We need to get around the lock. FRP (firmware).

The work will require:

  • πŸ–₯️ Computer with Windows/Linux.
  • πŸ”Œ Cable USB Type-C (original).
  • πŸ› οΈ Utilities: ADB & Fastboot, Mi Flash Tool (for firmware).
  • πŸ“„ Firmware for Redmi 7 (onc version).

Step-by-step:

  1. Install Xiaomi and ADB drivers on your PC (you can download from the official Xiaomi website or through XDA Developers).
  2. Turn the phone into Fastboot mode: (a) Turn off the device. (b) Press Volume down + Power before the hare appears in the hat-out (lago Fastboot).
  3. Connect the phone to your PC and check the connection with the command: fastboot devices (should display the serial number of the device).
  4. For password reset, run fastboot erase userdata fastboot erase frp fastboot reboot

On the firmware MIUI 12+ The fastboot erase frp command may not work - you will need a complete flashing through the Mi Flash Tool. 7 (for example, onc_global_images_V12.0.3.0.QFLMIXM) And then you run it in Clean All mode.

What if the Fastboot can’t see the device?
1. Check the cable - use the original or high-end USB-Type C. 2. Install the drivers manually through Device Manager (select "Xiaomi Composite MDB Interface"). 3. Try another USB port (preferably USB 2.0 on the back of your PC). 4. Disable the antivirus - it can block ADB/Fastboot. 5. Reinstall the SDK platform via Android Studio.

4. Bypass of locking through EDL Mode (emergency mode)

EDL (Emergency Download Mode) is a brick-and-breaker mode on Redmi 7 that can only be activated with a testpoint or through a special utility (e.g., Deep Flash Cable) that is risky and requires experience, but it is the only one that works with:

  • πŸ”΄ Total system failure (bootloop).
  • πŸ”΄ Locking the bootloader (bootloader).
  • πŸ”΄ Loss of access to Fastboot.

To unlock through EDL:

  1. Download the.tgz firmware for Redmi 7 (e.g., from en.miui.com).
  2. Unpack the archive and find the file. prog_emmc_firehose_8953.mbn (for the Snapdragon processor 632).
  3. Connect your phone in EDL mode (via testpoint or cable).
  4. Use the Mi Flash Tool or QFil for firmware.

⚠️ Note: Incorrect Firmware Through EDL If you're not sure what you're doing, you can go to the service center, Redmi 7, after you've run through the firmware. EDL You may need to unlock the bootloader (bootloader).

5 Unlocking through Xiaomi Service Centers

If all independent methods did not help, you can contact the official Xiaomi service center.

  • πŸ” The phone is tied to someone else's Mi Account (after buying used one).
  • πŸ” Lockdown FRP new-fixed (MIUI 13+).
  • πŸ” Damage to section EFS (loss IMEI).

What you need to unlock in the service:

  • πŸ“„ Check or contract of sale (to confirm ownership).
  • πŸ“„ Passport of the owner.
  • πŸ’³ Payment for the service (from 1000 to 3 000 rubles depending on the problem).

Average unblocking times:

Type of lockdownDuration (working days)Cost (roughly)
Password reset (without FRP)1 day500–1 000 β‚½
FRP circumvention2-3 days1 500–2 500 β‚½
Rebuilding IMEI3-5 days2 000–3 500 β‚½

Official Xiaomi service centers in Russia can be found on the website mi.com/ru/service/center. Before visiting, check by phone if they are unlocking Redmi. 7 β€” Some of the centers refuse to work with old models.

πŸ’‘

If the phone is bought from hand and locked on someone else's Mi Account, try contacting the previous owner. Xiaomi can unlock the device at his request (if there is a check).

6. Alternative methods (with caution!)

There are dozens of "magic" ways to unlock the Internet, from entering secret codes to using paid software, most of which either don't work or are dangerous to the device, and we'll list only those that have any evidence for the Redmi 7:

  • πŸ”’ Unlocking codes: πŸ“ž ##7378423## - Service menu (does not reset password!). πŸ“ž ##4636## - phone information (also not helpful when blocking). On Redmi 7, these codes are useless for bypassing the lock screen.
  • πŸ’» Unlocking programs: πŸ–₯️ Mi Account Unlock Tool – only works on old firmware (MIUI 10 and below). πŸ–₯️ D&G Unlock Tool is a paid utility that requires experience in Fastboot. Risk: most of these programs contain viruses or spoil the bootloader.
  • πŸ”§ Dumping through ADB: If the phone is debugging on USB, You can try to reset your password through the commands: adb shell su rm /data/system/gesture.key rm /data/system/password.key reboot on Redmi 7 This method only works with root rights.

⚠️ Warning: None of the alternative programs guarantee 100% results. MIUI 12+ Most of these methods are locked at the kernel level. Don't pay for questionable "unlockers" - you better contact the service.

πŸ’‘

The only reliable ways to unlock Redmi 7 is Mi Account, Recovery/Fastboot reset, or call the service. All other methods are either outdated or dangerous.

FAQ: Frequent questions about unlocking Xiaomi Redmi 7

Can I unlock Redmi 7 without losing data?
Theoretically yes, but only if: πŸ”“ The phone is unlocked through Mi Account. πŸ”“ You have a backup in Mi Cloud (data can be recovered after resetting). πŸ”“ The device is not encrypted (no) PIN-In all other cases, the data will be lost.
What if the phone asks for the old Mi Account password after resetting?
It's a lockdown. FRP (Factory Reset Protection). Solutions: πŸ“§ Restore access to your previous Mi Account (if your phone is yours). πŸ”§ Swipe your phone through Fastboot with a shutdown FRP (Fastboot erase frp team). πŸ₯ Contact the service (if the phone is purchased from hand). MIUI 13+ circumvention FRP Fastboot does not work – you need firmware through EDL.
How do I know if the bootloader is unlocked on Redmi 7?
Transfer your phone to Fastboot and connect to your PC. Enter the command: fastboot oem device-info If the answer has a line Device unlocked: true, the bootloader is unlocked. If false is locked. On a locked bootloader, you can't flash custom firmware or a modified Recovery.
Can I unlock Redmi 7 via Find Device?
Yes, if: πŸ“ The phone is connected to the Internet (Wi-Fi or mobile network). πŸ“ Find Device enabled in Mi Account settings. πŸ“ You have access to a Xiaomi account tied to your phone.Instructions: Go to i.mi.com. log in and select your Redmi 7. Click Delete Data (this will reset the phone to factory settings).
What if Redmi 7 doesn’t turn on after a failed unlock?
Brick Symptoms and Their Solutions: πŸ”΄ Black screen, no button response: Try charging your phone for 30 minutes, then pinch Power + Volume up for 20 seconds. πŸ”΄ Hangs on the Mi logo: Swipe your phone through Fastboot or EDL. πŸ”΄ Red/orange indicator when charging: Battery or power charge problem - you need a diagnostic in the service. If the phone does not respond to any manipulation, the bootloader is likely damaged. EDL testpoint.