[GUIDE] Configure SD card as internal storage in Marshmallow on LG Spirit [H440n] - LG Spirit Guides, News, & Discussion

Hello,
Yesterday I've upgraded software on my LG Spirit to Marshmallow (PL/PLAY). Unfortunately it's not possible to root it yet, so after few hours I started to miss Link2SD functionallity. :crying:
I found that Marshmallow shall offer formating SD Card as Internal storage. Unfortunately, it seems that LG disabled this feature. But... it's still possible to enable it via ADB SHELL! :victory:
Here is how you can do that:
Backup your data - for sure, you don't want to lose all your data stored on SD. If you want to lose it, feel free to skip this step
Enable USB debugging mode in developer settings - to enable developer settings you have to tap 5 Times on the build numer.
Open ADB Shell - just open command prompt (Win+R => Type "cmd" => Click "OK") and navigate to your ADB directory (ex.: "cd c:\adb\"), then use "adb shell" command to start shell.
List avaliable disks to get disk ID. It can be done with following command:
Code:
sm list-disks
You will get your SD Card ID (ex.: disk:179,64, which will be used in next step.
Format your SD card by typing below command. Remember to put correct Disk ID obtained in previous step.
Code:
sm partition disk:179,64 private
This command will cause that whole card will be formated as Internal Storage. If you want to use only part of SD as Internal Storage and rest as standard Removable Disk, for example 50:50, you can use command:
Code:
sm partition disk:179,64 mixed 50
Check your storage settings and enjoy additional internal storage!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Cool! Gonna try it soon!

Thanks for sharing,it works

I've been doing this since I installed marshmallow but I'm not sure if it works properly. Every app or app data remains in the internal storage unless I manually move the app to sd. Is that normal?

SteSko said:
Hello,
Yesterday I've upgraded software on my LG Spirit to Marshmallow (PL/PLAY). Unfortunately it's not possible to root it yet, so after few hours I started to miss Link2SD functionallity. :crying:
I found that Marshmallow shall offer formating SD Card as Internal storage. Unfortunately, it seems that LG disabled this feature. But... it's still possible to enable it via ADB SHELL! :victory:
Here is how you can do that:
Backup your data - for sure, you don't want to lose all your data stored on SD. If you want to lose it, feel free to skip this step
Enable USB debugging mode in developer settings - to enable developer settings you have to tap 5 Times on the build numer.
Open ADB Shell - just open command prompt (Win+R => Type "cmd" => Click "OK") and navigate to your ADB directory (ex.: "cd c:\adb\"), then use "adb shell" command to start shell.
List avaliable disks to get disk ID. It can be done with following command:
Code:
sm list-disks
You will get your SD Card ID (ex.: disk:179,64, which will be used in next step.
Format your SD card by typing below command. Remember to put correct Disk ID obtained in previous step.
Code:
sm partition disk:179,64 private
This command will cause that whole card will be formated as Internal Storage. If you want to use only part of SD as Internal Storage and rest as standard Removable Disk, for example 50:50, you can use command:
Code:
sm partition disk:179,64 mixed 50
Check your storage settings and enjoy additional internal storage!
Click to expand...
Click to collapse
Can this work with any Android device having the marshmallow SW version.
Sent from my Lenovo Z2 using Tapatalk

Applications will move to sd card with all their files?
Będzie przenosić całe aplikację? I czym się to różni od przenoszenia na nie sformatowaną kartę?

What is the difference between formatting the SD card as internal storage and transfering the app from internal to SD?

@SteSko: What class card did you use? I've read people over the internet complaining that the write and read are much slower than internal even with Class 10 cards, and that you need a UHS-I card for storage adoption to make sense.
I would appreciate some info on your performance so far. Cheers!

Alanon said:
@SteSko: What class card did you use? I've read people over the internet complaining that the write and read are much slower than internal even with Class 10 cards, and that you need a UHS-I card for storage adoption to make sense.
I would appreciate some info on your performance so far. Cheers!
Click to expand...
Click to collapse
To be fair, class 10 means nothing these days. To qualify as class 10, the card has to have a minimum of 10mb/s transfer speed, while internal memory is uncomparably faster.

jonixas said:
To be fair, class 10 means nothing these days. To qualify as class 10, the card has to have a minimum of 10mb/s transfer speed, while internal memory is uncomparably faster.
Click to expand...
Click to collapse
As far as I know, UHS-I guarantees the same measly 10mb/s, just like Class 10. So even if the technology is better overall - which it is - it's not an actual promise, since it only maximizes the speed potential. People have been experiencing wildly differing transfer speeds on various devices even on those cards, because things just didn't stack up properly. That's why I'm so curious how folks are faring with our device.

To return back to normal use this
sm partition disk:179,64 public 100

Just a heads up - my card died as I was trying this. Probably because it was old, and not because of this, but I just wanted to let you guys know. ( The card died right after the command, but I can still see the single partition on my computer , but I can't manipulate the files in any way, and it's really intermittent. )

Hi guys, i have a problem. I adopted my sd card as mixed storage, used 20gb for internal and 10gb for external...today i factory reset the phone and now i cant see the adopted storage only this 10gb external. the problem is that i cannot format the card to be 32gb of external. i basically have 32gb sd card with only 10gb usable because the other part was encrypted by phone and now i cant see it anymore cuz probably the encryption key was lost after reset. i tried using adb shell to list volumes but it says 'private disk mounted null' and 'public disk 179,65'. Also, when i list disks in adb shell it shows me 179,64 and i cant partition it to private with 'sm partition disk:179,64 private'...anyone has a solution to formatting the card to be just normal card used as external memory? Also, i tried using minitool to manually partition the card, there i can see there are 2 partitions, this 10gb partition that is formatted as FAT32 and the 20gb that says 'other format', i believe it is Ext4 but i tried to manually format that partition to Ext4 hoping my phone would recognize it but no use...any thoughts?
i tried sm partition disk:179,64 public but it didnt help...it seems like the phone sees that 179.64 disk as potential adopting disk but on the other hand disk is alredy protected by that lost encryption key and since i factory reset the phone i cant go and dig it up

Hmm, guys, I did this in the past and if I recall correctly you should click on the SD card in the storage menu, go to the options and select "Migrate data". I may be wrong, though.

SteSko said:
Hello,
Yesterday I've upgraded software on my LG Spirit to Marshmallow (PL/PLAY). Unfortunately it's not possible to root it yet, so after few hours I started to miss Link2SD functionallity. :crying:
I found that Marshmallow shall offer formating SD Card as Internal storage. Unfortunately, it seems that LG disabled this feature. But... it's still possible to enable it via ADB SHELL! :victory:
Click to expand...
Click to collapse
Hello, I followed the directions, and partitioned the sd.
Now how does the thing? I have the memory almost full, the bar is red and there is the danger signal, once the internal filled automatically fills the sd partition?
Thanks

carraretto33 said:
Hello, I followed the directions, and partitioned the sd.
Now how does the thing? I have the memory almost full, the bar is red and there is the danger signal, once the internal filled automatically fills the sd partition?
Thanks
Click to expand...
Click to collapse
once you partitioned sd it became your primary storage. this is not expanding but replacing storage..if you have 8gb internal and use 32gb external you wont have 40gb, you will have 32 because once you adopt the external sd as storage it will replace the internal..what you can do is go to settings->storage->internal storage->migrate data to transfer your apps from phone memory to sd card and all future apps will be installed directly to sd

ikova617 said:
once you partitioned sd it became your primary storage. this is not expanding but replacing storage..if you have 8gb internal and use 32gb external you wont have 40gb, you will have 32 because once you adopt the external sd as storage it will replace the internal..what you can do is go to settings->storage->internal storage->migrate data to transfer your apps from phone memory to sd card and all future apps will be installed directly to sd
Click to expand...
Click to collapse
Great! Now work perfectly, I have 1,6 gb free in internal and all app (exclude g-app) on sd :good:

ikova617 said:
once you partitioned sd it became your primary storage. this is not expanding but replacing storage..if you have 8gb internal and use 32gb external you wont have 40gb, you will have 32 because once you adopt the external sd as storage it will replace the internal..what you can do is go to settings->storage->internal storage->migrate data to transfer your apps from phone memory to sd card and all future apps will be installed directly to sd
Click to expand...
Click to collapse
Amazing, I was missing this. @SteSko it would be nice if you can add this to the first post for future references

@Korelev @carraretto33 guys hit thanks if i was of any help

Thanks @SteSko and @ikova617!

Related

[HOWTO] Link2SD a SanDisk 64GB microSDXC on a T989

work in progress...
Prerequisite:
- Get a SanDisk 64GB microSDXC details here http://forum.xda-developers.com/showthread.php?t=1343164
- Root your phone
- Install Link2SD
you can get Link2SD from our in house local developer http://forum.xda-developers.com/showthread.php?t=919326
all Link2SD related bugs or problems should be reported there
you can also get Link2SD directly from the Android Market
Link2SD
Bulent Akpinar
https://market.android.com/details?id=com.buak.Link2SD&hl=en
step 1:
prepare your spanking brand new SanDisk 64GB microSDXC,
you can partition it any way you want, i choose to go 50%&50% as i know i'm will be installing a lot of Apps/Games and i know i've maxed out 16GB easily everytime, that's why i'll need at least 32GB to be comfortable (later on you'll know why) in the new sd card
the best tool to partition your new 64GB SD is Gparted (yes Linux), you can get Gparted in a lot of ways, most times included in any Desktop Linux installation, or you can get the Gparted LiveCD from http://gparted.sourceforge.net/livecd.php
you'll need to create 2x primary partitions, the first partition must be FAT32 (is not really a must, but you'll need that if you want to be able to see your SD card space when mounted as USB storage), the second partition it's highly recommended to use ext4, as Gparted seems to have problem trying to format ext3 on the SanDisk 64GB microSDXC, older phones can use ext2 if the phones are missing the support for ext4 (example Milestone XT720)
if you are not comfortable with Linux, you can easily create 2x FAT32 partitions in your SD card using Disk Management in windows, just make sure both partitions are Primary partitions.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
step 2:
once you're done with the disk partitioning and formatting of your brand new SanDisk 64GB microSDXC; it's time to finally launch Link2SD to do its magic
as soon as you run Link2SD you'll be greeted with this screen asking you to choose the disk format of your SD card 2nd partition, which is what we did on step 1
if you formatted your 2nd partition as ext4 then you must choose ext4
if you formatted your 2nd partition as FAT32 then you choose FAT32
step 3:
reboot your phone, when Link2SD prompts you to do so,
you must reboot for the changes to take effect
step 4:
when the phone is back from reboot (should not take more than 30 sec)
run Link2SD again, hit the Menu capacitive button, and select Storage Info then you should see this screen confirming everything was a success!
step 5:
now you can start moving apps 2 sd, which in Link2SD term is known as "Create Link" (it actually does way more than just create links)
this is what you'll see...
anything that says on SD Card are created by the build in AOS App2SD "Move to SD card" feature that was available since Froyo 2.2
anything that says Linked -> SD Card are created by Link2SD after you hit the "Create Link" option button
... an unrelated screen-shoot of the phone memory performance
Benefits:
- Apps on SD remains accessible even when the SD is mounted as USB flash drive
- Apps moved to SD will act & behave as if they were installed in the internal memory
- Apps that are not natively Apps2SD compatible can still be moved to SD without breaking it
- Apps compatible
- Games compatible
- Widgets compatible
- you can now go beyond the 1GB~2GB limit of the reserved internal memory space
- you can better and easily manage apps to go between internal, external (/sdcard/external_sd/), SD (/sdcard/), and Link2SD (hidden ext4)
- if you are familiar with CM7, with Link2SD you can also set the default install path to be internal, external or auto
- you can easily keep separate SD cards with different apps / games, specially those you want to Hide from public (family) & friends access
Cons:
- none?
- if you take out the SD card, any Apps & Widget that ran directly from the SD card will be temporally unavailable until you put the SD card back in
Tips & Tricks
Gameloft games
There are 3 types of GL games:
- Older GL games will install all into the internal memory, those are easy to deal with with Link2SD
- Recent GL games that are Froyo App2SD aware, will install a small portion in either internal or to SD, but all the extra "DATA" contents usually in the size of 600+ MB are left on SD card (these are not handled by Link2SD), the work around is simple use a Mount script and forward all the
/sdcard/gameloft/ to /sdcard/external_sd/gameloft/
- The a few more recent kind of GL games will let you select where to store the "DATA" chunk to either internal or external sd, for these types you'll choose internal, then Link2SD will do the rest
Some of you have requested this script i'm using
Code:
mount -o -bind /sdcard/external_sd/gameloft/ /sdcard/gameloft/
mount -o -bind /sdcard/external_sd/ea/ /sdcard/ea/
mount -o -bind /sdcard/external_sd/glu/ /sdcard/glu/
mount -o -bind /sdcard/external_sd/download/ /sdcard/download/
mount -o -bind /sdcard/external_sd/DCIM/ /sdcard/DCIM/
you can even include more stuff there, just be careful with what you add, to not break your OS
for example you can technically also throw in /sdcard/Android/data/ ... but some apps are required during boot, and it might not work if you have it on the /external_SD so the safe way would be to only add the specific apps you know are not required during boot time, like all the games and stuff like that.
thanks for your efforts.
i have some questions:
have you felt any lag between having all apps stored on internal storage, and apps stored on sd ext?
do you feel a difference in preformance based on how many applications have downloaded?
i ask because i used to do this for my g1 back in the days, and the phone was just so slow twards the end of it's life, that i would feel a lag when using apps 2 SD, or maybe it was a placebo, or maybe the phone was just incompetent, does it matter with this much power in our hands?
also while we're on the subject of memory, has any one ever elaborated on the process by which apps are killed to free up ram in the phone, i'm not an expert so i wouldn't know what it's called, but i heard that our ram is so high, and the memory killer kills the apps way too early, causing unnecessary apps to be killed when we could have them just chilling in the ram waiting to be re-opened.
I know exactly what you mean, and I'm happy to report there's no lag whatsoever with this phone.
I have done it before on my older phones and yes indeed there's that 1 or 2 sec loading lag, but none at all in the T989, I'll attribute that to either the Dual Core CPU or the super fast SD card reader, or perhaps a combination of both.
back then on my other phones using a class 6 as well it was still not fast enough, a class 4 was obviously even longer at loading, and a class 2 was pretty much pointless to do APPS2SD
But in this phone even a class 4 is not bad, barely noticeable
so definitely get a class 6 or class 10 SD card for this sort of operations
Sent from my SGH-T989 using xda premium
@allgamer
Why do you need to create two partitions for this?
jeffpzy said:
@allgamer
Why do you need to create two partitions for this?
Click to expand...
Click to collapse
it's a requirement for the Link2SD App
post #3 updated http://forum.xda-developers.com/showpost.php?p=19779495&postcount=3
Ooo I want one!!!!!!!!
Current-*Samsung Galaxy S2 (Gingersnap v1.1)*|*Htc Sensation (rooted w/ XE Dr. Dre Beats Technology)*|*Samsung Galaxy S Vibrant (rooted w/ cm7)*|*Mytouch 4g (stock)*|*Mytouch Slide (stock)*|*Htc G1 (stock)
"you can easily create 2x FAT32 partitions in your SD card using Disk Management in windows, just make sure both partitions are Primary partitions"
Is there a tutorial for this. Thanks
Windows Easy button
dddsj said:
Is there a tutorial for this. Thanks
Click to expand...
Click to collapse
Try this tool. It's super quick and easy, and if you're stuck using Windows then it's about as good as it'll get for ya. Super easy and straight-forward, but in case you're worried (whatever you do don't format the one that is called "C:", lol ) the site has tons of info on how to use it and whatnot. I've been in IT for some time now and whenever someone asks me about partitioning in Windows, this is always where I send 'em for the "do it yourself" easy button.
Here's the program I'm talking about:
http://www.partitionwizard.com
Hope this helps, and good luck!
problems installing/moving apps to sd
Hey guys i have been unable to move/install apps to my sd card ever since changing to MIUI I'm not sure whether this is a problem with the ROM or not (i think i may have insalled applications to SD on a previous GB version of MIUI)
I am using a rooted Samsung Galaxy S2 I9100 with the latest MIUI based on 4.0.4. before MIUI i was on CM7 stable and i remember messing around with some settings there to try and get my phone to read music off the sd card as well as internal memory-(where all my downloaded music was going). I also may have done a dodgy partition on my old 32gb micro sd or some how partitioned my internal storage of my phone...
I have recently partitioned my 64gb micro sdXC to this tutorial successfully...
http://forum.xda-developers.com/showthread.php?t=1343187
when i go to move a 'moveable' app eg. Paypal through 'Link2Sd' it comes up with an error saying "pkg:/data/app/com.paypal.android.p2pmobile-1.apk Failure [INSTALL_FAILED_CONTAINER_ERROR]
when i go to move a 'moveable' app through 'App 2 SD Pro' it says 'couldn't move app'
the following are my phones storage details...please point out if you think there is anything strange about them
this last picture was taken before i partitioned my SD
if you guys have an suggestions please let me know
Good info
TylerMF said:
Try this tool. It's super quick and easy, and if you're stuck using Windows then it's about as good as it'll get for ya. Super easy and straight-forward, but in case you're worried (whatever you do don't format the one that is called "C:", lol ) the site has tons of info on how to use it and whatnot. I've been in IT for some time now and whenever someone asks me about partitioning in Windows, this is always where I send 'em for the "do it yourself" easy button.
Here's the program I'm talking about:
http://www.partitionwizard.com
Hope this helps, and good luck!
Click to expand...
Click to collapse
Good info but as you know nobody is stuck on windows... Linux is free software and its a good practice to partition your Pc and install Linux next to windows, dual boot...
Whatever I try, may phone always says the SD card is damaged.
I exactly followed the steps of this how to, only possible explanation for me is that its not working to use the phone itsself as the cardreader for the partition process.
*edit*
After getting an external SD Card reader it worked like a charm.
So I can just recommend what most people recommend: do not use your phone as SDcard reader for partitioning.
As you mention that partition can be as I like. you choose 50/50 which less then 32G which supported for FAT partition.. Can it work if I want 80/20. Example, having 50G with FAT and another 14 as EXT. because the FAT only support up to 32G. I don't have the card now. Just want to confirm before buying it. Thanks.
This is very helpful! A recent purchaser of the 64 gb class 10. :laugh:
How To ?
AllGamer said:
Gameloft games
There are 3 types of GL games:
- Older GL games will install all into the internal memory, those are easy to deal with with Link2SD
- Recent GL games that are Froyo App2SD aware, will install a small portion in either internal or to SD, but all the extra "DATA" contents usually in the size of 600+ MB are left on SD card (these are not handled by Link2SD), the work around is simple use a Mount script and forward all the
/sdcard/gameloft/ to /sdcard/external_sd/gameloft/
- The a few more recent kind of GL games will let you select where to store the "DATA" chunk to either internal or external sd, for these types you'll choose internal, then Link2SD will do the rest
Some of you have requested this script i'm using
Code:
mount -o -bind /sdcard/external_sd/gameloft/ /sdcard/gameloft/
mount -o -bind /sdcard/external_sd/ea/ /sdcard/ea/
mount -o -bind /sdcard/external_sd/glu/ /sdcard/glu/
mount -o -bind /sdcard/external_sd/download/ /sdcard/download/
mount -o -bind /sdcard/external_sd/DCIM/ /sdcard/DCIM/
you can even include more stuff there, just be careful with what you add, to not break your OS
for example you can technically also throw in /sdcard/Android/data/ ... but some apps are required during boot, and it might not work if you have it on the /external_SD so the safe way would be to only add the specific apps you know are not required during boot time, like all the games and stuff like that.
Click to expand...
Click to collapse
Sorry for taking so long to reply, but I'm intrigued how this method works and if possible would love some further help here
I use LINK2SD, and pretty much link all my games, have noticed that the internal memory used increases even when I link to the sd card, so there does indeed appear to be a portion of the game data going to internal ...
Is there an app or a function in LINK2SD to simplify & automate this process to ensure that ALL data links to the SD card ...
I'm not too familiar with the mount option or how to do it ...
Any advice would be most appreciated, thanks

[How To Fix] Micro SD Card UHS1 Bad Unmount

after several days using XZL, i think i need to enlarge my storage in my phone and i buy microSD Sandisk 32GB Class 10 UHS1 but after received my card im facing some issue with my card it always bad unmount when i play game or opening camera, it happen to me for a month and very annoying.
i tried several tools in XDA Forum (i read this thread) and install exFat support for my phone but unfortunattely it always happen again and again :crying:
when i tried to copy a file or several file to my microSD its very slow, but this is class 10 UHS1 card and after formatted with this tool its very amazing the speed copying file is more faster.
how to solved it ?
1. put your card from the phone
2. Backup your Data first! it must!
3. Download SD Formatter 4.0 where support SDXC Card
4. install the software SD Formatter 4.0
5. then format your card, Format Type choose Full Erase, Format size adjustment choose Off
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
7. and now restore your backup and you can use it in your phone.
# bad unmount sometime happen when mediascan running, you cant disable media scan with this tool Rescan Media ROOT.
# you can put .nomedia file in folder (microSD), where you want skip that folder when mediascan run.
*sorry for my bad english.
hope it will help everyone where facing this issue :good:
Hi, Kick.
It's a great and clear tutorial. Congratulations!
Maybe I'm wrong but I think you need Android 4.2.2+ for full SDXC support, and you can also format your card directly in your mobile.
Andre Verissimo said:
Hi, Kick.
It's a great and clear tutorial. Congratulations!
Maybe I'm wrong but I think you need Android 4.2.2+ for full SDXC support, and you can also format your card directly in your mobile.
Click to expand...
Click to collapse
No mate, it happen too with my friend phone where on 4.2.2
I've tried formatted from the phone but when bad unmount happen it take to long to remount,
But after formatted with this tool its look fix my card.
kickthefreak said:
No mate, it happen too with my friend phone where on 4.2.2
I've tried formatted from the phone but when bad unmount happen it take to long to remount,
But after formatted with this tool its look fix my card.
Click to expand...
Click to collapse
I've installed a Sandisk SDXC 64 Gb and the mobile keeps unmounting it when I copy a great volume of files, even after formatting the disc with this utility. Really don't know how to solve this (and I'm in Stock 423).
Andre Verissimo said:
I've installed a Sandisk SDXC 64 Gb and the mobile keeps unmounting it when I copy a great volume of files, even after formatting the disc with this utility. Really don't know how to solve this (and I'm in Stock 423).
Click to expand...
Click to collapse
copy from internal to microSD ? some thread said if 4.2.2 have support exFat, how many GB your file ? more than 4GB your card must be in exFat system.
kickthefreak said:
copy from internal to microSD ? some thread said if 4.2.2 have support exFat, how many GB your file ? more than 4GB your card must be in exFat system.
Click to expand...
Click to collapse
The problem happens when I copy many (400+) little (< 400 Kb) files at once from the computer to the exFAT formatted SDXC SD Card, either in MTP or in MSC USB mode.
Andre Verissimo said:
The problem happens when I copy many (400+) little (< 400 Kb) files at once from the computer to the exFAT formatted SDXC SD Card, either in MTP or in MSC USB mode.
Click to expand...
Click to collapse
oh, i always take my SD card (unmount first from my phone, if not it will damage the card) and put to my pc when i need copying many file, it more faster than using USB connection
if you using usb connection, phone will run media scanner when you copying the file.
kickthefreak said:
oh, i always take my SD card (unmount first from my phone, if not it will damage the card) and put to my pc when i need copying many file, it more faster than using USB connection
if you using usb connection, phone will run media scanner when you copying the file.
Click to expand...
Click to collapse
EDIT:
I tested carefully now, and discovered that the problem occurs even when I copy files between the SD Card and the internal memory, even if I disable Media Scanner with Rescan Media.
It seems you're right about the computer. I removed my SD Card, inserted in the computer, and could copy a whole universe of files without problem. It proves that the problem isn't in the SD Card. But I need a better solution than remove the SD Card every time I want to use it (to avoid wearing the socket, the card etc).
It should work faultless from factory. It's a sad thing that we are having this trouble.
Andre Verissimo said:
EDIT:
I tested carefully now, and discovered that the problem occurs even when I copy files between the SD Card and the internal memory.
It seems you're right again. I removed my SD Card, inserted in the computer, and copy a whole universe of files without problem. It proves that the problem isn't in the SD Card. But I need a better solution than remove the SD Card every time I want to use it (avoiding wearing the socket, the card etc).
It should work faultless from factory. It's a sad thing that we are having this trouble.
Click to expand...
Click to collapse
yes problem occur when we copied file (many) from internal to ext-card, i think thats defect from the product or system, have you tried another microSD class 10 (not UHS) ?
try this --> put .nomedia file in folder (microSD), where you want skip that folder when mediascan run.
kickthefreak said:
yes problem occur when we copied file (many) from internal to ext-card, i think thats defect from the product or system, have you tried another microSD class 10 (not UHS) ?
try this --> put .nomedia file in folder (microSD), where you want skip that folder when mediascan run.
Click to expand...
Click to collapse
No luck with .nomedia here, nor when I disable Media Scanner with Rescan Media.

Google Play Music and Adoptable Storage

I was hoping that this should have been resolved already, since it's been an issue for awhile now. Sadly, it's still present.
Google Play Music and adoptable storage don't play nice with each other. It seems that if you format your SD card as internal storage, the app will not recognize it.
I have a 200GB SD card formatted as internal storage, but Google Play won't see it as either internal or external storage. So in essence, I only have the 32GB onboard as available.
Pretty annoying.
djbutter said:
I was hoping that this should have been resolved already, since it's been an issue for awhile now. Sadly, it's still present.
Google Play Music and adoptable storage don't play nice with each other. It seems that if you format your SD card as internal storage, the app will not recognize it.
I have a 200GB SD card formatted as internal storage, but Google Play won't see it as either internal or external storage. So in essence, I only have the 32GB onboard as available.
Pretty annoying.
Click to expand...
Click to collapse
I dont know why you are having trouble. Google Play music sees my storage fine when I set it up as internal. Working great.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
...Sent From My Verizon HTC 10
Jrocker23 said:
I dont know why you are having trouble. Google Play music sees my storage fine when I set it up as internal. Working great.
...Sent From My Verizon HTC 10
Click to expand...
Click to collapse
thats strange
shouldn't GPM detect it as 1 whole pool of internal storage rather than showing internal & external.
Jrocker23 said:
I dont know why you are having trouble. Google Play music sees my storage fine when I set it up as internal. Working great.
...Sent From My Verizon HTC 10
Click to expand...
Click to collapse
It doesn't look like you are using adoptable storage.
geoff5093 said:
It doesn't look like you are using adoptable storage.
Click to expand...
Click to collapse
When I formatted it asked and I said yes. This is how it came out
...Sent From My Verizon HTC 10
Jrocker23 said:
When I formatted it asked and I said yes. This is how it came out
...Sent From My Verizon HTC 10
Click to expand...
Click to collapse
Can you browse your SD card with a file manager? My understanding was you would no longer have two options, both would be combined as internal. I also thought the internal storage filled up first, then spilled over onto your SD card.
No
...Sent From My Verizon HTC 10
---------- Post added at 04:30 PM ---------- Previous post was at 04:29 PM ----------
...Sent From My Verizon HTC 10
It works that way. I use adoptable storage, I see one storage almost everywhere, I finally have no permission issues, but some apps like Google music still let me choose where I want to download my music.
geoff5093 said:
It doesn't look like you are using adoptable storage.
Click to expand...
Click to collapse
Jrocker23 said:
I dont know why you are having trouble. Google Play music sees my storage fine when I set it up as internal. Working great.
...Sent From My Verizon HTC 10
Click to expand...
Click to collapse
Thanks for the screenshots. When I first formatted as internal storage, the 'storage location' menu option the GPM became disabled, but the storage showed only the 32GB internal storage location.
I switched it back to portable storage, restored the GPM app back to the factory default. I then reformatted the SD card back to internal.
After re-opening the app and updating it, it showed up as you have in your screenshots, as if it's still an external SD card. This is rather un-intuitive (if it's been adopted as internal storage, why would it still indicate it as 'external' storage?), but at least it works!
geoff5093 said:
It doesn't look like you are using adoptable storage.
Click to expand...
Click to collapse
No, he is using it. 32 + 117 = 149
geoff5093 said:
Can you browse your SD card with a file manager?
My understanding was you would no longer have two options, both would be combined as internal.
I also thought the internal storage filled up first, then spilled over onto your SD card.
Click to expand...
Click to collapse
It's just Play Music giving you the option of where you want it. Yes, they're a single pool but it's not like a dumb RAID0/JBOD.
And it's actually the other way around. With Adoptable Storage the microSD card will be set as the "preferred storage". After the microSD card, or whatever, is formatted and encrypted, the phone is going to ask you to move data over "your photos, files and some apps".
When users insert new storage media (such as an SD card) in an adoptable location, Android asks them how they want to use the media. They can choose to adopt the media, which formats and encrypts it, or they can continue using it as-is for simple file storage. If they choose to adopt, the platform offers to migrate the primary shared storage contents (typically mounted at /sdcard) to the newly adopted media, freeing up valuable space on internal storage.
Apps can be placed on adopted storage media only when the developer has indicated support through the android:installLocation attribute. New installs of supported apps are automatically placed on the storage device with the most free space, and users can move supported apps between storage devices in the Settings app. Apps moved to adopted media are remembered while the media is ejected, and return when the media is reinserted.
Click to expand...
Click to collapse
djbutter said:
Thanks for the screenshots. When I first formatted as internal storage, the 'storage location' menu option the GPM became disabled, but the storage showed only the 32GB internal storage location.
I switched it back to portable storage, restored the GPM app back to the factory default. I then reformatted the SD card back to internal.
After re-opening the app and updating it, it showed up as you have in your screenshots, as if it's still an external SD card. This is rather un-intuitive (if it's been adopted as internal storage, why would it still indicate it as 'external' storage?), but at least it works!
Click to expand...
Click to collapse
I spoke with HTC and also put a new SD card in my girlfriends 10 and went through the process with HTC and it showed the same as mine.
HTC said that this is how it's supposed to work. The tech was very knowledgeable & said that even though we see it separated, that is that way for ease of use but the system does see it as one system.
He told me the m9 (which I have as well) had the option but it didn't work 100%. His example he showed me was with Google music. If you set up the SD card normally, google music sees both internal and external and install to either.
If you pick set up SD as internal memory, google music only sees internal and doesnt save downloads to external.
...Sent From My Verizon HTC 10

Is Lineage's adoptive storage a Link2SD rehash?

Does LineageOS's adoptive storage run on Link2SD? I ask because I was looking to get around Lineage's habit of formatting the entire SD card for adoptive storage, so I thought to try to resize the partition using 'gparted' on a Linux box. gparted was unable because it doesn't recognize the partition's format, but more importantly it reports that the label for the partition is "link2sd." Why would it do that if Lineage hadn't name it that itself?
I am aware there is a method for partitioning using ADB and dedicating only a limited portion of the SD card to adoptive storage but as yet I haven't got that process to work. But what's the point beating myself up figuring that out if all I'm ending up with is link2sd, exactly as I have been with pre-adoptive storage Android phones.
So basically it comes down to this. Is adoptive storage simply a convenience so you don't have to install any 3rd-party storage manager apps, or does it have material advantages over the 3rd-party add-ons (in addition to the fact that it is 'native')?
DrWu said:
Does LineageOS's adoptive storage run on Link2SD? I ask because I was looking to get around Lineage's habit of formatting the entire SD card for adoptive storage,
Click to expand...
Click to collapse
That's not a LineageOS habit, but original Android functionality as designed by Google. And no, it's not related in any way to Link2SD.
so I thought to try to resize the partition using 'gparted' on a Linux box. gparted was unable because it doesn't recognize the partition's format, but more importantly it reports that the label for the partition is "link2sd." Why would it do that if Lineage hadn't name it that itself?
Click to expand...
Click to collapse
The contents of the adoptive storage partition are encrypted. I doubt gparted is able to read a label from that, let alone apply changes to it.
Likely, the shown label is only a (wrong) guess based on the 1byte partition type code.
So basically it comes down to this. Is adoptive storage simply a convenience so you don't have to install any 3rd-party storage manager apps, or does it have material advantages over the 3rd-party add-ons (in addition to the fact that it is 'native')?
Click to expand...
Click to collapse
The idea behind adoptive storage is, that the SD card acts as a memory expansion for the internal storage. The user is not supposed to think about which data goes where. and is not allowed to ever remove the card without losing data.
If you want to put data explicitly in a certain space and/or want to use the card for data exchange with a PC, then adoptive storage is not made for you.
hergen66 said:
...If you want to put data explicitly in a certain space and/or want to use the card for data exchange with a PC, then adoptive storage is not made for you.
Click to expand...
Click to collapse
Thank you for clearing that up for me, hergen66.
The references I was referring to in the OP stated that it was possible to format an BD card for adoptive storage using ADB but splitting it into multiple partitions like so:
"adb shell sm partition disk:179,64 mixed 60"
I gather from what you're saying that this either is incorrect or outdated?
Then again, maybe it can be done.
For reasons I have yet to determine, I still can't get my Nook connected to ADB via USB (which is why I didn't try this earlier). However, I have found I can get it to connect by TCP/IP. And I was able to split-partition the SD card through ADB (with 'ADB over network' enabled and 'USB configuration' set to MTP) with the one-liner I posted above. I created a 12gb "adoptable" partition (with it's companion 16mb metadata partition) and a 47gb "portable" storage partition. LineageOS recognizes them as adoptable storage and portable storage and they appear to be functioning accordingly.
Apparently all Lineage cares about to initiate adoptable storage is that the SD card has the two partitions it creates (metadata and encrypted storage) when it formats for adoptable storage. Whatever else is on the card doesn't seem to matter. The process of ADB formatting causes the OS to see the reformatted card as new and asks how you want it used. When I answered 'portable storage,' it apparently did nothing to alter the card but still mounted and recognized and accepted the 12gb partition as adoptable storage, while also accepting the 47gb patition as 'portable.'
To make sure it was operating as adoptable storage I installed 34 new apps and it definitely is writing to the adoptable partition on the external SD card. I don't have Link2SD or anything of the sort installed, this was all the LineageOS' doing:
So just for giggles I removed the SD card, stuck it in a Linux PC, used gparted to shrink the portable storage partition a bit, and added a fourth partition in the freed-up space, 256mb formatted in swap. Put it back in the Nook, selected portable storage (again) and Lineage remounted it as per usual, with adoptable storage still working. I did the 'mkswap/swapon' thing to activate the new swap slice so now I've also got "overflow" VM on the SD card.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So now I've got adoptable storage, portable storage and swap space, all functional and coexisting on the same SD card. I only ever intend apps and data going to adoptable storage because I do most of my mods and management via Airdroid because it allows me the convenience of a PC's full size keyboard. So consequently it's also more convenient for me to add video, music and ebook files via USB connection to a PC (from Linux Nemo or Windows Explorer), which I couldn't have done if the entire SD card had been dedicated to adoptable storage. Which is why I couldn't/wouldn't stop picking at this until I'd found a solution. I don't know that I won't eventually switch to Link2SD anyway, but I like the idea of using a native app versus a 3rd-party add-on, so for the timebeing I'm test-driving the adoptable storage solution.

How to format SD Card 500gig - 2tb.

How to format SD Card 500gig - 2tb.
It appears the OS times out trying (suspect resource constraint)
I tried externally via USB ADB split partition half internal half storage
(this worked until a reboot after which the partitions could not be seen).
I get frustrated and give up for a few months but keep coming back.
I no longer recall the ADB commands to manually format to try setting it as a single partition.
There has to be a better way to do this... help plz
stevek4u said:
How to format SD Card 500gig - 2tb.
It appears the OS times out trying (suspect resource constraint)
I tried externally via USB ADB split partition half internal half storage
(this worked until a reboot after which the partitions could not be seen).
I get frustrated and give up for a few months but keep coming back.
I no longer recall the ADB commands to manually format to try setting it as a single partition.
There has to be a better way to do this... help plz
Click to expand...
Click to collapse
Bro this forum is for Z2 play, go search somewhere else about your sd card
Yes I have the Moto Z2 Play
Yes I have the Moto Z2 Play
If you check the specs it can support up too a 2tb memory card... just trying to get a quarter of that to work.
stevek4u said:
Yes I have the Moto Z2 Play
If you check the specs it can support up too a 2tb memory card... just trying to get a quarter of that to work.
Click to expand...
Click to collapse
The specs on the Motorola website have a footnote next to the 2TB designation which states:
"†† MicroSD card sold separately. Content with DRM restrictions may not be able to be moved to the card. 200 GB is the maximum capacity currently available."
I don't know why the spec says 2TB and the footnote says 200GB max capacity, but this could be the problem. Looks like Moto is saying that you can use up to a 2TB card but the device will only support 200GB of it. Confusing at best.
Sigh,...
At the time that web page and this device was released, the largest SD card on the market was 200gb. So only 200gb was available.
Android 7.1 supports up to 2TB, so theoretically that was/is the max.
I suspect the problems the OP, is having stems from the desire to have partitions and how, he/she is formatting these partitions.
Yes that is it.
Last time I tried I found the syntax to format and split the partition via USB dev mode(or similar), using ADB connection to format the card which worked fine, all 500gig was avail.
However, as suggested. I had chose to split the partition.
Half for internal use & half as private storage. I mounted the card via the ADB which works fine.
I enjoyed for more than a month. Until I rebooted. I had not and could not update the boot parameters so it did not see the partitions after the restart.
I had hoped to have found a way to use ADB Android install to remount after reboot. However I had not figured that out by the time I needed to restart.
Thus I am quite certain that 500gig can be used as I was able to do so before.
I lost my notes. I am hoping someone knows the command / syntax to format it again. I want try setting it up as a single partition (internal use). I think that will work.
For now I just want to use any way possible so can sync/load it up with media.
Thanks all
stevek4u said:
Yes that is it.
Last time I tried I found the syntax to format and split the partition via USB dev mode(or similar), using ADB connection to format the card which worked fine, all 500gig was avail.
However, as suggested. I had chose to split the partition.
Half for internal use & half as private storage. I mounted the card via the ADB which works fine.
I enjoyed for more than a month. Until I rebooted. I had not and could not update the boot parameters so it did not see the partitions after the restart.
I had hoped to have found a way to use ADB Android install to remount after reboot. However I had not figured that out by the time I needed to restart.
Thus I am quite certain that 500gig can be used as I was able to do so before.
I lost my notes. I am hoping someone knows the command / syntax to format it again. I want try setting it up as a single partition (internal use). I think that will work.
For now I just want to use any way possible so can sync/load it up with media.
Thanks all
Click to expand...
Click to collapse
Still hoping someone knows the ABD function & parameters to format the 500gig for internal use.
Found this thread: https://forum.xda-developers.com/showthread.php?t=2381709
I originallly used xda adb shell -> SM list-disks
Resource I located that speak to how I had set it up prior and show a different variation which may be the key (when I have time to test).
For now I want to share a few of the links and steps that should allow you to format an SD Card up too 2TB(for now).
############################
Note:
These look like or look very similar to how I did it the first time. I have not yet retried nor have I tested the following:
Which is why I am only show snippets(steps/code) from the links from others XDA threads / posts on the topic.
If you have had a good or bad experience with any of the following methods:
Please leave a comment for others sharing your experience. Sharing with good intentions, best of luck!
############################
## 1st Option or Variation of how to:
############################
https://forum.xda-developers.com/android/help/enable-adoptable-storage-t3615882
Adoptable Storage in MM:
adb shell
sm list-disks
sm list-volumes all
sm set-force-adoptable true
sm partition disk:179,128 private (replace with mixed what number you want to be external, ie: mixed 80 will leave 80% of card as external, 20% internal)
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”.
############################
## 2nd Option or Variation of how to:
############################
https://forum.xda-developers.com/devdb/project/?id=20067#downloads
https://forum.xda-developers.com/android/software/auto-formatting-sdcard-to-internal-t3583875
Auto-formatting SDCard to Internal and SDCard storage - this is the easiest way format your memory card, to use it as a internal memory and removable media at the same time!
What is required for this?
- Device with Android Marshmallow (6.0) and higher.
- USB Cable
- Enabled USB debug on your device
Just select the formatting mode and press any key!
Instruction:
1 - Connect your smartphone to the PC using your cable
2 - Enable USB debug on your smartphone
3 - Run "aftiss.cmd" (for Windows) or "aftiss.sh" (for Linux)
4 - Select the formatting mode
(1 - 25% Internal\75% SDCard, 2 - 50% Internal\50% SDCard, 3 - 75% Internal\25% SDCard, 4 - Custom)
5 - Press any key
6 - Be happy!
############################
## 3rd Option or Variation of how to:
############################
https://forum.xda-developers.com/idol-3/general/make-sd-card-semi-adopted-t3399510
Quote:
Originally Posted by Electriccars
EDIT: MARSHMALLOW ONLY
I hate the small amount of internal memory, but I don't want to make my ENTIRE SD of 128GB Adopted and unremovable. So I found this post describing how to make your SD only partially Adopted by splitting the partition in ADB. Thought I'd share!
"How to split your card
WARNING: Before you do this, be sure to eject the card from the Settings/Storage & USB menu.
I found how to partition my SD card to give 8G as internal storage to which all apps that can be moved will be moved and leave ~20GB as portable storage to hold music, etc.
First, you need adb working, and your SD card inserted and formatted as portable.
$ adb shell sm list-disks adoptable
is my SD card that can be made adoptable, I want 90% as external SD:
$ adb shell sm partition mixed 90
Note: Your card may be listed with an underscore _ instead of an underscore, e.g. in which case, that is what you type.
This erases the entire SD card, and then gives me 90% as portable storage and the rest as adopted internal storage.
The partition table looks like this:
Number Start End Size File system Name Flags
1 1049kB 57.5GB 57.5GB fat32 shared msftdata
2 57.5GB 57.5GB 16.8MB android_meta
3 57.5GB 63.9GB 6369MB android_expand
The fat32 partition is not encrypted and can be mounted on a computer (provided it can handle the new GUID partition table format).
I advise a reboot after setting the new music storage location this as Google Music may get the wrong idea about much space is available.
Rename the adopted storage. If it had the same name as the portable storage partition then it may prevent one of the partitions from being available over USB MTP."
############################
## Additional Links
## ( Not yet reviewed by myself;
## and I am a newb at that).
############################
##
##
>>>>>>>>>>>>>>>>>>>XDA<<<<<<<<<<<<<<<<<<<<<
https://forum.xda-developers.com/android/development/tutorial-how-to-emulate-partition-sd-t3554949
https://forum.xda-developers.com/android/software/auto-formatting-sdcard-to-internal-t3583875
https://forum.xda-developers.com/android/help/enable-adoptable-storage-t3615882
https://forum.xda-developers.com/idol-3/general/make-sd-card-semi-adopted-t3399510
>>>>>>>>>>>>>>>>>>>GitHub<<<<<<<<<<<<<<<<<<<<<
https://github.com/LegacyXperia/Wiki/wiki/Partitioning-the-SD-Card-using-ADB
>>>>>>>>>>>>>>>>>>>StackOverFlow<<<<<<<<<<<<<<<<<<<<<
https://stackoverflow.com/questions...d-sd-card-part-adoptable-part-removable-on-an
>>>>>>>>>>>>>>>>>>>android.StackExchange<<<<<<<<<<<<<<<<<<<<<
https://android.stackexchange.com/q...into-two-parts-part-adoptable-storage-and-par
>>>>>>>>>>>>>>>>>>>Google<<<<<<<<<<<<<<<<<<<<<
https://www.google.com/search?rlz=1.......6..35i39j0i131j0j0i10j0i22i30.PYGdp3_K9ss
>>>>>>>>>>>>>>>>>>>|END|<<<<<<<<<<<<<<<<<<<<<
Thanks for the discussion.

Categories

Resources