Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I used ClockworkMod to wipe my Samsung Galaxy SII and install Cyanogenmod 9.1 on it. However, when I mounted my phone on my computer, I see that lots of folders were left on its internal SD by apps from before I flashed my phone.

I was tempted to just delete everything on the internal HD from my computer (running Mac OS X 10.6.8), but I noticed there seems to be critical directories on it like one for Clockwordmod.

Here is a list of the directories on the internal SD via ls -a:

enter image description here

Are there directories in here that are essential to the normal function of the phone? A related question is: When I flash my phone, how to I completely wipe it so that when Cyanogenmod is installed, there will be no traces of previous activity as shown in the screenshot above?

Thank you!

share|improve this question
up vote 3 down vote accepted

When doing a complete wipe, you can safely delete all directories off the internal storage. Generally, Android OS will re-create any folders on user areas like internal/external storage if it doesn't find them.

You may want to hold onto (or at least back up prior to deletion) media folders like DCIM and Pictures, for example. Keep in mind that on different devices Camera apps may store photos and videos in other, non-standard directories. And of course do not delete the clockworkmod folder if you wish to keep the NANDroid backups you've made previously.

Under normal operation, .android_secure is the only directory on either internal or external storage that is absolutely necessary. It contains apps that were "moved to SD" via settings (if external SD card is not present, apps get moved to internal storage instead.) If this folder is deleted, it will cause instabilities where these apps would not start (obviously), but you may also have trouble uninstalling them from Android, and would need to manually remove their left-overs (the caches, for example.)

Another notable directory is Android - it contains data for installed apps.

share|improve this answer
Thank you! This is exactly the information I am looking for. – hpy Sep 12 '12 at 19:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.