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.
Aamir Siddiqui · May 27, 2015 at 02:12 pm · 1 comment

Samsung Galaxy S6 To Receive Major Camera Update

When the Samsung Galaxy S6 and S6 Edge were launched, they became the prime focus for all discussions as Samsung took a break on their traditional design philosophy and opted for something that their flagship lineup hadn't seen before. But along with the design, a lot of Android enthusiasts were also impressed by another aspect of the flagship duo: their camera. Even traditionally, the primary camera on Samsung's flagship lineup has been one of its stronger points as compared to other...

XDA NEWS
Faiz Malkani · May 27, 2015 at 01:34 pm · 4 comments

Tactile: An Addicting Game with Beautiful Material Design

The game industry has been around for decades, catering to a wide spectrum of people, young gamers and elder ones, casual gamers and serious ones, and for an industry with such specifications, innovation isn't the only fuel for success. An increasingly large number of games draw inspiration from another and build on top of that idea, and Tactile is one such product, an excellently executed brainchild of a mashup between Tetris and 2048. For 2048 veterans, the game will come across as relatively familiar....

XDA NEWS
Mario Tomás Serrafero · May 27, 2015 at 12:27 pm · 2 comments

Android’s Consistency and The User Experience

This is a site of power users, and it is fair to say that most of us are more knowledgeable about Android than the average Joe. We tinker and tweak by customizing every corner for endless hours, until we arrive at a comfortable software configuration. In contrast, a large chunk of Android users don’t even use a different launcher - and many don’t know what a launcher is in the first place!   When we get so involved in our...

XDA NEWS
Share This