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.
Mario Tomás Serrafero · Jul 30, 2015 at 02:04 pm · no comments

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising developments and it being natively supported on Android M, we can soon expect to see them on smartphones everywhere. If done right, it is a useful feature that allows for quick unlocking and authorization. There are concerns regarding security, but nonetheless the industry seems to be embracing it with open arms. What do you think?

DISCUSS
Aamir Siddiqui · Jul 30, 2015 at 01:20 pm · no comments

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we wouldn't be too wrong. After all, the device marked a definite change in how Samsung perceived the market and its own place in it, as it stood amongst the signs of decline which started with the critical reception of the Galaxy S5. To recap, the Samsung Galaxy S5 was criticized heavily for feeling more like a toy, rather than a premium flagship...

XDA NEWS
Eric Hulse · Jul 30, 2015 at 12:24 pm · 1 comment

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One could choose a case, a “skin”, “armor”, or “wraps.” In fact, the global mobile accessory market is poised to reach a high of $62 Billion in 2017. dBrand is one of the more creative and friendly vinyl skin manufacturers around. In hopes of sharing what they can offer, our friends at dBrand sent us over some skins to have a look at. They offer...

XDA NEWS