How to adopt SD card as internal storage on Samsung devices?


Question

I recently upgraded to 6.0.1 Marshmallow on my Galaxy S5 and I would like to adopt an SD card as internal storage. However, there is no option to do this.



When I format the SD card, there is no "Internal" option, only a "Portable" option.



screenshot
screenshot
screenshot



I am using this SD card:



Samsung 64 PRO Micro SD XC



I have tried formatting the SD card in windows, deleting the partition in windows, and even wiping the parition in windows. But Android always wants to add it was portable storage.



How can I force Android to add this as internal storage?



EDIT: According to this article, the Galaxy S7 doesn't support adoptable storage. So it's likely the S5 doesn't support adoptable storage either. I'm looking for a way to enable it using the adb command line if possible now.


Answer

Samsung (and some other manufacturers') devices don't support Adoptable Storage by default. However, there are some workarounds how you can enable it. Some devices will require root, and others don't. If you have a Galaxy A5, J5, J7, On5, choose method 2 (root required).



Before proceeding, make sure you have a backup as this will format your SD card.






Method 1 (NO ROOT | Galaxy S7)



Some Samsung phones (e.g. Galaxy S7) and other Android devices do not require root. You will need to execute the following commands using ADB:



adb shell
sm list-disks
sm partition <DISK> private
reboot


Replace <DISK> with the output of the previous command. (example: sm partition disk:179,64 private). If you don't want to convert the whole disk, then use this command instead: sm partition <DISK> mixed <VALUE>. Replace <VALUE> with the percentage (0-100) to keep as external storage. (Example: sm partition disk:179,64 mixed 50, for 50%).



If you do have root access, you can use my app Root Essentials instead. Root Essentials will execute all the commands for you, without the need of a PC.






Method 2 (ROOT | Galaxy A5, J5, J7)



If the above method didn't work for you, then it is not possible to get adoptable storage without root. (e.g. Galaxy A5, J5, J7, On5).



If you have rooted your device, you will need to download my app Root Essentials. After you have downloaded it, go to "Adoptable Storage". Then click the button "Adopt".



Root Essentials will ask you to flash a plugin using a custom recovery. (e.g TWRP). It is not possible to flash the plugin without a custom recovery. After you have flashed the plugin, reboot your device and open Root Essentials again. Now try adopting your SD card again and it should work.






I have adopted my SD card successfully, what do I need to do next?



After you have adopted your SD card, you will need to migrate your existing data to the SD card. This is to free up space on the internal storage.



To migrate your data:




  1. Open (Android) Settings

  2. Tap "Storage". (or "Device maintenance" > "Storage").

  3. Select your SD card.

  4. Open the menu (3 dots at top right), and tap "Migrate data".

  5. Now your data will be migrated to the SD card.


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