There is such utility for Linux systems called shred
. It writes files with random values several times and then also can write it with zeroes (to hide overwriting) and delete them so that files couldn't be restored.
Is there something trustful like this for Android (preferably not proprietary, but libre software)?
/data
on a common Android device. So even if you overwrite (or ERASE / TRIM / DISCARD) the whole/data
partition (including its filesystem), you cannot clean the whole flash storage chip. But overwriting a file with random data is usually enough for common users. It makes the recovery of file from filesystem level impossible. Recovery from flash chip isn't very easy, it's usually done in forensic labs only. – Irfan Latif Nov 15 '20 at 23:49