How to remove desktop protection on Xiaomi Redmi Note 8: all ways PIN-code to the Mi Account

Forgot the pattern lock or PIN-The phone requires a password after rebooting and you don't remember the combination?This situation is familiar to many users, especially if the device has been lying idle for a long time or it was set up by someone else. Fortunately, there are several formal and informal methods of removing lock screen protection, from simple to radical.

It is important to understand that unlocking methods depend on the type of protection: it can be a pattern lock, a digital PIN, a password or even a fingerprint. Some ways will save your data, others will lead to a complete reset. In this article, we will discuss all the current options for the Redmi Note 8 (the ginkgo model), including bypassing through the Mi Account, Fastboot mode and even hardware solutions for the most difficult cases.

Before you start, check that you may be typing the wrong key because of the Invisible Pattern feature (when the lines are not displayed in the drawing), try swiping your finger across the screen at random β€” sometimes it works. If not, read on.

1 Unblocking through Mi Account (official method)

The safest method is if the Redmi Note 8 has a Xiaomi account (Mi Account) attached, which works even when the screen is locked, but requires access to the Internet (via Wi-Fi or mobile network).

Algorithm of action:

  • πŸ”Ή On the lock screen, enter any key/password 5 times in a row (the message "Try again in 30 seconds" should appear").
  • πŸ”Ή At the bottom of the screen will appear the button "Forgot the password?" - click on it.
  • πŸ”Ή Select β€œUnblock via Mi Account” and enter the login/password from the associated account.
  • πŸ”Ή Confirm the unlock through SMS or email (if two-factor authentication is enabled).

⚠️ Note: If you don't remember Mi Account data, restore it through account.xiaomi.com. Use a linked email or phone number. Without access to your account, this will not work.

πŸ’‘

If the "Forgot Password?" button doesn't appear, check your Internet connection. On the Redmi Note 8, it sometimes helps to reconnect to Wi-Fi right on the lock screen (swipe down for the Quick Settings Panel).

ConditionsWill it work?Are the data stored?
Phone connected to Wi-Fiβœ… Yes.βœ… Yes.
No Internet.❌ No.β€”
Mi Account is not tied❌ No.β€”
Two-factor authentication enabledβœ… Yeah (needs code from) SMS/email)βœ… Yes.

2. reset the pattern lock via ADB (without loss of data)

The method is for advanced users who previously included USB debugging in the developer settings. If this mode is activated, you can delete the key file via ADB (Android Debug Bridge).

Step-by-step:

  1. Connect the Redmi Note 8 to your computer USB-cable (original!).
  2. Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
  3. Enter the commands in turn: adb devices (to display your device) 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
  4. After the reboot, the phone will unlock, but you will need to install a new key.

⚠️ Attention: If debugging is on USB It wasn't turned on in advance, it won't work. MIUI Root access may be required, which voids the warranty.

Install Xiaomi drivers on PC|Download ADB Tools (platform-tools)|Enable debugging on USB lock-in|Have originality. USB-cable-->

3. Hard Reset via Recovery Mode (full reset)

A radical way to erase all the data on your phone, including photos, contacts and apps, and use it if other methods have failed and you don't have access to Mi Account.

How to make Hard Reset on Redmi Note 8:

  1. Turn off the phone (press the power button for 10 seconds).
  2. Press the power button + volume button at the same time before the Mi logo appears.
  3. Release the buttons – the Recovery Mode menu will appear (navigation is carried out by volume buttons, the choice is by the power button).
  4. Select Wipe Data β†’ Wipe All Data and confirm the action.
  5. After reset, select Reboot β†’ Reboot to System.

⚠️ Note: On some versions MIUI After the reset, you may need to enter data from the Mi Account that was previously linked (protection) FRP). If you don’t remember your username/password, your phone will turn into a brick".

What to do if you need a Mi Account after resetting?
If Redmi Note 8 after Hard Reset requests data from Mi Account, and you do not remember them, there are two options: 1. Contact Xiaomi service center with proof of purchase (check or box). 2. Use paid services to bypass FRP (risk of running into fraudsters).

4. Unlock via Fastboot (for firmware)

This is a method that works if you're willing to go over the phone, but you don't want to lose data, USB-cable and official firmware for Redmi Note 8 (ginkgo).

Instructions:

  • πŸ”Ή Download the firmware. MIUI Fastboot for its model from en.miui.com.
  • πŸ”Ή Unpack the archive in a folder on your computer.
  • πŸ”Ή Put your phone in Fastboot mode: turn it off, then press the power button + volume-reducing.
  • πŸ”Ή Connect your phone to your PC and launch the file flash_all.bat (Windows or flash_all.sh (macOS/Linux).

Important: When you run through Fastboot, the data is usually stored on internal memory, but the risk of losing it remains, and we recommend using this method only if other options are exhausted.

Unlocking with Mi Account|Reset via Recovery|ADB-team|Fastboot firmware|I haven't tried it yet.-->

5. Hardware methods (for service centers)

If the software didn't work, there's hardware, and it requires special hardware and skills, so it's only suitable for service centers.

  • πŸ”§ Flip-through EDL-Emergency Download Mode – allows you to flash your phone even with damaged firmware, but requires an authorized Xiaomi account for service centers.
  • πŸ”§ Replacing the motherboard is a last resort if the lock is associated with hardware damage to the memory chip (for example, after a fall in the memory chip).
  • πŸ”§ Usage of boxes (UFi, Octoplus) – specialized devices for bypassing locks, but are expensive and require experience.

⚠️ Warning: Self-attempts to interfere with the hardware of the Redmi Note 8 can lead to a complete failure of the device.If you are not a specialist, it is better to contact the official service Xiaomi.

πŸ’‘

Hardware is the last resort when software is exhausted, and it's always paid and requires specialized hardware.

6.How to avoid blocking in the future

To avoid facing the problem of a locked screen again, follow these tips:

  • πŸ“± Use the backup. PIN-pattern lock code (configured when creating a pattern).
  • πŸ” Link Mi Account and enable data synchronization (contacts, photos, notes).
  • πŸ“ Write your passwords in a secure location (such as Google Password Manager or KeePass).
  • πŸ”„ Make backups regularly through Settings β†’ System system β†’ Backup.

It's also useful to know:

  • πŸ”Ή On the Redmi Note 8, you can configure Smart Lock (smart location or Bluetooth device unlocking). β†’ Screen locking β†’ Smart Lock.
  • πŸ”Ή If you are afraid to forget your password, install an emergency unlock app (for example, SOS Lockscreen, which sends SMS spare-numbered.

FAQ: Frequent questions about unlocking the Redmi Note 8

Can I unlock my phone without losing data?
Yes, if you have USB debugging enabled or you have Mi Account tied, the first one is ADB, the second one is unlocking through your account, and if nothing is set up, just Hard Reset, which erases everything.
The phone requires a password after resetting through Recovery.
This is FRP (Factory Reset Protection) protection, you need to enter the data from the Mi Account that was tied before the reset, if you do not remember the username / password, contact the service center with proof of purchase.
Can I bypass the lock through the engineering menu?
No, the engineering menu (#4636##) does not allow you to reset the pattern lock or PIN-It is designed to diagnose network and hardware components.
Will unlocking by call (emergency call) work?
On the Redmi Note 8 with current versions of MIUI, this method does not work. Previously, you could get into the settings through the emergency call screen, but the vulnerability has long been closed.
How much does it cost to unlock in the service center?
The cost depends on the method: Reset via Mi Account (if you forgot the password) - free. Fastboot firmware - from 500 to 1500 rubles. Hardware unlock (EDL, replacement of the board) - from 2000 rubles. Official Xiaomi services charge a fixed fee for bypassing FRP - about 1000 rubles.