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 · Mar 30, 2015 at 11:20 am · 1 comment

M9: Is Throttling a Non-issue? Can’t We Trust Benchmarks?

When the first reports of the M9 overheating came to light, many forum users began a collective joke-round calling the phone a popcorn machine, a grill, and other unoriginal remarks that we’ve seen with every device that presents sign of overheating, from gaming consoles to graphics cards. In this sense, the internet is not very inventive, and the cycle of rehashed jokes re-surfaces on different products every year or so. This time it was the M9’s turn and it was...

XDA NEWS
Mathew Brack · Mar 30, 2015 at 09:00 am · 2 comments

What’s Next For Pebble?

It is all well and good stating figures, but what does $20 million of crowd funding mean for a company? The Pebble Time just recently ended their Kickstarter with over 4000% of their initial request which was just $500,000.  This level of funding is unprecedented for Kickstarter and it passed $1 million in less than an hour bringing with it a level of fame unavailable to many other OEMs.     Produced by the Pebble Technology Corporation (PTC), the Pebble Watch has...

XDA NEWS
Jimmy McGee · Mar 30, 2015 at 06:00 am · 4 comments

LG G4 Note Picture Leaked, Oxygen OS Delayed – XDA TV

The LG G4 Note has been leaked! That and much more news is covered by Jordan when he reviews all the important stories from this weekend. Included in this weekend's news is the news of the delay in the release of Oxygen OS and be sure to check out the article talking about installing Android 4.4 Kitkat on a laptop. That's not all that's covered in today's video! Be sure to check out the other videos released earlier this week...

XDA NEWS
Share This