Very often, data is not deleted from the SD card, but from the internal memory of Android. In this situation, no program for recovering files on Android helps. That is, users not only lose valuable data, but are also limited in their recovery methods.
This method of recovering data from the internal memory of an Android phone cannot be called very simple. But it works and has been successfully tested by me. The described recovery method was proposed by the Wartickler user on the forum.xda-developers.com forum and was supplemented by a very useful article on Habrahabr (most of the relevant information is from there. Thanks to the author for the presentation).
Who will benefit from a guide to recover data from your phone. File Deletion Scripts
It turns out that there is the possibility of a deep scan of the internal memory of Android. All that is required to recover data from the phone:
- download free recovery utilities
- read the data recovery instructions carefully
- repeat the actions described in it on Android.
The difficulty of recovering from the phone’s internal memory
Android internal memory is not connected as a disk, as is the case with an external sd card, which you can always connect to a computer. External memory allows you to use data recovery tools that scan deleted files and help restore them to a healthy state.
Typically, the operating system simply removes the link pointer in the index, which indicates that the file exists with that name and that it is in this position on the hard drive / in memory. There are effective tools for deleting data; they overwrite the deleted file in several cycles, preventing recovery in this way.
The catch is that data recovery programs need an actual drive to deep scan photos deleted accidentally. Newer phone models often do not support external SD cards, which are very easy to mount as disks using a card reader. This slightly complicates the recovery of Android: the internal memory is mounted as MTP / PTP, which is not considered a mounted disk and therefore is not recognized by data recovery applications. However, we can solve this problem.
Stages of recovery of internal memory
I have a Samsung Galaxy Nexus Toro phone. I believe that the recovery method is suitable for any android phone with internal memory. We will also need Windows 7 or higher to:
- Back up the internal memory section of the phone to your computer as a single massive RAW file,
- Convert RAW file to virtual hard disk,
- Mount the virtual hard disk as a disk in the disk manager,
- Scan mounted virtual hard disk,
- Find deleted files, perform data recovery from an Android phone by Recuva resuscitation software
Checklist of essential data recovery tools
- Android phone with root access
- Installed BusyBox (Linux Console Utility Suite)
- Installed linux environment for Windows. Cygwin on [c: \ cygwin] with pv and util-linux from the repository. You need to open the Cygwin application at least once to make sure that the / bin folder is created. In addition, I made a folder in [c: \ cygwin \ nexus] to put the exported file in.raw format there,
- Netcat Unix Utility (download the zip file and unzip nc.exe to [c: \ cygwin \ bin]),
- ADB drivers (make sure adb.exe is in the Windows environment path),
- USB debugging on the device must be enabled,
- VHD tool from the mighty Microsoft. Place the VhdTool.exe file in [c: \ cygwin \ nexus],
- Piriform Recuva or your favorite data recovery tool (Rekuva finds only the most famous file types: images, videos, etc. To restore more exotic file types on Android, use more specialized programs)
We install BusyBox on the phone and provide root access
We need a copy of the internal memory section of the phone, making it not so simple. You will need a set of BusyBox unix utilities and root access to perform operations with these applications.
You can download BusyBox and KingoRoot on our website or immediately on w3bsit3-dns.com (registration is required there to download files). We put the utilities in the following sequence: KingoRoot, then BusyBox.
The KingoRoot root manager is installed simply: turn on the Internet on the phone, launch the installer. is he "rut" telephone. that is, includes full access to the Android system. Next, put BusyBox. As the installation directory, we leave the default path.
Install KingoRoot on the phone
Recovery from Android internal memory. We connect the phone to the PC in ADB mode
Connect the included phone to the computer in ADB mode. The easiest way to do this. Download adb drivers for your phone model and install them on your computer. It is advisable to restart the PC after that.
On the phone, enable debug mode (Options. Developer options. Put a check "USB debugging") If there is no such section, go to the About device section, click on the line 7 times "Build number".
Through the usb cable we connect the phone to the computer. If the phone prompts for debugging mode, we agree.
We make a raw copy of the section from the phone
The method of recovery from the internal memory of the phone is based on complaints from people who have problems in the course of following the manual. I recommend restoring a full block of memory instead of a data partition. I have it called mmcblk0. Check if your disc name is different from mine. Determine which block or section you want to return. I needed to restore a section with user data: / dev / block / mmcblk0p12.
Open the Cygwin console (assuming BusyBox is installed at [/ system / bin / busybox]), although it may be [/ system / xbin / busybox]. Run the following commands in the console:
Open another Cygwin terminal and type:
Brew a mug of coffee. Copying 32 GB of internal memory takes about 3 hours.
Convert internal memory image to readable RAW
We need to convert the raw file into a virtual hard disk partition. The VhdTool.exe utility simply places the VHD footer at the end of the raw file. Open a Windows command prompt, go to [c: \ cygwin \ nexus] and run the command:
Mount the image of internal memory in Windows
Now you need to mount the VHD image in Windows. Go to Computer Management (Start. Computer. Management). Go to Disk Management.
Action menu. Attach a virtual hard drive.
Specify [c: \ cygwin \ nexus \ mmcblk0p12.raw] as the source
Right-click on the name to the left of the unallocated space and select Initialize Disk. Select GPT.
Right button on Unallocated file space. Create a simple volume.
In the setup wizard, click "Further", leave the default settings for the size, Next, select the drive letter (K, for example), Next. Make sure that the Do not format this section, Next, Finish option is not activated.
A window appears asking you to format the disk. DO NOT AGREE to format the drive at this point. Recovering files after formatting is not always possible!
Right-click on the RAW space and select Format. Specify the type of the FAT32 file system. Set the size of the distribution block "Default". Make sure the Quick Format option is set. You do not want to overwrite the entire new disk with zeros (0) and destroy the data. Fast formatting means that Windows will try to destroy the index for the disk by creating a new index. Without this option, the Windows operating system will overwrite the drive with zeros (0), destroying your data. Click OK.
A window will appear with information that formatting this section will delete all data on it. That would be doubly true if you really hadn’t checked the quick format option. Double check that you actually checked the box and click OK.
Recovering files from Android internal memory image using Recuva
Open the Piriform Recuva app. In the recovery wizard, click "Further". Select ‘Other’ and "Further". Press the button ‘In a specific place "and type: K: \ (assuming K. is the letter of the mounted drive.). Press button "Further". Select the Deep Scan option. This is a magical option that finds files that have been deleted. but not really deleted. Press button "Launch" to scan a disk.
The application can scan deleted files for about an hour in Deep Scan mode. Brew two more mugs of coffee!
After Rekuva gives the results of the scan, you can select the files to restore using the checkboxes. Click the Restore button. »And indicate the place where you want to save data from the phone.
Recovering data from your phone through Recuva
I have a Galaxy 3 NOT phone. Accidentally erased recorded voice recordings on Call recorder. I heard that there is a free recovery program. Help, if you know how to find it.
Answer. If the audio files were stored on an sd-card, almost any application for recovering files on Android and PC is suitable. Of the popular ones, it’s Tenorshare Data Recovery, of the universal ones, we recommend downloading Recuva. If the files were stored in the phone’s internal memory, things are more complicated. Try an Android program called Undeleter Pro or follow these instructions to recover from internal memory.
Do you need to download the program to a computer or to the smartphone itself? She began to download the program to a smartphone, writes "not enough space", although there is enough internal memory. Will Renee Undeleter help restore photos from the phone’s internal memory? There was no memory card.
Answer. First, do not copy files to where you intend to restore Android data. Secondly, Renee Undeleter will not recover files in your situation. Try Recuva or choose another program to restore photos if the outcome fails.
I moved my important photos to the working game folder "Android / data / com.supercell.clashofclans". Then when I went into the folder on the phone. photos have disappeared. Will I be able to restore my photos to the internal memory of the SAMSUNG GALAXY J2 OC ANDROID 5.1.1 phone?
Answer. Yes, if you follow all the steps as described in the instructions. The main thing. determine which disk the photos were on and make a raw copy of this particular section. Recuva should restore photos from internal memory if the recovery status is yellow or green.
Tell me, how to understand if the block recovery process is running? Everything went like normal, but after typing all the commands in the terminal, a couple of lines with zeros appeared in the second window, a raw file was created in the nexus folder with a size of 0 b, and that was all. However, after some time on the E: drive (in my case, Cygwin was installed from there), a certain file was found with the name something like vhd of 499 MB in size (it restored a 12 GB block), but the most interesting is that a virtual disk was created with the only empty recovery.txt file! Something went wrong?
Answer. Everything is correct, vhd is mounted, and after quick formatting there should be no files at all. Now you need to run Rekuva and specify this drive to search for files on it. If the Android internal memory snapshot was taken correctly, with deep scanning, the files should appear in the list of found ones.
If the raw file wasn’t suitable for recovery, try another way to create a snapshot of the internal memory. through the creation of an ftp server when the phone is used as a usb modem. The process is described in the aforementioned article on Habrahabr (link at the top of this article).
I have a Samsung GT-P7510 tablet. Android 4.0.4. I did everything, as in your post. I have a Samsung folder. The vhdtool file appeared in it. 184KB and raw file, but it is 0KB. I can’t try using FTP in the second method, because There is no USB-Modem option.
Answer. Try downloading netcat 64-bit. When entering commands in the console, use nc64 instead of nc.
If it does not help, then here is another instruction for recovering from internal memory.
Files from a flash drive and Android internal memory disappear. I don’t spend cleaning the phone from garbage, because I’m not sure that the information is in the folder! Tell me the reason and programs for recovering lost files from the internal memory of Android! on your site information is purely for the computer!
Answer. There are no high-quality programs for recovering from the phone’s internal memory. Access to the system is not so simple. In this article. working way to recover files from Android internal memory
The problem is this: the tablet is frozen, some photos were restored in the service center, but the huts were reflashed and seemingly formatted the internal memory. I tried to restore it with programs, but the tablet is connected as a mtp, and not as a flash drive, and it is impossible to scan. Is it possible to recover data from internal memory on Android through copying the image of the memory and its partitions?
Answer. Yes, the process is described in detail above. Using the ftp server, you can make an exact image of the memory card as a raw file and mount it on the computer, then use any program (in this case, Recuva) to restore the photo from the image of the phone’s internal memory.
Updates came on xiaomi redmi 3 special. Updated, installed. everything works. But the video and photos stored on the internal memory of the phone were gone. The most interesting thing is that the total memory of the phone shows 25 Gb, but it should. 32. Perhaps there are lost files. I searched all the folders, but did not find anything. How to recover deleted files in the phone’s internal memory, where can I find them?
Answer. Photos and videos are stored in the DCIM / Camera folder. If you did not use an external sd card to save, it means that the multimedia files were located in the internal memory, therefore, there you need to look for them.
It is possible that the photo folder was overwritten during the mobile device update process. By the way, part of the phone’s memory is occupied by system files, so this does not mean that the files you need are stored in hidden form.
Try searching for files with DiskDigger for Android, if it doesn’t help, make an image of the phone’s internal memory, then scan the connected disk with Reucva on your computer.
I decided to delete the bad photo, but accidentally deleted some of the other necessary photos. The photos were in the memory of the phone itself. When connected to a computer, the phone does not appear as a separate drive. Therefore, as I understand it, I can’t recover the files with a simple program, since they were on the phone itself, in the internal memory. What program can I restore them? For me, some simple option is better, because I hardly understand this. If possible, with a description of the steps.
Answer. There are no simple methods to restore the phone’s internal memory. As a rule, Android resuscitators only work with external memory or require root to access the phone’s memory, while searching far away in all areas of the internal memory. Accordingly, the only possible way is to make an image of the phone’s memory, in the next step you can use any program. It is important that until this moment you do not work with the phone, otherwise the files may be overwritten.
I am tormented by the question: is it possible to restore photos from the phone’s memory itself, and not from a memory card. I really need photos from the Camera folder. When I myself try to recover deleted photos through the programs that you recommended, some unnecessary photos from Telegram are restored, someone’s avatars, but not photos from the camera at all. Is it possible to restore them?
Answer. Indeed, although the developers claim that their programs will restore files in all areas of memory, in fact most of the data is ignored during the scan. either it is not enough rights, or the program simply does not know how to do this. If you have enough experience, take a picture of the internal memory of the device according to our instructions. The process takes a lot of time, but at the same time it is likely that among other garbage you will find exactly the right photos. In addition, this is an absolutely free recovery method, so you can experiment in your free time.
1. I bought a new phone (ZTE Blade X3), I wanted to rearrange the memory card from the old phone, but I forgot to turn off the new phone before that. All the photos from the internal memory of the phone disappeared somewhere, but those that were on the memory card remained. There is only one question: how to recover photos from the phone’s internal memory?
2. Accidentally deleted the folder with photos in the internal memory of the phone. As a result, the photos remained in the Android Gallery, but in black and gray, with the inscription "file deleted or damaged". Can I somehow restore the photo?
Answer. First, check if the photos have been copied to the memory card (they may be hidden), check for errors through the chkdsk utility (Windows).
If there are no photos, you can easily follow the DiskDigger program or take a picture of the phone’s internal memory and then, using PhotoRec or Recuva, return the photos.
Trying to return the lost album from the Gallery, I downloaded two android programs for recovering photos. Some of the photos returned, but not the most valuable. How to try again with minimal risk? I want to try to return the photos not found, is it real in this situation? Photos were stored in the internal memory of Android.
Answer. By repeatedly scanning the internal memory of the phone, you risk nothing. But the longer you use the phone after deleting the photo, the lower the chances of their recovery. Any program uses internal memory for its work and can write files to free space. In your case, it is better to take a picture of the phone’s internal memory and experiment with it in read mode.
I want to use your way to restore the internal memory of Android, but I have little space on C drive. only 17GB., and the phone’s partition takes 53 GB. Can I somehow create a folder for the virtual disk on drive D? Phone Xiaomi Redmi Note 4x.
Answer. Yes, of course, you can save a copy of the Android’s internal memory on drive D. The main thing is that all the exe files necessary for work are in the cygwin64 folder. In the console, instead of drive C, specify D.
- The following problem has joined. Images from the camera were saved in the Camera folder on the SD card. When trying to transfer other image folders from internal memory to external, the Camera folder was automatically duplicated. I deleted one of the Camera folders, as a result of which the second folder was deleted. Do not tell me, is it possible to restore these images? I carried out the transfer using a computer, maybe the images remained in the PC’s memory? Information is very important.
- There was little memory left on the phone, since all the photos were saved in the internal memory. I found a way. dropped everything from the phone to the PC, while deleting everything from the internal memory. And when I transferred the file folder to the USB flash drive, there were no necessary photos there. I tried all the recovery programs. nothing came of it.
Answer. Check all image storage locations. hard drive, internal memory and sd card. Most likely, nothing was saved on the hard drive, since it did not act as an intermediary (i.e., files were not copied to it).
In the future, we recommend that you copy files and delete them only after checking them on the recipient. Copying via ctrl x is rather unsafe: there are many cases where files in this way were simply lost along the way.
My son deleted the photo from the phone (from the internal memory of the device). In this case, there is no flash card on the phone. How can I recover photo and video materials? tried through some programs. I restored part of the photo, but I noticed that these are photos that were once sent to my friends. and the rest is really restored. those that I myself photographed? They are very dear to me
Answer. It is possible that the recovery programs you use do not scan the areas of memory from which the programs were deleted. If the photos are really important, take the time to restore the photo from a copy of the internal memory. We described this method in detail above.
[How to recover deleted photo from internal memory?]
The internal storage of the phone was full, so I deleted the data from the cache. After that, I realized that all my photos and videos were deleted! No backup was performed. I tried the application to recover deleted photos, but I can not return the photo back. I deleted the files on 05/23/2018 at about 10:53 a.m. What can I do to get a photo back?
Answer. If there is no space left in the internal memory, the data could be overwritten many times. Therefore, the chances of restoring the photo are minimal. Check if there are any files you are looking for on the memory card: suddenly, the Android camera was writing files there, for lack of free space in the internal memory.
If you are using a Samsung mobile device and backup has been enabled, check the backups of files in the cloud. It also makes sense to check albums in Google Photos for photos.