Smartphone memory is not only a place for photos and applications, but also a repository of personal data, passwords, correspondence and work files. Losing access to it can be a real disaster: from the inability to open an important document to blocking the device due to a forgotten pattern. Unlike computers, where data recovery often comes down to connecting a hard drive to another PC, on Android everything is more complicated due to the closed file system and the variety of manufacturers.

In this article we will analyze all possible scenarios for loss of memory access: from banal drive fullness to hardware failures. You will learn how to get back deleted files, bypass the screen lock without losing data, and what to do if the phone does not turn on at all. Important: not all methods are universal - effectiveness depends on the device model (Samsung, Xiaomi, Google Pixel), Android version (from Android 10 to Android 15) and memory type (built-in eMMC/UFS or removable microSD).

We warn you right away: some methods require root access or special equipment (for example, boxes for firmware). If you are not confident in your skills, it is better to contact a service center. But in 80% of cases, the problem is solved at home.

๐Ÿ“Š What happened to your phone's memory?
Full (not enough space)
Forgot password/graphic key
Deleted important files
The phone does not turn on
Another option

1. Diagnosis of the problem: why the memory became inaccessible

Before trying to โ€œreturnโ€ the memory, you need to understand what exactly happened. Symptoms can be different:

  • ๐Ÿ“ฑ The phone turns on, but asks to unlock (forgot your PIN, password or pattern).
  • ๐Ÿšซ The device does not respond to charging, does not turn on, or is stuck on the logo.
  • ๐Ÿ—‘๏ธ The memory โ€œdisappearedโ€ after updating Android or resetting the settings.
  • ๐Ÿ“‰ The settings show that the memory is full, but you did not save anything.
  • ๐Ÿ”ง Files disappeared after connecting to the computer or using a file manager.

Each case requires your approach. For example, if the phone is does not turn on, then data recovery via ADB or TWRP will be useless - you will need JTAGequipment or replacing the memory chip. And if you just forgot password, then you can get by with a reset via Google Find My Device.

โš ๏ธ Attention: On devices with Android 12+ and chip Titan M (for example Google Pixel 6/7/8) password reset via Fastboot or Recovery can lead to full data encryption and their irretrievable loss. Check your phone model before taking action!
Symptom Probable cause Recovery method
The phone asks to unlock, but the password is unknown Forgotten PIN/pattern Reset via Find My Device or ADB
Memory shows 0 GB, files are not displayed File system failure (ext4/f2fs) Check via fsck or flashing
The phone does not turn on, vibrates and turns off Hardware failure of the memory controller Service repair (JTAG or chip replacement)
Files disappeared after updating Android Data migration error during upgrade Restoring from backup Google Drive

2. Restoring access if you forgot your password (without data loss)

If you forgot pattern, PIN or passwordbut the phone turns on and asks to unlock, there are several ways to get around lock without resetting to factory settings (and without data loss). However, their effectiveness depends on the version of Android and the presence of root access.

Method 1: Unlocking via ADB (only if debugging is enabled)

If the phone was previously activated USB debugging (Settings โ†’ For developers โ†’ Debugging USB, you can delete the file with the password via ADB:

  1. Connect your phone to the computer via USB.
  2. Open the command line (cmd) and enter:
    adb shell
    

    rm /data/system/gesture.key

  3. Reboot the device. The password will be reset.

On Android 10+ this method may not work due to strong encryption. In this case, try the alternative command:

adb shell am start -n com.android.settings/.ChooseLockGeneric

Method 2: Using Google Find My Device (for Google accounts only)

If your phone is linked Google account, you can reset your password remotely:

  1. Go to site Find My Device.
  2. Select a locked device.
  3. Click โ€œLocking a device" and enter a new password.
โš ๏ธ Attention: On some devices (Xiaomi, Huawei) after such a reset, you may be required to enter the old password to decrypt the data. If you don't remember it, your data will be lost!

Check if USB debugging is enabled|Make sure your phone is charged at least 50%|Connect the original USB cable|Download ADB drivers for your model-->

3. Recovering deleted files (photos, videos, documents)

If the files were deleted by accident (for example, through โ€œClear allโ€ in the gallery or after a reset), you can try to recover them. Success depends on:

  • ๐Ÿ•’ Time elapsed after deletion (the faster you act, the higher the chances).
  • ๐Ÿ“ฑ Type of memory: on eMMC the chances are higher than on UFS 3.1 (due to trimming features).
  • ๐Ÿ”„ Availability root access (without them, recovery is limited).

Recovery apps (without root)

For devices without root access suitable:

  • ๐Ÿ“ฑ DiskDigger โ€” scans the internal memory for deleted files (the free version recovers only photos).
  • ๐Ÿ–ฅ๏ธ EaseUS MobiSaver โ€” works via a connection to a PC, supports message recovery WhatsApp.
  • ๐ŸŒ GT Recovery (only for microSD) - restores data from a memory card.

Important: Do not install recovery apps on the same phone from which you deleted files! This will overwrite memory sectors and reduce the chances of success.

Recovery with root access

If you have rootuse TWRP + Nandroid Backup:

  1. Install TWRP Recovery for your model.
  2. Create a backup copy of the partition /data.
  3. Use Autopsy or Scalpel to deeply scan the image.
๐Ÿ’ก

If you are restoring photos, look for files with extensions .jpg, .png, .heic. For video - .mp4, .mkv. Android system files usually have extensions .db (database) or .xml (settings).

4. Reset to factory settings: when this is the only way out

If the phone does not respond to unlockingand other methods did not help, the only option left is Hard Reset (reset via Recovery). This will delete all data but restore access to the device. The instructions are universal for most brands (Samsung, Xiaomi, Realme, Oppo), but there may be nuances.

How to do a Hard Reset

  1. Turn off the phone.
  2. Press the button combination (depending on the model):
    • Samsung: Power + Volume up + Bixby
    • Xiaomi/Redmi: Power + Volume up
    • Google Pixel: Power + Volume down
  • In the menu Recovery select "Wipe data/factory resetยป.
  • Confirm the action and wait for the reboot.
  • โš ๏ธ Attention: On devices with Android 9+ and function File-Based Encryption (FBE) after a reset, you may be required to enter the old password to decrypt the data. If you donโ€™t remember it, the data will be lost forever!

    What to do if the reset did not help

    If after Hard Reset phone:

    • ๐Ÿ”„ Stuck on the logo - try flashing the stock firmware via Odin (Samsung) or Fastboot.
    • ๐Ÿ” Asks for a Google account (FRP Lock) - use FRP Bypass Tools (for example, SamFirm for Samsung).
    • ๐Ÿ“ต Does not turn on at all - the problem is in the hardware (memory controller or battery).
    Why may you need the old password after a reset?

    Starting with Android 7.0, Google has introduced File-Based Encryption (FBE), where each file is encrypted with a separate key tied to the user's password. Even after a reset via Recovery, the data remains encrypted and requires the original password to decrypt (for example, Titan M in Pixel or Knox in Samsung).

    5. Memory recovery via firmware (advanced level)

    If standard methods do not work, and the data is critical, you can try reflash the phone while saving it. section /dataThis method is suitable for unlocked devices bootloader and requires skills to work with Fastboot/Odin.

    Step 1: Unlocking the bootloader

    On most devices (except Huawei and some Xiaomi) the bootloader is unlocked through command:

    fastboot flashing unlock

    On Samsung for this you need to enable OEM Unlock in the developer settings.

    Step 2: Flashing stock software with saving data

    For Samsung (via Odin):

    1. Download the stock firmware (for example, from SamMobile).
    2. B Odin check the boxes only AP, BL, CP (do not touch CSC or USERDATA!).
    3. Press Start and wait for completion.

    For Xiaomi/Pixel (via Fastboot):

    fastboot flash boot boot.img
    

    fastboot flash system system.img

    DO NOT use fastboot flash userdata!

    โš ๏ธ Attention: Flashing unofficial assemblies (for example, LineageOS) can lead to loss of IMEI or problems with the modem. Always use official software!
    ๐Ÿ’ก

    Firmware with data saving only works if the file system is not damaged. If the partition /data is encrypted and you do not know the password, recovery is impossible even through JTAG.

    6. Hardware methods: when software methods do not help

    If the phone does not turn onis not detected by the computer and does not respond to charging, the problem may be:

    • ๐Ÿ”‹ Power controller (for example, burned out PMIC after a power surge).
    • ๐Ÿ’พ Memory chip (eMMC/UFS failure).
    • ๐Ÿ”Œ Connector charging (oxidation or broken contacts).

    Diagnostics at home

    Before calling the service, check:

    1. Connect the phone to another cable/charger. If the charging indicator does not light up, the problem is in USB-C port or the battery.
    2. Try pressing Power + Volume down for 20 seconds (forced reboot).
    3. Connect to PC: if the device is detected as Qualcomm HS-USB QDLoader 9008, then the phone is in mode EDL and requires firmware via QFil.

    Recovery methods in the service

    In workshops they use:

    • ๐Ÿ”ง JTAG โ€” connection to test contacts on the board for direct memory access (effective for eMMC).
    • ๐Ÿ”„ Chip-Off โ€” removing the memory chip and reading it on the programmer (risk of chip damage ~30%).
    • ๐Ÿ“ก ISP โ€”connection to contacts eMMC/UFS without dismantling (less risky than Chip-Off).

    The cost of hardware data recovery in 2026 starts from 15,000 rubles (for eMMC) and reaches 50,000 rubles (for UFS 3.1 with encryption). Success depends on the chip model: for example, Samsung KLUFG8U1ED is recovered in 90% of cases, and Micron MT53D1G32 only in 50%.

    7. Prevention: how to avoid memory loss in the future.

    To avoid experiencing data loss again, follow these simple rules:

    • โ˜๏ธ Automatic backup: enable synchronization with Google Drive (Settings โ†’ Google โ†’ Backup).
    • ๐Ÿ” Password management: use Google Smart Lock or Biometrics (fingerprint/face) to remember your PIN.
    • ๐Ÿ“ฑ Regular cleaning: delete application cache (Settings โ†’ Storage โ†’ Clear cache) once every month.
    • ๐Ÿ›ก๏ธ Protection from failures: avoid "left" firmware and do not remove the battery during updates.
    • ๐Ÿ’พ Removable memory card: store important files on microSD (but do not use it as internal memory!).

    For advanced users:

    • ๐Ÿ”ง Install TWRP and do Nandroid backups once every 3 months.
    • ๐Ÿ“ก Use ADB backup to backup applications:
      adb backup -apk -obb -shared -all -f backup.ab
    ๐Ÿ’ก

    If you test frequently firmware, create a separate user in Android (Settings โ†’ System โ†’ Multi-user mode). This will isolate your data from experiments.

    FAQ: Frequently asked questions about memory recovery

    Is it possible to recover data after a reset via Find My Device?

    No. Resetting via Find My Device leads to complete formatting of the partition /dataincluding internal memory. The only chance is if you made a backup copy in Google Drive.

    The phone asks for a password after flashing the firmware. What to do?

    This means that the data is encrypted File-Based Encryption (FBE). If you don't remember your password, recovery is impossible - even in a service center. The only way out is to accept the loss of data and do a complete reset.

    How to restore memory if the phone does not turn on and is not detected by the PC?

    In this case, only hardware recovery via JTAG or ISPwill help. Contact a service specializing in data recovery for mobile devices. The cost starts from 10,000 rubles.

    Is it possible to recover data from a broken screen?

    Yes, if the phone turns on. Connect it to your PC via USB and use ADB or Vysor to control. If the screen does not respond to touches, but there is an image, connect the mouse via OTG adapter.

    Does replacing the memory chip help?

    Only if the problem is hardware damage to the chip. But even after replacement, the data will have to be restored from scratch - the new chip will be empty. This method is only relevant for restoring the phone's functionality, not data.