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.
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:
- Connect your phone to the computer via USB.
- Open the command line (
cmd) and enter:adb shellrm /data/system/gesture.key - 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:
- Go to site Find My Device.
- Select a locked device.
- 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
eMMCthe chances are higher than onUFS 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:
- Install TWRP Recovery for your model.
- Create a backup copy of the partition
/data. - 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
- Turn off the phone.
- Press the button combination (depending on the model):
- Samsung:
Power + Volume up + Bixby - Xiaomi/Redmi:
Power + Volume up - Google Pixel:
Power + Volume down
- Samsung:
โ ๏ธ 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):
- Download the stock firmware (for example, from SamMobile).
- B Odin check the boxes only
AP,BL,CP(do not touchCSCorUSERDATA!). - Press Start and wait for completion.
For Xiaomi/Pixel (via Fastboot):
fastboot flash boot boot.imgfastboot 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/UFSfailure). - ๐ Connector charging (oxidation or broken contacts).
Diagnostics at home
Before calling the service, check:
- 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.
- Try pressing
Power + Volume downfor 20 seconds (forced reboot). - 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/UFSwithout 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.