• 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


    3


    User Feedback




    So, "adb shell sm set-force-adoptable true" doesn't work? It works on the Nexus 5X/6P with an OTG drive.

    Cheers!

    0

    Share this comment


    Link to comment
    Share on other sites
    21 minutes ago, el_Charlie said:

    So, "adb shell sm set-force-adoptable true" doesn't work? It works on the Nexus 5X/6P with an OTG drive.

    Cheers!

    No, that command basically makes normally unadoptable devices - like OTG - adoptable. Not quite the same thing. 

    P

    0

    Share this comment


    Link to comment
    Share on other sites

    Hi, I have a question about this.

    When I entered the command "sm list-disks" I got 179,0 as the disk. I then proceeded with the next command "sm partition disk:179,0 private" and then it came back to the blank shell command prompt. 

    I've now got device storage 138 used out of 256 as attached and when I use FreeSpace Plus, I can't see the three types of disk - internal, FAT SD and Adopted SD. I get something totally different as per picture.  Have I done it correctly? Screenshot_20160310-215800.png.0b9a0e3ef

    After partitioning Screenshot_20160310-220335.png.72a0e6a5d

    FreeSpace Plus screenshot

    0

    Share this comment


    Link to comment
    Share on other sites

    In my freespace plus pic I hid and renamed manually, scroll down, they are there somewhere! 

    Your pic looks fine. I mean, the total is messed up, but it all looks OK. Looks like there's 2 cards you can click and 'forget' in the list. 

    P

    0

    Share this comment


    Link to comment
    Share on other sites

    what is the process to reverse it and use another card ?

    is a simple removal of the SD ?

    or will it require a Shell Command  ?

    0

    Share this comment


    Link to comment
    Share on other sites
    12 hours ago, TK Bay said:

    what is the process to reverse it and use another card ?

    is a simple removal of the SD ?

    or will it require a Shell Command  ?

    You can do the same command with 'public' or reformat the card from the storage UI.

    P

    0

    Share this comment


    Link to comment
    Share on other sites

    Bit stuck here Paul, I get the following:

    [email protected]:/ $ sm list-disks
    disk:179,0
    [email protected]:/ $ sm partition disk:179,0 private
    Error: java.lang.IllegalStateException: java.util.concurrent.TimeoutException: Thread Binder_B gave up waiting for partitionPrivate after 180000ms

    Could someone please point out the source of my idiocy?

    Many thanks,

    BS...

    0

    Share this comment


    Link to comment
    Share on other sites
    13 hours ago, PaulOBrien said:

    In my freespace plus pic I hid and renamed manually, scroll down, they are there somewhere! 

    Your pic looks fine. I mean, the total is messed up, but it all looks OK. Looks like there's 2 cards you can click and 'forget' in the list. 

    P

    Thanks for the reply! 

    I tried moving back the items I had on the SD card but then got a notification saying the storage was nearly full and was showing as red in the Smart Manager.  Is there a way round this? 

    I managed to remove the other two SD card not inserted by tapping on them and selecting remove. 

    Also I went back to normal by clicking on the SD card and then there's an option to reformat which I did and it separated the SD card as it was before. I did this because of the notification about storage being full. 

    Great find though and it does seem to work. Have you had any problems with storage after you've changed the SD to adopted storage? 

    Screenshot_20160310-215800.png

    Screenshot_20160310-220335.png

    0

    Share this comment


    Link to comment
    Share on other sites
    20 hours ago, PaulOBrien said:

    In my freespace plus pic I hid and renamed manually, scroll down, they are there somewhere! 

    Your pic looks fine. I mean, the total is messed up, but it all looks OK. Looks like there's 2 cards you can click and 'forget' in the list. 

    P

    I did some looking as I have the same thing where my disk is detected as 179,0.

    When I do this:

    [email protected]:/ $ sm list-volumes all                                           
    private mounted null
    public:179,1 unmounted 5361-D92D
    emulated mounted null
    privatemode unmounted null
    [email protected]:/ $

     

    The disk is 179,0 and the first volume is 179,1. However, when repartitioning with your command to use all of the disk:

    [email protected]:/ $ sm partition disk:179,0 private                              
    [email protected]:/ $ sm list-disks                                                
    disk:179,0
    [email protected]:/ $ sm list-volumes all                                          
    emulated:179,2 unmounted null
    private mounted null
    private:179,2 mounted efb2b0b4-a039-4a57-bc7a-4add70aa05e3
    emulated mounted null
    privatemode unmounted null
     

    The partition index is changed to 2 instead of deleting 1 and making a new one. Could this be why the file manager displays free space incorrectly?

    I need to try this using a completely blank card by removing the first volume via gparted in linux. Unless you know a way on Linux to delete the volume of a SD card.

    -Dice

    0

    Share this comment


    Link to comment
    Share on other sites

    Had the same deal with 179,0.   Now unable to install any apps as they seem to be trying to go to a volume that doesnt exist.  Try at your own risk, at least until this is hashed out better.

    0

    Share this comment


    Link to comment
    Share on other sites
    20 hours ago, PaulOBrien said:

    In my freespace plus pic I hid and renamed manually, scroll down, they are there somewhere! 

    Your pic looks fine. I mean, the total is messed up, but it all looks OK. Looks like there's 2 cards you can click and 'forget' in the list. 

    P

    I think I know the 127,0 issue.

    I think there is a difference between the Snapdragon vs Exynos versions of the phone. Mine is a UK model which has Exynos. There may be another needed trick to enable proper disk IDs or something.

    0

    Share this comment


    Link to comment
    Share on other sites

    I had a similar issue to one of the previous users. Free Space Plus doesn't really show my adopted storage at all in the list (I took a scrolling screenshot to show the entire list). However, in the Settings Storage menu it appears to be all there aside from the wrong total. Also, I ran into the issue of  partition 179,1 becoming 179,2 and I have the Snapdragon variant. However, I haven't had any problems installing apps or any full messages. 

    Screenshot_20160311-140941.jpg

    Screenshot_20160311-141153.png

    0

    Share this comment


    Link to comment
    Share on other sites

    If you did do this with a Snapdragon, you'll have a new option under:   Settings > Storage > SD card > More.   Migrate your data - this is where the moneyshot happens.   Just wish I felt like I wasnt wasting time doing it, no doubt it will all need redone when a rom comes out with a more legit way to get this done

    0

    Share this comment


    Link to comment
    Share on other sites

    Yep, I realized after I posted this that could be the reason that FreeSpace Plus wasn't showing my SD card as internal. After I migrated stuff it looks much better here, although the total in system settings is still wrong. 

    2016-03-12 02.53.52.jpg

    0

    Share this comment


    Link to comment
    Share on other sites

    This is a great find, except people need to be aware of the downsides to SD cards, at least as a place for apps to reside.

    If I'm understanding your writeup correctly, this will probably install all future apps to SD by default  And as you state, it will always be slower than the internal memory -- on my G4, it's something like 20MB/s on SD vs 50MB/s on internal, so a LOT slower.  It's also going to stress your card if you have a lot of caching or other intense activity going on (load balancing or not).  I have a rigorous backup system, but I don't need to tempt fate....

    That being said, I DO want to have internal and external memory appear as a single drive, while keeping apps in /data/data instead of going to any /storage. This way, you can always find stuff, no matter where an app decides to store its files (camera apps, for example), as well as only having one filesystem you need to back up.

    0

    Share this comment


    Link to comment
    Share on other sites

    Thank You!  Makes me very much LESS PISSED.   I bought a Samsung 128G UHS-1 card, and now can use it as I want.  

    I owe you a drink if you are ever in Austin, TX

    1

    Share this comment


    Link to comment
    Share on other sites

    Surprisingly, in my use so far all my apps are still going to the true internal storage by default. When I Migrated data all my data is now on the SD card while the apps themselves go to internal, which is what you were describing to be ideal, and I agree. Who knows if that will continue but I've installed about 10 apps since adopting storage and all went to internal. Of course YMMV, but that's my experience so far. 

    0

    Share this comment


    Link to comment
    Share on other sites

    Do you know what the fastest SD card the S7 will support? I would like to use as fast a card as possible. While any pictures I find of the Mirco SD card is of the samsung evo + I am considering buying the SanDisk 128GB Extreme Pro UHS-II ( Read 275MB/s Write 100MB/s). Would you know if the phone would be able to take full use of this card? 

    Also thank you so much for the Adoptable storage method. I was one of the few devastated by the lack of support. 

    0

    Share this comment


    Link to comment
    Share on other sites

    The app Root Essentials on the Play Store can change adoptable storage for rooted and unrooted phones. For the latter option you find the procedure under the info button on the adoptable storage tab.

    1

    Share this comment


    Link to comment
    Share on other sites
    55 minutes ago, Joshua1 said:

    The app Root Essentials on the Play Store can change adoptable storage for rooted and unrooted phones. For the latter option you find the procedure under the info button on the adoptable storage tab.

    Hey thanks for the heads up about Root Essentials do you happen to know if I use the app to turn on adoptable storage if I can use the app to turn it back off I would like to turn on adoptable storage but would like to know i can go back to normal if I don't like it or notice speed issue.. thanks again!

    0

    Share this comment


    Link to comment
    Share on other sites

    Hey thanks man... it works a treat.  I almost cancelled my preorder when I found out they disabled the adoptable storage feature.... moving things to the SD card is a real unnecessary hassle.

    I have 200GB sd card in now and the phone shows like 256 available space.... its wrong but when i plug it into the laptop the space on the phone shows correct. 

    Top Bananas

    1

    Share this comment


    Link to comment
    Share on other sites
    1 hour ago, MaStErKrAzE said:

    Hey thanks for the heads up about Root Essentials do you happen to know if I use the app to turn on adoptable storage if I can use the app to turn it back off I would like to turn on adoptable storage but would like to know i can go back to normal if I don't like it or notice speed issue.. thanks again!

    If I am right you can just format your SD card in settings > storage and it should return to normal.

    0

    Share this comment


    Link to comment
    Share on other sites

    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? 

    0

    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

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.