Google Play Music and Adoptable Storage - HTC 10 Guides, News, & Discussion

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

Related

[Q] storage problem

Hey Guys,
it's me again haha.
So I have a problem...
I just read this about the memory of our phone:
Vyker said:
There are 3 storage options on this phone...
ROM aka Device Memory = 1GB = Where apps install to.
Internal SD aka USB Storage = 2GB = Extra space
External SD aka SD Card = upto 32gb microSD card.
Click to expand...
Click to collapse
So, I downloaded Backstab and need to download extra data, which are downloaded to SD...
Now I'm getting the message that there isn't enoght memory aviable.
So I looked into the file manager and saw, that all downloads,pictures etc. are saved on the "USB Storage" (→Internal SD).
Now my question is, how I can change the standard storage to "SD Card" (→External SD) , that my downloads, pictures (and of cause the data for Backstab) are saved on my "SD Card" (→External SD), where are 8GB free instead of the 72MB on "USB Storage" (→Internal SD).
Hope you understand what I mean ; my english isn't the best, I know
Thanks in Advance
Julian
I got that same problem when d/l additional data for games, etc.
Any sollution for it?
Sent from my GT-I8150
App 2 SD (move app to SD)
You can find this tool in the android market.
Note not all apps can be moved but this may help.
robin0800 said:
You can find this tool in the android market.
Note not all apps can be moved but this may help.
Click to expand...
Click to collapse
That app only moves apps from the Device Memory to the internal SD, not to the external one.
If your phone is rooted (if it isn't, I'd advise you too, although I reckon you should first research the pros and cons - and your warranty is voided), you can use ROM Manager to change the default path App2SD puts your apps into, or you can flash a ROM with internal/external memory swap.
Short version: both of these solutions require your phone to be rooted. If it isn't, then my post isn't of any help but there might be someone more knowledgeable out there who actually knows another (better) way to do this.
Dusk252 said:
That app only moves apps from the Device Memory to the internal SD, not to the external one.
If your phone is rooted (if it isn't, I'd advise you too, although I reckon you should first research the pros and cons - and your warranty is voided), you can use ROM Manager to change the default path App2SD puts your apps into, or you can flash a ROM with internal/external memory swap.
Short version: both of these solutions require your phone to be rooted. If it isn't, then my post isn't of any help but there might be someone more knowledgeable out there who actually knows another (better) way to do this.
Click to expand...
Click to collapse
That app only moves apps from the Device Memory to the internal SD, not to the external one.
This is not true.......
App2SD moves Apps to External SD, if you have normal /etc/vold.fstab, with mount points as normal, not swapped.
This App is really just a GUI to do what you can do with native Android Apps 2 SD....and it gives Notification if a d/l App can be moved, i.e. coded by dev.
To actually see what Apps are on External SD, if you have moved them, use Storage Analyser free from Market.
See samples from my phone:
{
"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"
}
You can clearly see, I hope, Apps which have been moved to External SD, in /sdcard/external_sd/.amdroid_secure.
These Apps were moved with App2SD.
Also, if you look at the pic below, of Settings/Manage applications/On SD card tab.....this shows those Apps which have been moved to External SD, which have a check-mark, e.g. Google+.....you can also see G+ above, clearly in external .android_secure folder
and it also shows those Apps which can be moved, or are coded to by dev.
btw...the USB Storage message on bottom is just information!!
USB Storage or Internal SD, is intended for Storage of Data relating to Apps, Pics, Music, Game Data, etc.
USB, or Internal SD, cannot be used, normally, for Apps, i.e. as in App2SD
I see. I was wrong then. Thank you for the useful post. It turns out I was fooled by the "USB Storage" bar, since it seems to imply they're stored in the internal memory.
But I don't think that'll really solve his problem, as from what I understood, the application data is still stored in the internal SD. So I still think the internal/external swap would be the best solution for him. Specially since he also complains about the pictures and stuff.
Either way, that ended up being an important piece of info for myself, so I thank you again for correcting me.
Thanx Dusk252
You are correct re OP......
if you wish to store loads a game data or photo stuff....
I think that is what the swap was designed for....it will give you potentially 16/32G for this data....I feel you will need a good SD....like at least Class 6....
And Apps can be moved to the smaller Internal SD....which could be good.....
On my last device I needed to use DT's A2SD..with 1G ext-3 partition on SD for Apps.....so this phone is pretty good.....
Just on the OP....it is a pity that most Apps seem to be written with the /mnt/sdcard as default external Storage....
something devs should keep in mind!!!
Sent from my GT-I8150 using Tapatalk
Hey Guys,
thanks for careing about my problem
But I don't understand how I can swap the internal/external :S
could you please explain it to me.
Thanks in advance
JuLiian.
You have too ways of doing that (technically, three). But please understand before trying any of this that your phone must be rooted!
1. Manually edit the /etc/vold.fstab file (non-recommended unless you can find a good tutorial specifically for Galaxy W, since different devices might have different mount points. I wasn't able to find one, but my research took me 2 min so you might be able to find one.)
2. Replace your vold.fstab file with an already edited one. Here's a nice tutorial on how to do it.
3. Flash a custom ROM which already has this tweak. Like this one, for example.
backstab is gameloft ryt? y not try this http://forum.xda-developers.com/showthread.php?t=1091455 it work on asphalt adrenaline and dungeon hunter, what it does is it changes the file path of the data, so that your data can be save on your external_sd, just follow the steps there, hope that helps
edit: ow sorry that link is for LG but i find one for samsung like: "Auto_Patch_APK_for_Samsung_by_Duero__include_Java_" just search for it
edit2: i found it http://forum.xda-developers.com/archive/index.php/t-1129134.html just try if the download links are still working

How to Increase Device Memory?

1. How can i increase my device memory by allocating space from my sd card?
2. Can we increase RAM by using space from sd card?
Here is my device information
View attachment 1552063
View attachment 1552066
{
"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 GT-S5660 using Tapatalk 2
1. If you want to install apps on the sd card you can create a partition in your sd card which will be treated like internal memory. Check this out http://forum.xda-developers.com/showthread.php?t=1397120
2. RAM is a completly diffrent thing, you can't increase it, it is the temporary memory and it doesn't act like the normal memory, you can equivilate this to your pc, the numer of programs you can keep running at the same time is set by your RAM but sd card memory is what you refer to as hard disk memory.
I have installed link2sd card through whch I am able to store apps to my sd card but they are still storing app data to internal memory.
Can I move that app data to external card? so that it will release more space and I will able to story more apps.
Eden3319 said:
1. If you want to install apps on the sd card you can create a partition in your sd card which will be treated like internal memory. Check this out http://forum.xda-developers.com/showthread.php?t=1397120
2. RAM is a completly diffrent thing, you can't increase it, it is the temporary memory and it doesn't act like the normal memory, you can equivilate this to your pc, the numer of programs you can keep running at the same time is set by your RAM but sd card memory is what you refer to as hard disk memory.
Click to expand...
Click to collapse
When creating the link make sure to check "Link lib files", this will link data too.
Sent from my GT-S5660 using xda app-developers app
It auto install apps to sd card and didn't give me any option to link lib files. and I didn't find any option in link2sd app.
DevWithCookies said:
When creating the link make sure to check "Link lib files", this will link data too.
Sent from my GT-S5660 using xda app-developers app
Click to expand...
Click to collapse
I also like to move app private data to sd card so it will free phone internal memory.
It asks you this if you do it manually, otherwise ther is an option in settings wich allows you to choose what it will link. So there check "Link lib files".
Sent from my GT-S5660 using xda app-developers app
I already checked but have not found any option for this. I also checked link2sd website they clearly mentioned that link2sd will not move any app private data files to sd card.
DevWithCookies said:
It asks you this if you do it manually, otherwise ther is an option in settings wich allows you to choose what it will link. So there check "Link lib files".
Sent from my GT-S5660 using xda app-developers app
Click to expand...
Click to collapse
Eden3319 said:
1. If you want to install apps on the sd card you can create a partition in your sd card which will be treated like internal memory. Check this out http://forum.xda-developers.com/showthread.php?t=1397120
Click to expand...
Click to collapse
How big the second partition should be so it is enough to link all your apps?
I have a 2 Gb card and it has about 300 mb left.
200 MB might be enough
Sent from my GT-S5660 using xda app-developers app
i use this :
http://forum.xda-developers.com/showthread.php?t=1398797
reply
rashidrupani said:
I have installed link2sd card through whch I am able to store apps to my sd card but they are still storing app data to internal memory.
Can I move that app data to external card? so that it will release more space and I will able to story more apps.
Click to expand...
Click to collapse
I am facing this problem now , I have done all of this I have EXT2 and Link2sd and when I install apps the internal Memory device show me the message that I should uninstall apps , there are apps that do not have Lib files , I need to know which steps should I take?
please help me if you have solved it
---------- Post added at 12:05 PM ---------- Previous post was at 11:52 AM ----------
Eden3319 said:
1. If you want to install apps on the sd card you can create a partition in your sd card which will be treated like internal memory. Check this out http://forum.xda-developers.com/showthread.php?t=1397120
2. RAM is a completly diffrent thing, you can't increase it, it is the temporary memory and it doesn't act like the normal memory, you can equivilate this to your pc, the numer of programs you can keep running at the same time is set by your RAM but sd card memory is what you refer to as hard disk memory.
Click to expand...
Click to collapse
I have done all of the partitioning SD card now I have a lot of space and I have Link2sd but when I download apps it still show me : memory device has low space , it means the EXT2 is not treated as internal memory , which steps should I take now?
please help do this I wanna download some apps ... thanks in advance .

[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.

[GUIDE] Configure SD card as internal storage in Marshmallow on LG Spirit [H440n]

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!

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.

Categories

Resources