For curiosity's sake, I was wondering how an Android device can be securely erased (ie. before being sold, donated, recycled, etc.). The most obvious solution is the factory reset, but I understand that this just formats the data partition and guides the user through the process of setting it up again. Because of this (I think, anyways), some people have had success recovering data from devices that have been "erased" this way. The only other way I can conjure is this:
This way, I figure, any information that might be recovered after the factory resets is encrypted and useless without the password. But the questions that remain are:
Thanks in advance for replies
- Encrypt the device with a long password. Make it random, and write it down somewhere. Do NOT select any "fast encrypt" options if they appear.
- After encryption is done, shut the device down and boot to recovery. Choose the option to "wipe data/factory reset" and wait for it to complete.
- Go through the setup process, skipping as many steps as possible, and entering fake personal information when forced to provide it.
- Perform a factory reset from within "settings".
- Remove the SIM card (if applicable) and SD card (also if applicable).
- Destroy the copy of the password written down in step 1.
This way, I figure, any information that might be recovered after the factory resets is encrypted and useless without the password. But the questions that remain are:
- Does Android overwrite all storage (including "free" space) when encrypting data?
- What about wear leveling and other solid state related erasure impediments? Do these affect the security of this approach?
- Would this be an effective way to totally erase all device data beyond recovery?
Thanks in advance for replies