A few months back, I had deleted a media file from my gallery. My phone wasn't encrypted at this point. Now, I wish to ensure that this file cannot be recovered in any way. What is the best way of doing this? Is it sufficient to encrypt my phone and do a factory reset? Or do I need to overwrite the memory blocks using software?
BLKDISCARDcommand will be called for
userdatapartition which erases everything at lower level. But in fact there is no way to ensure 100% that your file is no more recoverable. Shredding and
BLKDISCARDboth erase only the physical blocks which currently belong to logical blocks (filesystem) of your
/datapartition. But possibly the physical sectors where actual file was written no more belong to