yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] Hellscream2010:
Hi

[MENTION=222524]first[/MENTION] thanks for the great work

I have a problem I followed the steps and to by the way the 64 bit version of cygwin didn't work but the 32 bit one did the job well and now I have a 16Gb vhd but there is a very strange thing happened

I was using 32. Gb sd card plus the phones internal 16 Gb phones internal storage but all the images and videos on the sd the internal used only for the apps

By mistake I changed the default save location to internal and took some precious moments

And after that phone made some troubles and were forced to do factory reset "wasn't rooted yet"

When recuva finished it gave me 37 Gb recovered files despite I have removed the sd before starting the process and the files has no usable extension and strange names

another strange thing that the recovered images are the images were on the sd not the internal storage?!

One important thing is that when rooted the phone I used full root guide so I flashed "BOOT_EMUI3.0_619_UNLOCKED.img" s using adb fast boot does this is the same thing u mentioned efrant ? :confused:

So I need to understand does this mean that I destroyed my data for ever

Notre before all of this I made a backup using device manager in my phone it backed contacts and system setting only could this help

iam using huawie ascend p7
[Samsung Galaxy Nexus] neo4all:
Help with a Moto G 5.0.2

I'm stuck at the very first phase where you have to root...i tried googling for ways where u gotta root with non destructive measures and couldn't find any...all i bumped into was this:

http://xdaforums.com/showthread.php?t=2774016

and in this process i get stuck at the fourth command i.e.: adb shell /data/local/atvc/root.sh

my cmd prompt says can't execute: permission denied

please help me i really want to get the annual day pics back :'(
[Samsung Galaxy Nexus] imagetoon:
Stuck on #5

Hi everyone,

I am trying to recover my sister's deleted pictures on a Verizon Samsung S4. I have been able to successfully root the device and installed the tool that is mentioned here. Once thing I am not able to do is run the below codes with cygwin.

Ive tried rebooting computer and phone, reconnecting USB, disable/enable unknown sources. I am not sure what else to do. Please help, there are some photos of my nephew that is important for us to have. Appreciate your support.

adb forward tcp:5555 tcp:5555

error: device offline
[Samsung Galaxy Nexus] Blackion:
You can use an app that will directly undelete photos from the phone's internal memory.

Also, adb forward is not the only way to get an image of internal memory.

You can contact me by pm if you would like a personal guidance - just in case those photos are very important.
[Samsung Galaxy Nexus] imagetoon:
Deleted pictures accidentally.

Hello blackion, I sent you a private message. What APP are you referring to?

I have been able to get passed the device not found, now cygwin does not copy the blocks. I set it to make a .raw of mmcblk029 and it just stayed at zero bytes all night long.
[Samsung Galaxy Nexus] domagoj.jugovic:
OnePlus One recovered but not single photo from camera / DCIM

I did all this successfully on OnePlus One, BUT, it is STRANGE , when I recover photos from "userdata" partition with various recovery PC software (Recuva , Photorec and others) I get bunch of images but not one from camera.

If I edited/cropped or sent to email which caused photo to be saved by some other app it will be recovered. How is this so ???

Why not onde JPEG from camera, they are certanly on this partition ?

I read elsewhere that many people success at this, even I on some other phones, it's like it is because OPPO but it shoudnt be.
[Samsung Galaxy Nexus] Reycalabro:
Stuck in step 6 (-bash: pv: command not found)

In step 6, when i put command "nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p19.raw" (mmcblk0p19 is my partition i want to recovery) it said that "-bash: pv: command not found"

What should i do?

im using Asus zenfone 2 32gb/4gb, please help
[Samsung Galaxy Nexus] imagetoon:
OK so for pv and util-linux you need to do this during the cygwin installation. i was able to find this googling it. sorry i cant find the link now but if you run cygwin install there is a step where you can search for pv and util-linux, once you find that click on it and select the boxes.
[Samsung Galaxy Nexus] alexandru.cv:
Hi guys,

I managed to recover my user data partition on a Samsung Galaxy S4, but i don't find whats app attachments.

I need to recover a video that was send to me by whats app.

Do you have any idea in what partition it might be? If not user data of course ..

Thank you

---------- Post added at 06:41 PM ---------- Previous post was at 06:24 PM ----------

I recovered mmcblk0p29 but nothing from whats app was saved there :(
[Samsung Galaxy Nexus] Csabbencs:
gigs of data copied, but not a single file is visible

I managed to make a hard copy of my phone's internal memory, thanks to [MENTION=2129788]Wartickler[/MENTION] 's post, and I ended up with 12 gigs of data instead of 0 bytes, thanks to [MENTION=2007693]iHack13[/MENTION] .

Though, after I mounted the 12 gigs I saw there is not a single file on the mounted drive, and any recovery by some PC software does not show any recoverable files either. (Some pictures were deleted somehow from the phone, I made the copy to recover them)

My phone's userdata was at mmcblk0p25, and I'm sure that it is not empty since some PC software was able to recover some pictures directly from the internal memory. (which I couldn't from the copy of internal memory)

Could you advice at which point did I make the fault by which I ended up with 12 gigs of nothing?

Thanks!
[Samsung Galaxy Nexus] chinu27:
Am I doing something wrong?

I rooted my phone in order to recover my deleted photos. Root checker shows that it's rooted, and I have followed the instructions given.

Chinu@DESKTOP-7DSS2OG ~
$ adb forward tcp:5555 tcp:5555

Chinu@DESKTOP-7DSS2OG ~
$ adb shell
shell@A0001:/ $ su
4;80Rsu
/system/bin/sh: 4: not found
/system/bin/sh: 80Rsu: not found
127|shell@A0001:/ $ su
su
root@A0001:/ # /system/xbin/busybox nc -l -p 5555 -e /system/xbin/busybox dd if=/dev/block/mmcblk0p28
5555 -e /system/xbin/busybox dd if=/dev/block/mmcblk0p28 <
tmp-mksh: 4: not found
tmp-mksh: 80R/system/xbin/busybox: not found
127|root@A0001:/ #

This is what I am getting. Please tell me if I am doing something wrong. How do I move forward
[Samsung Galaxy Nexus] Anuj Mahajan:
cygwin shows pv command not found. Plz help

While entering the second set of commands on cygwin, it shows pv command not found. please help
[Samsung Galaxy Nexus] Anuj Mahajan:
"pv" command shows invalid..please help
[Samsung Galaxy Nexus] Artego:
Hi there, I am stuck at one of the last stages of the tutorial.

The tutorial says to select FAT32 when formatting, but in the dropdown menu I can only select NTFS. Should I look for third party formatters that support FAT32? Or should I just go through with NTFS since it is a quick format? Thank you :). The RAW partition is coming frm the Oneplus One by the way.

Answer to the person above me:

When installing Cygwin you have to select the "pv" package.

Just run the Cygwin installer again and when you get to the package menu, search for "pv", then tick the install button.

Just install it in the same C:/cygwin directory as where it was before. (will not matter since you don't have the image in that folder yet anyways).

Also don't forget to select the linux-utils package as well.

EDIT: FAT32 has a size limit of 32GB? The Oneplus System image I took from user data is 57GB, so NFTS should work fine?
[Samsung Galaxy Nexus] LANGWOND:
No use,in android 4.3+,This is because android TRIM,

HEY,It 's no use,This is called android TRIM feature in android 4.3+5.0,You can google it WHY android TRIM can cause no one pic can be recovered,because it will fill zero to the blocks.o
[Samsung Galaxy Nexus] 1aspirin1:
Hi,

I have the same problem as domagoj, used dd to copy the partition from a bricked then recovered phone

and I could recover/find only a small ammount of data, none of it was photos I was aiming to recover. Several

recovery programs gave me, more or less, the same result.

I opened the partition raw image file with FTK imager, suggested few pages back, and found that indeed

large part of the image are all zeros. Considering the partition was almost full before the crash, this was bad news

for my photos.

The image was taken after the phone was recovered and reinstalled by using dd and saving the image to connected

USB stick. Is there any way to be more thorough in collecting the image, I mean, is there a chance that some other

app or process will recover more data from the actual flash than the dd did?

Found this on TRIM:

You are saying that, after recovery, the part of the flash that contained my photos was marked to be erased,

and android erased them when it was idle?? If this is so, I guess there is no way of recovering the photos now?
[Samsung Galaxy Nexus] LANGWOND:
Yes,. This mean that with the implementation of android TRIM it is incredibly impossible recover any files on the phone's Internal Memory ,right？

So there is no need to do Data Recovery after Android 4.3. ,？:( Google slips it.

Curious About Your Experiences With it 。
[Samsung Galaxy Nexus] 1aspirin1:
Unfortunately my experience corelates with your explanation and the result of my google search.

The partition was "cloned" using dd after the new ROM was installed and was working (on and off,

mostly off) for a day or so. Checking the capture file with FTK imagers hex viewer shows large

ammount of the image file is covered in all zeros, but before the crash, the partiton was almost full.
[Samsung Galaxy Nexus] LANGWOND:
Sorry forgive my poor English, I mean that the delete picture in DCIM folder can't be recover because of the andriod TRIM. It will fill zero to the blocks if you delete them.

And if the photos are saved /take by other App such as "" Wechat "Skype ,They can be recovered and you can see it in the recovery programs because they haven't be deleted yet.

I made test in my Samsung S5 S4 and note3, I delete all the DCIM folder and try to recover it.Dump the whole image to the recovery programs such as FTK imager,but in result most of pics are made by the other App,No one pic are from DCIM,It 's So weird.Right?

Anyone can explain this.:)
[Samsung Galaxy Nexus] Fracoo:
I know this is another device but I wonder if anyone could solve my problem on my Xperia Z2. On the second window of Cygwin I typed "cd /nexus" but it says "-bash: cd: /nexus: No such file or directory."

I wonder if anyone could help me. Thanks!
[Samsung Galaxy Nexus] Inferno986return:
Well I went ahead and gave it a try, it took some fiddling about (mostly because I am inept at ADB and Cygwin) and I did get a file within seconds. The raw file is "0 bytes" and has an offset of "0000000" according to WinHex.

Either I have missed something or Google have ensured that the data on a Nexus 5 is impossible to recover post-wipe.

Regardless of which outcome I wish I had been more cautious. I forgot that just because a TWRP reset won't nuke everything doesn't mean that a bootloader unlock will net the same result.

I went ahead and created a folder called "nexus" in the Cygwin directory. When I ran the commands above, I did get a raw file placed there so I presume it's merely the destination directory. :)
[Samsung Galaxy Nexus] softwarewiz24:
Seeing your post made feel 100x better becuase it's EXACTLY what I went through and how I feel. Cant believe google would make a ****ing internal storage so unbelievably vulnerable to this kind of incident, it makes me sick. Months of great memories just ****ing gone with almost no way to get them back (despite creating and mounting virtual partition drives or downloading 1000000 recovery programs)
[Samsung Galaxy Nexus] CtrlAltNoob:
First off, thanks for the tutorial!

This might be a dumb question, but is there a limit to how far back I can recover files? I flashed my phone with Android M (forgot that everything gets wiped) and then I was gonna root (without checking the method for M) and had to reflash Android M because it got stuck while booting when I did the old method. I've followed the guide and scanned, but doesn't find anything from before the last flash.

Sorry if I got the terminology mixed. Hope you guys understand ;)
[Samsung Galaxy Nexus] felixchris:
Vhdtool.exe drivin me crazy

First thanks for the awesome work done here.

I dont expect any help with this as we all now its our fault we have to come here :D

Walked through the entire process and came across some difficulties, as always drivers, cygwin64 and 32 bit, finally made it got my Raw-file. In this case its mmcblk025p.raw as it is a Sony Xperia Z3C.

Anyways now that i want to convert it to a VHD with VhdTool.exe it tells me it cant open/find the file. Put them in the same place, provided the full directory path, even tried vhdxtool.exe, still no luck. Im copying my raw to another location now. Anything that i am missing? Hate being so close to success, but stuck.

Output from CMD is: (sorry for the german)

D:\z3c>VhdTool.exe /convert mmcblk025p.RAW

Status: Converting "mmcblk025p.RAW" to a fixed format VHD.

Status: Attempting to open file "mmcblk025p.RAW"

Error: Unable to open file "mmcblk025p.RAW" with error: Das System kann die angegebene Datei nicht finden.

Regards
[Samsung Galaxy Nexus] lckdanny:
First, thanks for the tutorial

I'm using Nexus5 w/ 6.0 (MRA58K). Last week I found a app that can improve the volume too weak issue and it need to unlock the phone. I follow the steps to unlock the phone, after I run command "fastboot boot twrp.img", then the phone rebooted and perform something around 10 minutes, after the phone resumed to system, seem all the data(apps/photo/video) are deleted, seem perform a wipe/factory reset. before that, some files didn't perform backup. Then I rooted the system try to recover all files.

I tried many tools that say can recover after factory reset or wiped, for example Dr.Fone, EaseUS MobiSaver, DiskDigger on Android, some can found files but all not I needed before perform "fastboot".

I follow this guide and clone the user data partition as raw file (Nexus5 is mmcblk0p28.raw). I used some tool, Recuva, Jihosoft Photo Recovery, Image Recovery, those can recover the files after I ran "fastboot", so how can I recover files before I ran "fastboot"?

Please give some advices.

Thanks.
[Samsung Galaxy Nexus] Ezzy77:
I was researching an SMS recovery issue for a criminal case and found this thread and if no one's posted this perl script for that specific use yet, I'll do it :)

This can be used to scan for text messages not only in mmssms.db and mmssms.db-journal files, but also unallocated space that has been recovered from a device by creating a raw image of it.

The script by Cheeky4n6monkey: http://www.cheeky4n6monkey.blogspot.fi/2013/02/creating-perl-script-to-retrieve.html

I'm hoping I don't have to resort to this, but it's starting to look that way. Or maybe I'll just let the police forensic officers to their job on it, I'm sure they have expensive software to assist them...just trying to help a friend out.
[Samsung Galaxy Nexus] fony3:
ok, hoping someone can chime in on my issue. i have a locked nexus 5 which is now bricked.

I understand that TRIM now goes through and clears memory blocks that are no longer in the file system. This was implemented in android 4.3.

My thoughts to recover my data

1. Unlock my bootloader, this erases my data, I am guessing this does not actually delete the data, but the file system.

2. As the tutorial suggests install a custom recovery, then a custom rooted ROM, but here I'll use something pre 4.3. Does one even exist? Is it possible? Any suggestions for one that is non destructive?

3. Follow the rest of the guide.

I am thinking since the droid system has not ran since it bricked, nothing should have been trimmed. Anything not overwritten by the recovery and ROM should be recoverable. Thoughts? Thanks in advance.

Also just noticed this is my first post....long time lurker.
[Samsung Galaxy Nexus] fony3:
Ok, after some searching it appears JB was never, and will never be ported to Nexus 5 since it's a step backwards. I did however find out the conditions for TRIM to run, so there is still a chance that as long as my phone is not idle for more than an hour, it will not start. So Step two would now just be any non destructive Rooted Rom, suggestions?

Really I just need to boot once and add busy box. after than the rest is done from the recovery.

Thanks again.
[Samsung Galaxy Nexus] xAnGeLoSx:
can anyone help me with this problem ? .. i was able to retrieve my mmcblk0.raw file from my Note 4 .. convert it using VhdTool..exe .. but when i attach the file in Disk Management i end up with a set of partitions that cannot be accessed while the guide says that i should get an unallocated space ... Please Help :(
[Samsung Galaxy Nexus] blineco:
Steps 5 and 6

Should I wait for step 5 to finish before I start with step 6;

or do they need to run in parallel?

Also, how do I know that step 5 has been successfully done?

Thanks!
[Samsung Galaxy Nexus] xAnGeLoSx:
anyone :( ?
[Samsung Galaxy Nexus] PeroPy:
Hey, I face the same question, what did you do eventually?
[Samsung Galaxy Nexus] arf8:
Has anyone successfully recovered for example pictures on a TRIM enabled phone like S6 / S6 Edge? I realize 4.3+ has trim enabled but I'm also reading inconsistent posts.

thanks
[Samsung Galaxy Nexus] Brahms.Waltz:
Copy memory block

Hi

I'm a complete newbie to both this site and what I've been trying to achieve with my device, so please excuse any lack of knowledge on my part.

I've followed all the steps accordingly but cannot seem to copy the memory block. I get as far as step 5 (as described in the guide/tutorial). I tried moving to step 6 but it doesn't start the copying, which leads me to think it has something to do with the 'connection reset by peer' on step 5? I've copy/paste the command and result of step 5 below:

root@m3:/ # /system/xbin/busybox nc -l -p 5555 -e /system/xbin/busybox dd if=/dev/block/mmcblk0

5 -e /system/xbin/busybox dd if=/dev/block/mmcblk0 <

dd: writing 'standard output': Connection reset by peer

3+0 records in

2+0 records out

1024 bytes (1.0KB) copied, 0.007182 seconds, 139.2KB/s

That is as far as I got. I've spent several hours the past week trying to find a solution, but it's become quite tiring now. I'd really be very grateful for some help on this matter.

Thank you.
[Samsung Galaxy Nexus] xAnGeLoSx:
I have faced the same exact problem as yours and tried all the solutions with no luck until i pinpointed it down to

a version of ( nc ) that worked for me .. unfortunately after getting the memory block and trying to convert it to

VHD and mount it i faced a different result than what the others reported, when i tried mounting the memory

block, instead of getting unallocated space i got multiple partitions which most are unreadable by windows and

im still waiting for someone to help me with that :(

anyhow i will include the version of ( nc ) that worked for me and hopefully it will work with you .. please let me know of the result.
[Samsung Galaxy Nexus] emad.ali:
thank u brother for this thread. I got this problem when doing this step ...

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

not found

I have S4 rooted and busybox installed ....

please, help :crying:
[Samsung Galaxy Nexus] mrrocketdog:
have used disc digger pro on htc m8 , found alot of "lost" pics. apk recovery had sketchy results with some apps being fully recovered and some only partial (unusable).

just my ¢2. good luck.

"all i can really do is stay out of my own way and let the will of heaven be done"
[Samsung Galaxy Nexus] cebek_69:
ask for help

Hello Andr3wD,

can you please advise me how you fixed the problem with zero size of the .raw file? I have the same problem and I have reinstalled the Cygwin .. all items have let on default value. It is 64bit version. Please let me know on cebek@seznam.cz.

Many thanks. cebek
[Samsung Galaxy Nexus] azhar94:
adb command not found

Guys i cant get pass the 4th step on the list. keep getting ( -bash : abd command not found) using windows 7.

also in comment it is said something about su which make me wonder if this process (4th step) is to be done on my computer or my android device itself..

Been trying this for 2 days now any help would be great.. most of the requirements (softwares, apps and other stuff) asked here are completely new for me so please really need reply in some easy language.
[Samsung Galaxy Nexus] mohaned abo elresh:
Hi
[Samsung Galaxy Nexus] emsik:
Hello,

I' ve converted my htc one m8 into GPE using RUU from this topic http://xdaforums.com/showthread.php?t=2708589

Before I made it, I made a TWRP backup but now I know that it doesn't backup photos from internal memory. Do I've a chance to recover my photos?
[Samsung Galaxy Nexus] LostRoss:
Errors Everywhere

I've been trying to get this to work for ages, please help.

I've got a S4 and my PC is Win 7 x64.

When I try the original code with adbd insecure enabled I get the error "nc: socket: Permission denied" and when adbd insecure is disabled I get the error "dd: can't open '/dev/block/mmcblk0': Permission denied".

When trying the code that Frodofrodo give on page 121 it starts the copy but the connection seems to drop as I hear the windows device disconnect sound. Tried twice with the two resulting files being 698MB and 1.72GB, obviously not full 16GB memory dump.

Thanks.

Code 1 & Error-

Code 2 (Doesn't give error, just connection drops)
[Samsung Galaxy Nexus] slg60:
Hi,

followewd the steps here and made a mistake in the end while generating the VHD.

My Raw file is about 7,28 Gb big, I generated a raw.vhd file with vhdtool, this was about 11 Gb....

Then I generated a virtual partition, but made it only 10gb big. This is too less I think...

I wanted to revert this and deleted the vhd and and the raw.vhd file. I want to start again with making a vhd file out of the raw, cmd also says that it was successful, but I cannot find any raw.vhd file anymore?

Can somebody help me?
[Samsung Galaxy Nexus] LostRoss:
Think this might be because you haven't added a path to environment variables. (No expert, still haven't gotten this whole thing to work but think that was one error I overcame)

Go to Start --> Right Click "My Computer" --> Properties --> Advanced System Settings (left) --> Environment Variables (Bottom Right) --> Find PATH variable and add ";C:\Program Files (x86)\Android\android-sdk\platform-tools" to the end (that should be default install directory). Apply and restart Cygwin console (and might have to restart windows).

That should hopefully help.

---------- Post added at 03:09 PM ---------- Previous post was at 02:50 PM ----------

Update: Feeling foolish as I was missing the su command stated in first reply to this thread (when I encountered problems I jumped to last comments as I assumed thats where answers would be)

However now it again starts but after a few minutes it seems to loose connection as windows makes the divice disconnect sound and I only get a small part of the file. Anyone help?

Code I'm using -
[Samsung Galaxy Nexus] LostRoss:
I finally got it working. Realised that I hadn't tried the SU command with adbd Insecure disabled, tried it and finally got the raw file. Came out at 14.6GB instead of 16 but I assume that is down to factories only counting to 1000 instead of 1024?
[Samsung Galaxy Nexus] gado45:
after hours of trying I finally did it ..
[Samsung Galaxy Nexus] LostRoss:
After days of trying, finally got everything to work, but Recuva only finds a few photos, not much better than disk digger, and when I ran a search and recovered all files it could find, they only added up to two and a half gigabytes. Are there any other programs that will recover more? There has to be, it's not like the FBI would be using Recuva.
[Samsung Galaxy Nexus] slg60:
Nobody?