Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Save Google Play Music to External SD(SOLVED FINALLY)

OP skittles

20th July 2012, 04:22 PM   |  #1  
OP Member
Thanks Meter: 63
 
37 posts
Join Date:Joined: Nov 2007
More
SAVE YOUR GOOGLE PLAY MUSIC OFFLINE MUSIC TO EXTERNAL SDCARD
So I've been researching this issue for a long long time and have tried so many different approaches. I've finally found one that works! You can now save your google play music to your external sd instead of the internal sdcard.

This is based on the post found here. Please go and thank the original author. This will probably work on any phone.

So what this basically does is mount the google play music cache to a directory on your external SD on boot.

Requirements:
1. Root
2. external SD(obviously)


Steps
  1. Using whatever task manager you have or just go into settings->apps->running, close google play music.
  2. Open your file manager and browse to /sdcard/Android/data/com.google.android.music/cache and delete all of the files found in music dir and artwork dir in this directory. This is very important step. If you do not delete your cache then your files will take up space but will no longer be available after this process.
  3. Browse to the root diretory of your external sdcard and create a directory called "MusicCache".
  4. Browse to the root of your internal sdcard and create a text file called "MusicScript.txt".
  5. Using your favourite text editor open the the file and past the following: "mount -o bind /emmc/MusicCache/ /sdcard/Android/data/com.google.Android.music/" and the save the file. Please note that if your using stock room, then /emmc/ might be /external-sd/. Please make sure to check the directory name for your external sd and replace /emmc/ with whatever your external sd directory is named.
  6. Go to the google play store and install script manager - Smanager. Open smanager, and on first open you should see an option to select root, check that option and click ok and make sure to grant root to the app when the su dialog appears.
  7. In Smanager browse to the root of your sdcard and click on and hold the "MusicScript.txt" to open a options dialog. Select "open as" and then select "Script/Executable".
  8. Then Select "Su" and "Boot" and hit save.
  9. You might not need this stop but it might solve some issues. Go to settings app->apps->google play music-> and hit clear data.
  10. Reboot your phone.
  11. Open up google play music and click on Choose on device music, and you should see the total space available equal to what is available on your external SD Card
  12. (Optional) Hamster dance.

Note: While downloading all of your music offline you may want to go to the settings app->developer options->check Keep Awake to keep the phone awake while charging so that the phone won't go to sleep. I did this so that I could finish up the download while keeping my phone charger connected. You should definitely turn this option off after your done.


**I assume no responsibility if this damages your device in any way**
Last edited by skittles; 20th July 2012 at 05:12 PM.
The Following 60 Users Say Thank You to skittles For This Useful Post: [ View ]
20th July 2012, 05:07 PM   |  #2  
Senior Member
Thanks Meter: 23
 
405 posts
Join Date:Joined: Nov 2010
Quote:
Originally Posted by skittles

SAVE YOUR GOOGLE PLAY MUSIC OFFLINE MUSIC TO EXTERNAL SDCARD
So I've been researching this issue for a long long time and have tried so many different approaches. I've finally found one that works! You can now save your google play music to your external sd instead of the internal sdcard.

This is based on the post found here. Please go and thank the original author. I just slightly modified this to work for our phones.

So what this basically does is mount the google play music cache to a directory on your external SD on boot.

Requirements:
1. Root
2. external SD(obviously)


Steps

  1. Using whatever task manager you have or just go into settings->apps->running, close google play music.
  2. Open your file manager and browse to /sdcard/Android/data/com.google.android.music/cache and delete all of the files found in music dir and artwork dir in this directory. This is very important step. If you do not delete your cache then your files will take up space but will no longer be available after this process.
  3. Browse to the root diretory of your external sdcard and create a directory called "MusicCache".
  4. Browse to the root of your internal sdcard and create a text file called "MusicScript.txt".
  5. Using your favourite text editor open the the file and past the following: "mount -o bind /emmc/MusicCache/ /sdcard/Android/data/com.google.Android.music/" and the save the file. Please note that if your using stock room, then /emmc/ might be /external-sd/. Please make sure to check the directory name for your external sd and replace /emmc/ with whatever your external sd directory is named.
  6. Go to the google play store and install script manager - Smanager. Open smanager, and on first open you should see an option to select root, check that option and click ok and make sure to grant root to the app when the su dialog appears.
  7. In Smanager browse to the root of your sdcard and click on and hold the "MusicScript.txt" to open a options dialog. Select "open as" and then select "Script/Executable".
  8. Then Select "Su" and "Boot" and hit save.
  9. You might not need this stop but it might solve some issues. Go to settings app->apps->google play music-> and hit clear data.
  10. Reboot your phone.
  11. Open up google play music and click on Choose on device music, and you should see the total space available equal to what is available on your external SD Card
  12. (Optional) Hamster dance.


**I assume no responsibility if this damages your device in any way**

Thanks! I've been trying to figure out how to do this. I figured I'd just have to wait for Google to get their act together. But external storage has clearly not been a priority for them.

Sent from my SGH-I777 using xda premium
20th July 2012, 05:13 PM   |  #3  
Simba501's Avatar
Recognized Contributor
Thanks Meter: 1,142
 
3,180 posts
Join Date:Joined: Feb 2010
Nice!
20th July 2012, 05:14 PM   |  #4  
OP Member
Thanks Meter: 63
 
37 posts
Join Date:Joined: Nov 2007
More
Quote:
Originally Posted by switters1

Thanks! I've been trying to figure out how to do this. I figured I'd just have to wait for Google to get their act together. But external storage has clearly not been a priority for them.

Sent from my SGH-I777 using xda premium

I'm glad I could help someone. I've been mostly a lurker on this board. But I've benefited so much that I felt I had to give back once I got this working. I've been at this issue for a long long time.

BTW, did it work for you?
20th July 2012, 06:03 PM   |  #5  
mfreywald's Avatar
Senior Member
Thanks Meter: 24
 
159 posts
Join Date:Joined: Aug 2010
Awesome, I'm going to give this a try when I get home from work today. I'll let you know if I got it working. Very cool of you to share this.

Sent from my SGH-I777 using xda premium
26th July 2012, 09:25 PM   |  #6  
Senior Member
Flag Kailua, Hawai'i
Thanks Meter: 13
 
210 posts
Join Date:Joined: Jan 2011
More
Very cool, I'll definitely try this later today

Sent from my SGH-I777
27th July 2012, 01:23 AM   |  #7  
mzaur's Avatar
Senior Member
NJ
Thanks Meter: 58
 
570 posts
Join Date:Joined: Nov 2011
Just use Directory Bind...much easier
27th July 2012, 01:26 AM   |  #8  
OP Member
Thanks Meter: 63
 
37 posts
Join Date:Joined: Nov 2007
More
Quote:
Originally Posted by mzaur

Just use Directory Bind...much easier

From my understanding directory bind did not work for google music.
27th July 2012, 01:37 AM   |  #9  
Senior Member
Flag Kapowsin, WA
Thanks Meter: 378
 
1,934 posts
Join Date:Joined: Feb 2010
More
AOKP. not sure if CM has it. Swap storage location.

But thats a nice find for those that dont.
27th July 2012, 01:40 AM   |  #10  
OP Member
Thanks Meter: 63
 
37 posts
Join Date:Joined: Nov 2007
More
Quote:
Originally Posted by MotoMudder77

AOKP. not sure if CM has it. Swap storage location.

But thats a nice find for those that dont.

I have AOKP and no such swap storage location settings. I've looked for this before.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes