Announcements

Android Update 6.x Marshmallow & Adoptable Storage

Solved!

Android Update 6.x Marshmallow & Adoptable Storage

With the latest version of Android called Marshmallow (6.x) Google have introduced something called ‘Adoptable Storage’ - So what is it and how does this affect Spotify?

 

Android and Apple have always shunned the use of external memory in their devices as the type, quality and age of the memory used is up to the user and may negatively impact the experience. It may seem like the OS is at fault, when in fact it’s sometimes caused by old or faulty memory cards – Hence why Nexus (and soon to be Android One) or Apple devices do not natively offer the ability to use an SD card in the devices.

 

However Google have accepted that people will always want expandable memory, and to try and make things easier in Marshmallow they have introduced something called ‘Adoptable Storage’. What this does is convert the SD card into an extension of the internal device memory allowing apps and their data to be stored in this extended file system.

 

When you insert a card into a device running Marshmallow it will ask you if you want to use the SD card as a portable device or Internal. By selecting portable it will continue to function as before allowing you to remove it without affecting the performance of the phone. By selecting ‘Internal’ you are now moving to the new Adoptable Storage function and the SD card will be formatted and 128-bit AES encrypted before being mounted into the device as Internal memory and part of the system before moving existing apps & their data across.

 

This is great for devices with small internal memory or for Android TV boxes where the SD card will never be removed. If you try and remove an SD card once you’ve converted it to Adoptable Storage then your phone will start throwing errors at you and apps will start crashing.

 

 

So what are the issues Adoptable Storage may cause?

 

There are several complications this can cause, these are the deciding factors to consider and the last is something to take note of when using Adoptable Storage and apps that require the ability to cache such as Soptify:

 

  1. SD Card performance; even using a fast class 10 card it will always be slower than internal flash memory, whilst it may not be too noticeable there will be some performance degradation
  2. SD Card quality; SD cards have a limited read/write capacity. By converting it to system storage then it will be used at a higher rate and will therefore affect the life of the card
  3. Most Importantly! Apps & their data will be able to store on this newly formed memory. This can however cause issue with cache files such as that used by Spotify due to the access to System memory as well as the encryption. If you intend to store downloaded ‘Offline’ playlists or albums then it is recommended you do not convert your SD to the new Adoptable Storage.

Note: If you have set your SD Card to act as 'Internal' you will no longer see the 'Storage' setting in the settings menu of the Spotify application as all memory is classed as Internal so you won;t be able to specify where the cache is to be stored.

 

 

How do I convert back to Portable memory from Adopted memory?

 

To convert an SD back to ‘Portable’ you will first need to backup the existing data by plugging your phone into a PC and copying anything visible on the device over. Once done go to the ‘Storage’ section of Android settings and format the SD card. Once done make sure to restart your phone so that the system correctly identifies the SD card as portable again. Once done, reconnect your phone to the PC and copy all the files previously extracted back onto the portable memory. After this is done it’s best to again reboot the device to ensure links are correctly initiated.

 

 

What else has the upgrade to Marshamallow introduced?

 

In the upgrade to 6.x Marshmallow Google have changed the way application permissions are handled. Sometimes if an application is installed on the device and then you update the device software to Marshmallow these permissions need to be reinitialised. If you are finding that Offline data cannot be stored on an SD card or the SD card is not able to be selected then check the permissions are enabled following the official Android guide here:

 

Control your app permissions on Android 6.0 and up


Please use the search feature before posting a problem/bug/idea.
What's a Spotify Rock Star, and how do I become one?
     Using Spotify Since March 10th 2009
     Twitter: @mechanimal82

Android Troubleshooting:
[COMPLETE GUIDE] How to fix most Android issues
Spotify Android Version History
Reply

Accepted Solutions
Marked as solution

Add support for adoptable storage or lose your customers.

 

EDIT:

I figured it out:

1. delete data and cache for spotify, then uninstall.
2. go to settings --> storage --> SD card --> the three dots in the right upper corner --> migrate data
3. download spotify, but do not start it yet.
4. settings --> apps --> spotify --> move from internal to sd card
5. settings --> apps --> spotify --> add permission for storage
6. fire up spotify, all your songs will end up in the SD card.

 

Screenshot_2016-07-24-16-59-47.png

View solution in original post

Marked as solution

Please support the latest technology and software in the Spotify app.

View solution in original post

Marked as solution

Same problem here, I have an SD card class U3, and formatted it as internal. HTC desire 820.
Please, software gurus, fix this. The community pays for Spotify to be happy.

View solution in original post

Marked as solution

I've given up with hope for the Spotify team ever fixes something on Android. I guessing they only have one mediocre Android programmer 

View solution in original post

34 Replies

The main issue moving Spotify to adoptable storage is the fact that we have to relogin everytime the app is closed (either manually or automatically). While all the downloaded content is still on the SD card, we have to resync (thus downloading again) our offline content.

It is just very troublesome and it has been out there for quite some time now. Please, Spotify get some of your guys on that issue, we are running out of space and the only way we'll be able to keep listening to music would be to use another app instead of yours.

Rhapsody has no problem saving music to the SD card. I used it for years and only switched because Spotify had a few songs that rhapsody didn't. This problem is going to be what makes me go back to rhapsody.

Someone please tell me how to get my Spotify working again, apparently its not compatible with the new marshmellow on my GS5......HELP

Omg, is that the issue? It's not compatible? I've tried EVERYTHING, including these instructions and this app is still failing!

I also have a GS5 that I just updated to Marshmallow 6.x -_- Spotify fix the problem!

Anyone having issues after trying the steps above should perform a clean install. The guide below details the steps to take to ensure a full 'clean installation' is achieved - This includes checking redundant folders and a REBOOT!

[COMPLETE GUIDE] How to fix most Android issues


Please use the search feature before posting a problem/bug/idea.
What's a Spotify Rock Star, and how do I become one?
     Using Spotify Since March 10th 2009
     Twitter: @mechanimal82

Android Troubleshooting:
[COMPLETE GUIDE] How to fix most Android issues
Spotify Android Version History

I dound after a couple of hours that some stuff needed to be moved to my SD
card and deleting spotify and reinstalling seemed to help it

Could spotify indicate if, and when it would support this feature.

I would expect adoptable storage to be a good thing for the relability of Spotify.

 

SD Cards are often the cause of issues seen with Spotify on Android.  The how to fix most Android issues guide starts with SD Cards for this reason. SD Cards are unreliable partly because they uses the ExFAT file system.  ExFAT has no understanding of flash memory and has minimal error recovery features. In contrast F2FS is a modern filesystem which is designed for flash storage.

 

From the Adoptable Storage page on source.android.com:

Adopted devices must be formatted with a filesystem that supports POSIX permissions and extended attributes, such as ext4 or f2fs. For optimal performance, the f2fs filesystem is recommended for flash-based storage devices.

 

Traditional SD cards are designed to be shared between machines and so they need to be formatted using a widely supported filesystem like ExFAT. Adopted storage does not have this constraint. So adopted storage can use F2FS which has better error recovery.

 

I found this presentation by Tristan Lelong comparing filesystems for SD Cards. Skip to slide 97 on "detection/recovery of corrupted files". In Tristan's most difficult test F2FS recovers 100% of corrupt files and beats the alternatives. I think better error recovery on SD cards would lead to fewer "Help - Android" queries for Spotify.

 

So why the dislike of adopted storage for Spotify? Does it do badly in your in-house tests? Is there something that can be fixes so we get the benefits of moving from ExFAT to F2FS?

 

F2FS Links: Usenix paperWikipedia.

 

Having these issues since the new upgrade. Spotify wont even load or play. I have a samsung brand 64mb card. If I reinstall spotify will I loose all my playlists?? Thanks for the info very valuable.

 

Billy M.

I have reinstalled Spotify a few times. I agree the FAQ is unclear. I have never lost my playlists - it still know I collect Hidden Orchestra albums. However the songs that were downloaded before are not downloaded after.
Marked as solution

Add support for adoptable storage or lose your customers.

 

EDIT:

I figured it out:

1. delete data and cache for spotify, then uninstall.
2. go to settings --> storage --> SD card --> the three dots in the right upper corner --> migrate data
3. download spotify, but do not start it yet.
4. settings --> apps --> spotify --> move from internal to sd card
5. settings --> apps --> spotify --> add permission for storage
6. fire up spotify, all your songs will end up in the SD card.

 

Screenshot_2016-07-24-16-59-47.png

So I figured out how all this works.

 

As of now, Spotify cannot be moved to adoptable storage; there is no option to do so. However, downloaded songs are stored in the main "data" area of the phone (the part you see when you plug it into your computer), and with adoptable storage that folder is on the SD card. This means downloaded songs are stored on adoptable storage, while the app and its core data are stored on internal.

 

However, there is one issue. If you install the Spotify app first, then add adoptable storage to your phone later, songs will continue to be downloaded to the internal storage of your phone, even if you use the "move data" option when creating the adoptable storage. To fix this, you simply need to uninstall and reinstall the app and then any songs downloaded after that will go to the adoptable storage. 

Thanksss

I don't have the "migrate data" option, nor can I move the spotify app to the sd card, my phone doesn't even give me that option with some apps.

have done that a zillion times and it keeps being in my internal storage. I downloaded like a thousand songs (not an exageration), and it's 4GB of space that's occupying my not-so-big internal storage...

Its actually easier to move some of your phones apps into adaptable
storage, download spotify but dont download the songs, just use the
spotify app and you can hear all your music you have on your playlists.

For me this new marshmallow update is great. Is there anyway I am able to save my Spotify cache onto my SD internal storage?

4. settings --> apps --> spotify --> move from internal to sd card

 

Turbolego maybe you have a rooted device... I have no option to move Spotify on adoptable storage on my moto G2 even if I successfully moved lots of other apps there.

It's just them blocking the app to be stuck there? I had a conversation about this with their customer care on twitter and they ended up basically saying they did not know what I was talking about...

 

https://twitter.com/SpotifyCares/status/721486146434441216

Suggested posts