• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help How do I recover a very important .CSV file accidentally deleted on my Nexus 5?

ragnarkar

Well-Known Member
I lost a very important CSV file for an app I developed on my Nexus 5.. it was deleted when I tried to upgrade that app but Android Studio didn't recognize the app signature and asked to uninstall the existing version on my phone and replace it with the new version. So the database for the app was erased. Fortunately, I had a feature in the app that backs up the database as a .CSV file periodically, but for some reason, that file also got deleted.

Is there any way I can connect my phone to and run one of those Data Recovery programs to recover this .CSV file? I tried to connect my phone to my Windows7 Computer and run the data recovery program: Recuva. Unfortunately, Recuva refuses to recover files on my Nexus 5 because it doesn't have a drive letter.

Note: This is an UNROOTED device.. it's too late to root it just to recover a single file as rooting requires wiping the entire device.

Is there anything else I can do at this point?
 
I would love to say yes, but since all is on an internal drive with N5 and there is no external drive, I'm going to say no your file is history. let's see if others have any suggestions, but unless you had that file syncing to the clouds I say it is gone. ;)
 
Is the phone's bootloader unlocked? I think you could mount the internal storage partition in TWRP which would give recuva a better chance of success, although, i am in agreement with Don. It's not very likely.

The reason recuva isn't seeing the volumes with the phone booted, is that since Android 4.1 the volumes have been virtualized and the phone will only connect in MTP mode.

I also suspect that the .csv file wasn't erased, but overwritten, which is not good news for you. :(

I take it Android Studio doesn't cache files locally? You might find something there that would help you recover your data.

In the future, you might want to consider automatically saving your backups to the cloud for safekeeping.
 
Back
Top Bottom