[Sony Xperia M4 Aqua] jonnyd100:
Hello, as can be seen for the numerous threads, marshmallow has been released for the M4 aqua. To many peoples disappointment the update did not contain adoptive storage. I have found a method on MoDaCo which details how to do this on the galaxy S7 and S7 edge (Source http://www.modaco.com/news/android/...e-adoptable-storage-on-your-s7-s7-edge-r1632/) and i have found out this works on some marshmallow phones. I have had success with this on my dad's LG K8 and my own M4 Aqua. Here I will go through the main steps but also look through the post on MoDaCo.

Requirement:

M4 Aqua with Marshmallow firmware (Tested on E2303 but have heard of success on others) with USB debugging enabled

SD Card (High speed recommended if going to be used for apps since if on slower SD's can be known to crash and run slowly)

I RECOMMEND USING A 16GB ON 50/50 LOOK IN ADVICE

ADB tools

DISCLAIMER - I take no responsibility for any problems with SD card not functioning properly or loss of data after doing this tutorial, I did not come up with this workaround and everyone should check the linked post to MoCaDo to see what the person thinks since I'm just going through the tutorial as well and thought I should let the community know

1. Back up any important files on your SD Card since they will be formatted and re-partitioned.

2. Enable developer settings and turn on Debug over USB

3. Set up your ADB tools on the PC side and open a command window in the adb file.

4. Type "adb devices" and confirm your phone is connected and is recognised in the program

5. Now type "adb shell" and then "sm list-disks" Now it will tell you the ID for your SD connected in your phone. This will look like "disk:179,130" This number could be bigger or smaller but will be two sets of numbers separated by either a comma or a colon

6. Now it's time to partition the disk. This can be configured in a number of ways.

Apply the comand you want replacing diskid with the number shown in the part above, including the comma or colon

-If you want your USB to be fully adopted type "sm partition disk:diskid private" ( I've heard some issues about this way) Have heard this doesn't work well so not recommended

-If you want partially adopted type "sm partition disk:diskid mixed 50" This splits the USB 50/50 If you want more adopted storage, decrease the number. ( Seems to work best as 50/50) The number is the percentage that is not Adoptive so for 30% adoptive you would put 70

-If you want to reformat the card to be non adopted type "sm partition disk:diskid public"

Do not just reformat the card on the phone software if you want to make it back into standard storage. I have had problems doing this since it said in the post it was fine but did not work for me.

If you go onto the phone, you'll now see your new adopted storage. As the method is not the proper way to do it, The total space and available space and space used may look a bit weird with outrageous numbers.

Advice:

- I was having some problems before after flashing the update myself. I ended up having to format my card on my PC and repairing the phone through companion and it seems to be working much better.

- Also I don't know if this really matters but i first installed all the updates for the sony stock stuff before partitioning the SD card.

After following these extra steps i've installed a ton of apps with no warning about low storage.

-Don't allocate more than 8GB to adoptive storage since it doesn't seem to really work well. This may be because there is a 16 GB version of the M4 so just thinks that is just normal storage. I tried this with a 32GB on 50/50 and this totally mucked up. So I recommend using 16 GB on 50/50

Edit: Now looking at my storage, the numbers for the storage don't seem outrageous and seem like they could be accurate.