Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,914 Members 49,476 Now Online
XDA Developers Android and Mobile Development Forum

Save Google Play Music to External SD(SOLVED FINALLY)

Tip us?
 
skittles
Old
(Last edited by skittles; 20th July 2012 at 04:12 PM.)
#1  
Member - OP
Thanks Meter 62
Posts: 37
Join Date: Nov 2007
Talking Save Google Play Music to External SD(SOLVED FINALLY)

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**
The Following 59 Users Say Thank You to skittles For This Useful Post: [ Click to Expand ]
 
switters1
Old
#2  
Senior Member
Thanks Meter 23
Posts: 404
Join Date: Nov 2010
Quote:
Originally Posted by skittles View Post
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
 
Simba501
Old
#3  
Simba501's Avatar
Recognized Contributor
Thanks Meter 1130
Posts: 3,167
Join Date: Feb 2010
Nice!
 
skittles
Old
#4  
Member - OP
Thanks Meter 62
Posts: 37
Join Date: Nov 2007
Quote:
Originally Posted by switters1 View Post
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?
 
mfreywald
Old
#5  
mfreywald's Avatar
Senior Member
Thanks Meter 24
Posts: 159
Join Date: 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
 
tripstermcgee
Old
#6  
Senior Member
Thanks Meter 13
Posts: 210
Join Date: Jan 2011
Location: Kailua, Hawai'i
Very cool, I'll definitely try this later today

Sent from my SGH-I777
AT&T HTC One X+
 
mzaur
Old
#7  
mzaur's Avatar
Senior Member
Thanks Meter 57
Posts: 550
Join Date: Nov 2011
Location: NJ
Just use Directory Bind...much easier
 
skittles
Old
#8  
Member - OP
Thanks Meter 62
Posts: 37
Join Date: Nov 2007
Quote:
Originally Posted by mzaur View Post
Just use Directory Bind...much easier
From my understanding directory bind did not work for google music.
 
MotoMudder77
Old
#9  
Senior Member
Thanks Meter 378
Posts: 1,934
Join Date: Feb 2010
Location: Kapowsin, WA
AOKP. not sure if CM has it. Swap storage location.

But thats a nice find for those that dont.
HTC ADP1- Traded
HTC Mytouch- Gone
HTC MyTouch 1.2- Traded
HTC HD2 - Traded
HTC Mytouch 3g slide(white)- Sold
HTC Mytouch 3g slide(black)- Sold
Samsung Galaxy Tab- Sold
HTC G2- unlocked, S-off- Sold
HTC N1(850Mhz)- Sold
Motorola Atrix 4g - Sold
Samsung Infuse 4g - Sold
Samsung GSII i777- Traded
HTC Sensation z710a- Scammed/Lost by USPS
Motorola Atrix 2 MB865- Gave up on Moto.
HTC One S Z520e - shelved

LG Nexus 4 rev11 - Current
 
skittles
Old
#10  
Member - OP
Thanks Meter 62
Posts: 37
Join Date: Nov 2007
Quote:
Originally Posted by MotoMudder77 View Post
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.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes