yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] jcazes:
Same question for me on the Sprint HTC One. All rooting methods I've seen require unlocking the bootloader, which wipes the phone from what I can tell. :(
[Samsung Galaxy Nexus] pusaran:
now i found that there is a way that i can try,i'll copy out all of my internal memory to my computer and compress it into an ISO file then mount it using Daemon Tool and try recover software to scan it>.<

Hope this works :crying:
[Samsung Galaxy Nexus] rfifas:
First, thanks to the op for the tutorial :P

I have a Xperia Z and wiped all of the data while updating. I'm trying to recover my photos (it's the only thing that I want), but It's hard to get them.

After the update, the only thing that I've done was root, and installed undelete (doesn't work :p) and busybox.

Followed the tutorial, and created the mmcblk0 partition, but the only thing I can find are system files (application rars, system images, etc).

i found in a github page that the "userdata" is the mmcblkp26, but it only recovers the same stuff as mmcblk0.

can someone help me please? I only need a couple of pictures i had in the phone :(
[Samsung Galaxy Nexus] blackhat416:
problem with NC command

heey guys

maybe i'm noob Too :D but i did all of the instruction in first post till here "nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p12.raw"

and i think i've problem with "nc" , but as you said downloaded it and started continue of steps , but when i use "nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p12.raw" it says "bash: pv: command not found" ...!

if you can help me plz , thank you guys .
[Samsung Galaxy Nexus] r2m30:
help plzz

hi guys,

even i could not find how to make this work tried every thing but it says device not found or device not online.

it will be helpful if any one of can upload the steps in youtube.

plz need help on this .. as i have lost all the data from my nexus4 :( :confused:
[Samsung Galaxy Nexus] ausvis50:
I had the same problem. I used 64 bit Cygwin setup. Try 32bit setup and select PV package under Utils
[Samsung Galaxy Nexus] Anon123456789:
Colornote App

Hey guys so i recovered my .raw and found a zip file containing what looks to be the Colornote app.

I had a lot of important stuff on there was wondering if anyone could help me recover the data from Colornote. All i see when i open the zip is a "com" folder, a "META-INF" folder, a "res" folder, an "AndroidManifest.xml" file, a "classes.dex" file and a "resources.arsc" file.

Could anyone who knows anything about this be able to help me reconstruct this app and/or help me get some of my notes back :crying:

Thank you guys for the help.

P.S- The other zip files that were recovered also have very similar folder names and an AndroidManifest.xml file as well.

EDIT: Just changed the .zip file into a .apk file, but none of the previous data from my old notes were recovered.

Can anyone help? :(

EDIT2: Also can anyone help me locate where my DCIM was? Im finding images from February but not ones recently taken like a couple days ago, whats up with that?
[Samsung Galaxy Nexus] Wyveryx:
So I upgraded to Shiny's 4.3 for toro. Even though I did a backup prior to this, I got stuck in a situation where I had to wipe everything. It's not a particular big deal since G+ auto backs up my pics, but I figure I'd give this a shot and see just what I could recover if anything.

I followed all the steps in triplicate. I tried doing the copypasta, the single line entry, the hold my breath and close my eyes and type... NADA.

I got held up by the pv.eve not being present, and when i tried to install it from the CYGWIN installer I could not locate it. So I found it online and put it in the CYGWIN folder.

Note: I am running CYGWIN 64

Anyways, by doing all that I have eliminated all errors and was able to complete the lines without issue. However, it shows no time elapsed or remaining and goes straight to the next line.

This is turning into a test in futility for me. I don't need to do this, but I'd like to, just for the :laugh: factor.

To clarify I do have my program files set to install on another drive, so while I have the Android sdk and CYGWIN on my C: and the PATH is set to locate the adb.exe, the JAVA sdk is located on my D:. Thinking that was the issue I re-installed onto C:

I don't want this project to make me bald, so if you got any ideas? I'm starting to think that it's because of 4.3.
[Samsung Galaxy Nexus] chr1sss:
works w/ unlocked bootloader / unrooted / android 4.2.2 / galaxy nexus

Thanks for posting the method. worked on my wifes bone stock galaxy nexus running 4.2.2. I am using windows 7

I unlocked the bootloader using this method. so that i wouldn't have to wipe the phone.

rooted the phone by reading how in this thread and this one.

installed busybox from the play store.

when installing cygwin i installed pv and util-linux straight through there and did not need to get netcat from an external source.

i pulled the entire memblk0 (which was 14.6 GB (15,758,000,237 bytes))

i then used photorec to mount the raw image and pull out all of the files.

in the file explorer i put in "cameramaker:samsung" to find all the images amgonst the tons of stuff photorec pulled out of the phone.

seems to have found all the pics i was looking for.
[Samsung Galaxy Nexus] nighos:
Is it possible to recover with the original file tree (file structure)?

I tried Piriform Recuva, Stellar Phoenix, P-studio and it seems they can recover image files only.

If anyone know how to, please share your settings as well

Thanks
[Samsung Galaxy Nexus] MisT.:
Hey, thanks for the guide. Though i have a question. Everything works properly until

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

Nothing happens afterwards. I checked my harddisk space, It hasn't changed. Is this supposed to happen?

EDIT:

It seems i have the .raw file. However, it just gets created at 0kb and doesn't increase in size.
[Samsung Galaxy Nexus] kruppin:
Try open that second cygwin as administrator (the one where you "nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0pxx.raw") and then it'll probably work. Had about the same problem. :p And delete the mmcblk0pxx.raw you already have in the folder you saved it before trying again, to be on the safe side.

Edit: And the first thing, pv isn't in the cygwin64 repository, so it's probably better to run 32bit version. You select nc, pv and util-linux at install. But try running as admin fist, if that dont work, install the 32-bit version.
[Samsung Galaxy Nexus] Wyveryx:
I tried running the cygwin windows in administrator mode, it didn't help so I am going to install the 32bit version. I do not like their package installer though lol, very hard to determine what is what, but I'll manage :)

Crossing fingers!

---------- Post added at 08:25 PM ---------- Previous post was at 07:37 PM ----------

Well I installed the 32bit version, as well as the needed packages. Ran the cygwin windows in administrator mode just in case and still nothing. This time it shows the time increments but fails to transfer anything. It only created the .raw file as a placeholder.

I think this is likely a 4.3 issue with the way root is working now.

I'm hesitant to head back to a 4.2 Rom because of the chance of overwriting anything.
[Samsung Galaxy Nexus] urmystlkal:
I am also having the same problem and getting my mmcblk file created w/ 0 bytes. After it didn't work w/ the 64 bit I tried the 32 bit and same thing. Here are screen shots I took when I was using the 64 bit version. I have also tried running the 2nd window in administrator mode. Also I have tried it w/ mmcblk0 and mmcblk0p37 which I was told is the sd card spot on the HTC One. Any advice?

EDIT: Mine is finally doing something!! It's going at a rate of about 4.5Mb/s. I switched it from a usb 3.0 to 2.0, glad I remembered to try that. For any of you still having a problem give that a try as well if you are currently using 3.0
[Samsung Galaxy Nexus] liiiily:
First of all, stop using the external hard drive immediately.

When data is lost, the space used to store data are normally not erased, the system will mark the space as free to use. If new data are written onto the external hard drive, the new data may overwrite the space of lost data, which will make them unrecoverable.

Connect the external hard drive to computer and download data recovery program

Connect external hard drive through a USB port as you normally do, then choose the suitable version, and check whether the external hard drive is shown as a drive letter. Purchase or download external hard drive recovery software Data Recovery.

Scan the external hard drive for recoverable files

When you open Data Recovery, you will see a list of drives, select the external hard drive, then press 'Next'. Data Recovery will start scan the external hard drive for recoverable files, thus it can help you recover your lost data.
[Samsung Galaxy Nexus] urmystlkal:
So now I'm at the point of trying to mount the image. I did the conversion from .raw to .vhd in the cmd prompt. It left me still w/ the .raw image in my nexus folder so I attempted to mount that and got the error in the attatchment. I then made a copy of the .raw image and renamed it to mmcblk0.vhd and tried to mount that and I'm getting the same error.

I tried following the instructions of refreshing the drives and restarting the computer but that hasn't worked. Any ideas?
[Samsung Galaxy Nexus] Wyveryx:
I just about did the same thing you did. Although I wasn't using USB 3.0, for some reason using mmcblk0p12 wasn't working so I decided to pull the whole thing at mmcblk0. Low and behold, it's working!

Transferring at a rate of around 4.6. I can't wait to see what I'll find.
[Samsung Galaxy Nexus] crime31:
pv command not found

I tried this method for my Galaxy Note 2.

In Cygwin terminal it showed pv command not found!! What can I do about that??
[Samsung Galaxy Nexus] Wyveryx:
I had the same issue. When you start to install cygwin you'll see a page asking you to select packages. Looks like this...

From there you can type in PV into the search box and you should see something like this after you click on the expand button (+) under UTILS

You'll see what looks like a recycle symbol in the third column that is titled NEW. The options change as you click on the symbol.

Yours should read [Install] [Uninstall] [Reinstall]

Make sure that Install is selected. You should do this for the other packages as well, NC (which is located under the NET category), and I believe there was a third package, but unfortunately I'm about tired as hell, so you'll have to sort that out, though I think it's in the first few pages of this post.

You would do the same on each of the packages you need to install, by clicking on the "recycle" symbol in the NEW column until INSTALL is selected. Your choice of selections remain constant.

Once you're done selecting just click next at the bottom of the window and it will install the packages.

Good luck!
[Samsung Galaxy Nexus] stojshic:
I had the same problem, and thought about "su", but was like, there's no "su" in guide, so why would I type su, like I should write a novel, and not only two letters. After reading through thread, and finding your post, finally it started copying my data partition... Thanks so much, and OP, maybe you could add the "su" step in the tutorial? It shouldn't hurt? Thanks for the tutorial, now to see how many pics can I recover, considering I deleted my whole phone in recovery (sd-card was a mistake), so I had to install system again....
[Samsung Galaxy Nexus] jtyantai:
last weekend,i restore my nexus 4 to 4.3 factory image .but i forgot to backup my pictures.the pictures are important for me .

I also use the way that use linux command,like: /system/bin/busybox nc -l -p 5555 -e /system/bin/busybox dd if=/dev/block/mmcblk0p23.nc

127.0.0.1 5555 | pv -i 0.5 > mmcblk0p23.raw

when it create raw image files.I use the virtual disk manager to load the raw image.then i use recover software in win7.

.I restore nothing but only some 4.3 files.

Now,what else can i do?
[Samsung Galaxy Nexus] agrisvv:
the same.. flash stock nexus4 4.3 and didn't read whats userdata partition will be overwritten.

backup full block, backup only userdata... in 5 days nothing for recovery

Try testdisk, photorec, file scavenger, recuva.. only testdisk show me whats old partitions are corrupted and can't be recovered.

yesterday with z-a-recovery gets one jpg 4 GB and one mov 4 GB. i thing it could bee CWM backup, but cant open like tar or img..

From userdata i coud only get my last install files, from some system partitions i coud see older files but not in userdata..

I

woud say by by photos and sms if flash stock rom.. maby some kind of profesional data recovery people coud recovery some information.
[Samsung Galaxy Nexus] jtyantai:
can you restore some jpg files? which partitions did you convert? i used 23,the article said that userdata is 23 partcitons.but i can't restore any thing...

help..
[Samsung Galaxy Nexus] urmystlkal:
Anyone?

Also when I close the disk management and open it back up after trying to mount it. It won't open and says "Connecting to virtual disk service" for a really long time. Eventually it times out and pops up w/ the error in the 2nd attachment. If I restart the computer it goes back to the original error. If after attempting to mount the disk and before closing down disk management I try and mount the disk again, it will tell me that the disk is already mounted it somewhere.
[Samsung Galaxy Nexus] Boomsling:
Ive lost a month of mining (30LTC)

I'm having a problem, I've been bashing away for around 6 hours to get this far so I don't want to give up now

I'm at the point of pulling the partition data off the phone (galaxy S4)

Opening up the first console window and entering the the commands inc adding SU after adb shell and it all looks like its going well

Open up the second console window and enter the command and it accepts them but finishes instalntly and creates a 0kb raw file in the nexus folder.

I really need to get back a single file from I assume what was the emulated SDCard, specifically the (download folder) as it has my wallet.bat file in there (i hope) and without it I have no access to my litecoins :(

Can anyone offer some advise? (bear in mind its taken me 6 hrs to get this far!)

Here's what I see

http://i.imgur.com/gj98rEz.jpg

At this stage I'm willing to offer 10LTC coins for a successful wallet.bat file recovery (thats about $25-$30)

SU is installed

Busybox is installed, Confirmed location is at bin and not xbin

Phone confirms SU permission to adb shell when requested.

Help me please, Im going nuts.... I've lost a month of mining (30LTC)
[Samsung Galaxy Nexus] agrisvv:
i cant recovery any normal file from 23 partitions( yes it is userdata partiiton +- 14 GB) i think it is realy overwriten because i one jpg 4GB large.. rely this picture was 10 kb. but you coud tray with testdisk, if you could see your partitions with files - this is good. becuse i overwrite 2 times my partitions.
[Samsung Galaxy Nexus] jtyantai:
thanks,the same situation with me.so i suspect that whether the solution is right.do you try to use testdisk? i will try it in a short while.
[Samsung Galaxy Nexus] Ollefar:
Thanks for the guide, this is awesome !!!
[Samsung Galaxy Nexus] Boomsling:
can anyone assist please?

I've been plugging away at this for a couple days now and I think Im nearly there, can someone just give me that last little puss....

Here's a screenshot of where I'm at in this process:

http://i.imgur.com/hvf4ZYa.jpg

Im running windows 8

My phone is rooted ( I double checked with a root verifierapp)

USB debug is enabled

Pic shows the driver installed

I can connect via adb shell and pull off partition data (which is here:http://pastebin.com/PciXV2WP)

I get SU right confimations for ADB on the screen of the phone when I use su command in adb shell

I've identified the partition I need as mmcblk0p29 (user data)

I run the command in cygwin and they stall eaclt as show in the screenshot linked above and no data gets transferred. I've waited about a hour to see if the file size increases but it always remains at 0kb.

I need a kick in the right direction to get this working as I *accidentally* wiped my phone thinking my LTC wallet.dat backup file was safely on the ext sdcard... it wasn't. Its now in there, now marked for execution on the internal memory.

Please can some one help?
[Samsung Galaxy Nexus] ashik.mohd:
Hi there,

First off thanks for the great Tutorial. It could be a life saver i believe if only the raw dump part works sadly.

I got my phone bricked but thankfully got it back with stock factory image 4.2.2 on my nexus 4. Now my 16GB phone shows memory as 8gb.

Will this be a problem in retrieving my data?

Also when i enter the commands for the raw dump on both terminals, I do not get any transfer shown at all.Its stuck like that forever and i end up creating a 0 byte dump of the mmcblk0p23 (userdata partition of n4). I also had to find the pv file online because the repo did not have pv as a package. I use a 64 bit win 7 and hence downloaded cygwin64.

Regards
[Samsung Galaxy Nexus] Limetteneis:
Hi,

I unlocked the Bootloader of my Wifes Galaxy Nexus (running 4.3 Jelly Bean) without saving some pictures before (don't ask me why, she had about 500 pictures that were/are really important for her).

Following the procedure from the first posting, I was able to read out a 13 GB raw-file. Recuva found only crap but photorec was able to restore the actual files from the current android system but no old ones.

Is there any chance to get back the old data from before unlocking the bootloader?

Any further ideas?
[Samsung Galaxy Nexus] Knight77:
Ok guys after SIX hours trying...I have to admid I couldn't do it and need help.

Some general infos:

- Phone is rooted

- When connected in widows it shows "Android ADB Interface"

- If I open a dos windows in the ADB folder and I try "adb devices" I can see it, so I guess is properly connected

- Installed busybox (checked and is in xbin)

- Cygwin is downloaded so also the extensions pv, netcat and util-linux

- ADB path has been set in Windows

So first thing is when I open Cygwin and I input an adb command..nothing happen, just take the command and go down to another line with $.

If i try adb devices nothing happens, just go down and $

If I try adb shell same as above

If I try su I got "SU: user does not exist"

And anyway if I go on with the procedure at the line "/system/xbin/busybox nc -l -p 5555 -e /system/xbin/busybox dd if=/dev/block/mmcblk0p37" I got " -bash: /system/bin/xbusybox: No such file or directory "

If I go on anyway I got an export file of "0" bytes.

PLEASE help...I'm between the tired and desperate :(
[Samsung Galaxy Nexus] Nonobstant:
can't create mmcblk0p12.raw: Read-only file system

Hi guys.

I'm trying to recover pictures and videos of my lovely daughter. But, like many people, i'm stuck at the 6th step. I followed the whole tutorial (really thank you for it) and I just don't get why i have this message :

sh: can't create mmcblk0p12.raw: Read-only file system

(My cellphone is a Samsung Galaxy S3)

Can you please help me ? :angel:

PS : My writings may be a little... exotics. English is not my birth language. ^_^

EDIT #1: I did it again and now the command "nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p12.raw"

gave nothing. no message. when I open the directory, I can see the file... but it does 0KB.

The 1st window is still opened with no prompt.

EDIT #2 : Step 6 PASSED !!! :D

I am on Windows 7 - 64b and I used Cygwin x64 (that was a mistake). To fix the problem I downloaded Cygwin 32b and it works now ! I'm doing my RAW file and i'm happy. :)

Thx again for this tutorial.

I used Recuva and it found none of my erased files :'( Does Userdata partition is the partition with vidéos and photos ?
[Samsung Galaxy Nexus] Knight77:
Just an update: I add the path of ADB also in the .bash file but nothing changed. Now I deleted it so please any help is really welcome.
[Samsung Galaxy Nexus] Nonobstant:
HI. Did you start cygwin and DOS windows (for "adb start-server" command) "as administor" ?

For Super User issue, did you install Super SU on your smartphone ?
[Samsung Galaxy Nexus] Knight77:
""adb start-server" when do I have to send this command? It is not written in the guide...

"For Super User issue, did you install Super SU on your smartphone ?"

Yes, tried many times and I can confirm you that in xbin there is a file called busybox.
[Samsung Galaxy Nexus] 3alaawi:
I know this isn't a tutorial for noobs so I did all the reading I could before this. I have two questions,

a: what do you mean when you say "with pv and util-linux from the repo". I just installed cygwin to c:\cygwin64. Am I all good with that step?

and b: I have my adb setup in downloads/HTCOneRoot, but when I type cd downloads in the cygwin window it says no such file or directory. I checked the cygwin page it says thats how to change directory, confused..

I'd really appreciate the help.

EDIT: Ok I know the answer to a, but I could only install the util-linux. I picked 'download' when installing cygwin and then found util-linux. However theres no pv to be found. I have the pv.exe file separately but can't find any clear guides online on how to add it.

I've also solved b by changing the environment variables. However it keeps saying adb is killing when i enter something, but then proceeds as normal anyway, is that normal?

Feels like I'm almost there! :p

EDIT 2: Haah! It worked. its now uploading or whatever. after many tries this was what worked: used 32-bit not 64 to get pv. after adb shell i put in a command "su" *press enter* and for the next command i put an su before it too (like su /system/busybox... etc.). Then i proceeded with step 6 and all went well. Also, I mistook the -l as a -1 previously. Thanks OP, I'll update this later when I find out how much data got recovered!
[Samsung Galaxy Nexus] 3alaawi:
suggestion

and a note for the dev. maybe what will have people asking less questions is updating the first post with screen shots of what we're supposed to see? i think a lot of us including myself put in the commands and have no clue whats supposed to turn up on the screen.
[Samsung Galaxy Nexus] Knight77:
This.

When I input commands I cannot see anything happens, so for example I thought that "adb devices" was a good way to see if it works but I got nothing. Is it normal?

Inviato dal mio Nexus 7 con Tapatalk 2
[Samsung Galaxy Nexus] 3alaawi:
My point exactly :p. You should see a 12-character device number show up with 'device' written next to it
[Samsung Galaxy Nexus] Knight77:
Yes if I try via dos using adb it works, but the problem is that if I use that command in cygwin doesnt do anything. Any suggestion?

;)
[Samsung Galaxy Nexus] 3alaawi:
If you click on the adb link in the requirements part of the op, it'll take you to a thread that shows you how to add adb to your "path" so that you don't need to be in a specific directory for the commands to work. I had the same issue until I figured it out. It took me a while to get it right but when I did it finally worked.
[Samsung Galaxy Nexus] Knight77:
But I already add the path in windows. Anyway I'll re-check and retry... thanks.
[Samsung Galaxy Nexus] 3alaawi:
Can you execute adb commands in dos from any directory?
[Samsung Galaxy Nexus] Knight77:
I didn't try it: I always opened a command window in the ADB folder. But I understand why you ask that: if I set the path in the proper way I should be able to run the command from anywhere with success....right?
[Samsung Galaxy Nexus] 3alaawi:
Exactly
[Samsung Galaxy Nexus] Knight77:
I can confirm you that I "adb devices" (for example) works perfectly from anywhere with success. So... looks like the problem is with Cygwin, any suggestion about that?