Recovering Deleted files with unrooted unlocked devices [Android 6.0] [2 Questions] - Nexus 5 Q&A, Help & Troubleshooting

Hello every one,
I have a complicated situation with deleted files (photos and videos) recovery,
Phone : Nexus 5
Android: M (6.0) BN: (MRA58N)
Root/unlock: Unrooted and Unlocked
Some one has deleted all the files in the camera folder in the gallery, i want to restore these deleted files. After hours of digging the internet, i found a lot of applications that doesn't work (almost all of it either require root or require USB Mass storage), and as you know we are only able to connect to the PC using MTP protocol.
Rooting the device requires unlocking it which will cause the whole phone to be wiped.
I have two questions:
1) Is there any (REAL) way to recover the deleted files (Images and videos) with the current circumstances (Unrooted, Unlocked, MTP Connection) ?
2) If the answer of question 1 is NO, if i unlocked (and for sure wiped) the phone then rooted it, can i still have the ability to recover these files, i mean how badly the wipping process will affect the internal phone storage?
I really appreciate your help in advance.
Best regards,

kldoon said:
Hello every one,
I have a complicated situation with deleted files (photos and videos) recovery,
Phone : Nexus 5
Android: M (6.0) BNMRA58N)
Root/unlock: Unrooted and Unlocked
Some one has deleted all the files in the camera folder in the gallery, i want to restore these deleted files. After hours of digging the internet, i found a lot of applications that doesn't work (almost all of it either require root or require USB Mass storage), and as you know we are able to connect to the PC using MTP protocol.
Rooting the device requires unlocking it which will cause the how phone to be wiped.
I have to questions:
1) Is there any (REAL) way to recover the deleted files (Images and videos) with the current circumstances (Unrooted, Unlocked, MTP Connection) ?
2) If the answer of question 1 is NO, if i unlocked (and for sure wiped) the phone then rooted it, can i still have the ability to recover these files, i mean how badly the wipping process will affect the internal phone storage?
I really appreciate your help in advance.
Best regards,
Click to expand...
Click to collapse
1 - no
2 - no
phones uses emmc nand cards, they are basicly ssds, no mechanical parts, instant access time, etc... . because of that,when a file is deleted, its actually deleted, not just "masked".
and if you unlock, you delete all userdata, apps,files,etc, no way of recovering. Altought on early n4s bootloader the wipe was glitched(you could restore your data), on the n5 it fully wipes
Tip: next time you could use google´s free auto backup(google photos)

opssemnik said:
1 - no
2 - no
phones uses emmc nand cards, they are basicly ssds, no mechanical parts, instant access time, etc... . because of that,when a file is deleted, its actually deleted, not just "masked".
and if you unlock, you delete all userdata, apps,files,etc, no way of recovering. Altought on early n4s bootloader the wipe was glitched(you could restore your data), on the n5 it fully wipes
Tip: next time you could use google´s free auto backup(google photos)
Click to expand...
Click to collapse
Its Unfortunate to hear that , i hoped there will be a small chance to recover the deleted data after wiping the phone and rooting it.
I Would like to hear if there is any other options.
Best thanks @opssemnik

Is the same true for HTC One M8?
opssemnik said:
1 - no
2 - no
phones uses emmc nand cards, they are basicly ssds, no mechanical parts, instant access time, etc... . because of that,when a file is deleted, its actually deleted, not just "masked".
and if you unlock, you delete all userdata, apps,files,etc, no way of recovering. Altought on early n4s bootloader the wipe was glitched(you could restore your data), on the n5 it fully wipes
Tip: next time you could use google´s free auto backup(google photos)
Click to expand...
Click to collapse
The original questioner had a Nexus.
Does your answer also apply to HTC One M8?
Thanks.

PhilBill said:
The original questioner had a Nexus.
Does your answer also apply to HTC One M8?
Thanks.
Click to expand...
Click to collapse
i don´t know about the bootloader unlock part wiping the data on the M8 (since those were never sold here in Brazil) however the rest still applies. on HDDs and other mechanical drives, the deletation process is just removing the file from the index on the drive, so it cant find anymore, thats due to mechanical drives having fragmentation, not instant access times and other things(such as lower read/write speeds, bad sectors, etc). since those dont apply to solid state devices, such as ssds or emmcs, every file operation is permanent

Related

HELP!! Lost photos

Hi all,
My wife's phone went into recovery screen (not rooted) when she turned it on after being flat. As a result it did a factory reset and with internal storage SD all photos and video are gone. Dozens of photos of our newborn son and she's beside herself.
Being Jellybean you can't mount as USB to do a normal data recovery on it as a standard drive which sucks.
Does anyone have any other suggestions as to how to get this phone mounted somehow so can data recover the memory on it?
Help will not go unrewarded.....
Thanks
hbt15 said:
Hi all,
My wife's phone went into recovery screen (not rooted) when she turned it on after being flat. As a result it did a factory reset and with internal storage SD all photos and video are gone. Dozens of photos of our newborn son and she's beside herself.
Being Jellybean you can't mount as USB to do a normal data recovery on it as a standard drive which sucks.
Does anyone have any other suggestions as to how to get this phone mounted somehow so can data recover the memory on it?
Help will not go unrewarded.....
Thanks
Click to expand...
Click to collapse
If the phone was rooted I see there are some utilities in the Play Store you can download....
why did you make 2 threads?
DvineLord said:
why did you make 2 threads?
Click to expand...
Click to collapse
This. But beyond this, you want to make sure that whatever data remains isn't overwritten. That means don't start installing more apps and taking more pictures. There are also professionals who make attempts at recovering data, but those services are relatively expensive. It doesn't sound like you're ready to root, but there are apps that can help rooted users, as the person above me mentioned.
Sent from my HTC One X using Tapatalk 2
You should be able to access the sdcard in recovery via adb shell. You probably need custom recovery though
WookieFan said:
This. But beyond this, you want to make sure that whatever data remains isn't overwritten. That means don't start installing more apps and taking more pictures. There are also professionals who make attempts at recovering data, but those services are relatively expensive. It doesn't sound like you're ready to root, but there are apps that can help rooted users, as the person above me mentioned.
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
My kid was screaming halfway through the first post and when i came back to submit, it asked me for my password again. Figured it didn't work so made a new post. Oops.
I have rooted my own personal one-x, dhd's, sensations etc so i'm not against it but i know if i unlock the bootloader through htc-dev it will wipe the phone again so i'm loathe to do that for the moment.
Just sucks JB can't simply mount USB like ICS. It would have taken me 5 minutes to get her stuff back instead it's been 2 days already.
I've now got the phone showing as a 'media device' in windows explorer with full access to the 24gb of 'sd card space' but still can't run a recovery program as doesn't assign a drive letter.
Going to be a long day.
Moved to Q&A.
Please post in the correct section

Data Recovery

Gentlemen
I have found multiple threads covering the aspects of this scenario, but none with a clear conclusion. It might be there, but then i haven't found them.
Long story short, I have been asked to assist with doing data recovery on a Note 10.1 . There is no external SD card, and there is no backup. I´m looking for a small 8kb key file, which was lost during a data crash of another application.
So fare, the task of running a data recovery util on the filesystem (On Track or similar) have been impossible , due to the fact that the device is not rooted, and attatching it as a mass storage device dosent seem to be possible.
From what i found, it´s only possible to get mass storage to work, if the device is rooted, and even so, it will only be the SD card which is accessible
So my questions are:
Is it possible , in anyway to get access to the filesystem, so i can do a scan for lost data?
Has anybody else had luck with retrieving lost data on souch a device?
Thanks in advance
S3 but basics are the same .
http://forum.xda-developers.com/showthread.php?p=45672474
http://forum.xda-developers.com/showthread.php?t=1994705
JJEgan said:
S3 but basics are the same .
http://forum.xda-developers.com/showthread.php?p=45672474
http://forum.xda-developers.com/showthread.php?t=1994705
Click to expand...
Click to collapse
Brilliant. This information is so much better then what i found so fare. Thanks!

[Q] Unexpected Factory Reset after Bootloader Unlock - Data Recovery

Hello xda community,
I unlocked the bootloader of my friend's Xperia Z3 D6603 earlier and didn't expect a factory reset so no backup of his pictures (and some game saves) exist.
In theory they data should still be there, so using this tutorial http://forum.xda-developers.com/gal...-internal-memory-data-recovery-yes-t1994705 I should be able to recover what can be recovered.
The problem is this requires a rooted device which it isn't yet.
My main question is: Is this way to root http://forum.xda-developers.com/z3/development/root-stock-kernel-twrp-v01-test-28-09-t2889794 the one that causes the least damage to the data I want to recover?
Another smaller question would be if there are any tricks to preserve the data (e.g. using sectors that had no data) while installing the tools to root and to recover?
Would really appreciate your help to salvage this situation
I don't know why it was an unexpected loss of data, it says it will happen right there on the sony website
In order to root, you should just flash a kernel.
In order to preserve data in the future, back it up to your PC
PS, you may have lost more than you thought, if you did not root BEOFRE you unlocked you have also lost your friends DRM keys and so you can say goodbye to decent pictures in low light and other DRM functions
Seems like I f***ed up on multiple fronts…
Managed to get a dump of the SD card yesterday, but there doesn't really seem to be anything left to salvage.(Which I don't understand, why would they overwrite the SD card when they could just reallocate the space?)
Neither did I know about the DRM, but there seem to be ways to circumvent the lack of those, will look into that later.
Well, thanks for the help and the heads up.
Komasa said:
Seems like I f***ed up on multiple frontsâ?¦
Managed to get a dump of the SD card yesterday, but there doesn't really seem to be anything left to salvage.(Which I don't understand, why would they overwrite the SD card when they could just reallocate the space?)
Neither did I know about the DRM, but there seem to be ways to circumvent the lack of those, will look into that later.
Well, thanks for the help and the heads up.
Click to expand...
Click to collapse
Your sd card should not have been touched. Only internal storage and the data partition.
Yes, there is a thread about returning functionality of drm functions, is not 100%, but better than nothing
Flash storage doesn't work the same way hard drives do. Often, when you delete something, it's gone forever "zeroed out" by the flash controller.
This shouldn't be the case with SD card, though, and it shouldn't have even been touched when unlocking. Aren't you confusing the "internal" SD card (phone storage) with an external one?

[Completed] Get Data Back after DataDeleted+FactoryReset+NewStockROM+Root

The question:
Is it actually possible recovering your data on an android device after flashing it with a Stock ROM?
The reason:
The whole story is about to be told, and you know that you don't have to read it.
I went through a few days of hell (and apparently it's a waste of time) in learning how to get back my photos.
1. Lenovo Vibe P1 (16GB internal memory) with 64GB SD card, no root.
A lot of space and a lot of photos. "Job" Gallery, Personal Gallery, "Fun" Gallery.
I decided to keep my photos organized and moved my "Job" Gallery to my SD card, as well as all other files, that I wouldn't miss much if they would get lost, as it often happens with SD cards, I believe.
"Job" Gallery is what I sometimes have to show to people by actually giving them my phone.
In order to keep my Personal Gallery away from anyone I simply moved it into an internal memory Folder with a "." in it's name (Hidden or System Folder is what Android calls them).
2. Personal photos lost.
One of the popular "Cleaning\Boosting" Apps or Android itself (not sure by now) decides to give me an advice to wipe my "Photos Cache", which is what I did, sadly.
It turned out that it deleted my personal photos from the Hidden Folder.
3. Failed Recovery.
Downloading "Data Recovery" apps did not help much since most of them wanted a Rooted device.
And those that could work without Root some why just wouldn't locate anything from my Hidden Folder.
4. Failed Rooting = dead SDcard.
I already knew about how hard it is to root my device, not to mention that going Android6.0 made it even harder, so I never wanted to take that risk.
Now I sort of a had to try, since most of the data I really cared about was lost.
Downloading rooting apps and trying them out somehow killed my SDcard.
5. Failed SDcard Recovery = dead CardReader, dying HardDrive.
While using some Data Recovery software on my PC with SDcard plugged via CardReader, something apparently went wrong and my HardDrive started having one of those dying sounds.
It still worked though, so I could spend some time browsing the recovered SDcard data.
Sadly, those files where unreadable, probably because the recovery software was trial, so it made all of them "Unreadable Before You Pay", hard to tell by now.
I decided to try another Recovery Tool, ignoring the HardDrive issue for now, but my CardReader or the SDcard or both appeared to be dead.
6. Bricking the Vibe.
After spending some time doing backups of my dying HardDrive data, I returned to Rooting my smartphone, but by "manual" methods this time.
Trying all of those scary weird methods while actually learning all the stuff about "flashing" led me into bricking my device.
7. Failed Rooted Recovery.
Somehow, by following few guides, I finally managed to do everything correct (I hope).
I mean, unlocking bootloader by fastboot, gaining temporary root by ADB, flashing TWRP recovery and Stock ROM by QFIL, installing SuperSU, and actually rooting the device.
Right after, I downloaded a bunch of recovery apps to try again, but all of the photos and pictures, found by scanning, were useless.
Even those results before rooting were much better.
8. Failed RAW Recovery.
Surfing different forums, led me to a guide about using PC recovery tools on an Android RAW image.
While surfing, I have already tried about five PC-Android recovery tools and they didn't help much, but I decided to try it anyway.
By using BusyBox, Cygwin, NetCat, ADB, VhdxTool, I made a RAW image of my internal memory partition, converted it into a VHD and mounted it for scanning.
After using about 25-30 recovery tools I did not find any of those desired lost photos.
Scanning results on jpegs are pretty much the same for each tool.
Thank you for reading if you decided to do so anyway.
I also found others who did try to recover their precious data, like I did (after flashing and going through all the problems with rooting and getting a RAW file).
It seems like they all failed as well, so the question is - is it actually possible?
I know it's much easier with an HDD, since I know that those mansions usually keep ghosts for years, while Android totally exhausted and after all, killed me.
I really need help with this, since I see no more ways to try. If you have any advice, please share.
P.S. I'm sorry for my english, not native.
XDA Visitor said:
The question:
Is it actually possible recovering your data on an android device after flashing it with a Stock ROM?
The reason:
The whole story is about to be told, and you know that you don't have to read it.
I went through a few days of hell (and apparently it's a waste of time) in learning how to get back my photos.
1. Lenovo Vibe P1 (16GB internal memory) with 64GB SD card, no root.
A lot of space and a lot of photos. "Job" Gallery, Personal Gallery, "Fun" Gallery.
I decided to keep my photos organized and moved my "Job" Gallery to my SD card, as well as all other files, that I wouldn't miss much if they would get lost, as it often happens with SD cards, I believe.
"Job" Gallery is what I sometimes have to show to people by actually giving them my phone.
In order to keep my Personal Gallery away from anyone I simply moved it into an internal memory Folder with a "." in it's name (Hidden or System Folder is what Android calls them).
2. Personal photos lost.
One of the popular "Cleaning\Boosting" Apps or Android itself (not sure by now) decides to give me an advice to wipe my "Photos Cache", which is what I did, sadly.
It turned out that it deleted my personal photos from the Hidden Folder.
3. Failed Recovery.
Downloading "Data Recovery" apps did not help much since most of them wanted a Rooted device.
And those that could work without Root some why just wouldn't locate anything from my Hidden Folder.
4. Failed Rooting = dead SDcard.
I already knew about how hard it is to root my device, not to mention that going Android6.0 made it even harder, so I never wanted to take that risk.
Now I sort of a had to try, since most of the data I really cared about was lost.
Downloading rooting apps and trying them out somehow killed my SDcard.
5. Failed SDcard Recovery = dead CardReader, dying HardDrive.
While using some Data Recovery software on my PC with SDcard plugged via CardReader, something apparently went wrong and my HardDrive started having one of those dying sounds.
It still worked though, so I could spend some time browsing the recovered SDcard data.
Sadly, those files where unreadable, probably because the recovery software was trial, so it made all of them "Unreadable Before You Pay", hard to tell by now.
I decided to try another Recovery Tool, ignoring the HardDrive issue for now, but my CardReader or the SDcard or both appeared to be dead.
6. Bricking the Vibe.
After spending some time doing backups of my dying HardDrive data, I returned to Rooting my smartphone, but by "manual" methods this time.
Trying all of those scary weird methods while actually learning all the stuff about "flashing" led me into bricking my device.
7. Failed Rooted Recovery.
Somehow, by following few guides, I finally managed to do everything correct (I hope).
I mean, unlocking bootloader by fastboot, gaining temporary root by ADB, flashing TWRP recovery and Stock ROM by QFIL, installing SuperSU, and actually rooting the device.
Right after, I downloaded a bunch of recovery apps to try again, but all of the photos and pictures, found by scanning, were useless.
Even those results before rooting were much better.
8. Failed RAW Recovery.
Surfing different forums, led me to a guide about using PC recovery tools on an Android RAW image.
While surfing, I have already tried about five PC-Android recovery tools and they didn't help much, but I decided to try it anyway.
By using BusyBox, Cygwin, NetCat, ADB, VhdxTool, I made a RAW image of my internal memory partition, converted it into a VHD and mounted it for scanning.
After using about 25-30 recovery tools I did not find any of those desired lost photos.
Scanning results on jpegs are pretty much the same for each tool.
Thank you for reading if you decided to do so anyway.
I also found others who did try to recover their precious data, like I did (after flashing and going through all the problems with rooting and getting a RAW file).
It seems like they all failed as well, so the question is - is it actually possible?
I know it's much easier with an HDD, since I know that those mansions usually keep ghosts for years, while Android totally exhausted and after all, killed me.
I really need help with this, since I see no more ways to try. If you have any advice, please share.
P.S. I'm sorry for my english, not native.
Click to expand...
Click to collapse
Greetings,
Thank you for using XDA Assist.
Please have a look at the P1 homepage:
http://forum.xda-developers.com/vibe-p1
If you create an XDA account, you can ask your question to the experts here:
http://forum.xda-developers.com/vibe-p1/help
Good luck and welcome to XDA!

Galaxy On5 Data Recovery

Hi.
I mistakenly flashed my Android Galaxy On5 (using Odin's "AP" option) with one of the Exynos files. I saw something about "userdata" and knew immediately I had made a mistake, even though I did not load anything in the Odin "userdata" option. Why I did this probably isn't relevant, but I'm happy to provide more detail.
My question, however, is a simple one: Having done this, is it still possible to recover the user data that is no longer visible on the phone? When I reboot the phone without TWRP, it looks like it has been factory reset.
The phone is rooted, and I can see the device shares with "df". I can't see any secondary SD card based on the information I found about it sitting on top of where the SIM card is installed. I have done plenty of computer data recoveries from hard disk.. But every tool I have downloaded online for the Android seems to be polluted with malware, and I even reimaged my desktop because of all the crap I've tried.
Do you have a recommended tool for this that isn't some horrible marketing ploy? Minitool, Dr.Fone, FonePaw, and Kingoroot were all unsuccessful.
Also, if the data resides on an internal SD card, how is it formatted? I assume it is not a typical EXT or NTFS file system. Can you tell me which device I should be trying to recover from? It looks like /dev/block/mmcblk0p21.
If the internal storage is inaccessible, another thought I had was to do a block copy (with dd) onto a separate SD card, but I am unsure of whether this would provide a copy of the overwritten data, or would it actually reduce my chances of recovery.
The phone is a Samsung Galaxy On5 (SM-G550T).
Much of the data is non-critical, but some of it is unfortunately irreplaceable. Again, I'm really looking for a "yes" or "no" here, either data recovery is possible or not. And of course any suggestions on how to do it are greatly appreciated. The time it took to flash was almost instantaneous, but I also realize that flash drives are different from spinning drives in terms of how data is written and stored.
Thank you.
libertine5 said:
Hi.
I mistakenly flashed my Android Galaxy On5 (using Odin's "AP" option) with one of the Exynos files. I saw something about "userdata" and knew immediately I had made a mistake, even though I did not load anything in the Odin "userdata" option. Why I did this probably isn't relevant, but I'm happy to provide more detail.
My question, however, is a simple one: Having done this, is it still possible to recover the user data that is no longer visible on the phone? When I reboot the phone without TWRP, it looks like it has been factory reset.
The phone is rooted, and I can see the device shares with "df". I can't see any secondary SD card based on the information I found about it sitting on top of where the SIM card is installed. I have done plenty of computer data recoveries from hard disk.. But every tool I have downloaded online for the Android seems to be polluted with malware, and I even reimaged my desktop because of all the crap I've tried.
Do you have a recommended tool for this that isn't some horrible marketing ploy? Minitool, Dr.Fone, FonePaw, and Kingoroot were all unsuccessful.
Also, if the data resides on an internal SD card, how is it formatted? I assume it is not a typical EXT or NTFS file system. Can you tell me which device I should be trying to recover from? It looks like /dev/block/mmcblk0p21.
If the internal storage is inaccessible, another thought I had was to do a block copy (with dd) onto a separate SD card, but I am unsure of whether this would provide a copy of the overwritten data, or would it actually reduce my chances of recovery.
The phone is a Samsung Galaxy On5 (SM-G550T).
Much of the data is non-critical, but some of it is unfortunately irreplaceable. Again, I'm really looking for a "yes" or "no" here, either data recovery is possible or not. And of course any suggestions on how to do it are greatly appreciated. The time it took to flash was almost instantaneous, but I also realize that flash drives are different from spinning drives in terms of how data is written and stored.
Thank you.
Click to expand...
Click to collapse
If you haven't any advice on how to do it, just a simple "yes" or "no" as to whether a recovery is possible would be greatly appreciated. There must be a few forum readers out there who know the answer to that question. Anyone? Bueller?
libertine5 said:
If you haven't any advice on how to do it, just a simple "yes" or "no" as to whether a recovery is possible would be greatly appreciated. There must be a few forum readers out there who know the answer to that question. Anyone? Bueller?
Click to expand...
Click to collapse
If you wiped out userdata, that means all your data is gone. I know for computers, deleting data doesn't necessary delete the data, but rather makes the space unallocated, meaning new data can be written over it. Not 100% sure if they have something similar for Android. If you have google synced with your account, you can recover most of your data that way, otherwise you might be out of luck.

Categories

Resources