Former Writer · Oct 20, 2012 at 08:00 am

What is a Data Media Device?

As technology evolves, things change. Android is no different. With recent Android releases such as Honeycomb, Ice Cream Sandwich, and Jelly Bean, there have been quite a few changes. On many devices, USB Mass Storage changed to MTP, widgets became part of the default launcher’s app drawer, and everything went from green and orange to blue. One change that many don’t know about is Google’s new way of handling storage on many devices.

XDA Recognized Developer Dees_Troy, one of the key developers on the Team Win Recovery Project, wrote up a useful guide that helps explain how the new storage works. As Dees_Troy explains:

I’m writing this page because there seems to be a lot of confusion about how many of the newer Android devices work. Starting in Honeycomb 3.0 with the Xoom, Google changed the way that they handled storage. Instead of having a “data” partition with your apps and a separate “sdcard” partition for storage, Google started giving you a single, very large data partition. Inside /data is a folder at /data/media that contains all of the contents of what you think of as your internal sdcard.

This can be so very important for a number of reasons. For example, this is why TWRP ignores the /data/media path when wiping data. The big reason, however, is so people are aware. If you wipe your /data/media, you’ll be wiping your Nandroid backups, the ROM you were planning on flashing, your app backups, your photos, and everything else that usually stays safe on your SD card. So if you boot into TWRP to flash a ROM and you format /system, wipe /cache, and wipe /data including /data/media, you’re in trouble. You have no system to boot to, you have no ROMs to flash, and no backups to restore. The only way back from that is to ADB push a ROM onto your device to flash.

For the full explanation on the new storage system, how it relates to MTP, and much more, check out Dees_Troy’s explanation on the official TWRP website.


_________
Want something on the XDA Portal? Send us a tip!
TAGS:

Former Writer

Former Writer is an editor on XDA-Developers, the largest community for Android users. View Former Writer's posts and articles here.
Emil Kako · Apr 26, 2015 at 04:19 pm · 3 comments

Which Lockscreen Security Type Do You Use?

From pattern locks to the controversial face unlock, there are a number of different ways you can secure your Android phone's lockscreen. Some methods are clearly more secure than others, but it comes down to user preference at the end of the day. So, which lockscreen security type do you prefer and why?

DISCUSS
Chris Gilliam · Apr 26, 2015 at 12:00 pm · 4 comments

XDA Recap: This Week In Android (Apr 18 – 25)

Here in the digital XDA newsroom, we spend our days pouring over an average of 2,500 news items and forum threads every 24 hours. Only the most timely and interesting bits survive the editing process, but the portal's front page still sees weekly counts in excess of 100 posts. This is a glut of content to absorb, especially if following the news cycle isn't your full-time job. However, the tech world is vast, and the information must flow. With this in mind, please...

XDA NEWS
Mario Tomás Serrafero · Apr 26, 2015 at 11:00 am · 3 comments

Sunday Debate: Custom ROMs vs. Modular Tweaks

Join us in a fun Sunday Debate on Mods and ROMs. Come with your opinions and feel free to read some of our thoughts, then pick your side or play devil’s advocate to get your voice heard and engage in friendly discussion. You can read our food-for-thought or jump straight into the fray below!       PLEASE NOTE THIS DEBATE IS ABOUT FUNCTIONALITY AND PRACTICALITY AND NOT ANY IMPLICATIONS. LET’S AIM FOR FRIENDLY DISCUSSION Tweaking Android is what a...

XDA NEWS
Share This