Location of files: Main Storage versus SD card


Question

I'm trying to figure out what is stored where on my Android phone (an unrooted Samsung Galaxy S8 with an SD card).



I can examine the phone's contents either via any of the several file manager apps I've installed, or by mounting the entire phone as a network drive on my Windows 10 machine.



My File Manager App shows me the contents of "Main Storage" and the contents of "SD Card".



The contents of "Main Storage" show up on the network drive in a directory called /sdcard. The contents of "SD Card" show up on the network drive in a directory called /storage/0000-0000 .



This is very odd, since the directory called "/sdcard" on the network drive is the opposite of the directory called "SD Card" in the File Manager app.



The File Manager app shows 57 gigs total in "Main Storage" and 256 gigs in "SD Card". This suggests to me that the former is the phone's built-in memory and the latter is the actual SD card. But I'm thrown for a loop by the fact that the former is called "/sdcard" and the latter is called "storage/0000-0000", which seems backward.



I could, of course, pull the SD card out of the phone and examine its contents directly on another device, but I'm squeamish about handling the card. And no matter what I learned, I'd still be curious about the odd naming conventions.



So:



Question 1: What's going on? What's in which directory?



Question 2: If I want to back up all of the data (but not the system files or software) on my phone, does it suffice to make copies of /sdcard and /storage/0000-0000, or are there other places data might be stored?



Additional Info: The App X-plore confirms the odd naming, in that it shows me two directories, one named both "Phone Memory" and /sdcard (it shows the former in bold and the latter in roman, both labeling the same directory) and another named both "SD card" and /storage/0000-0000.


Answer

What's in which directory?



/sdcard is the so-called "internal SD card" (, on "internal storage" and not physically removable without breaking the device, hence also referenced as "Main Storage" in your case), while /storage/<card_id> is the physically removable .



are there other places data might be stored?



There are. Without root, you e.g. won't have access to where your apps store their data (/data/data/*). To perform a real full backup, you'd need a custom recovery like to perform a . The closest you can come to that is backup – but even an "adb full backup" is incomplete (especially as apps can "opt-out" of that, so they won't be backed up by adb backup).


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes