Recover deleted data from Android SD card?

I am trying to make an Android app that will try to recover deleted content from an SD card. As much as possible? I have the following methods:

  • Since the files are not actually deleted, can I access the file system to see files that have been marked as rewritable.
  • Or will I need to do a cut in the header / footer file? Is this possible from the application level of android?

I am concerned about files stored in adjacent sectors, not fragmented ones. I want to do a basic file search.

Please let me know some resources that I can use to create this application?

+3
source share
3 answers

You may be able to do this in C / C ++ using the Android NDK. I think your application will require root access.

+2
source

SD Android FAT32, , FAT32, SD- Android. SleuthKit (http://sleuthkit.org). "fls", , "icat" . , SleuthKit Android SleuthKit, , Android.

.

+2

API Java Android. "" linux , / .

And if you approach this, there are already linux command line applications that already do this. You will have to look for one that can go even with a small amount of RAM to execute.

+1
source

Source: https://habr.com/ru/post/1737579/


All Articles