Introduction: LG 4 Adoptable Storage Android M 6.0 . No Root

Here’s how to enable adoptable storage ( SD card as an internal storage ) on your LG device with Android 6.0 Marshmallow. It’s really simple:

Enable USB debugging in your smart phone. To enable it, go to SETTINGS select DEVELOPER OPTIONS and check on USB Debugging

Download this SDK file .

https://drive.google.com/open?id=0B1nan93XP24OQ241...

Once downloaded, right-click on adb-setup-1.4.3.exe and choose “Run as Administrator”.

Press Y to “install ADB and Fastboot”, Y all users and Y to install the necessary drivers.

Then Allow to install the Google device driver.

OPEN COMMAND PROMPT on your PC

Navigate to SDK Folder (( C:\adb )) and open Command Prompt
(Shift + Right-click anywhere in the folder > Open Command Prompt Here).

Type this command and hit enter.

-----------------------------------------------

adb devices

-----------------------------------------------

You should now see your device listed .

Type the following commands exactly as shown, pressing the ENTER key after each one:

----------------------------------------------------------------------------------------------------------

adb shell sm list-disks

adb shell sm list-volumes all

adb shell sm set-force-adoptable true

adb shell sm partition disk:179,64 private

adb shell sm set-force-adoptable false

adb shell sm list-volumes all

----------------------------------------------------------------------------------------------------------

NOTE: the fourth command partitions your SD card, and may take 2-3 minutes (or longer) to complete, depending on the size of your card. plus make sure you have a reliable and fast SD Card.

Disconnect your phone from the USB cable and reboot it. The reboot is crucial. Your phone may (or may not) take a bit longer to boot this time.

Once your phone is fully booted, tap Settings > Developer Options and disable USB Debugging, clicking “OK” to any messages that may appear.

Go to Settings > Storage & USB and tap your SD card. Tap the three dots in the upper-right corner and choose “Migrate data”:

Done

O'Rami

Comments

author
franzl11 (author)2017-06-23

It work transferring apps. But the SD card is gone for transferring regular files like music picture video etc.

I'm using LG Stylo 2 Dual Sim. any fix for this? and anyone know how to root this?

author
RubénG68 (author)2016-12-06

Thanks for the instructions, it works perfect, but sometimes, every 2 ot 3 days my se card starts to work in read only mode. I restart the phone and all work nice for 2 or 3 days.

Have someone the same problem?

Thanks

Phone lg k8

author
helpers (author)RubénG682017-05-30

Hi Can you help with step by step instructions of how i do this on lg k8?

author
mozier (author)2016-12-11

Will it work all LG phones ? I have LG K8 and would like to try this but I wantedto check first hat do you think :)

author
gtd2000 (author)mozier2016-12-22

Finally got it to work on the K8 - installed the 32bit C++ files (already had the 64bit installed) and then went through the process a couple of times, before it finally worked out with a 32GB card.

author
helpers (author)gtd20002017-05-30

hi please can you give me the step by step instructions to get this working on my K8. I am a novice. What do I need to download? and what do I need to do? Much appreciated.

author
JessH26 (author)gtd20002017-02-05

Exactly where did you get the C++ library and which one? can you possibly share a link?

author
AshwedR (author)gtd20002016-12-31

HOW did you do it??? pls help me

author
gtd2000 (author)mozier2016-12-22

Followed the instructions to a T with my LG K8 and no joy.

Wondering if it's the SD card that's causing the problem - will try another card and report back!

author
wcreativo (author)2017-04-01

Great!! I followed your instructions and everything its working!! Thanks a lot

author
Shminkelcuber. (author)2017-03-26

When I try to download the sdk file it says invalid format. Does anyone know why?

author
andym220 (author)2017-03-18

I followed your instructions, but at this moment I lost data from my external SD card, so I am trying to rescue them first. but during procedure, I received JAVA error message, so I think that it wouldnt work for me. I will try another computer anyway. BTW I have LG H440N android 6.0 + Windows 7 PC

author
ShadiN1 (author)2017-03-16

Followed the instructions and work perfectly fine now!

Faced 2 obstacles:

1) "adb devices" wouldn't find my device. after hours, this page helped.

2) I was getting an error running "adb shell sm partition disk:179,64 private". Make sure to replace the disk value returned from "adb shell sm list-disks" with "179,64". In my case my disk was 179,128.

Thank you!

author
NikkiJ20 (author)2017-03-10

I just followed the instructions above and it worked. I am so happy I was stressing so hard about the space on my phone. Had I known that you couldn't store apps on the sd card I wouldn't have bought this phone, but it was such luck that I found this web-site with these instructions. These where the easiest by far to follow. Who ever put these instructions up is such a life saver. Thanks a bunch.

author
MunafR (author)NikkiJ202017-03-11

please help me to fix this issue

what.png
author
NikkiJ20 (author)MunafR2017-03-11

Hi! Happy to help First I would just follow through with the commands to see what the results are or just go through the steps again. Make sure in the process of doing this you look at your phone to see if it is asking your permission to tak an action.

1.First
make sure that you Enable USB debugging on your smart phone go to SETTINGS select DEVELOPER OPTIONS and check on USB Debugging Then make sure you use a usb cord and plug
your phone into the computers usb outlet

2. Take this link and download it on your computer
►►https://drive.google.com/open?id=0B1nan93XP24OQ241...

3.Then
you install it on your computer like you would any software or application choose “Run as Administrator”.

4.For
every question it ask you type Y so you do this for number 5 below because this
is what it will ask you, and again you just type Y

5.Press
Y to “install ADB and Fastboot”, Y all users and Y to install the necessary
drivers.

6.Then Allow to install the Google device
driver.

7.Once
it downloads you right click on computer then click on open then you double
click on C the picture below

8.Then
you look for the file adb

9.Double
click on that file when it opens you need to open a command prompt here, you do
this by pushing Shift +
Right-click anywhere in the folder > Open Command Prompt Here).

OPEN COMMAND PROMPT on your PCIt will look like this

For this part I just copied the commands one by one and entered
them by right clicking and selecting paste. Now one important thing before you
start entering the commands is make sure your phone isn’t requiring you to
select an option so when you put in the first command if it returns a response
as unauthorized look at your phone, but if it does not then that means
everything should be working fine.

Type this command and hit enter.

-----------------------------------------------

adb devices

-----------------------------------------------

You should now see your
device listed .

Type the following commands
exactly as shown, pressing the ENTER key after each one:

----------------------------------------------------------------------------------------------------------

adb shell sm list-disks

adb shell sm list-volumes
all

adb shell sm
set-force-adoptable true

adb shell sm partition
disk:179,64 private

adb shell sm
set-force-adoptable false

adb shell sm list-volumes
all

hope this helps.

author
MunafR (author)2017-03-11

why it is not working can Anyone help me.Please!

what.png
author
lfis492a (author)2017-02-22

Hello,

Does this format or delete the files off my sdcard when it repartitions it?

author
ErikS151 (author)2017-02-16

Worked perfectly on my AT&T LG G5! Thank you!

author
JessH26 (author)2017-02-11

I'm getting a java error on the 4th command... anyone else have that problem or know what I need to do to get around it?

Error: java.lang.IllegalstateException; command '1105 volume partition disk; 179,64 private' failed with '400 1105 command failed'

author
JessH26 (author)2017-02-05

Ok... I got all the way to #4 then I'm having the same issue as others... can anyone share the link to the correct C++ library I need... PLEASE and THANK YOU!!

author
MarcG71 (author)2017-01-10

Works on my LGK8 !!! BUT, Even if you intall big apps on the SD card as internal, some files stay on the internal storage, once the internal memory full (8Gb), he won't let me instal more apps, he tells me to make more storage room... anyone else has this problem??

author
mezgin (author)2017-01-07

Many thanks for the helpful and clear instruction. But since I did the change, I have a problem with updating my apps, which are moved to sd card. When I download a newer version of an app, and want to install it, after a few seconds, I see an error message, but when I move the app to internal storage, the installation process works properly. Have you any idea to solve the problem?

author
avtnetherlands (author)2016-12-25

I have a LG K8, after running the third command i get an error,(java.lang IllegalArgumentException) if i continue i also get an error at the fourth step(java.lang.IllegalArgumentException: command '20 volume partition disk:179,4 private' failed with '500 20 unknown disk') what is going wrong ? i tried with two differtent SD cards.

foutmelding.PNG
author
JeremyB167 (author)2016-12-18

I am stuck. I have the Metro Stylo 2 Plus (LGMS550). I installed the attached ADB tool and enabled debugging on phone. When i install the necessary drivers, google apk and navigate to folder C:/adb and enter the command line there, I can't get passed the: adb shell sm disk-lisks step. It says error: device '<null>' not found. What am I doing wrong, please help as i need to move files to sd (im starting to regret this phone)

author
julesmilluh (author)2016-12-17

Hi! Let me preface this by saying this is very new to me (I just really need more space on my phone), so I'm sorry if this is a silly question.

So I seem to have everything working correctly up until writing the prompts. When I get to "adb shell sm list-disks" I get "/system/bin/sh: sm: not found" so I tried typing in just "adb shell" and I get "127shell@g4stylus:/ $" but anything involving "sm" after that gets the same message. I tried downloading both the newest versions of the C++ library and the Google's Android SDK and restarting both my phone and computer, but it didn't change anything. What am I doing wrong here?

Thanks in advance!

author
Lock922 (author)2016-12-09

I have win 7 64 bit there are so many c++ library downloads at microsoft I don't know which one to download and there's X64 and X86 you got 2008 simple library, 2008 sp1 and the list goes on which one do I need to download

20131217023634a0dnqt3w7704hm50.jpg
author
tobmeister (author)2016-12-06

sm: not found

author
terry.elvers (author)2016-12-05

Wonderful - THANKS!

Worked on my LG Stylo 2 Plus, running 6.01.

Thanks

Terry

author
zmcdaniel893 (author)2016-12-03

Thanks so much for this post, it looks awesome,
but I am having trouble. (Due undoubtedly to my newness at stuff like
this) I think my problem is that I am not where to find the SDK folder.
I don't see a C:\adb folder. So I downloaded and installed the full
Google Android SDK people have mentioned below. I still don't see a
C:\adb folder or an SDK folder at C:\Program
Files\Android.(An adroid studio folder is there but no SDK folder in their
either.) I do an SDK folder at C:\Users\%USERNAME%\AppData\Local\Android
but when I open command prompt in there and try to run the adb devices command it says "adb is not
recognized as an internal or external command, operable program or batch
file." So I tried to reinstall the SDK file listed above in your
article but when when I enter Y for "Install ADB system-wide" I get
"access is denied". Any help would be appreciated. Thanks
so much!

Capture.PNG
author
Lock922 (author)2016-11-28

I have the lg stylo 2 plus and I dont see any developer options in options is there anything else it could be in

20131217023634a0dnqt3w7704hm50.jpg
author
AdrianR104 (author)Lock9222016-11-30

you need to go to options / about pone / software info.

click a couple of times on software info, the will allow you the developer options.

author
AdrianR104 made it! (author)2016-11-30

Work on LG Stylus 2 Plus LG-K530F

thanks a lot...

Funciona en el

Capture+_2016-11-30-13-30-00.png
author
reflectier (author)2016-09-13

Excuse me but It didn't work for me! It did appear a error in one of the steps! Is there anything I am doing wrong? ;;

microsdhelp.png
author
reflectier (author)reflectier2016-09-13

Oh nevermind, it worked now!! Sorry and thanks! <3

author
Rafi_Nizar (author)reflectier2016-11-29

what did you do?

author
ZacharyS59 (author)reflectier2016-11-17

Yeah, just like I posted to another above, with Win 7 sometimes you have to go to Microsoft's website, get the C++ library update file & install for ADB commands.......

author
nlaszlo (author)2016-10-14

Thank you for this instructable. I followed the instructions and believed this worked because immediately after I rebooted all updates started and successfully downloaded whereas before I had no room left. My question is, I have many apps which are still saved on to the internal memory and cannot be moved (I have AppMgrIII). Is there a way to move them after doing all of this without rooting phone? I do not have many apps on my phone but the ones that are saved to the phone memory are all large files (ie google, spotify, etc).

Thank you

author
ZacharyS59 (author)nlaszlo2016-11-17

follow my instructions above & "migrate data" or your really not using full adoptable storage........... js smh

author
nlaszlo (author)nlaszlo2016-10-14

I may have just answered my own question. When I went in to the AppMgrIII app, clicked on the apps which were not movable/phone only, went to app info and then manually changed it to SD card it moved it from phone memory to sd. Thank you so much!!! I was ready to throw this phone out the window for insufficient storage!

author
AnthonyR164 (author)2016-10-21

i got timeout error I got Lg Stylo 2 Plus Metro Pcs 6.0.1 and I rebooted and I got the option to migrate data as described and it seems to be transfering over however I noticed the first time I did it I could not gain access to my sd card via usb so I had to choose use a portable storage which wypes the card again and it sets it back to default . I got a lot files so I need to be able to get at my sd card via windows anyone else able to move pictures and files with usb after doing this >

author
ZacharyS59 (author)AnthonyR1642016-11-17

sm partition disk:179,64 private (replace with mixed what number you want to be external, ie: mixed 80 will leave 80% of card as external, 20% external)

makes the sdcard have internal use & portable use which makes the computer discover it like normal

author
JamesV89 (author)AnthonyR1642016-10-22

I had no trouble Tmobile LG Stylo 2 Plus 6.0.1

author
Bongy100 (author)2016-09-28

I keep timing out on the "adb shell sm partition disk:179,64 private" command does anyone have any ideas? I am doing on on an LG K8 and keep getting the below error message.

Error: java.lang.IllegalStateException: java.util.concurrent.TimeoutException: Thread Binder_7 gave up waiting for partitionPrivate after 180000ms

author
ZacharyS59 (author)Bongy1002016-11-17

You have to install the C++ libraries (downloadable from Microsoft) in 32 bit even if your running 64 bit OS...........

author
ZacharyS59 (author)Bongy1002016-11-06

Yep, even after doing all the settings, ie... developer options, yadda yadda, once connected to the computer, pull your drop down notifications and you see the usb notification, clicking on this will bring up a multiple choice list and it will be for charging only. You have to set it to file transfer!

author
ZacharyS59 (author)2016-11-06

adb shell

sm set-force-adoptable true

sm partition disk:179,64 private (mixed 50 instead of private gets 50/50 on card)

sm set-force-adoptable false

sm list-volumes all

Before doing these commands, go ahead and let the device format the sd card your going to use or it will during the commands above and restart your phone.

If you get a greyed out sd card listing, click on it and it will give you the option to "forget" it.

After your have done above commands, rebooted. Under storage it will show you your internal, and external card, more if you have mixed use of it. The three dot menu, top right, should give you the option of formatting to portable storage if you were successful. Also going under apps, choosing an installed app, the storage listing under it when clicked on will give you the option of internal/external.

author
KathrynR22 (author)ZacharyS592016-11-17

This definitely worked. I was able to move over the apps to my sd card. Why did they get rid of the sd card naming and creating it as a portable? This didn't make sense for Marshmallow and LG to team up for this update. ugh!

author
ZacharyS59 (author)KathrynR222016-11-17

I don't know, the responses I have read to this have been the usual bs....

"A person will not be satisfied with computer not recognizing sdcard" (if entire card is formatted to internal)

And if sdcard ever fails this will leave a person without their files.....

Gee that is the scenario for anyone who does not backup their device!

I'm in it with LG right now about the bootloader not being accessible after ZV4, ZV5, & ZV6 updates. The phone is not recognized by the computer even if adb recognizes it after you boot into either "android recovery" or download mode (firmware upgrade). Trying ADB reboot bootloader, or reboot bootloader from android recovery just accomplishes booting the phone to its desktop.

The 'kdz' & .dll files required for LGUP are also not available with BOOST/Sprint variant.

If you purchase a $400 or up LG phone, everything is laid out like a buffet to download, also the LGLS775 does have the kdz, .dll for LGUP with T-Mobile, AT&T, Cricket, Metro.......... go figure

author
ZacharyS59 (author)2016-11-17

More complete set of instructions for adoptable storage:

Adoptable Storage in MM:

adb shell

sm list-disks

sm list-volumes all

sm set-force-adoptable true

sm partition disk:179,64 private (replace with mixed what number you want to be external, ie: mixed 80 will leave 80% of card as external, 20% external)

sm set-force-adoptable false

sm list-volumes all

NOTE: the fourth command partitions your SD card, and may take 2-3 minutes (or longer) to complete, depending on the size of your card. plus make sure you have a reliable and fast SD Card.

Disconnect your phone from the USB cable and reboot it. The reboot is crucial. Your phone may (or may not) take a bit longer to boot this time.

Once your phone is fully booted, tap Settings > Developer Options and disable USB Debugging, clicking “OK” to any messages that may appear.

Go to Settings > Storage & USB and tap your SD card. Tap the three dots in the upper-right corner and choose “Migrate data”.