Forgotten PIN code on a tablet is a situation that every fifth Android user faces. According to statistics Google Play Services, 18% of device locks in 2026 occurred due to lost passwords, and not due to theft or loss. The problem is aggravated by the fact that modern tablets (Samsung Tab S9, Xiaomi Pad 6, Lenovo Yoga Tab) use data encryption by default - this means that resetting the password can lead to file loss, if you do not know the nuances.

In this article we will look into all current unlocking methods (including little-known methods for devices without root access), we will evaluate their risks and effectiveness, and also provide a checklist for preparing for the procedure. Important: not all methods work on Android 14+ โ€”manufacturers are tightening protection, so priority options (for example, through Find My Device) may not be available on new models. If your tablet was released after 2023, go straight to the sections about ADB or recovery mode.

Before you begin: check if the tablet is connected to the Internet via Wi-Fi or a mobile network. Some methods (for example, unlocking via Google account) require an active connection. Also prepare a charger - discharging during the procedure can turn the tablet into a "brick" (especially when working with fastboot).

๐Ÿ“Š What tablet do you have?
Samsung
Xiaomi
Lenovo
Huawei
Another brand
Not I know

1. Unlocking via Google account (only for Android 9 and below)

This method worked on older versions of Android (up to Android 10 inclusive), but now it is officially disabled However, on some tablets with custom firmware or outdated software. (for example, Lenovo Tab 4 on Android 7) you can still try it.

Instructions:

  • ๐Ÿ”น Enter any PIN code 5 times in a row until the message "Forgot your pattern key?" or "Forgot it" appears. password?" data-i="62">โš ๏ธ Attention: On
  • ๐Ÿ”น Click on this inscription - the system will prompt you to enter your login and password for Google account, which was associated with the device.
  • ๐Ÿ”น After successful authorization, the tablet will be unlocked, but you may need to create a new PIN.
โš ๏ธ Attention: On Android 11+ this method does not work - Google has removed the "Smart Lock" feature for unlocking through an account due to security vulnerabilities. If there is no "Forgot your password?" button on the screen, do not waste time entering the code multiple times.

If your tablet is updated to Android 10 or later, but you see a button to reset via Google, this may be phishing page (especially if the device was purchased second-hand). In this case do not enter account information itโ€™s better to use other methods.

Why did Google remove account unlocking?

In 2019, researchers from University of Texas discovered that attackers can bypass this mechanism by substituting certificates. After this, Google released a patch that completely removed the feature from new versions of Android. On some devices (for example Huawei MediaPad T5) it may be saved as a "stub", but not work.

2. Using Find My Device (the official method from Google)

Service Find My Device (formerly Android Device Manager) allows you to remotely reset the PIN code, but with important limitation: after the procedure, all data on the tablet will be erased. This method works on all versions of Androidif:

  • ๐Ÿ“ฑ The device is connected to the Internet (Wi-Fi or mobile network).
  • ๐Ÿ”„ The function is enabled "Find device" in the settings (Settings โ†’ Google โ†’ Security).
  • ๐Ÿ”‘ You remember the login and password for the Google account linked to the tablet.

Step-by-step guide:

  1. Go to site Find My Device from another device (phone or computer).
  2. Log in using the same Google account as on the locked tablet.
  3. Select your device in the list (if it is not there, check whether GPS or the Internet is turned on on the tablet).
  4. Click "Erase" device" (Erase Device).
  5. Confirm the action - the tablet will be reset to factory settings and the PIN will disappear.
โš ๏ธ Attention: If the tablet was turned on data encryption (default on Android 6+), after resetting you may need to enter your Google account password to activate (FRP-lock). Make sure you remember this data!

Alternative: if you have Samsung, use the service Samsung Find My Mobile at findmymobile.samsung.com. It works similarly, but sometimes allows you to unlock the device without a full reset (on models up to 2022).

โ˜‘๏ธ Preparing to reset via Find My Device

Done: 0 / 4

3. ADB Unlock (for advanced users)

Android Debug Bridge (ADB) is a debugging tool that allows you to control your device through a computer. If the tablet was previously turned on USB debugging mode (Settings โ†’ For developers โ†’ USB debugging), you can reset the PIN without losing data. However, this method does not workif:

  • ๐Ÿšซ USB debugging was not activated before blocking.
  • ๐Ÿ”’ The device is encrypted (starting with Android 6).
  • ๐Ÿ›ก๏ธ The manufacturer blocked ADB commands (for example, on Huawei or Xiaomi with MIUI 12+).

Instructions for Windows:

  1. Download and install ADB Tools from Google.
  2. Connect the tablet to the computer via a USB cable (use the original cable!).
  3. Open the command line (Win + R โ†’ enter cmd) and go to the folder with ADB:
    cd C:\platform-tools
  4. Check the device connection:
    adb devices

    If the tablet is shown in the list, run the command to remove the PIN:

    adb shell rm /data/system/gesture.key

    or for new versions of Android:

    adb shell rm /data/system/locksettings.db
  5. Reboot the tablet:
    adb reboot

After the reboot, the lock screen should disappear. If an error appears no devices/emulators found, then USB debugging was not enabled in advance - this method is not suitable for you.

๐Ÿ’ก

If the command adb devices does not show your device, try reinstalling the drivers. To do this, open Device Manager (Win + X), find the tablet in the list (usually in the "Portable Devices" section), right-click and select "Update Driver".

4. Reset via Recovery Mode

If other methods did not work, it remains hard reset via Recovery Mode. This method will erase all data on your tablet, including apps, photos, and settings, but is guaranteed to unlock your device. Works on all Android models, regardless of the OS version.

How to enter Recovery Mode:

  • ๐Ÿ”„ Turn off the tablet (hold the power button on 10 seconds).
  • ๐Ÿ”ง Press the combination of buttons:
    • Samsung: Power + Volume up + Home (or Power + Volume up for new models).
    • Xiaomi/Redmi/Poco: Power + Volume up.
    • Lenovo: Power + Volume up + Volume down.
    • Huawei: Power + Volume up (on some models you need to hold for 15+ seconds).
  • ๐Ÿ“ฑ Release the buttons when the manufacturer logo or Recovery menu appears.

Next:

  1. Use the volume buttons to navigate and the power button to select.
  2. Select item Wipe data/factory reset (on some devices it may be called Clear eMMC or Erase all data).
  3. Confirm the action (usually item Yes or Confirm).
  4. After resetting, select Reboot system now.
โš ๏ธ Attention: On tablets with MediaTek chip (many models Lenovo and Alcatel) after the reset, you may need to enter Google account, which was bound before the blocking. If you donโ€™t remember it, the device will remain locked (FRP-lock).

If after resetting the tablet asks for a Google account password that you donโ€™t remember, try:

  • ๐Ÿ“ง Restore access to your account via Google recovery page.
  • ๐Ÿ”ง Use FRP Bypass Tools (for example, D&G Unlock Tool), but this requires skills and may violate the warranty.

5. application)

Sometimes the tablet is blocked not because of a forgotten PIN code, but because of a malfunction of third-party application (for example, an antivirus or launcher). In this case, Safe Mode will help - a mode in which all user apps are disabled.

How to launch Safe Mode:

  1. On the lock screen, hold down the button power until the shutdown menu appears.
  2. Hold your finger on point Turn off (or Turn off power) for 3โ€“5 seconds.
  3. A prompt will appear to switch to Safe Mode - confirm.
  4. After downloading, remove suspicious applications (Settings โ†’ Applications) and restart the tablet in normal mode.

If the tablet is unlocked in Safe Mode, the problem is definitely in one of the installed applications:

  • ๐Ÿ›ก๏ธ Antiviruses (Avast, 360 Security).
  • ๐Ÿ”’ Screen lock applications (AppLock, Norton App Lock).
  • ๐ŸŽฎ Launchers with additional protection (Nova Launcher, Apex Launcher).
๐Ÿ’ก

Safe Mode will not help if the blocking is caused by a system error or a forgotten PIN code. It is effective only in case of conflicts with applications.

6. Unlocking through a service center (warranty cases)

If none of the methods worked, all you have to do is contact service center. This is relevant for:

  • ๐Ÿ” Tablets with FRP-lock (requires entering a Google account after resetting).
  • ๐Ÿ› ๏ธ Devices under warranty (resetting it yourself can cancel).
  • ๐Ÿ’ผ Corporate tablets (can be linked to an MDM system, for example, Microsoft Intune).

What you need to know before your visit:

Manufacturer Unlocking cost (โ‰ˆ) Required documents Deadline
Samsung 1 500โ€“3 000 โ‚ฝ Receipt, warranty card 1โ€“3 days
Xiaomi 1 000โ€“2 500 โ‚ฝ Box with IMEI 2โ€“5 days
Lenovo 800โ€“2 000 โ‚ฝ Passport, receipt 1 day
Huawei 2 000โ€“4 000 โ‚ฝ Purchase and sale agreement 3โ€“7 days
โš ๏ธ Attention: Some service centers offer โ€œunlocking without data lossโ€ for an additional fee. Most often, this is fraud - on modern Android devices (with encryption FBEit is impossible to save files after resetting the PIN. Requiring an advance payment is a reason to be wary.

If the tablet is under warranty, do not report that you tried to unlock it yourself - this may cause a refusal to receive a free repair. Say that the device is โ€œfrozenโ€ or โ€œnot working.โ€ responds to touches."

7. Alternative methods (for advanced users)

These methods require technical skills and may lead to loss of warranty or damage to the device. Use them only if other options have been exhausted.

Method 1: Firmware via Fastboot

If the tablet is unlocked bootloader, you can flash it via fastboot with a complete data reset. To do this:

  1. Download the official firmware for your model from the manufacturer's website (for example, SamFW for Samsung).
  2. Connect the tablet to the PC in mode fastboot (press Power + Volume down when on).
  3. Run commands:
    fastboot flash boot boot.img
    

    fastboot flash system system.img

    fastboot erase userdata

    fastboot reboot

Method 2: Using exploits (for example, DirtyCOW)

Some vulnerabilities in older versions of Android (for example, DirtyCOW in Android 6โ€“7) allow you to bypass the lock without resetting. However:

  • ๐Ÿšจ This violates the Google license agreement.
  • ๐Ÿ”ง Requires root access or special knowledge.
  • ๐Ÿ›ก๏ธ May be detected by antiviruses as malware.

Method 3: Flashing via ODIN (for Samsung)

For tablets Samsung you can use the app Odin to flash the official firmware with a reset. Step-by-step guide:

Instructions for flashing firmware via ODIN

1. Download Odin (version 3.14+) and the official firmware (file with .tar.md5 extension).

2. Launch Odin, connect the tablet in Download Mode (Power + Volume Down + Bixby).

3. In Odin, select the firmware file in the AP field.

4. Press Start and wait for completion (do not disconnect USB!).

Frequently asked questions (FAQ)

Can I unlock the tablet without losing data?

On devices with Android 6+ and encryption enabled (FBE) it is not possible to save data when resetting the PIN. The only chance is if it was previously enabled USB debugging and you can use ADB. On older versions of Android (5.0 and below), deleting the file sometimes helps gesture.key via recovery, but this is rare.

What if, after resetting, the tablet asks for the old PIN?

This means that it is activated on the device function Secure Startup (on Samsung) or Startup protection (on other brands). In this case, you will have to enter the previous PIN or reset the device again via fastboot with a complete flashing. On some models Xiaomi linking another Mi account through Mi Cloud.

How to unlock a tablet if you have forgotten your Google account?

If the tablet requires it after resetting FRP (Factory Reset Protection), restore access to your account via Google recovery page. If this is not possible, contact the service center with documents for the device. Independently bypassing FRP on new devices (Android 11+) often leads to IMEI blocking.

Does unlocking work via call or SMS?

No, these methods were outdated in 2016. Previously, it was possible to call a locked phone and access the settings through the call menu, but in modern versions of Android this vulnerability is closed. Methods with sending SMS or using the camera do not work similarly.

Is it possible to unlock the tablet through a computer without ADB?

Without pre-enabled USB debugging - no. apps like Dr.Fone or Tenorshare 4uKey promise unlocking, but in practice they either use the same ADB commands (which will not work without preparation), or simply trigger a reset via fastboot with data loss. Beware of paid apps with questionable reviews.