Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Factory reset issue

 
chetan dhumane
Ranch Hand
Posts: 641
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even If I do the factory reset on my android phone.I am able to see my data after reset.
Does anybody here knows where is the code located to do the factory reset ?
 
Tim Holloway
Saloon Keeper
Posts: 18363
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Factory Reset isn't what you're looking for. You want the Android equivalent of reformatting your hard drive.

Since there's only one filesystem in Android's underlying Linux OS, that means that you need to unmount the memory chip and run something like the "mkfs" disk formatting utility on it. It might be possible to do something like "rm -rf /data", but unmounting ensures that no apps will be referencing the files when you pull the rug out from under them. Also, rm doesn't physically erase the data.

If you want to erase data from other areas than the removable memory chip(s), you'll have to do that on a case-by-case basis. Doing a "rm -rf /" probably won't work. And if it did, you'd probably end up with an unbootable device.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic