Skip to main content
27 votes
Accepted

How to recover a deleted file from /data partition on a rooted phone?

First to clarify root and data: Root directory / of Android devices is a read-only pseudo (temporary) filesystem (rootfs) that lives in RAM and is vanished when device is powered off. When device is ...
Irfan Latif's user avatar
  • 20.7k
10 votes
Accepted

How to make a complete factory reset, without anyone being able to retrieve my data?

HOW DELETED DATA IS RECOVERED? Data (un)deletion strongly depends on how a storage media (HDD, SSD, eMMC etc.), filesystem (NTFS, FAT32, ext4 etc.) and OS save and delete files. File carving / ...
Irfan Latif's user avatar
  • 20.7k
9 votes

Why can't I see Android storage as a partition on PC?

Connecting to PC through USB (MTP) doesn't expose underlying filesystem (ext4 or f2fs) of internal storage (/data partition) to PC. But recovery programs need direct access to filesystem i.e. block ...
Irfan Latif's user avatar
  • 20.7k
9 votes
Accepted

How to shred deleted files to prevent data recovery?

Managed flash memory Most smartphones use managed eMMC memory which means the flash chip itself is performing the flash wear leveling (the eMMC chip has a small CPU integrated which performs the wear ...
Robert's user avatar
  • 20.5k
7 votes
Accepted

What is the .android_secure Folder?

android_secure folder contains those apps which you have moved to external SD. Files inside them would have .asec extension Android 6.0 upwards don't allow you to move apps to external SD as you have ...
beeshyams's user avatar
  • 41.1k
5 votes

I was recording and video on my phone when the battery died, how can I recover the video file?

I had the same promblem. A solution which worked for me was an app "MP4Fix", which you can get in google play for free. It repaired my video in a few sec and placed it in different folder (it kept ...
Martin's user avatar
  • 51
5 votes

SD card formatted as internal storage Recovery Data

This question appears to be a duplicate of How to decrypt Adopted Storage? in many regards, but if I understand it correctly, the following things happened and one step makes it unique: You adopted ...
acejavelin's user avatar
  • 6,197
5 votes

Data recovery from encrypted phone based on glitches in the encryption?

I'm not an expert in the filed, it's just an analyses of the case according to my limited knowledge. ANDROID'S ENCRYPTION Android supports two modes of encryption; FDE and FBE. FDE encrypts whole ...
Irfan Latif's user avatar
  • 20.7k
4 votes
Accepted

How to Audit Android Apps (for screenshot activity)

Taking a screenshot requires root or system permissions (or an root exploit). I assume your ROM is a official Lineage release. Assuming further that their signing key has not leaked the app you are ...
Robert's user avatar
  • 20.5k
4 votes
Accepted

Can I access my Android through ADB if the phone can only get to the fastboot menu?

No you can't access your phone via adb while you are in fastboot menu. While in fastboot menu only the fastboot binary + driver can access your device. ADB is only available when the device is ...
Robert's user avatar
  • 20.5k
4 votes
Accepted

Do any data-recovery solutions still work on android 11?

Since about Android 6 all devices come with enabled user data encryption. I think since about Android 8 Google enforces that this encryption is hardware backed, which means you can't export the used ...
Robert's user avatar
  • 20.5k
4 votes

Do any data-recovery solutions still work on android 11?

If you ever enabled Google's "Find My Device", you might be able to unlock your phone by locking it there with another password. You can check if your device is listed in Find My Device. ...
Valentin Kuhn's user avatar
4 votes

Do photos survive a factory reset (Android)?

I sold my old Oreo but I'm paranoid. I had about twenty old photos (nothing special) and I deleted them, even from the trash. Then factory reset. That should be enough. As explained on security.SE: ...
sleske's user avatar
  • 338
3 votes

Is all data lost after factory reset?

You might have a chance via a custom recovery: boot into recovery-mode and see if adb devices shows your device if not, or if you have no custom recovery, you can "temporarily load one" using ...
Izzy's user avatar
  • 91.2k
3 votes

Is it possible to back up the encryption key of Android?

You didn't specify in your question whether you're looking for the FDE, Full Disk Encryption, key or the FBE, File-Based Encryption, key. Technically they can both can have their keys recovered (so ...
crass's user avatar
  • 163
3 votes
Accepted

Is a ROMs data (/data) from Nougat compatible with MM?

From one of my earlier answers: Older version of an app might not recognize the data created by the newer version of the same app. Although user apps are rarely affected, crucial system apps might ...
Andy Yan's user avatar
  • 9,539
3 votes

Unable to recover SD card used as internal memory after factory reset

TL;DR: Yes. Details: By adopting your SD card as internal storage, it was encrypted. The encryption key was stored on the device itself – and thus deleted when you performed the factory-reset. For ...
Izzy's user avatar
  • 91.2k
3 votes

Is it possible to transfer the internal memory/storage chip of an S9?

Based on the iFixit tear-down of the Samsung Galaxy S9 you can see that the flash chip in this model is a single chip soldered onto the motherboard - it is inside the orange rectangle below, a 64 GB ...
Robert's user avatar
  • 20.5k
3 votes

/data's data is garbled in TWRP. How to decrypt

I was in a similar issue on a Nokia running a stock ROM. Basically Magisk module killed my phone and the TWRP won't allow decryption. I was able to boot successfully to system again by.. Removing ...
singhnsk's user avatar
  • 2,427
3 votes

Recovering Phone Data after Hardware Failure

Copying data from a phone which is not detected by adb and has no screen info to tell what is happening is not going to take you very far from where you are. Either try to get it to show on system ...
mohsyn's user avatar
  • 328
3 votes
Accepted

How can I access my phone with a broken screen when TWRP decryption is unavailable?

You can enable ADB by editing certain build.prop options which can be done without data access. Then, like you already mentioned, you can easily control your phone with scrcpy. For an in-depth ...
Kippi's user avatar
  • 65
2 votes
Accepted

ADB pull error: remote object '/dev/block/mmcblk0p24' not a file or directory

adb pull is for files. /dev/block/mmcblk0 is a block device. user1133275's answer to that question doesn't work; try the other one, i.e. run adb shell and then: $ su # dd if=/dev/block/mmcblk0 of=/...
Matthew Read's user avatar
  • 50.6k
2 votes

Unlock encrypted Android from ADB

Although buying an OTG cable should work fine, there is in fact a way to unlock your device through ADB alone. Found this out the hard way when I included a character in my password that was not ...
DCKing's user avatar
  • 151
2 votes

I was recording and video on my phone when the battery died, how can I recover the video file?

To expand on Martin's answer, yes you can use MP4Fix. However it is very strict what the video is made with. I found I needed to set the recording settings in order for the mp4 video to be in a ...
C Sharp Conner's user avatar
2 votes

Enable ADB and/or change USB connection mode on Galaxy S7 w/ broken screen

I cannot test this method because my device don't have USB-OTG support. I am not sure if the key sequence is always the same on each phone, this is for android 7.0 nougat This only works with PIN ...
alecxs's user avatar
  • 4,074
2 votes

How can I recover my phone (factory reset doesn't work)?

Get factory firmware here. There are versions matching exactly what you have (scroll down below), though ideally you need the one that also matches your SKU (region). It should come with instruction ...
Andy Yan's user avatar
  • 9,539
2 votes
Accepted

Files and folders in USB drive lost after connecting to Android phone!

All your data seem lost or corrupted. Improper removal of drives could cause data corruption, or in worse cases, put the integrity of your drive at risk. We need to consider three different protocols ...
esQmo_'s user avatar
  • 3,237
2 votes

How can I trace which user account my kids dead phone had?

Is usb-debugging enabled at all? Then you definitely can. That's one of the things my little tool Adebar does: adb shell dumpsys account gives you all the account information (which accounts exist ...
Izzy's user avatar
  • 91.2k
2 votes

How to access the RecycleBin or trash folders and recover deleted files?

Android has no "Trash Folder". Maybe your file manager provides one but with no info provided, we cannot determine how it is. Usually unchecking such an option like "Delete Permanently" just disables ...
iBug's user avatar
  • 7,787
2 votes
Accepted

How to access the RecycleBin or trash folders and recover deleted files?

When deleting files with the option to delete permanently unchecked, they do go to a RecycleBin folder or trash folder if you delete them using an app that lets you see the files you deleted. There ...
SilverLink's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible