title: How to obtain the last factory reset time for an Android device?
body: <p>I am developing a security related app and would like to know when was the device previously factory reset? Is there any way to obtain this information?</p>
  
  <p>I tried getting the last modified time for many files using the adb shell but some show 1970/1971/current date which is not consistent or accurate. </p>