I recently bought a 64GB SD card. Soon discovered adoptable storage is disabled on Stylo2, so I can't change app storage from Internal storage to SD card. I followed instructions on another forum of how to enable adoptable storage on my phone using ADB commands. It worked. But now, my "Storage & USB" Settings shows both Internal Storage and SD card, but File Manager only shows Internal Storage. And instead of having 16GB internal and 64GB external, File Manger is only showing 10GB TOTAL!!! It seems like it was partitioned incorrectly. Is there any way I can fix this? I'm including a pic of some screenshots of the problem, and the code I used. I really hope you can help!

Correction: I've been exhausted, so I thought maybe I missed something. I looked back over the code from the other forum and over the code I entered. I missed line 3, so I went back and entered the code, but the problem remains. The code is as follows:

sm set-force-adoptable true

sm partition disk:179,64 private

sm set-force-adoptable false

sm list-volumes all

Would be nice to partition 8GB or so to adopted storage, the ramaining 56GB of the 64GB SD card to "portable"/external storage.

I will probably see e-mail replies before I see them here.. blakburner at gmail dot com

enter image description here

  • For the disk were did you get the 179,64 numbers from? Reasoning devices can be different and there are some commands missing from your list. One being the command that gives you the partition disk numbers. The command adb shell sm list-disks which will give your devices partition disk numbers. Yes, you can delegate a percentage of the sdcard for internal then the rest with something else. You use mixed and desired percentage of space you want seperate instead of private at the end of the am disk:179,64 private. Example: sm partition disk:179:160 mixed 65 – Bo Lawson Mar 3 at 10:21
  • I should add the flow of the commands to set adoptable storage: adb shell sm list-disks (This returns disk id numbers {xxx,xxx or xxx_xxx} which you input into the partition command) sm list-volumes all sm set-force-adoptable true sm partition disk:xxx,xxx or xxx_xxx sm set-force-adoptable false sm list-volumes all important reboot device Once rebooted go to Settings --> Storage & USB and tap your SD card. Tap the three dots in the upper-right hand corner and then choose Migrate data. Are these the command and order/sequence you followed?? – Bo Lawson Mar 3 at 11:20
  • 179,64 was what was in his code that i copied. Sorry though, I've been outta tech stuff for a while, but im not totally unfamiliar from my younger days, so I'm having to adapt to adb commands and terminology. That being said, what is the difference between 'mixed' and 'private'. Have my thoughts, but be better if i just let you clarify. The other forum didnt include the cmd sm list-disks, nor did it mention Migrate data. – blakburner Mar 4 at 7:29
  • Be nice if I could put a few returns to separate the lines in my comments, but every time I press enter, it hits the blue Add Comment button instead of doing a line return. Guess I can't separate anything correctly lol. Guess I need to brush up on my code to manually enter. [P] or <P> perhaps lol. I even copied and pasted from notepad app, which had line returns..still none here smh – blakburner Mar 4 at 9:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.