6

I came across installing ROMs, but I can't install it because I need to wipe some things ...

It told me to wipe / do a factory reset ...

Then, when I go to the Wipe Section of the TWRP Recovery, clicked on Advanced Wipe, I noticed that there is Data, and there is Internal Storage.

Here's a picture of that: (from androidtipsandhacks)

enter image description here

TWRP told me that Data, Cache, and Dalvik is the only wipe that I need.

Will wiping Data remove my apps, music, photos, videos, and app data?


Answer:

Data

Data is your user apps (installed from Google Play Store, or with an *.) and its app data.  It is stored on /data.

  • Your user apps is stored on /data/app.
  • Your apps' data is stored on /data/data.

NOTE: You must be rooted to see the contents on /data/ ...

Therefore, if you wipe your data, it might also delete your user apps, and its app data, but excluding your music, photos, videos, etc.

Internal Storage

On the other hand, Internal Storage is actually the storage where your other data are saved, such as music, photos, videos, other app data, downloads, etc., and is usually stored on /storage or /sdcard.

NOTE: /sdcard is different from your external SD Card.

  • Music is saved on /sdcard/Music.
  • Photos are saved on /sdcard/DCIM.
  • Videos are saved on /sdcard/Videos.
  • Other app data are saved on /sdcard/ (App Folder).
    • Other apps choose to store their app data on /sdcard/ ..., such as Minecraft: /sdcard/games.
  • Downloads are saved on /sdcard/Downloads, and can be easily found if you have the Downloads app.
2

Two relevant aspects before answering your specific questions :

  • You are planning to install a new ROM

  • The device is going to be with you so you are not bothered about wiping all personal traces ( like you would be if you are planning to sell)

  • See What should I wipe in TWRP? from official TWRP help . That would take care of your needs for installing a new ROM

If you are switching ROMs (changing from one ROM to a completely different one) then you should perform a factory reset. A factory reset wipes data and cache (which includes dalvik cache). A factory reset will also wipe sd-ext and android_secure if your device has those items. 99% of the time, this is all that you need to wipe and you only need to do it once, not three times as some people would lead you to believe.

(Emphasis supplied)

is equivalent to Wipe data,cache, dalvik. It will not remove your pictures . See Firelord's answer which has other useful references as well

...Factory Reset would remove everything under /data (excluding /data/media which serves as emulated storage available through /sdcard as internal SD card)...

  • What's the difference between Data and Internal Storage?

Data is what is contained in the / datapartition. Internal storage world refer to the entire device directory structure and what is contained in them as well

....you may have options for wiping internal storage, external storage, sd-ext, android_secure, and/or an option for formatting data. There's almost no reason that you would ever need to use these items....

(Emphasis Supplied)

  • Okay, thanks for the info! Is it okay to remove the SD Card (and the SIM Card) during the wipe process to ensure that no data from the cards will be lost? – Lloyd Dominic Oct 29 '16 at 5:09
1

The existing two answers are nice, but there are two things which are not quite correct in how TWRP handles and calls the different wiping options.


  1. [This statement is wrong]: "Internal storage world [sic] refer to the entire device directory structure and what is contained in them as well."

    Instead, the term "Internal storage" as used by TWRP refers to /data/media.


  1. [This one is also incorrect]: "On the other hand, Internal Storage is actually the storage where your other data are saved, such as music, photos, videos, other app data, downloads, etc., and is usually stored on /storage or /sdcard."

    More correctly, "Internal storage" is actually stored at /data/media (indeed it is usually mounted at something like /storage/emulated/... and /sdcard as well).

Source: https://twrp.me/faq/datamedia.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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