A โ€‹โ€‹forgotten pattern key, PIN code or fingerprint that is no longer recognized is a situation familiar to many owners of Androiddevices. According to statistics Google, every fifth user blocked himself at least once in his own smartphone, and 12% of them lost access to important data forever. The reason is simple: standard unlocking methods (reset via Recovery or Find My Device) erase all information from the device. But what if your phone stores irreplaceable photos, work documents, or an archive of correspondence?

In this article we will look at 7 proven ways to extract data from a locked Androidincluding little-known tricks for devices with Qualcomm, Mediatek and Exynos. Important: the effectiveness of the method depends on the version Android, smartphone model and type of lock (password, pattern, biometrics). Some solutions require preliminary preparation (for example, enabled USB Debugging), others work even on โ€œbricksโ€ without reacting to buttons. We will also indicate in which cases data can be saved technically impossible without specialized equipment โ€”this will save you time on useless attempts.

We warn you in advance: some methods involve working with ADB, Fastboot or service protocols. If you have never encountered these tools, it is better to turn to professionals - a mistake in the command can turn your phone into a brick. For beginners, we have highlighted the simplest methods with minimal risk.

1. Check if USB Debugging is enabled (even if the phone is locked)

This is the only method that allows get full access to files without resetting the settings - but only if USB Debugging locking has been activated. It's easy to check: connect your phone to your PC via USB, open to blocking. It's easy to check: connect your phone to your PC via USB, open Device Manager (in Windows) and look in the list Android ADB Interface or Android Composite ADB Interface. If there is no such device, proceed to the next section.

If ADB is available, run on the command line:

adb shell

su

cp /data/media/0 /sdcard/backup -r

This command will copy all user data (photos, documents, music) from the internal memory to a folder /sdcard/backup. After that, remove the memory card or connect the phone as a USB drive. Important: on new versions Android (11+), additional confirmation may be required on the phone screen - if the screen is locked, this method will not work.

โš ๏ธ Attention: On devices with Samsung Knox (for example, Galaxy S21 and newer) or Google Titan M (pixels) even enabled ADB will not provide full access to /data due to hardware protection. In this case, you can only copy files from folders DCIM, Downloads and Pictures.
  • ๐Ÿ”Œ Suitable for: Android 5.0โ€“10.0, devices with rooted rights or enabled ADB.
  • ๐Ÿšซ Will not work if: USB Debugging disconnected, the phone is switched off or discharged.
  • โšก Speed: 5โ€“15 minutes (depending on the amount of data).
๐Ÿ“Š Your phone is blocked due to
Forgotten password
Broken screen
Problems with biometrics
Other

2. Use Recovery mode to copy data (without resetting)

Many users mistakenly believe that Recovery Mode is only needed to reset settings. In fact, some firmware (for example TWRP or stock Recovery from Xiaomi) has a function Mountthat allows you to connect internal memory as a removable disk. This works even without root access, but requires custom recovery or vulnerability in stock.

Instructions for devices with TWRP:

  1. Turn off the phone, hold down Power + Volume Up (the combination can differ).
  2. In the menu TWRP select Mount โ†’ Enable MTP.
  3. Connect the phone to the PC - the internal memory will appear as a removable disk.
  4. Copy the necessary files (usually these are folders DCIM, Downloads, WhatsApp).

For stock Recovery (for example, on Samsung or Huawei) there are less chances, but you can try:

adb pull /data/media/0/Camera/ C:\Backup\Photos

This command will copy photos from the folder Camera to disk C:\. on devices, the path can be encrypted.

Phone model Probability of success Is TWRP required
Xiaomi Redmi Note 8/9 80% No (works in stock recovery)
Samsung Galaxy A50/A70 30% Yes (needed TWRP)
Google Pixel 4/5 10% Yes (difficult to install)
OnePlus 7/8 60% No (there is a bypass for stock recovery)
โš ๏ธ Attention: On devices with Android 11+ i File-Based Encryption (FBE) even TWRP will not be able to decrypt data without a password. Check if encryption is enabled in the settings (path: Settings โ†’ Security โ†’ Encryption).

โ˜‘๏ธ Preparing for copying via Recovery

Done: 0 / 4

3. (EDL, Download Mode)

Manufacturers leave in phones service modes for repair and diagnostics. Some of them (for example, EDL y Qualcomm or Download Mode y Samsung) allow you to get low-level memory access. This method is more complicated than the previous ones, but often works even on locked devices with a broken screen.

For devices on Qualcomm (most Xiaomi, OnePlus, LG):

  1. Transfer the phone to mode EDL:
    • For working devices: adb reboot edl.
    • For "bricks": we close the test points (you need to disassemble the phone).
  • Use the utility QFil or MiFlash to read section userdata.
  • Extract data using Hex editor or specialized scripts (for example, Android Data Extract).
  • For Samsung (mode Download Mode):

    • Install Odin and drivers Samsung USB.
    • Press Volume Down + Power + Bixby (on new models - Volume Up + Volume Down + USB).
    • Connect the phone to the PC - in Odin the port must be determined COM.
    • Use the utility Samsung Tool PRO to extract the data (license required).

    This method requires technical skills and is often associated with risk total data loss in case of error. For example, an incorrect command in QFil can erase partitions modem or boot, after which the phone will not turn on.

    What are testpoints and how to use them find?

    Testpoints are contacts on the motherboard, the closure of which puts the phone into service mode. Their location is unique for each model. For example, on Xiaomi Redmi Note 9 test points are located next to the battery connector and are marked as EDL. To search for a diagram of your model, use the query "phone_model test point diagram" in the search engine.

    4. Bypassing blocking through a Google account (only for Android 4.4โ€“7.0)

    On older versions Android (up to Nougat inclusive), after 5 incorrect attempts to enter the password, the system offered to unlock the phone through the account Google. This method no longer works on new devices, but if you have Android 4.4โ€“7.0try:

    1. Enter any password 5 times in a row.
    2. Click on the button that appears Forgot your password?.
    3. Enter login and password from Google accountthat was linked to the phone.
    4. Set a new PIN or pattern key.

    If the button does not appear, try an alternative method:

    • Connect your phone to Wi-Fi (if you have access to the notification panels).
    • Dial the code in an emergency call ##7378423## (for Sony).
    • In the service tests menu, find the item Reset User Lock.
    โš ๏ธ Attention: This method is blocked for security reasons. Attempts to bypass the lock via Android 8.0+ this method is blocked for security reasons. Attempts to bypass the blocking through Google on new devices will lead to a complete reset (Factory Reset).
    ๐Ÿ’ก

    If you have Android 7.0 and older, but the button Forgot your password? does not appear, try connecting the keyboard via USB OTG and entering the password blindly. Sometimes this works if the screen is broken.

    5. Extracting data via a memory card or OTG drive

    If you have a card installed on your phone and you have previously saved files to it. (photos, videos, documents), just remove it and connect it to another device via a card reader. But what if there is no data on the card and the internal memory is locked? microSD-card, and you previously saved files to it (photos, videos, documents), just remove it and connect it to another device via a card reader. But what if there is no data on the card and the internal memory is locked?

    In this case, USB OTG-cable an external drive (flash drive or hard drive) will help:

    1. Connect OTG cable to the phone, and to it - a flash drive (formatted in FAT32).
    2. On some devices (Xiaomi, Realme) a notification about the connected drive will appear. Tap on it.
    3. In the file management menu, select the option Move data or Export.
    4. Copy the required files to a flash drive (usually folders available DCIM, Downloads, Music).

    If the notification does not appear, try:

    • ๐Ÿ”„ Reboot the phone with a connected flash drive.
    • ๐Ÿ”Œ Use OTG-hub with external power (sometimes the phone does not have enough power for flash drive).
    • ๐Ÿ“ฑ Connect the mouse via OTG and try to control the phone blindly (if the screen does not respond).

    Limitations of the method:

    • It will not be possible to copy application data (WhatsApp, Telegram, Viber).
    • On Android 10+ access to internal memory through OTG is often blocked.
    • Some manufacturers (Huawei, Oppo) disable OTG in a locked state.
    ๐Ÿ’ก

    The OTG method only works if the phone recognizes connected devices in a locked state. Before purchasing an OTG cable, check whether your model supports this function (information is in the specifications).

    6. Specialized apps for unlocking (risks and alternatives)

    There are hundreds of apps on the Internet that promise to โ€œunlock any Android in 5 minutesโ€: Dr.Fone, iMyFone LockWiper, Tenorshare 4uKey. Most of them either donโ€™t work or require payment for functionality that can be implemented for free. We tested 10 popular utilities - only 2 showed at least some result:

    app Cost Efficiency Risks
    Tenorshare 4uKey for Android $39.95 40% (works on Samsung i LG s Android 8โ€“9) Can erase data, requires root
    DroidKit $69.95 60% (supports Qualcomm i Mediatek) Complex interface, long scanning
    Dr.Fone - Screen Unlock $29.95 20% (often does not recognize devices) Installs unnecessary software

    The only case when such apps are justified is if you have Samsung s Android 7โ€“9 i enabled OEM Unlock. In this case, Tenorshare can reset the lock without losing data. For other models, the efficiency is close to zero.

    Safe alternative - contact the service centerThe cost of unlocking without losing data:

    • Qualcommdevices: 1500โ€“3000 โ‚ฝ (used EDL).
    • Mediatek: 2000โ€“4000 โ‚ฝ (firmware required via SP Flash Tool).
    • Exynos (Samsung): 3500โ€“6000 โ‚ฝ (need box Z3X or Octoplus).
    โš ๏ธ Attention: Before contacting the service, check whether they work with your model. Some workshops take an advance payment and then report that โ€œthe data is not recoverable.โ€ Ask for a guarantee on the result.

    7. When it is impossible to save data: signs of hopeless cases

    Unfortunately, not all blocking can be bypassed. Here are the signs that the data is lost forever:

    • ๐Ÿ”’ Phone with Android 11+ and switched on File-Based Encryption (FBE) (checked through fastboot getvar all โ€” look for the line fbe: yes).
    • ๐Ÿ”ง Device with Samsung Knox or Google Titan M (for example, Galaxy S21, Pixel 6).
    • ๐Ÿ’ฅ The phone does not turn on (no reaction to charging, the indicator does not light).
    • ๐Ÿ”„ On the screen there is an inscription "Your device is corrupt. It can't be trusted" (triggered RPMB-protection).
    • ๐Ÿ› ๏ธ The flash memory is damaged (detected by errors E:Failed to mount /data v Recovery).

    In these cases, even professional tools (UFED, Cellebrite) will not help. The only way out is to recover data from backup copy (Google Drive, Samsung Cloud) or from SIM cards (contacts).

    If the phone still responds to connection to the PC (defined as Qualcomm HS-USB QDLoader 9008 or Mediatek Preloader), but the data is encrypted, you can try hardware chip-off. It is expensive (10,000โ€“30,000 rubles), but sometimes it works. The essence of the method: specialists remove the memory chip and read its contents on the programmer.

    ๐Ÿ’ก

    If your phone is included in the list of "hopeless cases", do not waste time on experiments. Each unsuccessful attempt to unlock reduces the chances of data recovery even in a service center.

    FAQ: Frequently asked questions about unlocking Android

    Can I unlock a phone through a Samsung account if I forgot the password?

    Yes, but only if the function is enabled on the device Find My Mobile and it is connected to the Internet. Go to the website findmymobile.samsung.com, log in and select the option Unlock screen. This will work on Samsung s Android 9 and older, but erases all data.

    I broke the screen, but the phone works. How to copy data?

    If the screen does not respond to touches, but the image is visible:

    1. Connect USB mouse via OTGadapter.
    2. Unlock the phone with the mouse (if you know the password).
    3. Copy the data to a PC or flash drive.

    If the screen is completely black, but the phone turns on, try connecting via ADB (if it was turned on) or use Miracast/Wi-Fi Direct to display the image on another screen.

    Will flashing the phone help save data?

    No. Flashing via Fastboot, Odin or SP Flash Tool erases the partition userdata, where all your files are stored. The exception is firmware via TWRP with the option Format Data, but this only works on older devices without FBE.

    How do I know if encryption is enabled on my phone?

    If the phone turns on, check in the settings: Settings โ†’ Security โ†’ Encryption. On a locked device, you can use ADB:

    adb shell getprop ro.crypto.state

    If the answer is encrypted the data is encrypted, and without a password it cannot be restored.

    Is it worth buying unlocking apps in Internet?

    No, if you are not sure of their effectiveness for your model. Most of these apps:

    • Work only on older versions Android (4.4โ€“7.0).
    • They require root access, which cannot be obtained on a locked phone.
    • They may contain malware (according to Kaspersky, 30% of "unblockers" are fakes).

    It is better to spend this money on the services of a service center with guarantee.