Recover lost files and pictures from the phone Android

Hi friends, today's tutorial we will see how we can recover data or lost files after formatting the Android smartphone that does not have an SD card slot.
Android devices because the market is very vast, there are models of Android smartphones that do not support SD card data. Although for many users this is a disadvantage, there are also for us the possibility to recover lost files after a formatting even if we are not able to take as a precaution ejecting data SD before we play with all sorts of ROM CEs can do as owners of smartphones with data SD card slot.
Recover deleted photos Android?
You should know that inside any Android device, whether it has SD card support or not, there are several partitions. Even if those who own a device without an SD card slot do not have the possibility to remove the card with user data, where the saved photos, videos, videos and downloads are saved, they still have a partition inside the device called "userdata". ”Which behaves like an SD card or“ external memory ”. Those who own a device without an SD card slot and use a file manager have probably noticed that when browsing through files, the file manager displays two locations: Device (where the system files will be located) and storage (location where will find external files created by various applications or by the user (such as music, movies, photos, downloads) or Device and sdcard, location even represented by an icon that displays an SD card even though the device does not have such a thing.
Well this happens because, as I told you above, in the internal memory of the device there are several partitions one of them being "userdata" which is treated as external storage or the user's partition, it's as if we had a SD card that we cannot remove from the device.
Because we can't remove the "userdata" partition from the phone before formatting and playing with all kinds of ROMs, there are great chances to lose important files ("userdata" contains music, movies, videos, photos with loved ones ) during a "Factory data reset" or when we want to flash a new ROM. If we still made the mistake of doing a "Factory data reset" directly from the operating system settings and not from a Recovery, here's how to recover important files lost after a "Factory data reset"
Before we start, you should know that we need to fulfill the following requirements:
- To run a Linux, Ubuntu or Linux Mint operating system, it can be installed and run in a virtual machine like VirtualBox or VMware Player or it can be run live from a CD or USB stick. If you choose to use Linux in a virtual machine such as VirtualBox or VMware Player, you will need to install Guest Additions (if you use VirtualBox) or VMware Tools (if you use VMware Player) in order to use USB devices in a virtual machine. If you don't know how to do this, we've done a tutorial in the past How to use USB devices like webcams, TV tuner, Bluetooth, etc in Virtualbox
- the smartphone or tablet for which you want to recover the data must be ROOT-at / a
- to have installed BusyBox on the device for which you want to recover the data (if you have root or use a custom ROM and not the official one with which the device came, you most likely installed BusyBox)
- to have the data cable of the Android device for which you want to recover the data, at hand to be able to connect the device to the computer running Ubuntu / Linux Mint or to the virtual machine running Ubuntu or Linux Mint.
- VHD Tool which will help us to convert the "userdata" partition into a VHD (Virtual Hard Disk) that can be mounted in a Windows 7 or Windows 8
- data recovery software for Windows such as: Recuva, iCare Data Recovery or Pandora Recovery
Step 1:
- open a terminal in Ubuntu or Linux Mint (depending on what you have chosen to use) and type the following commands one by one by pressing the Enter key after each command entered:
sudo apt-get install-android-tools adb-fastboot android-tools
sudo apt-get install pv
- connect the Android device from which we want to recover the files, in ADB mode, to the PC or virtual machine running Ubuntu or Linux Mint. For those who do not know how to connect an Android device in ADB mode, we explained this in this video tutorial and other video tutorials made by us.
- we open a terminal again and type the following commands one by one by pressing the Enter key after each command entered:
adb devices
adb forward tcp: tcp 5555: 5555
adb shell
/ System / xbin / busybox nc-l-p 5555-e / system / xbin / busybox dd if = / dev / block / mmcblk0p12
-leave the terminal window where you ran the above commands open, create a new folder on the Desktop or in the Home partition you name as you wish (I chose to call it "nexus") and open a new terminal where you run the following orders:
adb forward tcp: tcp 5555: 5555
cd nexus (to navigate through the terminal in the “nexus” or “cd Desktop / nexus” folder if you chose to make the “nexus” folder on the Desktop)
nc 127.0.0.1 5555 | pv-i 0.5> mmcblk0p12.raw
Basically this last command will transfer the "userdata" partition (mmcblk0p12.raw) via Netcat (nc) to the "nexus" folder we are in because we have just navigated to it via the terminal using the above mentioned command (cd nexus or cd Desktop / nexus). Because in the order we also used "pv" (Pipe Viewer) we will have a transfer progress.
Because I got a little longer with the text, the steps to convert the "userdata" partition (mmcblk0p12.raw) to a VHD that we will then mount as a partition in a Windows 7 or Windows 8 to recover data with one from the recovery software mentioned above, you can find them in the video tutorial.
That said, I invite you to watch the video tutorial to see exactly what to do to recover your important files on an Android smartphone or tablet without SD card support, if a factory reset date.


Adrian: Hungry for information and knowledge, I like everything related to the technical field and I share my knowledge with great pleasure. Those who give themselves to others will lose themselves but usefully, leaving something useful to others. Enjoying this privilege, I will never say "I don't know", but "I don't know yet"!

View Comments (99)

    • Very good tutorial! A small clarification . In the second terminal, after giving the adb shell command, type su and enter. This is how it will take root. After that: / system / xbin / busybox nc -l -p 5555 -e / system / xbin / busybox dd if = / dev / block / mmcblk0p12 (or what it says to you next to user data, you can easily find out with DiscInfo, which you can find in the PlayStore). I stumbled a few days in a row to see why I couldn't start copying data from user data. So very important order: su.

  • portal: This procedure is valid if we want to recover deleted SMS?

    Not because text messages are not stored in the "userdata" partition

  • portal: This procedure is valid if we want to recover deleted SMS?

    In the future, back up text messages, there are even applications that automatically back up text messages and call logs. One was presented by my colleague in the tutorial "Espionage or backup for call log and sms on android phones" which you can find with the search box at the top right.

  • Good evening, Videotutorial.ro team, I have a request ... I have an iphone 4 s and I put the code to unlock it but I forgot it. A tutorial on what I can do? thanks :)

  • Hi Adrian, I also have a question, is there any way I can permanently delete files from my phone (pictures, videos or music) so that they can never be recovered, I want to sell a phone and I don't want to be able to recover files from it
    thank you very much
    Congratulations for tutorials

  • Cristi I have a big question to you, when you edit video and transcode what you prefer to do it with leptop computer or assuming they both have the same parts, same performance and same specs and zimi want your opinion and why

  • He and another thing, if and leptop and computer have the same specs and the same performance, with the best quality out of the result, I mean the editing and transcoding video?

Related Post

This website uses cookies.