[Samsung Galaxy Nexus] carl1961:
Note3 Internal Storage Recovery example

[MENTION=2129788]Wartickler[/MENTION] For His Excellent Guide and [MENTION=2738944]scandiun[/MENTION] for his Excellent Guides

Example Doing AT&T Note 3 with Pictures

The Work

Example AT&T Note 3 to recover the userdata partition: /dev/block/mmcblk0p25

Turn on your phone

Make sure USB Debugging is turned on and check USB Debugging and also check "Always allow from this computer" when Allow Usb Debugging RMA screen pop's up

[YOUTUBE]4t3xa0BppDo[/YOUTUBE]

Go to your cygwin folder and make a folder named note3. (C:\cygwin\note3)

Open a Cygwin Terminal and enter : with latest Cygwin Terminal You can also copy and paste the commands

adb forward tcp:5555 tcp:5555
adb shell
su (watch phone screen be ready to give SuperSu permission)
/system/xbin/busybox nc -l -p 5555 -e /system/bin/busybox dd if=/dev/block/mmcblk0p25

Open another Cygwin Terminal and enter:

adb forward tcp:5555 tcp:5555
cd /note3
nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p25.raw

Run around the house a few times. For 32GB internal memory this is going to take 3+ hours. That's a lot of running. When it's done...

Unzip attached VhdTool.zip and copy VhdTool.exe to your c:\cygwin\note3 folder

We need to convert the .RAW file to a virtual hard drive. VhdTool.exe basically just puts a VHD footer on the end of the .RAW file. Open a Windows command prompt, go to [c:\cygwin\note3], and type:

VhdTool.exe /convert mmcblk0p25.raw

Now we need to mount the VHD in Windows. Select the Start button-->right-click Computer-->select Manage.

Select Storage-->Disk Management.

In the menu select Action-->Attach VHD.

For Location enter [c:\cygwin\note3\mmcblk0p25.raw] and select the OK button.

Right-click on the name (e.g. "Disk 2") to the left of the Unallocated space and select Initialize Disk.

Select the GPT (GUID Partition Table) radio button and select the OK button.

Right-click on the Unallocated space and select New Simple Volume...

In the Wizard select Next>,

leave the default for the volume size,

select Next>, select a drive letter (e.g. G), select Next>,

MAKE SURE to select the 'Do not format this volume' radio button,

select Next>, select Finish.

A box will pop up asking you to format the drive.

You DO NOT want to format the drive at this time.

Right-click on the RAW space and select Format...

MAKE SURE to change the File system to FAT32.

Set the Allocation unit size dropdown to 'Default.' MAKE SURE that the Perform a quick format checkbox is CHECKED. You do not want to overwrite the entire new drive with all zeroes (0's) and destroy your data. Quick Format means that it will only attempt to destroy the index for the drive by establishing a new index. Without this box checked the Windows operating system will write zeroes (0's) across the entire volume, potentially destroying your data. Select the OK button.

A box will pop up saying that Formatting this volume will erase all data on it.

That would be doubly true if you actually didn't check the 'Perform a quick format' checkbox. Double check that you actually did check the box and select the OK button. (Don't worry. This essentially leaves the volume in the exact same state that your phone's internal memory is living in right now: there is data on the drive...you just can't see it.

It's coming back, I promise!)

Open the Piriform Recuva application.

In the wizard select the 'Next >' button. Select the 'All Files' radio button and select Next >.

Select the 'In a specific location' radio button and enter: G:\ (assuming G is the drive letter you chose...)

Select the Next > button. Select the Enable Deep Scan checkbox.

This is the magical setting that finds files that have been deleted...but not really deleted. Select the Start button.

The application may take about an hour to do the 'Deep Scan.'

It's time for more laps around the house! Once the application has returned its results you can choose which files to recover using the checkboxes.

Select the 'Recover...' button and choose the location to which you wish to output your files.

?The application may take about an hour or longer to do the recovering of your files

Profit! :victory: