Using microSD space on android

by james on September 16, 2016

in Education

I’ve been wrestling with the lack of space on internal memory on my android device. It has a microSD card slot and I have a 64 GB card in it. However, the vendor, LG in this case, does not allow me to set the external SD card to be used as if it were internal storage, nor will it allow me to move apps to the card.

The net result is a great deal of frustration. But finally, here is a solution that does not require rooting the device. Rooting would be nice, but has turned into another headache as none of the standard rooting softwares are up to date with my device and the Marshmallow 6.0.1 that it is currently running. I’m not savvy enough to go beyond kingoapp.com and similar wire free rooters.

So here is my solution, step by step.

 

My tools: LG K3 phone, without a SIM card; A Windows 10 desktop computer.

  1. Download adb. I used the 15 second adb installer. Follow the link instructions in accessing developer tools and making sure OEM and USB settings are correct. Once installed on my desktop I was able to attach the android device to the PC with the microUSB cable.
  2. Open a command shell in windows. Do this by typing cmd in the search box.
  3. I happened to open this in the D:\Droid Directory
  4. D:\droid> adb devices
  5. D:\droid> adb shell sm list-disks adoptable
    disk:179,64

disk:179,64 is my SD card that can be made adoptable, I want 60% as external SD, and the rest as internal

 

6. D:\droid> adb shell sm partition disk:179,64 mixed 60

7. Next I renamed the adopted storage.

8. Since I would like all the apps installed from now on to be on the adopted SD partition by default, one must choose the Migrate Data option from the Settings/General/Storage & USB menu. Click on any of the partitions, then look for the three options dashes at the top right and choose Migrate Data.

9. D:\droid> adb root pm set-install-location 2

This makes apps install on the storage by default where possible. (Location 1 means internal, and 0 means auto-choose).

Share

Previous post:

Next post: