I just deleted a file on my Nexus S that I really need back. (It was actually part of an app using a sqlite database that did a drop table when upgrading to a new version.)
Presumably I need to root the phone first (which I hear is easy on Nexus phones) but am I in a catch-22 here? Namely, does rooting the phone mean wiping/overwriting the partition where the data lives?
If not, what do you recommend for data recovery tools? Presumably the file was just unlinked and not actively overwritten (per usual when "deleting" a file) so technically the data must be there...
/data(your local and deleted files are in/data/mediaor something like that).ddto micro SD card by 4Gb pieces: ``` dd if=/dev/dm-0 of=/sdcard/x1...n bs=1048576 count=4095 skip=... ``` Well, you have an option to mount external OTG drive (find some external power source though). But mine didn't work, so I had to put pieces to micro-SD. Inskipparameter you will put: 0, 4095, 8190, 16380, etc.cat.testdiskto recover. This is most versatile tool for extfs undelete. It allows to undel from specific directory and undeletes even broken files and works really fast (apart from heuristic scanners). So you will be sure that everything that is possible is undeleted or overwritten.testdiskas part of busybox bundle and keep it on your phone.