Formatting Android storage "zero out" technique
There is an app for this called Secure Deletion for Android, which can be used to overwrite the data. Another way to obfuscate the data would be to encrypt the device before using factory reset. This encrypts all your data, and after the device is reset, it will be very unlikely that the data can be recovered.