Jump to content
  • Here's how to configure adoptable storage on your S7 / S7 Edge


    PaulOBrien

    If you've been following the launch of the Samsung Galaxy S7 / S7 Edge, you may have read that adoptable storage, a Marshmallow feature that lets you use the microSD card just like internal storage, is missing. The S7s do include a feature where you can move apps to SD card, but it's not quite the same. The good news? You can enable the feature using ADB and it seems to work great, including in hybrid ('mixed') mode.

    In order to set adoptable storage up, you will need a computer with working 'adb' and, of course, a microSD card in your phone, the faster the better (I personally use a 128GB EVO+ in my own device. Here's the process!

    1. BACK UP THE DATA YOU HAVE ON YOUR MICROSD CARD. Your card will be formatted by this process, so make sure you have saved any pictures, videos etc. from your card to your PC before you start.

    2. Decide how you want to split your card. You can either commit 100% of the card to internal storage, or split between internal storage and conventional SD. This option is useful if you like to unplug your card and put it in your PC. I would probably recommend committing the whole card.

    3. Open your command window / terminal on your computer and type the 'adb shell' command (with your phone connected of course). You will need to enable USB debugging in developer settings (which in turn is displayed by tapping the build number of the device 5 times) in order to see the option.

    4. Type 'sm list-disks' to list the disks available for adoption. It'll look something like below - take note of the disk ID (disk:179:160 in this example).

    56c732ac96934_EmberLibraryMediator.png.a

    5. Partition the disk. For this we use the 'sm partition DISK TYPE RATIO' command. For example, to partition the disk above as fully adopted storage (aka private) I'd use the command 'sm partition disk:179:160 private'. If I wanted a 50/50 split between adopted and regular, I'd use the command 'sm partition disk:179:160 mixed 50'. Easy right?

    6. This process will take a while, but when it's done, the Settings -> Additional Settings -> Storage view on your device should show the new Internal Storage. Note that, for some reason, the total space isn't reported correctly as you can see in this image, however everything seems to work OK. When you install apps, they will generally install automatically to the storage with the most space available, although you can manually move things around if you want to, perhaps for performance reasons (the real Internal storage will likely always be a bit faster).

    Screenshot_20160310-102957.png.89b152a2e Screenshot_20160310-103431.png.3e620ba5f

    7. If you want to see another view of how you are doing for space, you can use a third party tool such as FreeSpace or FreeSpace Plus.

    Screenshot_2016-02-19-12-42-43.png.6e319

    And that's it! Let us know how you get on, and enjoy your new, expanded S7!

     

     

    Edited by PaulOBrien



    User Feedback

    Recommended Comments



    On 3/12/2016 at 3:04 PM, Koocha said:

    You've fixed the one thing that's putting me off buying the Edge,  thanks. 

    My question is one you probably won't know the answer to, but please speculate:

    If I do this and Samsung release an update, can they reverse it all? If so,  that'll make the phone unusable, yes? It'll need a factory reset? 

    It's February 2017 now, and US carriers are about to start rolling out Android Nougat. This question is especially relevant now: what happens if you use this hack and then update to Android Nougat? Koocha needs to know. I need to know. The world needs to know.

    Share this comment


    Link to comment
    Share on other sites

    Work like a charm! Thank you. But it seems there is 125,9GB data (2,1GB free space of 128GB) on the phone although there is only 29,89GB.

    By the way: errors I get when I try to do this tutorial and how I solved them.

    Error -1-: 'adb' is not recognized as an internal command...
    Solution: I downloaded and setup "Android Studio with SDK". It automatically update the SDK. Then I wrote them to command: 

    set ANDROID_PLATFORM_TOOLS="C:\Users\tatoline\AppData\Local\Android\sdk\platform-tools"
    set ANDROID_TOOLS="C:\Users\tatoline\AppData\Local\Android\sdk\tools"
    set path=%path%;%ANDROID_PLATFORM_TOOLS%;%ANDROID_TOOLS%

    Error -2-: error: device unauthorized. or 'sm' is not recognized as an internal or external command...
    Solution: I go to Developer Option on my phone and click "Revoke USB debugging authorizations". Then I write "adb kill-server" and "adb start-server". After that when I reconnect my devices to pc, a verification pop up on my phone screen.

     

    photo_2017-02-19_21-42-34.jpg

    photo_2017-02-19_21-42-40.jpg

    Share this comment


    Link to comment
    Share on other sites


    UPDATE: This process is totally useless now, don't do it guys.

    He said "When you install apps, they will generally install automatically to the storage with the most space available". But this is not true. Apps are installed automatically to device storage (like a normal install process), and if the app you installed is movable, so you can go App Manager and move it to SD card (like a normal move process). But if the app not movable the SD card, so you cannot move it to SD card. So this is a useless method to move, non-movable apps to SD card.

    Also you can't see your SD card and copy something from your pc to in it (like the author said) if you didn't separate private part. So this process isn't just neutral, it's totally negative thing: Your apps are NOT installed the SD card, also you can't see your card on computer either.

    Share this comment


    Link to comment
    Share on other sites

    Hey Paul, hope you're well...

    I need your advice on the migration of the sd card. I can't get adb to set it private. I have the S7 and an EVO+ 128 GB.

    I succeeded under Marshmallow to set the card private mixed 50. When the update to Nougat was here, I formatted the card and re-installed everything appwise when I needed to.

    Now I'm running out of built-in space because I installed quite some Oculus stuff and wanted to set the card for internal storage again... nothing. After going through with the routine nothing changes. I tried mixed, whole, formatted the card in my laptop, in my cellphone, tried adb even with the card unmounted... whatever I could think of. 

    After sm list-disks and sm partition disk:179,0 private still same old.

    I checked with sm list-volumes as well and am always told private mounted null. S7 settings say the same. Full SD external storage.

     

    Do you perhaps have any clue what I might be doing wrong or is it maybe Android 7.0 (Vodafone Germany, Marshmallow was by them as well, no custom flash).

    I hope you will read this.

    Thank you in advance.

     

     

    Unbenannt.JPG

    Share this comment


    Link to comment
    Share on other sites

    I keep getting error: no device found

    I can see both the internal as well as sd storage of the phone in the file explorer

    Phone is Samsung S7 SM-G930F and I have verified it is set in USB debugging mode.

    Windows 10

    Please help.

    Share this comment


    Link to comment
    Share on other sites

    Good  day , look like this will work on Android 6 only  , i was tried do same think on my Galaxy S 7  Android 7.0 Edge  T-Mobile USA and no luck. Any other ideas for this, please . Thank you.

    Share this comment


    Link to comment
    Share on other sites

    alright THIS IS GETTING ANNOYING !!

    OUT OF SPACE problem

    i can install apps from the store normally and update them and use camera etcc 

    but whenever i try i install a custom apk file it says out of space what did i do wrong reply please :(

    Share this comment


    Link to comment
    Share on other sites
    On 29/3/2017 at 6:20 AM, maaz tahir said:

    Does this with with samsung galaxy on5? It runs on android 6.0.1 and has an annoyingly small 2 gb that you can use for apps and stuff.

    Yess, it does work on S5, I just did it on mine

    But curiously DID NOT work on my Galaxy Tablet S (both running Marshmellow 6.0.1)

    I wonder why...

    Share this comment


    Link to comment
    Share on other sites

    I succeded to install all this on my Samsung S5, but suddenly everything went bad ( maybe after an android update... ).

    Now I've lost half of the size of my Sd card.... How can reverse everything?

     

    Share this comment


    Link to comment
    Share on other sites

    Please help: I tried everything to cancel these bloody partitions, but no success... I can see the public half, but not the private one.

    It seems it is almost impossible to make any change on it, either with the card in the phone than with the card in a reader... It seems locked.

    I had a 128 GB Samsung card that costed me a lot, and now I have only a 40 gb one....

    Share this comment


    Link to comment
    Share on other sites

    Thank you for article,nice done!

    For user with rooted phone there are an option for done it only with phone.

     

    You need to have busybox and one terminal emulator app.

    STEP:

    unmount sdcard

    run your terminal emulator app.

    type "su" and grant superuser access.

    follow instruction on the frist post.

     

    DONE!

     

     

     

    Share this comment


    Link to comment
    Share on other sites

    Hi there! 

    I had the adoptable storage working on my S7 Edge until I got it back from repair.

    Now, I am not able to set the adoptable storage by following Paul O'Brien's howto:

     

    I simply get this:

    hero2lte:/ $ sm list-disks
    disk:179,0
    hero2lte:/ $ sm set-force-adoptable true
    hero2lte:/ $ sm partition disk:179,0 private
    hero2lte:/ $ sm list-volumes
    private mounted null
    public:179,1 unmounted 6F61-FE60
    emulated mounted null
    hero2lte:/ $ sm has-adoptable
    false

    I have tried everything, from wiping the SD card on my linux laptop to formatting it with my laptop, with the phone and through adb. No luck. 

    Any suggestions are highly appreciated! :)

    Share this comment


    Link to comment
    Share on other sites

    Is there any reason this wouldn't work with a samsung galaxy j7 perx with nougat and boost as the carrier?  I don't know anything about phone software and I don't know where to begin to answer my question.

    Share this comment


    Link to comment
    Share on other sites

    Paul O'Brien:

     

    I've tried your instructions on converting an sd card to adoptable storage, using a Boost Galaxy J7 Perx phone, running nougat 7.0, and a 16 GB SD card, but it didn't work.  the command line ran through a dozen or so lines that seemed to work, but then the code looks like it undid what I'd done.  Attached are the screenshots of the command line results (5 pages as jpg's).  the last few lines were me trying to repeat the partition command without even the limited success I had the first time.

    Any advice appreciated!

    JP

    command line code 2.jpg

    command line code 3.jpg

    command line code 4.jpg

    command line code 5.jpg

    command line code.jpg

    Share this comment


    Link to comment
    Share on other sites

    Paul O'Brien:

     

    I've tried your instructions on converting a sd card to adoptable storage, I am using a Samsung Note 4 SM-N9100, running Andriod 6.01. and a 32GB SD card, it worked, but I am unable to move any apps to the SD card,I have used  adb  PM set install location 2 as well, still, most of the apps are installing to the Phone memory. I am really left out with no space on my device.

    what shall I Do

    Any advice appreciated!

    Share this comment


    Link to comment
    Share on other sites

    Hi All, probably a stupid question: But after opening the CMD (as admin) I type ADB SHELL I get an error message ("unkown...". How do I start the ADB Shell?

    DONE - Found it ... a bit tricky when you do it the first time....

    BUT now it runs perfect. THANKS!!!!

    Edited by Toskana
    DONE

    Share this comment


    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use.