• Post Reply Bookmark Topic Watch Topic
  • New Topic

Factory reset issue  RSS feed

 
chetan dhumane
Ranch Hand
Posts: 643
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
Bartender
Posts: 18662
71
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
Boost this thread!