Hi xda
I am from Philippines and trying to find out a way to enable adoptable storage on Huawei Gr3 a.k.a P8 Lite and read about adoptable storage feat not working or taken out from Android N. I was trying to adopt my sdcard Gr3 and my previous phone Samsung J2 prime suffers the same internal storage issue Nougat firmware seems to take a large partition on usable storage so the only way without rooting is to adopt a sdcard, i had no problems with adopted SD on my samsung J2 prime. so here's how i did it
Disclaimer:
I will not be responsible to whatever happens to your phone
Formating SD will erase all data so backup first
What you need
ADB, your p8 lite, data cable and phone drivers (which will automatically install when you plug in your phone in your PC)
ADB is available here in xda,i recommend using Minimal ADB
1. Go to your phone settings and enable developer options by going to settings>about phone > tap build number several times untill you get a 'you are now a developer' promt
2. navigate to usb debugging and toggle it (enable it)
3. Connect your phone to pc wait for drivers to be installed
4. keep an eye on your phone a prompt will appear RSA key authorization prompt, check always trust and tap ok/accept
5. find your minimal adb download extract folder to desktop or find where your adb directory is
6. if the folder is in desktop click on it and press shift then click open new proccess here.
7. Windows CMD will appear
8. type adb devices
9. you will know if your phone is connected if you get a 'device xxxxxxxxxxx' (x are numbers and letters)
10. type adb shell
11. type sm list-disks then hit enter you will get your sd card id which looks like this disk:179,192 (this is my sd id yours may be different)
11. This is important you need to unmount first your sd card so we need to type in the unmount command sm unmount disk:xxx:xxx (xxx:xxx is your sd id it should look like this sm unmount disk:179,192 check your storage your sd should be ejected
now you need to mount it again just type sm mount disk:xxx:xxx
12. now check back storage and look if sd is mounted. if it is mounted lets proceed to adopting it
13 type sm set-force-adoptable true then hit enter
14. type now sm partition disk:xxx:xxx mixed 50 or private (mixed 50 is 50% internal 50% adoptable while private is full adoptable)
Finally check on your storage you will now see total volume is 32gb (i have 16gb sdcard+16gb internal)
on storage you will see a new sd under internal storage click on it and tap below the 3 dot menu and tap migrate data
Congratulations your sd is now adopted and part (or whole, depending on your choice) is now formated as internal storage
Notes:
1, you need to use fast sd cards.
2. installations will automatically go to your adopted space
3. sd cannot be used on other devices
4. only the public part of sd will be displayable on PCs
thank you
Thanks brotha
Thanks it worked for my Huawei GR3 2017
-
Recently Huawei released a patch (i think it's the google security updates for nougat) for our device, i wonder if it affect the adoptable storage?
Thanks for the clear and comprehensive instructions - easy to follow and seems to have sorted the lack of storage on my P8 lite.
how i can do it on p8 lite(pra-lx1) Andorid 8.0 ? İts not working?
mustafademiral said:
how i can do it on p8 lite(pra-lx1) Andorid 8.0 ? İts not working?
Click to expand...
Click to collapse
any updates?
jedtan025 said:
any updates?
Click to expand...
Click to collapse
No.
mustafademiral said:
No.
Click to expand...
Click to collapse
ok anyway bro can u check morfuz thread i have a question there. need it asap
Hi, I am quite noob working with adb and I am confused about the private part that says that is not recognised in pc. It means that if I use the 100% of the SD it would be impossible to transfer photos and videos to the pc?
Thanks in advance!
I have done it with j2 and p8 lite. Would it work with other nougat phones also? TIA kabayan.
Hello, I could use your help.
I got to the part where I found my disk ID. But when I use the command "sm unmount disk:179:192" it doesn't seem to do anything. CMD gives me "usage: [all commands of the adb shell). It actually doesn't give the option "sm unmount DISK:" which seems weird. Does anyone know what I might be doing wrong?
I have a Huawei p8 Lite 2017 PRA-LX1 with a Samsung Evo Plus MicroSDXC 128GB.
Didn't work for me on my huawei GR3 2017....
Can anyone please help me asap ??
Related
First,I'm not responsible for you or your device and your incompetence (READ INSTRUCTIONS CAREFULLY)! Now you want to root your tablet.If your not comfortable with rooting or don't know what your do go read up on rooting and the come back.Now others have claimed kingoapp work to root the digiland DL700D but, I had no luck . I personally used RootGenius works great rooted device less then 2 minutes and the up side to RootGenius is it automatically installs kinguser which runs the latest version of SuperSU.
First:install RootGenius on PC
Second:connect tablet to PC via USB (MAKE SURE DEVICE IS IN USB DEBUGGING MODE) which can be changed in developer options.
Third:if connected should only have to click root
Once rooted you want to verify root to do this download root checker from Google play
Congratulations your device is rooted! Should come up
Now the SD card issue so you can download over 1.30GB files from Google play,ect.
Download External 2 Internal
Once you've done this go to settings in ext 2 into
Now check the rescan box and the box under that
Now go to the bottom of the page click view other devices then scroll down and check the numbers # on the SD cards paths
Should look something like this
mnt/extsd/179:1
mnt/sdcard/93:72
mnt/secure/sdcard/93:72
Now once you checked your path numbers scroll back up to top of page go to where it says access which will be the third file now clicked that it should bring up your keyboard and now you want to (JUST CHANGE THE NUMBERS #) on the end of path it should say when you first click it
mnt/ext/vold/179:49 now you want it to look like this
mnt/ext/vold/93:72 once you've done this go back to main menu check the box under the button
Now click the button it will bring up a warning then it will say swap done
Now you want to reboot your device once done power device back on after all that go back into external 2 internal
Go back into settings now go back to the third path make sure the rescan box is checked
Now click the third path that says access extsd and (JUST CHANGE THE NUMBERS #) TO 179:1
(DO NOT CHANGE IT BACK TO 179:49)
Now go to settings on device then storage then check the SD card mounts it would have device storage at the top,then it should show your extsdcard mounted where the internal sdcard is and it should have the internal sdcard mounted where the extsdcard is some cases it just shows the extsdcard twice not a big deal
(NOTE YOU HAVE TO REPEAT THESE STEPS IF YOU REBOOT OR POWER OFF DEVICE )
I have found that it does not erase any account settings in the games or any progress there's also a video for the external 2 internal swap on YouTube.
Dl700D micro sd card issues
i tried following your guide to be able to use my micro sd card for games and such and used Root External 2 Internal SD while following your guide, please let me know if this is the program you used, because I keep getting lost with your instructions, if this is the program you used, please, if you could, send me more detailed instructions, if its not the program, let me know which one you used.
Thanks, Josh
Root
groundhog123 said:
i tried following your guide to be able to use my micro sd card for games and such and used Root External 2 Internal SD while following your guide, please let me know if this is the program you used, because I keep getting lost with your instructions, if this is the program you used, please, if you could, send me more detailed instructions, if its not the program, let me know which one you used.
Thanks, Josh
Click to expand...
Click to collapse
I used something called Root Genius. First I needed to enable "USB Debug Mode" (go to "about this tablet" and tap the build number 7; you get a developer menu under settings where you can turn debug on). When I plugged it in, I needed to install a driver for the tablet that was signed by a Chinese developer that made me nervous (Malware Bytes didn't find anything afterwards), followed the instructions, and it was rooted in just a few minutes. Good luck!
Now I've got to find Lollipop ROMs for this tablet.
hi all, i recently joined this forum to learn more. this is my first post and i am not an expert and still nub
i am sorry if my question is nubby but i didnt find the question anywhere else on forums so please help.
i recently rooted my android phone just to transfer app and app data to sd card as i read that we can do that after root.
so i rooted android phone and partitioned the sd card with a fat32 and a ext2 filesystem to store personal and app data respectively. i found tutorals on internet to do this and found a app called link2sd links and transfers all apps to sd card easily. i am using that app but i cant buy its paid version from google play. so i am not able to link the internal data to sd card as it requires the plus version. so i thought i would manually copy that internal data and paste it on the sd card and here are the problems i face :
1. i copied the internal data on the fat32 partition but it was of no use and the app again download data on internal memory
2. i thought to copy data to ext2 partition but i cant view that partition or explore it from es file explorer and root explorer both
so i wanna ask is there any way i can manually link that internal data to sd card without using link2sd plus, and how can i view that ext2 partition in my android phone.
thank you all in advance and please help.any help wud be really appreciated
I can give you a way to install any app to your sdcard directly
first of all you should have all these in your pc
java-7-jdk
usb driver for your phone
android sdk
adb
now go to the direction where you install android sdk
now open SDK Manager.exe
uncheck the mark from all except android SDK platform-tools
click install then accept all
on your phone mark usb debugging
then open the command where you had installed SDK (click shift whit the mouse button right -- open command window here)
connect your phone
then type adb devices -- to check that your phone is connected -- it will give you this
List of devices attached
************ device
then type
adb shell pm set-install-location 2
that's it
if you want to reinstall on the phone storage type
adb shell pm set-install-location 0
be free said:
I can give you a way to install any app to your sdcard directly
first of all you should have all these in your pc
java-7-jdk
usb driver for your phone
android sdk
adb
now go to the direction where you install android sdk
now open SDK Manager.exe
uncheck the mark from all except android SDK platform-tools
click install then accept all
on your phone mark usb debugging
then open the command where you had installed SDK (click shift whit the mouse button right -- open command window here)
connect your phone
then type adb devices -- to check that your phone is connected -- it will give you this
List of devices attached
************ device
then type
adb shell pm set-install-location 2
that's it
if you want to reinstall on the phone storage type
adb shell pm set-install-location 0
Click to expand...
Click to collapse
Ah, thanks a lot mate for your help. I may try it bt is there any simpler way like a app like link2sd which does nt require purchase or just transfering the data from root folder . Also can any1 tell how can i explore ext2 partition?
[/COLOR]
sweetlemon said:
Ah, thanks a lot mate for your help. I may try it bt is there any simpler way like a app like link2sd which does nt require purchase or just transfering the data from root folder . Also can any1 tell how can i explore ext2 partition?
Click to expand...
Click to collapse
try this .exe program
mobilego
http://download.wondershare.com/mobilego_full818.exe
or use this if the option move to sdcard isn't appear on apps info http://www.mediafire.com/download/a46l27yiupgw1vm/GeeksAR.com.App2SD-Patch-ENG.zip
use this to read ext2
https://docs.google.com/file/d/0B4UdboVnxTSkWmhmTkNhcFZ4UzQ/edit?pli=1
Prerequisites:
ADB installed on your computer
Debugging and MTP enabled on your phone
A fast, reliable SD card (drop the money on the expensive one)
MS550 ADB drivers installed on you're computer
If you have problems with the device drivers installed , you will need to install LG Bridge app that contains the device driver here:
LG Bridge
Get a Simple ADB App Installer here: Google Drive
Or here: Rootjunky
Unzip the Simple ADB App Installer directly to your desktop. Look for the file called 1 Simple ADB app installer V2.bat and click it. This will install the ADB and fastboot files to your desktop.
On your phone, go to Settings and scroll to About Phone and select it.
On the next screen scroll to Software info and select it.
Now click on Build number 7 times and that will unlock the Developer Options menu in settings.
Click the back button twice to get to the main settings screen and select Developer options, then click OK on the popup.
Scroll down to USB debugging and turn it on. (Your phone can't plugged into the computer to do this)
Now scroll down further and find Select USB Configuration and select it. On the next screen select MTP (Media Transfer Protocol). Click Use Always and then Use Always again.
Now you're ready! Now would be a good time to backup everything on you're external SD card because this process will wipe EVERYTHING on it.
Plug you're phone into the computer (preferably with the data cable that came with the phone. I've had experiences where I couldn't transfer data using aftermarket cables). A window should pop up asking for permission for the phone to be connected to USB debugging. Go ahead and allow it.
On the desktop of you're PC, press "shift" and "right click" at the same time. Select the "Open Command Window Here" option.
In the command window type:
----------------------------------------------------------------------------
adb devices
--------------------------------------------------------------------------------
**Then hit "enter". You should get something like this as a response:
----------------------------------------------------------------------------
C:\Users\Michael\Desktop>adb devices
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
LGMS550f1a80a device
c:\Users\Michael\Desktop>
--------------------------------------------------------------------------------
**Now enter the following commands, hitting enter after each line, and in order:
----------------------------------------------------------------------------
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
--------------------------------------------------------------------------------
The fourth command partitions your SD card, so it might be a couple minutes before it finishes.
** Please don't forget this part **
Disconnect your phone from the USB cable, go to Developer Options and disable USB debugging, then reboot it. It might take longer than usual to boot this time (mine didn't).
Once you're phone is fully booted, go into Settings, scroll down to Storage & USB, and tap on you're SD card. Tap the three dots in the upper-right corner and select Migrate data. This process might take a few minutes but, POOF... you're done.
[[Don't give me any credit for this. I just did a bunch of Googling and experimenting on my phone to see if it works. I CAN tell you this though... this process didn't work when I had my bootloader unlocked and TWRP and SuperSU flashed to my phone. (For rooting your MS550, go to the [Recovery] Twrp v3 For Lg Stylo 2 Plus thread)
Credit goes to ORaMI for the tutorial, Rootjunky for the ADB installer, and messi2050 for the link to LG Bridge for the drivers.]]
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”.
Def, thanks dude for getting this out there, alot of other peeps comments, tut's on this left out all of these!
Also, if you see a "greyed out sdcard" listing under device storage.... it will not have size, or any other numbers, clicking on it will get you a pop-up with the option to "forget" it. It works, and its okay to do it!
Have a nice day!!!!!!!!!!!!!
Confirmed working on my MetroPCS stylo2 plus
Recently bought my stylo 2 plus from MetroPCS along with a 64gb sd card, tempered glass screen protector with military grade phone case... Anyways noticed no options to move apps to sd card searched and found this post on the forum, followed the instructions and "WALLA" It works !!!
Not sure why they disabled this feature in the first place.
:good:
coolbeans2016 said:
Adoptable Storage in MM:
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)
Click to expand...
Click to collapse
Just to clarify, the 'mixed' part should go like:
Code:
adb shell sm partition disk:179,64 mixed 80
You would use that instead of 'private'. That would partition it so that 80% of the SD card would be available as portable storage, leaving 20% for adopted internal storage. If I understand that correctly, that would mean you'd get the best of both worlds, and you'd still be able to remove the card [when your device is powered down] to use it elsewhere. I assume that it would only be wise to remove the SD card when you device is powered down, since it's now being used as internal storage for both apps and whatever-else.
Very cool stuff! I did not know that this was possible without root. I was just on my way to root specifically for this ability, as you can enable it in the build.prop. Though when enabled in the build.prop it does not produce an identical outcome, the method posted in this thread seems superior.
There seems to be some anecdotal evidence that using the 'mixed' parameter can be touchy. This post here offers some insight into that, and plenty of troubleshooting help for those still struggling (see the comments).
Thanks much!
This worked on lg stylo k557 fido.
when i type in adb devices in command prompt is saying adb is not recongnized as a internal or external command, opratable program or batch file why is this
adrian162002 said:
when i type in adb devices in command prompt is saying adb is not recongnized as a internal or external command, opratable program or batch file why is this
Click to expand...
Click to collapse
ADB has probably not been added to your path, that is if you have installed the Android SDK stuffs.
Try this instead and enjoy limitless success: Minimal ADB.
Adoptable Storage then rooting?
OldAzzNoob said:
Don't give me any credit for this. I just did a bunch of Googling and experimenting on my phone to see if it works. I CAN tell you this though... this process didn't work when I had my bootloader unlocked and TWRP and SuperSU flashed to my phone.
Click to expand...
Click to collapse
Is it possible to root my phone after I have enabled adoptable storage (no root)? Or can you just pick one currently?
laloalmaraz01 said:
Is it possible to root my phone after I have enabled adoptable storage (no root)? Or can you just pick one currently?
Click to expand...
Click to collapse
Yes it's possible.
messi2050 said:
Yes it's possible.
Click to expand...
Click to collapse
Well thats good, but can you help out with this error I'm getting? I'd appreciate it.
It says something about error: java.lang.Illegalstateexemption and when I try to partition my sd card it says the same thing but that it timed out.
Edit:
Error: java.lang.IllegalStateException: java.util.concurrent.TimeoutException: Thread Binder_4 gave up waiting for partitionPrivate after 180000ms
Getting errors when partitioning the sd card
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
LGK5504ef15a58 device
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell sm list-disks
disk:179,64
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell sm list-volumes all
private mounted null
public:179,69 mounted 7F7A-6A60
emulated mounted null
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell sm set-force-adoptable true
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell sm partition disk:179,64 private
Error: java.lang.IllegalStateException: java.util.concurrent.TimeoutException: Thread Binder_2 gave up waiting for partitionPrivate after 180000ms
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell sm set-force-adoptable false
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell sm list-volumes all
private mounted null
The when I boot up my phone the status of the sd card says "checking" then "corrupted"
It worked but theirs a catch
I have been trying to get my 64 Gb sd card to work as my adoptable storage but to no avail.
Instead, I used an old Transcend 16 gb sd I had lying around and it worked.
I think 64gb sd cards or higher are not able to work but most likely 32gbs and below probably do since my 16gb did.
I wanted to say THANK YOU so much. This worked perfect. I have several sd cards laying around so I tested with my smallest 64gb scandisk and worked perfect.
This worked for me on T-Mobile LG-K550.
I initially ran into this error:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell sm partition disk:179,64 private
Error: java.lang.IllegalStateException: java.util.concurrent.TimeoutException: Thread Binder_2 gave up waiting for partitionPrivate after 180000ms
After rebooting, it said my SD card was corrupted, so I formatted it via the standard UI (I'm terrible at descriptions), then tried again with immediate success.
Thanks for the info!
1. Does enabling Adoptable Storage prevent you from upgrading to Nougat once it's released?
2. If not, how would it behave after the update? Everything on SD card lost?
3. Following this instruction, since it involves repartitioning, I think the microSD gets formatted, correct?
4. Any adverse effect after enabling Adoptable Storage? I know on my S7 Edge, it'll crap out when you shoot photos in RAW and sometimes when you shoot video. I have a Samsung Evo+ by the way, it has no problems doing 20MB/s writes.
5. Anyone have instructions to go back to turning off Adoptable Storage?
Thanks! I hope OP can update the first post with more info.
just tried this and it works well. Had twrp and SU installed. sweet.
i did this on ms550, now when i plug the phone to my pc, it only show the internal storage, and it only shows the total storage available of the internal storage.
i cant eject the sd card.
how do i un-mount the sd card?
METROPCS LG Stlyo 3 Plus
I was just curious, and forgive me for posting in the wrong thread, would this given method work for the Stylo 3 plus (LGMP450) as well? I have a Samsung Evo Plus 128GB CLASS 10 running Stock 7.0 . Any feedback that you could give would be greatly appreciated. TY
Didn't find anything on here about it and just wanted to report I have it working on my ZTE Grand X 4
I followed steps from another device once turning on developer mode, usb debugging and installing ADB on my PC
Then I
Adoptable storage:
1. Open your command window / terminal on your computer and type the 'adb shell' command with your phone connected.
2. Type 'sm list-disks' to list the disks available for adoption. It'll look something like below - take note of the disk ID (disk:179:160 or disk:179,160).
3. Partition the disk. To partition the disk above as fully adopted storage, use the command 'sm partition disk:179,160 private'.
4. Reboot
5. Migrate data
It did throw an error after step 3 but all went well. Hope this helps someone. This site has gave so much to me.
Have you found a way to root your grand x 4
thegijew91 said:
Have you found a way to root your grand x 4
Click to expand...
Click to collapse
wondering this as well. There seems to be zero effort right now. I'd try, but I wouldn't even know where to begin.
I keep getting the error
Error: java.lang.IllegalStateException: java.util.concurrent.TimeoutException: Thread Binder_D gave up waiting for partitionPrivate after 180000ms
this is after the partition command. what am i doing wrong? also it keeps corrupting my sd so i have to keep reformatting
I just got a prompt on my phone to format the card as internal storage but i have no idea how I got that option.. too bad the card was corrupt. so apparently its possible on the grand x 4
Thanks .It worked great .
I got error on the first attempt .
Second time I used
sm partition DISK:179,160 private
Instead of
sm partition disk:179,160 private
I dont know if that made any differance , but it worked .
Thnaks.
Glad the adoptable storage is working for you. My mom has this phone so I have not tried to root. Not sure when or if this will happen, but on other devices after upgrading to android 7 the adoptable storage was no longer recognized so back up and data before upgrading.
Worked for me
Thank you!
How did you migrate the data after you did the partition? I've done the partition and rebooted the phone but there's no indication that it worked. Individual apps still don't give the option of being moved to the SD card, the phone still separates the internal and SD storage, and the option to have data default to external is greyed out. I didn't get any error messages after the partition or the reboot.
I have done these steps successfully with both of my ZTE Majesty Pros.
The only frustrating part is, many apps like McDonald's & Burger King which are fairly large seem like they are forced to install on internal and not external.
Other apps such as Walmart which I know on Lollipop is allowed to move, immediately installed to the card just fine.
I was hoping I'd have way more data freed up off internal using this method but I only freed maybe 300MB and it seems everything else just stayed on internal even after I tried moving everything I can to external.
Enable USB Debugging under developer settings.
In ADB, execute:
Code:
$ adb shell
user:/ $ sm list-disks
disk:179,x
user:/ $ sm partition disk:179,x private
user:/ $
Go to settings > storage and migrate data to SD-card.
Can you please give basic details and instructions on how I could do this to my Tab A (SM-T350). I thought the only was I could get adoptable storage with a micro sd card was to root. Sorry I'm new and would like to increase the storage on my tablet.
This is very difficult to attempt. I cannot get it to work.
This worked perfectly on Marhsmallow.
Does anyone know if this works on the 7.1 Nougat update?
Thanks
About to try it on my SM-P585M
Sorry for the easy question. . . "In ADB, execute:" How do i do that?
[Ignore, i got it]
I have a single command line to enable or disable, for install to extenal sd. As for 6.0 and above, adoptable storage is the way to go, and otg with a micro sd to USB/OTG adapter.
i am trying it on samsung tablet and sony phone , it is not working any tips , i am able to connect with adb and and teh command are working and i am getiing the command prompt after without error message still nothing chaged in the phone
We need to find a solution for the new pie update on the t590 Galaxy Tab A 10.5
WTF
Just tried it in ADB on my SM-T595, doesn't work at all LOL, good try.
Works perfectly in marshmallow and nougat, but not in oreo. Will stick to nougat then. Thanks!!!