Is there a way to programmatically perform a factory reset on an Android device?
<p>Understanding how incredibly dangerous this question is, I'd like to know if it is possible to programmatically issue a factory reset, as available in Droid and G1.  Does anyone know how this is implemented?  Is this implemented using the standard Android SDK, a Motorola-specific function, or something else?</p>
