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/media
or something like that). – midenok May 14 '19 at 14:37dd
to micro SD card by 4Gb pieces: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. In
– midenok May 14 '19 at 14:39skip
parameter you will put: 0, 4095, 8190, 16380, etc.cat
.testdisk
to 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.testdisk
as part of busybox bundle and keep it on your phone. – midenok May 14 '19 at 14:47/data
in background. So there is a lot of time to get your data lost before you turn your phone off. In past you could get your battery out, now even this is impossible. – midenok May 14 '19 at 15:01