yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] PanzerIV88:
NOTHING AT ALL has been recovered goddamnit!

Hi everyone,

I'm really running out of ideas now as my friend gave me her (LG Nexus 4 16Gb) phone so I could try to recover her data as she did a "Factory Reset". I haven't done anything with a SIM card so the phone wouldn't go "online", but only through the Wifi. All I've done on it was to install 3-4 small apps so I could know which partition to recover (Blk0pt23) and unroot the device with Towelroot. Then I enabled USB Debugging and haven't done anything else on the phone to avoid overwritting old data.

1- Once plugged on my computer, I first tryed 2 automatic programs, one from "EaseUS" and another popular one from "Wondershare Dr.Fone". It was hard at first to get them to detect correctly my phone as at first it wasn't working, then it was detecting Nexus 5 instead of 4, then Asus instead of LGE. Once they worked, they both found the same result which was only random worthless files from the Google Play store that synced a few things with my Gmail account before I disable any sort of sync.

2- Since they both failed miserably, I tryed this hardcore method with the partition stuff and of course it couldn't simply work easily, at first it installed Cygwin without "PV", then I was getting the 0 byte file until I use the 32bit version. The creation of the 13.9Gb RAW file took 50min only. Then the convert through CMD failed to change the extention of the file to VHD so I did it myself so then I could mount the drive, quick formated in Fat32. Then I did a deep scan for "All files" with Recuva which was already my favorite recovery software. It found the same worthless crap as the 2 other softwares from #1 :mad:

Quite strange, the deep scan with recuva of the 14Gb partition only took ~30 seconds! You can see the results in the printscreens I've uploaded. I really just don't get it that I can't even find A SINGLE FILE that has been on the phone before the factory reset, and I've tryed pretty much anything that could be done... so now the only possibilities I can see are:

A) Is it possible that not having the correct USB driver, such as using the one automaticly installed by "Windows 8.1 64bits", instead of manually installing the one from Google that can be downloaded through the SDK, could make the whole process work but recover only files that have been there AFTER the factory reset? Pretty much I'm asking if not having the right driver would just not work at all "0%" or it could let me go through all these steps and only find partial results.

B) The last thing I'm thinking is that she've been testing me and she've done a full format with a special apps so absolutely nothing could be recovered at all, only to see how long it would take me to find out (-_-)

Any kind of help would be highly appreciated,

Thanks.
[Samsung Galaxy Nexus] crytoy:
can anyone list the steps to dump an android partition on Ubuntu please
[Samsung Galaxy Nexus] luisfer99:
I have extracted the file RAW

hello all, I have been reading lots of info in the past days, I could not get the process to extract the file with usb working so I did using FTP. It seems like the user data block for my phone Huawei Y536A1 is mmcblk0p24.raw unfortunately when I extract that file is only 4mb long, so I had to extract the whole memory using mmcblk0. it did extract the 4GB image from the phone, but when mounted nothing it shows belongs to what was in the phone prior to factory reset , it shows only actual pictures (factory pictures).

is it possible that somene tells me the right block to pull out f the phone? I have attached the extructure of the memory thanks all in advance
[Samsung Galaxy Nexus] carl1961:
last one userdata block24
[Samsung Galaxy Nexus] eon172:
I'm now making progress thanks to the users who posted on pages 120 & 121. I've patched adbd to be insecure (via installed app on phone), and manually removed cygwin64 (although I had installed cygwin32 as well and was using this) and rebooted pc and phone (i.e. killing the cygwin64 services through rebooting the pc). Currently pulling the complete MMCBLK0. Thanks to those forum members for their guidance and of course the original poster for the guide. Let's see if this works in a few hours ;)
[Samsung Galaxy Nexus] PanzerIV88:
I'm still wondering why even if I've done all the steps correctly, why it is only recovering files that have been there AFTER the factory reset so this method as well as anything else I've tryed on the Internet for my piece of sh*t of Nexus 4, didn't succeed in recovering the pictures I had before but why?! The factory reset isn't suppose to "write zeros" on the whole partition and actualy erase everything in the the process so why I can't recover anything? :crying:
[Samsung Galaxy Nexus] luisfer99:
I am with you, I was finally able to pull the files from the phone, and all i could find is actual data out of it, I dont understand why everyone have succeed and I just get new info .....dont matter what software I use they all pull the same pictures and files. please help as I have invested 5 days to get the raw files and got no good info aout of them ;(. I can paypal someone that helps me work the raw file to find all info ....I havent done anything to the phone after the reset so everything shown are factory values and pictures.
[Samsung Galaxy Nexus] eon172:
Now I can't work out why it stops all of a sudden partly way through, after 3-4 attempts I've had extracts of the [edit] userdata [edit] block varying from ~300MB to ~9GB, not the full >20GB as expected - anyone any idea what may be stopping partly through, there's no feedback/error in the cygwin terminal it just exits to prompt?

thanks
[Samsung Galaxy Nexus] tork2:
hi,

Open a Cygwin terminal and enter adb forward tcp:5555 tcp:5555

I received this response:

-bash: adb: command not found

How can I solve this problem ?
[Samsung Galaxy Nexus] luisfer99:
you need adb file in the same folder of cygwin for it to work.
[Samsung Galaxy Nexus] Infuser86:
I used Odin to flash an update today and it cleared my internal storage. I didn't wipe anything, but when I rebooted all the folders are still there, the files are just gone. Has anyone seen anything like this before? Any success getting files back? Will this methond work here?
[Samsung Galaxy Nexus] freedominthegrave:
Can I?

I just use another recovery tool. is anybody in here have use it before ? It is Jihosoft . It kind of can too.
[Samsung Galaxy Nexus] PanzerIV88:
I might have used it already too as I tryed pretty much all that existed and they're all the same sh*t more or less. At best they all just recover stuff AFTER the factory reset... not a single picture that was there before -_-
[Samsung Galaxy Nexus] kernel52:
Mine was not a wipe. Mine was a stupid action. I deleted the 0 folders from my windows computer and practically lost everything. In the end. I have to work more for some photos, as it only found the thumbs althought it was so exciting to see photos appearing that I didn't see the size before posting... :/

But the guide is still a lifesaver. The problem is that you recover an image that has no table (like a formatted hard drive) and you have to do forensics work to recover data.

Still have a copy somewhere hoping one day I will recover my lost photos :)
[Samsung Galaxy Nexus] M S T F:
For those of you who faces problems backing up internal memory and mostly ends up with an empty raw file may follow the same tutorial with minor changes at this link
[Samsung Galaxy Nexus] Avelina:
Edit: Ok, so when creating the .raw file. It just ends up empty. Does anyone have any idea why?

$ nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p26.raw

0 B 0:00:00 [ 0 B/s] [<=>
[Samsung Galaxy Nexus] M S T F:
You ends up with an empty raw file because adb doesn't get super user permission on your phone. Try the steps from the tutorial I linked in post #1236!
[Samsung Galaxy Nexus] chuqchuck:
heeeelp

hi, I have followed everything to the book, the problem is that my counter keeps going but no mib show untill i press enter repeatedly . what am i doing wrong here. i have a SG S3 , i have a dell 64 bit laptop running 32bit cygwin . please help i'm new at this (complete noob)
[Samsung Galaxy Nexus] Avelina:
Hi

Thanks for answering. I have gone through all the steps. Weird that it does not work :(

Does anyone know where to begin with this? Or can point me in the direction of a program that is able to retrieve photos after a factory reset. I am willing to pay for it
[Samsung Galaxy Nexus] billqu:
Sector-by-sector Image of the drive

Hi,

Thanks for this great info....

However, is there a way to create a sector-by-sector image of the phone's entire internal hard drive? I'm not sure the 'dd' command does that. From what I understand, it copies only the existing partitions and whatever data is on them currently. The raw partition created by the technique above can be useful in recovering deleted files. However, the files that existed prior to formatting (aka factory reset) cannot be accessed. Is my understanding correct?

I think any data recovery software can scan the disk image and find the old files as long as I can create a sector-by-sector image of the phone's internal drive. Is there any way to create a sector-by-sector image of the phone's internal drive?

Thanks in advance!!!
[Samsung Galaxy Nexus] monkeydogger:
How to tell where I'm going wrong?

Folks,

I've been trying for days (unsuccessfully) to follow the process described in post 1.

I've installed all of the tools

updated the path links - C:\ProgramData\Oracle\Java\javapath;C:\Python34\;C:\Python34\Scripts;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static;D:\Matt\samsung\Android Studio\tools;D:\Matt\samsung\Android Studio\platform-tools;D:\Matt\samsung\Android Studio\build-tools\22.0.1

Cygwin (32 and 64 bit flavours) and downloadet netcat and pv

Enabled USB debugging

Reflashed SuperSU

Installed Busybox to both bin and xbin locations

And I just keep getting 0 byte messages all of the time - I'm using a Galaxy S4 Active running CM12

Cygwin WIndow 1

adb forward tcp:5555 tcp:5555

adb shell

su

/system/xbin/busybox nc -l -p 5555 -e /system/xbin/busybox dd if=/dev/block/mmcblk0p29

***/system/bin/busybox nc -l -p 5555 -e /system/bin/busybox dd if=/dev/block/mmcblk0p29***

Cygwin Window 2

adb forward tcp:5555 tcp:5555

cd /samsung

nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p29.raw

I have a 64gb SD card I could dump the internal memory to if thats an option - Can anyone help.

I've tried it with the phone on and connected with ADB / usb degugging enebled, in download mode (get a device is offline message) and recovery mode (device not connected message).

Thanks

Matt.
[Samsung Galaxy Nexus] monkeydogger:
Success.....

Followed sequence again using the 32 bit version of Cygwin and a clean admin account on my PC and for some reason or another it worked......

Thanks for the instructions OP!!
[Samsung Galaxy Nexus] djromann:
Hi all!

I tried the instructions for some days, and got the same issue as monkeydogger got- 0 bytes of transfer, but in the 1st cygwin window appeared " dd: can't open '/dev/block/mmcblk0p12': Permission denied"

So I tried to make a raw dump to an external microSD memory card (I have one of 16Gb) but I noted that the maximum lenght was 8Gb, it gave an error like "file too big".

Is it about the microSD card volume? Is it possible that the raw image sent to the microSD card can be only half of total volume of the memory card? So should I buy an other microSD card of 32Gb then will dump all 16Gb or there are some limits installed by the ext file system?

However, the problem was like that: one day, my Galaxy S3 pulled a message "Internal memory damaged" and the only disponible button was "reset factory settings" so I did it. Now I'm trying to get back at least some of my photo 'cause the phone turned to its factory settings.

I used this and other tutorials, so I dumped a 8Gb (instead of 16Gb) raw file, converted and mounted it, scanned with Recuva but didn't find no one of my old files before formatting...

It's the first time I use adb and terminal and would be great some help...

Thanks!
[Samsung Galaxy Nexus] carl1961:
If you get permission denied, then you have root issues or maybe you did not use su to get root access
[Samsung Galaxy Nexus] waqas.sylar:
Memory block

hi guys,

new here. i recently lost all of my data because of a sstupid software update. anyways, i'm trying to follow these steps, but I'm stuck at memory blocks.i dont know which memory block do i have, i wrote all the commands to, it says no such file or folder exist. my phone is LG G2. tried these commands:

su

ls -l/dev/block/platform/omap/omap_hsmmc.0/by-name/

su

find /dev/block/platform/ -name 'mmc*' -exec fdisk -l {} \; > /sdcard/list_of_gnex_partitions.txt

I just want find the memory block, how can i do it?

any suggestions?

thanks in advance
[Samsung Galaxy Nexus] carl1961:
do you have root? try the attached app it will show your partitions
[Samsung Galaxy Nexus] Juanpv:
diskdigger recovered many more files that I was able to get manually:

https://play.google.com/store/apps/details?id=com.defianttech.diskdigger
[Samsung Galaxy Nexus] waqas.sylar:
yes I have root, and found the block to be mmcblk0p35 with the diskinfo app. now i typed the commands in cygwin and it does not copy internal memory to raw. please see the attached pictures. what am i missing here?

raw file size is 0 bytes.
[Samsung Galaxy Nexus] carl1961:
did you try the DiskDigger undelete

https://play.google.com/store/apps/details?id=com.defianttech.diskdigger
[Samsung Galaxy Nexus] tomi2307:
i have a question. i have deleted dalvic cache and cache and accidentally internal memoy on my oneplus one. now when i boot andoid and it will start to recreate dalvic cache will the new created files overlap on the deleted files from my internal memory?
[Samsung Galaxy Nexus] youthinfeed:
Thanks for the share!

Good to know there’s another way to recover data. I had been following more simple ways to recover my data. There's more professional softwares mentioned for data recovery - Youthwiz.com

Thank You :)
[Samsung Galaxy Nexus] gangpe:
Suggested method for recovering internal memory?

Hey Carl,

I know there are a lot of methods for recovering data (create an image of the internal memory, apps like Disk Digger, windows programs), but what would you suggest if you are trying to recover your internal memory? I'm on a N900A and had to reflash NC2 full; I lost all my data from the internal card and I just want to restore everything.

TIA
[Samsung Galaxy Nexus] carl1961:
if these options in this thread do not work then I don't think there is nothing else you can do
[Samsung Galaxy Nexus] jamestest1122:
You may check out this google nexus data recovery tool, it is easy to use and can undelete photos videos and other files from google nexus phone.
[Samsung Galaxy Nexus] iXsanders:
Hi all,

just wanted to share my experiences with this workflow. I am in the same situation that i unlocked bootloader without doing a backup first and afterwards recognized that anything is gone, 6 month of images of my kids/holiday/housebuilding :(

I have a oneplus one on CM12 (now CM 12.1 nigtlie) and followed the steps in this tutorial.

IMPORTANT You have to use Cygwin32 Bit even on Windows 64bit ! Otherwise it will transfer nothing. It took me two days to find that out.

I first copied the whole mccblk0 and used photorec/recuva on that without getting anything usable. Then today i tried mccblk0p28, which is the data partition on a oneplus. I mounted this ext4 partition directly without the VHD conversion via a tool called FTK Imager by AccessData. Now i can see in Windows the complete directory structure of the internal memory and running Photorec on that gave me thousands of files.

But, sadly only files which were deleted/existent after bootloader unlock

Then i did the VHD conversion on that file and tried Recuva/Photorec and again - nothing usable.

So i have to face the truth, anything is gone, which makes me really sad. If someone has ideas i would appreciate that very much!

Andy
[Samsung Galaxy Nexus] randomlegend10:
I will pay someone to do this for my phone via teamviewer

Hello, I am a noob in all this stuff nd i unlocked my bootloader without really backing up anything before it and so i lost ~25gb of files which i would like to restore. Since im a noob and have been tying for hte last 3 hours even installing just busybox i would like to pay someone to do it for me. Please i am looking for honest people who will do the job so scammers go away. Inbox me or mail me at randomlegend10@gmail.com for offers.

Have a good one
[Samsung Galaxy Nexus] eyestrey:
can anyone help me please..

Chel@Chel-PC ~

$ adb forward tcp:5555 tcp:5555

-bash: adb: command not found
[Samsung Galaxy Nexus] hamid3pnn:
hello

after enter code

C:\Recovery Tool>adb shell
shell@hws7721u:/ $ su
su
root@hws7721u:/ # ls -l/dev/block/platform/omap/omap_hsmmc.0/by-name/
ls -l/dev/block/platform/omap/omap_hsmmc.0/by-name/
ls: Unknown option '-/'. Aborting.

aborting error
[Samsung Galaxy Nexus] teeloboy123:
disk management issue urgent

So I have been able to do everything upto creating the vhd file and attaching it through the disk management of windows 8.1..

However, the process that follows is not applicable to my situation since I end up with lots of small partitions instead of a whole partition.. Any idea how to take care of this problem?..

I have a samsung s4 sph-l720

fingers crossed
[Samsung Galaxy Nexus] chakflying:
Hi using a Nexus 5. I did a wipe to install a new rom and clicked the wrong button, wiping the internal storage and lost all my backup and whatsapp data.

Followed the tutorial to the letter, end up with a 27.2GB vhd file, but when I view it with DiskGenius it has nothing but 00s in it. I have mostly given up, but for the record, what do you think I did wrong?
[Samsung Galaxy Nexus] Askr306:
These sections of the program and takes only a flash card

Who pulled the flash card from the phone, such as a folder dev / block / platform and investments in it does not exist

Also in the folder dev / block / no files mmcblk0, mmcblk0p1.

Restore is a dump of internal memory does not work,

Dump recovers flash card.

SE Experia pro Android 4.0.4 stock

HELP please

Screenshot without external flash card
[Samsung Galaxy Nexus] Dorpwnz:
user@user-PC /cygdrive/c/Users/user/Desktop

$ adb forward tcp:5555 tcp:5555

bash: adb: command not found

user@user-PC /cygdrive/c/Users/user/Desktop

$ adb shell

bash: adb: command not found

user@user-PC /cygdrive/c/Users/user/Desktop

$ /system/bin/busybox nc -l -p 5555 -e /system/bin/busybox dd if=/dev/block/mmcblk0p12

Please help. im a win 7 user. my galaxy s2 needs it's information back.
[Samsung Galaxy Nexus] Askr306:
Help, need a program or plug-in to the program of restoration of data to dig contacts2.db and mmssms.db.

We need signatures to * db and * sqlite
[Samsung Galaxy Nexus] samipower:
Hi , I have a problem in second terminal

nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p12.raw and enter and it say bash: pv: he did not found the order
[Samsung Galaxy Nexus] AutomationLab:
If you use Windows, you have to install linux-utils too with Cygwin.
[Samsung Galaxy Nexus] Dorpwnz:
isnt that what we do in the first step ? Cygwin installed to [c:\cygwin] with pv and util-linux from the repo (at the package selection screen search for pv then util-linux and click on Default to change it to Install)."

the guide claims its already in the package

if there is a standalone setup that i need to know ,please send it to me
[Samsung Galaxy Nexus] AutomationLab:
It should be the first step, but I think he forgot it, like me yesterday. :)
[Samsung Galaxy Nexus] carl1961:
Go here and download and put in bin folder

http://xdaforums.com/showpost.php?p=59775895&postcount=1212
[Samsung Galaxy Nexus] samipower:
Very thanks,

Now , I have got other problem.

all process finished ok, but 0 KB file

my partition is : lrwxrwxrwx root root 2014-01-05 01:24 userdata -> /dev/block/mmcblk0p26

well :

first terminal :

adb forward tcp:5555 tcp:5555

adb shell

su

/system/xbin/busybox nc -l -p 5555 -e /system/xbin/busybox dd if=/dev/block/mmcblk0p26

Open

Second terminal:

adb forward tcp:5555 tcp:5555

cd /nexus

nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p26.raw

press enter and wait 5 minutes and look into nexus directory and mmcblk0p26.raw 0 kb file.

Any idea?

Solution: delete cygwin64 and to install cygwin x86 . And transfer image to begin........

11.8gb in 55 minutes

Other problem :

VhdTool.exe /convert mmcblk0p26.raw // bash: VhdTool.exe not found the order

Solution : copy VhdTool.exe in cygwin/bin
[Samsung Galaxy Nexus] Blackion:
I have already got the data image of my userdata.

Few questions:

1) Since I'm interested only in the unallocated part of the data, how can I extract it?

2) How can I recover a corrupted contacts2.db file?

Almost none of the recovering software recover sqlite 3 format. I tried photorec that actually does recover it and I got about 15 files. Ok, using the hex editor I'm going to find which one of these contains my contacts data, but I'm sure it will be corrupted. What software I can use to fix the corrupted sqlite 3 file?
[Samsung Galaxy Nexus] arfaatc:
Whatsapp Database File

Guys, I had done everything since hours, all is completed i mounted vhd file which was 26gb and then i tried everything but couldnt find my old database file which was msgstore.db.crypt7 please help me to recover whatsapp databases from the vhd which we had extracted please! i am ready to pay anyone who can recover my whatsapp db file!
[Samsung Galaxy Nexus] Blackion:
1. Undeleter beta version supports recovering of Whatapp.

2. If using VHD you cannot see, try to use MTK imager.

Then use Windows Grep to locate the file, if for some reason you cannot see it.

If you need more help, I can guide you step by step, send money via paypal :).

If you want me to restore your file and send over e-mail to you, it is possible too, just let me know. You would need to ship the image on a memory card though.
[Samsung Galaxy Nexus] sciontc25:
Offline help

I have followed every step possible but on my "cmd" for windows its shows my device as online. Once I type in cygwin terminal i get this

"$ adb forward tcp:5555 tcp:5555

error: device offline

Everytime I get this please help, also I have a verizon s3 4.4.2 its rooted with the lamda root busybox installed on both bins, but everytime it still shows offline. I even tried "$ export PATH="/cygdrive/c/cygwin";$PATH" and other variants. Help is greatly appreciated
[Samsung Galaxy Nexus] carl1961:
make sure you have developers debug enabled on your phone, then be ready to give your PC access when prompt. also be ready to give adb root access on phone.

with out this access you will get offline issues
[Samsung Galaxy Nexus] sciontc25:
The phone is with USB debugging on and unknown sources but still same issue and I make sure adb is up and running. Also I even "accept" on the security message. Any advice