I have a noob question. I'm planning to buy an android phone which doesn't include sdcard slot. Only internal memory. I am now using HTC Desire S which include sdcard slot. I change ROM on my phone so often. What I'm worried about is, will formatting data before flashing ROM going to remove all data in internal memory as the one I'm planning to buy rely only on internal memory. Or does HTC make some partition for something like virtual sdcard space that is stay untouched even wiping data from recovery?

  • 2
    This site works best when there is only one question to be answered. I suggest moving the second part into its own question.
    – Chahk
    Commented Mar 25, 2014 at 15:53

2 Answers 2


It depends on how the particular recovery you will choose to install handles user data.

Most recent versions of commonly used recovery images (e.g. TWRP and ClockworkMod) recognize the need to keep certain portions of internal memory on devices without removable storage. On such devices the /sdcard mount point is still present, but is pointing to /data/media partition instead. When doing a regular factory reset, this /data/media partition is left untouched. If you really wish to clear that area as well, in ClockworkMod recovery, for example, you would need to navigate to mounts and storage and use the format /data and /data/media(/sdcard) option.

  • Year later update: at least for version of ClockworkMod doing a "factory reset" claims it is formatting /data, /cache, /sd-ext and /sdcard/.android_secure. However my /sdcard folder (/data/media/) is still in place with all my files.
    – tutuDajuju
    Commented Apr 25, 2015 at 6:49

Terminology is important in this case...

Formatting /data will wipe out your internal /sdcard/ mount.

wiping /data, on the other hand, will usually not erase your sdcard.

Usually you don't need to actually format /data/, and wiping (usually called a "Factory Reset") will suffice.

Technical explaination: /sdcard/ lives in /data/media. When doing a factory reset, the recovery will delete everything in /data/ except for /data/media/. In fact, when factory resetting, my recovery will tell me "wiping /data, skipping /data/media". However, when formatting, you cannot be selective like that. Formatting will wipe out everything on a mount point.

You must log in to answer this question.

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