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

I have a Oneplus one with Slimsaber 5.1.1 and I follow the manual but just a few second before I start the copy I get a "connection reset by peer".

Could anybody help me?

Thanks in advanve

---------- Post added at 12:14 PM ---------- Previous post was at 12:11 PM ----------

I'm having the same problem :(
[Samsung Galaxy Nexus] queetiano:
If you could pack the tool in a simple GUI, then you can sell the too for money, lol. there are a lot of people offer the same function software as you but they sell its at high price. I bought one recovery tool to recover deleted photos on Galaxy S6 before finding this useful post. Luckily, the software successfully recovered my lost data, didn't waste the money, lol
[Samsung Galaxy Nexus] theDominican:
Is this working for Lollipop?

I have a H950 Lg G Flex 2 and need to enter as a UMS, not MTP. seems this is the best route. nat input if this is still working?
[Samsung Galaxy Nexus] xsidex:
Hey, so I've been trying to recover some specific folders after a really bad decision to format the phone sd card in recovery.

I have a galaxy s6 and was trying to clean up my sd card before flashing a new rom. So I did a Factory reset as usual, but I though formatting media would be a good idea...I didn't realize that meant a SD card format...I cannot explain how dumb I feel since that moment.

So I'm trying to recover mainly 2 things, my whatsapp folder for my message backups, and my smsbackup that I did today using the SmsBackupRestore app.

I tried my best to follow the guide but I can't get the raw file to be created and I tried everything in the past 4-5 hours.

First the issue was the 64bit app, I switched to the 32bit and I can get the process to start and create a 0kb raw file to be created in the computer, but can't get any of the transfer to start.

It would be really really appreciated if someone could give me a hand.

I'm have my phone pretty much unusable because I don't want to risk replacing the deleted files or something like that.

Thanks in advance

(The issue I'm getting is that there is no folder or file with the name that is in the commands on the first post, I really don't know how what to do and I feel like a fish of water trying to learn all these commands and terms, I'm a fast learner but today it has been to much)

Also, do you think, given that I factory reseted the phone and I formated the SD card that I should be able to get to my deleted files? I don't really want to re setup my phone because I'm scared I'll permanently lose them.
[Samsung Galaxy Nexus] xsidex:
Ok after a long time trying I got my raw file and tried to convert it to VHD. Aparently the it completed with sucess, but I can't mount it in disk manager nor does it show up as a vhd file, I need to select all files to be able to see it.

Any help on this part of the process?

Thank you
[Samsung Galaxy Nexus] LostRoss:
If it did convert successfully you should be able to just change the file extension from .raw to .vhd
[Samsung Galaxy Nexus] xImran:
I am unable to mount the VHD under windows 10. It gives the following error "A virtual disk support provider for the specified files was not found"

But the image was able to mount under Windows 7, any ideas?

---------- Post added at 03:19 PM ---------- Previous post was at 03:13 PM ----------

Ok managed to attach, in Windows 10 we need to rename the file to .vhd after converting.

---------- Post added at 03:20 PM ---------- Previous post was at 03:19 PM ----------

you need to rename the file to .vhd after converting.
[Samsung Galaxy Nexus] rupertm:
hello everyone luckily i've found this thread..basically i unlocked the bootloader after that i launched the command "wipe" from the recovery i installed after unlocking, and flashed a new rom. i did this procedure twice because the first rom didn't work so i had to wipe again and flash.

After a couple of weeks i found that some data i need was not backupped...is there any chance of recovering files using this guide?the phone is not a galaxy nexus (it's a nexus s).
[Samsung Galaxy Nexus] LostRoss:
It is possible, but with how much was writen to the memory chances of recovering the files you want are low (I didn't connect to the internet at all to avoid apps updating yet still only got a couple of the many photos I was trying to recover).

The particular phone shouldn't matter, except that the partitions might be labeled differently. Shouldn't matter if you recover the entire block ( /dev/block/mmcblk0).

At least that is my understanding. Of course I am no expert. Took me days to get it to work and still check this thread to see if someone has recomended better recovery software that might allow me to recover more pictures of my now deceased dog.
[Samsung Galaxy Nexus] Nyte.:
hi there,

so i already did this complete scenario a half year ago with another phone.

im now stuck at pv:

pixpaw@pixpc /nexus
$ adb forward tcp:5555 tcp:5555
pixpaw@pixpc /nexus
$ nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0.raw
0 B 0:00:00 [ 0 B/s] [<=>

the dd part seems to work:

pixpaw@pixpc ~
$ adb forward tcp:5555 tcp:5555
pixpaw@pixpc ~
$ adb shell
shell@htc_himauhl:/ $ su
su
root@htc_himauhl:/ # /system/bin/busybox nc -l -p 5555 -e /system/bin/busybox dd if=/dev/block/mmcblk0
5555 -e /system/bin/busybox dd if=/dev/block/mmcblk67 <

pv will create a empty file at the destination. anyone knows, why there is no data load over pv?

im using HTC M9 (hima)
[Samsung Galaxy Nexus] LostRoss:
Not sure if this is the case or not, but try xbin as your busybox installation instead of just bin.
[Samsung Galaxy Nexus] Nyte.:
shouldn be the issue as there was no issue that nc or dd werent found (i made sure to install it to /bin), but ofc i tried with xbin, same problem :\
[Samsung Galaxy Nexus] Arowai:
Hey guys! Is this still working? If yes, then can anyone please help me? My phone is a Samsung Galaxy Grand Prime, and I can't install the Busybox-thing properly, my phone hangs like hell that I need to remove the battery to make it work again. And I can say that the installation failed miserably. I need to recover some photos on phone's internal memory. Btw my phone is rooted via Kingo Root and is on 4.4.4 firmware.

I've used several recovery apps (DiskDigger, Wonderfone, Stellar, GT Recover, etc.), but all they've offered to me were photos that are still available and I think this is the only option I have. Any help will be very much appreciated. :(:crying:
[Samsung Galaxy Nexus] onbacardi:
Hey guys I have a Samsung Galaxy S4 GT-i9505

Can anyone shed some light on what I am doing wrong here I have been stuck for the last 2 days on this step and done research and I just cant seem to find what the issue is!

link: https://www.youtube.com/watch?v=Mwn2...otation_583506

J0M0@J0M0-PC ~

$ adb forward tcp:5555 tcp:5555

J0M0@J0M0-PC ~

$ adb shell

shell@jflte:/ $ su

su

root@jflte:/ # -bash: /system/xbin/busybox: No such file or directory

-bash: /system/xbin/busybox: No such file or directory

tmp-mksh: -bash:: not found

127|root@jflte:/ # /system/bin/busybox nc -l -p 5555 -e /system/bin/busybox dd if=/dev/block/mmcblk0

555 -e /system/bin/busybox dd if=/dev/block/mmcblk0 <

tmp-mksh: /system/bin/busybox: not found

127|root@jflte:/ #
[Samsung Galaxy Nexus] coollife2020:
hi

i tried to recover data from this method on note 2 using this method but output was same as disk digger n other play store apps. I had formatted my mobile and wanted to recover my lost data.

Is there any other method....
[Samsung Galaxy Nexus] minep:
Miracles happening on Christmas! Data recovered! Wartickler, its Your idea?
[Samsung Galaxy Nexus] iamsubhranil:
Guyz guyz guyz,you can dump your mem.raw in your device if you gave sufficient external storage to hold all your internal storage. Just use

cat "dev/block/yourdatablock">/storage/your_external_storage/filename.raw

Until now I haven't find any pv like alt for android.

Now do the next part in your PC.

That means you can almost dump your storage at the instant its been formatted. That means less TRIM. Especially for those who aren't in front of computer for near about some days(like me ;) ).

Again nice tutorial guyz.
[Samsung Galaxy Nexus] rockstar1630:
Stuck here:

Rockstar@VAIO /usr/bin

$ adb forward tcp:5555 tcp:5555

Rockstar@VAIO /usr/bin

$ cd /nexus

bash: cd: /nexus: No such file or directory

Please guide and help.

Going through a harrowing time due to precious data lost.

Would appreciate a quick help.
[Samsung Galaxy Nexus] rockstar1630:
Now stuck here:

Rockstar@VAIO /nexus

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

bash: nc: command not found

bash: pv: command not found

Please please help.
[Samsung Galaxy Nexus] rockstar1630:
Rockstar@VAIO /nexus

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

0 B 0:00:31 [ 0 B/s] [<=> ]

No data is moving.
[Samsung Galaxy Nexus] Coolmfarshard:
[MENTION=318238]fashj[/MENTION]esus

Your Emmc got corrupted there is some chance to retrieve by factory format the Emmc or update by the Emmc firmware

For this you need professional jtag tools to do this job ( atf Box or easy jtag box)

---------- Post added at 08:10 AM ---------- Previous post was at 07:58 AM ----------

@rockstar1630

Put some detail information in order to help you
[Samsung Galaxy Nexus] fashjesus:
Please tell me more about that tool and where to get it and the files thank you in advance
[Samsung Galaxy Nexus] rockstar1630:
In real need of some help. Thanks to [MENTION=2129788]Wartickler[/MENTION] that I was able to successfully create a raw dump of my Note 3. (29.1 GB).

I have followed all the steps in the guide and converted this file to a VHD.

Tried Recuva, PC Inspector, PhotoRec and what not. They all recover all the photos which were sent through whatsapp, were edited, or were downloaded. I can't recover a single photo from my deleted camera folder which is inside the DCIM folder. I confirm that no data was overwritten when this Camera folder got deleted accidently.

I request fellow members to help me out in retrieving the camera folder pictures. The photos are precious to me and hold memories of the past 3 years. :(

[MENTION=4133067]Coolmfarshard[/MENTION]

Brother, Please help.
[Samsung Galaxy Nexus] mrrocketdog:
diskdigger , if havent tried yet worked for me.

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] rockstar1630:
Tried. Same results. Recovers everything except the camera folder contents.

There is an 18.1 GB datafile named: "Unallocated clusters on ext volume". Is there anyway I can extract files out of it?
[Samsung Galaxy Nexus] Coolmfarshard:
[MENTION=2020155]rockstar1630[/MENTION]

If you have Ubuntu try these methods

https://help.ubuntu.com/community/DataRecovery

One of these software help you, there is special software's only for recover pictures try and let me know.
[Samsung Galaxy Nexus] kiradotee:
The file extension didn't change, so I tried to Action -> Attach VHD a .raw file and it gave an error "A virtual disk support provider for the specified file was not found.". Then tried renaming it to .vhd but the Disk Management software was giving an error: "The requested operation could not be completed due to a virtual disk system limitation. Virtual hard disk files must be uncompressed and unencrypted and must not be sparse."

P.S. I'm on Windows 10 x64
[Samsung Galaxy Nexus] topet2k12001:
Some Tips

Hi Friends,

I was trying to restore my old Nexus 4 due to a smashed screen. I initially had difficulty but I eventually figured it out. I am using Windows 10 64-bit. Here are some tips:

1. 64-bit users, make sure to download/install the x86 (32-bit) version of Cygwin

2. The DOS (Command Prompt) seems to be defaulted at 64-bit. To solve this, I used Windows Power Shell x86 (32-bit) mode/version. Make sure to right-click and "Run as Administrator", to be sure.

3. Make sure to enter the command "su" after "adb shell" (Step #5 of the guide at the First Page), as the others have already mentioned throughout this thread.

4. If it took you too long to enter the commands in another Power Shell window (step #6), you will notice that the first Power Shell window will show a command prompt. In this case, don't try to enter the third command in step #6. Repeat the last command (in the first Power Shell window) from step #5 first (the "/system/bin/busybox...etc. command), press Enter, and then go back to the second Power Shell window and then press enter on the third command (the "nc 127.0.0.1...etc. command).

Just wanted to share. :)

EDIT: I tried the process again. Power Shell is not required. Just make sure to right-click -> "Run as Administrator" when opening a Command Prompt.
[Samsung Galaxy Nexus] squashen:
Hi all.

My girlfriend forgot her mobile " galaxy note 2" in the car over night when the temperature was minus 15 celcius (dont know in farenheit:P )

When she tried to start it it only show the first menu when you start the mobile first time (select language etc) and then it start to pop up that unfortunly this and this process has stopped. (all from play store to android.core something

And you cant go any further. I booted it upp in recovery mode ( volyme up and home button) and there it sad e: /data/ something cant mount.

So i understand that somehow it lose the conection to its internal memory where all apps are (thats why them stop.

I tried to plug in the phone in the kies but it say that you need moore space atleast 5 mb

I flashed the phone with odin and make it root but still those pop ups.

Then i had to do what i dont want to (becuse of all picture off our little baby that she didnt backed up) and did a factory reset.

The phone start normaly and the internal memory was there again but ofcourse all picture and userdata is gone.

Now i tried to recover all picture by using 5 different recovery tool. no of them found no picture (only smily picture and other **** that mobile had from scratch and alot of zip and gz files.

Tried to mount it as a device in windows with a driver letter but in android 4.4.2 thats not possible anymore couse you dont have ums option and the app that can make that possible didnt work.

Now i saw this post and used the ftp option to draw out the mmclbk0p16 (couse thats what all tools tell me that /data was )and got a 10gb big file and converted it and mounted, but still nothing exept those smily picture and zip and gz files.

The phone say in windows that 1.,21 gb of 10,4 gb is used and i know she had alot of picture so those 1,21gb cant overcopy all of her stuff?? i mean i must get som fraction of anything that can be her picture right??

Is ther any hope??

Thanks for any help: Mattias

Ps: sorry for my extrem bad english. :P
[Samsung Galaxy Nexus] iiMarti:
My god you are a freaking.. SAVIOR... Please help me? I know this post is a bit old so I want to make sure i do this step by step correctly.. I have a samsung galaxy s4 SCH-I545 and I currently have the stupid lollipop system. I hard reset my phone thinking everything was on my sd card(removable) and it wasn't. so I'm on a Journey to get at least my pictures back.. Please please please help me.. Any suggestions on a rooting that doesn't wipe my phone a second time?
[Samsung Galaxy Nexus] eddie298:
Hey guys i recently accidentally deleted pretty much everything off my phone and desperatly need to get my photos back. i've followed the guide but am stuck with pulling a file thats 0 bytes. if anyone could help me i'd be so thankful. i have an image of what im typing into cygwin and what its returning but i cant post it.
[Samsung Galaxy Nexus] postwarbreakout:
For everyone interested: I accidentially wiped my internal storage in TWRP on my Oneplus One 64GB. Creating the .raw file took 4,5h and I couldn't restore anything. Seems to be hopeless if you wipe instead of just deleting specific files/folders. Thank you Wartickler for the guide anyways!
[Samsung Galaxy Nexus] niluka:
Hi,

Even though this thread is older one, I have a question to ask from you. Even after format /data and /data/media (/sdcard), can I recover only my photos in internal memory from above method?
[Samsung Galaxy Nexus] yossi2010:
nothing i tried worked on my htc one x (new layout with a xm12.1 based rom called xenon hd) basically the same storage type of a nexus phone...

so i tried this line: adb shell su -c "cat /dev/block/mmcblk0" | pv > mmcblk0.raw

it is dumping everything now i hope it will be good.

I lost 95% of my files due to me deleting an empty folder called "storage" in the computer (fuc**ng MTP!!!!) and apparently it was a sort of a hardwired link to the virtual sd card's content (even though when explored there was only 1 mp3 file) and i thought it took too long to delete a single empty folder so i stopped it after about 10-20 seconds of deleting stuff...

results

$ adb shell su -c "cat /dev/block/mmcblk0" | pv > mmcblk0.raw

29.4GiB 3:23:13 [2.47MiB/s]

after 3 hours of dumping the entire memory it gave me some nonsense files with no structure at all.

a 4 gb nce file some other gibberish files and a total of 14 gb of files in the shape of excellent(recoverable) but i can't do anything with it.

i dumped the entire memory so is that the problem? you said that its a good idea to dump EVERYTHING but how do you take what you need out of the everything?

2nd attempt:

i dumped only the sd card and still all i get are tons of 4gb files named yyyyyyyyyy.yyy

now i just go the diskdigger method, more than 4.5 thousand real files found, lets hope they recover XD
[Samsung Galaxy Nexus] niluka:
Hi,

I'm also having the same issue, time counter goes, but byte transfer is not updated. what is the url you downloaded Cygwin and Netcat? What is the environment you used? Windows 8.1 64 bit? Did you use Cygwin 64 bit or 32 bit? Where was your Busy box installed? xbin or bin? what is the version of Netcat? and please send me the Bicream video link?
[Samsung Galaxy Nexus] sattech200:
This is exactly what i'm looking for/need to do on an S3. Only problem is my charge port is damaged, (Charge works but traces for data lines are damaged beyond repair).

Any way to do this or something like this to the MicroSD Card or any other options?
[Samsung Galaxy Nexus] gza036:
hey guys, been trying different variations of this but running into problems.

Device: Sprint Galaxy S5 Android 5.0, was not previously rooted, TWRP 2.8.6.0

Here's the situation: user accidentally deleted saved snapchat pictures/video, tried to install "dr. fone" app to recover them, put phone into a bootloop. It freezes at the Sprint splash screen. Need to recover deleted Snapchat stuff.

-I installed TWRP and am able to get root access. su is located in system/xbin/

-I also have a working S5 with lolipop 5.0, identical TWRP to compare and test against.

-I have adb, pipe viewer, netcat, busybox all working.

-I assume I need the 12 GB partition, friendly name "userdata", path on my device: /dev/block/mmcblk0p26

Anytime I run dd on this block I get an I/O error at around the 133MB mark, halting the process.

before using the steps in this thread I was trying to send the data to the external microSD, but getting the same I/O error result. Here were the codes I tried for that method:

adb shell
dd if=/dev/block/mmcblk0p26 of=/storage/sdcard1/userdata.img
dd if=/dev/block/mmcblk0p26 of=/storage/sdcard1/userdata.img conv=sync,noerror

I can ignore the errors with conv=sync,noerror

Now using the method in this thread

1st command window:

adb forward tcp:5555 tcp:5555
adb shell
busybox nc -l -p 5555 -e busybox dd if=/dev/block/mmcblk0p26 conv=sync,noerror

2nd command window:

adb forward tcp:5555 tcp:5555
nc 127.0.0.1 5555 | pv -i 0.5 > userdata.raw

Result:

this time I see about 30 I/O errors arise at the 133MB mark. After that things keep going smoothly until 2.06 GB

Process halts with this:

lseek: Value too large for defined data type

I run the exact same code with the working S5, the entire 12 GB transfers with no problems.

tl;dr: When I run dd I get I/O errors then the error in the above code box after 2GB

So what is going on here?

edit: solved just needed to update busybox. I flashed v1.24.1 from this thread
[Samsung Galaxy Nexus] gza036:
I went ahead and tried to do the entire 16GB block, mmcblk0

Each time, it gets to 3.46 GB, has I/O errors and then process stops

lseek: Value too large for defined data type

:confused:

edit: solved just needed to update busybox. I flashed v1.24.1 from this thread
[Samsung Galaxy Nexus] geoffrey316:
hi! Im from peru.

I dont know how I erase my notes from app S-NOTE (i have a samsung note4). my class notes, my music notes, my work notes all!!

I have already make all the steps in post 1, got the raw file, mount vhd, use RECUVA (then i use disk digger and photorec), but i cant find the notes!!

All the notes are in the SNOTEDATA folder and have .SPD extension, can the recovery program find these type of extension?? any idea??? please help me

pd. sorry for my english, im learning. :)
[Samsung Galaxy Nexus] adithya2306:
WTF cygwin installer is giving hundreds of "Error extracting - corrupt package?" messages. WTF?
[Samsung Galaxy Nexus] noob_reported:
htc desire 820

well i ran bootloader unlock process with no idea about data wipe..

i used plenty software to recover even single photo file - no success- tried also different apk - no success

all i was able to find was miniatures from my music albums and some system png, temp images etc.

I followed your guide - dumped whole internal memory mmcblk0 and mounted to my system - used recuva and testdisk photorec on every partition that was on my internal memory - no success - all i found was some crappy system png files and music library miniatures as jpg files. Not ANY SINGLE private photo.

I rode that from android 4.3+ (mine is 5.0) there is trim option that zeroes all userdata on bootloader unlock process.

Well thanks for good release - i have lost all my data :(

Good luck for others and remember - ALWAYS DO BACKUPS!
[Samsung Galaxy Nexus] ro0ter_org:
Need urgent assistance... erased photos on Samsung Galaxy Prime SM-G531F[GSMH] 5.1.1

Hello everybody,

One of my friends who is a teacher at a school for children with special needs (impaired children) has somehow managed to erase all his photos on the device. Unfortunately there were some photos with children activities and he was the only one who took photos those days. Parents. colleagues, even children are very sad because the photos got wiped out... Since I am the family`s IT guy, I was asked to help.

Now, I have never performed a non-destrutive root, especially on Android 5.1.1 Lollipop...

I am hereby kindly asking those with experience to help me out with advice on how to perform non-destructive root on this galaxy prime with lollipop...

I wouldn`t want to keep this phone for more than 1-2 days, so kindly please answer asap.

All help is much appreciated!! Thank you!
[Samsung Galaxy Nexus] wahmad1414:
i am getting error in entering code in cygwin------ plz help-----

adb forward tcp:5555 tcp:5555

adb shell

/system/xbin/busybox nc -l -p 5555 -e /system/xbin/busybox dd if=/dev/block/mmcblk0p20
[Samsung Galaxy Nexus] bostonsean:
FYI

This is confirmed **WORKING** on Samsung Galaxy Note 4

Retail converted to D.E.

Rooted

Thanks TONS to the OP.

---------- Post added at 03:32 PM ---------- Previous post was at 03:25 PM ----------

Would you please post either the error messages, or a picture of them. That way we have some information to help you. Thanks.

Also you are forgetting to request super user privileges prior to running the final command.

adb forward tcp:5555 tcp:5555

adb shell

su

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

---------- Post added at 03:41 PM ---------- Previous post was at 03:32 PM ----------

Here is a link to XDA about your device...

http://xdaforums.com/grand-prime/general/

Be aware that ROOTING your phone can lead to it being BRICKED, making it useless.

If you have a decent amount of computer experience you SHOULD be fine.

Move forward AT YOUR OWN RISK.
[Samsung Galaxy Nexus] bostonsean:
25615642624 bytes (23.9GB) copied, 6508.627937 seconds, 3.8MB/s

Woot!