Jump to content

Enabling storage adoption in Marshmallow on the Honor 8


Guest PaulOBrien
 Share

Recommended Posts

Note: This guide is only tested on the Honor 8 B101 Marshmallow release

Marshmallow on the Honor 8 is great, making a very nice device feel even better. But one thing missing is the option to 'adopt' microSD cards as Internal Storage.

Fear not, you can do it manually!

In order to set adopted storage up, you will need a computer with working 'adb' and, of course, a microSD card in your phone, the faster the better. 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).

Ember Library Mediator.png

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 free space isn't reported correctly, however everything seems to work OK. When you install apps, they will generally install automatically to the adopted SD, 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_2016-02-19-12-24-40.png

7. If you want to see 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

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

P

Link to comment
Share on other sites

  • 4 weeks later...

I type, her is the string:

C:\adb>adb shell
[email protected]:/ $ sm list-disks
disk:179:144
[email protected]:/ $ sm partition disk:179:160 mixed 50
usage: sm list-disks [adoptable]
       sm list-volumes [public|private|emulated|all]
       sm has-adoptable
       sm get-primary-storage-uuid
       sm set-force-adoptable [true|false]

       sm partition DISK [public|private|mixed] [ratio]
       sm mount VOLUME
       sm unmount VOLUME
       sm format VOLUME
       sm benchmark VOLUME

       sm forget [UUID|all]

Error: java.lang.IllegalArgumentException: command '18 volume partition disk:179:160 mixed 50' failed with '500 18 Unknown disk'
1|[email protected]:/ $

Link to comment
Share on other sites

I type, her is the string:

C:\adb>adb shell

[email protected]:/ $ sm list-disks

disk:179:144

[email protected]:/ $ sm partition disk:179:160 mixed 50

usage: sm list-disks [adoptable]

       sm list-volumes [public|private|emulated|all]

       sm has-adoptable

       sm get-primary-storage-uuid

       sm set-force-adoptable [true|false]

       sm partition DISK [public|private|mixed] [ratio]

       sm mount VOLUME

       sm unmount VOLUME

       sm format VOLUME

       sm benchmark VOLUME

       sm forget [uUID|all]

Error: java.lang.IllegalArgumentException: command '18 volume partition disk:179:160 mixed 50' failed with '500 18 Unknown disk'

1|[email protected]:/ $

You just pointed out the issue....disk 179:144 should be used vs 179:160

Link to comment
Share on other sites

After storage adoption Can you try to install Firefox please? I have a honor7, and i made this operation, but i have a bug, Firefox apk installs well from play store in my phone, but disappear after i restart. I want to find if it's related to my phone or it's a glitch of honor devices with storage adoption enabled, Sorry for my english


Link to comment
Share on other sites

  • 3 weeks later...
  • 4 months later...
how can you reverse this? If i dont want my card to be adoptable or partitioned 50/50?

 

1. Under phones settings > advanced > memory > internal memory, migrate data (if you have migrate the data to the SD-card earlier)

2. Format the SD-card to external storage

3. ADB > sm partition disk:xxx:xxx public

 

Youre done!

 

This is required to get the OTA updates to install, unfortunately.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...

Important Information

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