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?
BLKDISCARD
command will be called foruserdata
partition which erases everything at lower level. But in fact there is no way to ensure 100% that your file is no more recoverable. Shredding andBLKDISCARD
both erase only the physical blocks which currently belong to logical blocks (filesystem) of your/data
partition. But possibly the physical sectors where actual file was written no more belong to/data
partition. ...