Is it possible to programmatically block / disable Factory Reset in android?

So far googling and cracking my head on this one, I have not found a suitable answer for this, but I did find one "Seqrite MDM" application that says they can block Factory Reset. I'm still wondering if this is possible?

+3


source to share


1 answer


This is possible for specific manufacturers and devices. For example, Samsung has an SDK: https://seap.samsung.com/api-references/android-standard/reference/android/app/enterprise/RestrictionPolicy.html#allowFactoryReset(boolean) which will control access to this. Several other manufacturers have similar functionality, but Android does not support this as far as I know.



Stock Android now supports this using Device Owner Mode.

+1


source







All Articles