I need to mail my Sony z3c smartphone to a repair shop.

It is rooted and I have a recent TWRP backup that I moved to my PC. I removed the sdCard and booted into recovery.

If I go to wipe -> factory reset is this sufficient enough to prevent a nosy repair shop employee from reading out my sensitive data.

I could not find any information about how the wiping process erases your data. Does it just delete the partition table or does it write new data over every single bit.

Does anyone have some information on what commands will be executed when using TWRP to wipe the phone ?

1 Answer 1


For instance, if you're getting ready to sell your device, then it's a good idea to wipe everything on the device so that the new owner doesn't get your private data. Note that these wipe options may not be completely destructive. If you store especially sensitive information on your device or are really concerned about your private data, then you may need to look into other options to ensure that your data is fully destroyed.

So, TWRP wipe isn't the best way of you are especially sensitive to personal information being captured

  • Recommended way is to encrypt and factory reset. A factory reset by itself is supposed to overwrite information but it has been shown that it is not 100% true always - some parts of storage are marked as overwritten but in reality aren't. If the phone is encrypted

....If the phone's hard drive is encrypted, any unerased data will be scrambled and effectively useless

This was established in a study two years ago , details here

Edit Thanks to Izzy who pointed in comments another important aspect of FRP(Factory Reset Protection)- make sure you are signed out of your Google account before doing factory reset. Else, this protection will kick in and you will have major issues at hand. Also refer to tools in his curated collection linked in the comment for secure deletion

  • 1
    I know my answer didn't address the how does TWRP do it portion but addresses your main concern. This is a typical XY problem
    – beeshyams
    Dec 28, 2017 at 9:19
  • 2
    Good point to mention "encrypt and reset". In my app listings there are also some apps for secure deletion which might be worth a look. And before the device returns and we get our next FRP question: it would be a good idea to remove the Google account prior to factory resetting :)
    – Izzy
    Dec 28, 2017 at 11:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .