Not registered yet?
Register now! It is easy and done in 1 minute and gives you access to special discounts and much more!
I don't want all my storage as adopted storage, so I was wondering how I can split it into 1 part adopted storage and 1 part normal file storage (what Android calls "portable storage").
poqdavid's answer is correct.
In addition though, you might get the error that your SD card on your device storage is corrupted. If so follow these steps.
After you have partitioned the disk and while your SD card is corruped enter In the terminal the following:
$> adb shell sm list-volumes all
Which will list your volumes, for example:
private mounted null
public:179,1 mounted B5B1-140C
private:179,3 unmountable null
emulated mounted null
Then enter the following replacing 179,3 with whichever disk numbers you are given:
$> adb shell sm format private:179,3
$> adb shell sm mount private:179,3
Now your SD card in device storage should be properly mounted and your portable storage will still be there.
This worked on my LG G5 and should work on the S7.
You don't need to root your device but the device i done this with is rooted
adb shell sm list-disks adoptable
adb shell sm partition disk:179,128 mixed 80
Does this really require root as the command to set up adoptive storage in the 1st place does not? (sm partition disk:foo,bar)
@Barleyman Well not really but my device is rooted and i didn't test this with none rooted devices so if you like you can try and let me know if you got any error
I did actually yesterday and today on my Galaxy S5. I didn't use the mixed type but at least the sm partition disk:foo,bar private works just fine without root. Migrating from lollipop with Link2SD to Marshmallow with adoptable storage is a bit of work. Gotta do clean install and copy titanium backup files to PC & back and repartition the sdcard on pc and later on the phone. Also titanium backup does not realize phone storage is running out so you'll have to fight past dialogs to move a single app to sdcard to make enough room that you can use apps2sd to migrate the rest..
Works perfectly on Moto E with CM13 Temasek 10.4. Thanks!
On my device the sm partition disk: disk:179,128 mixed 80 command returned the usage of the command, maybe it's because of the custom ROM, but I replaced the comma with an underscore and it accepted it - eg. sm partition disk: disk:179_128 mixed 80
sm partition disk: disk:179,128 mixed 80
sm partition disk: disk:179_128 mixed 80
how do you format as portable?