I ve got a very strange behaviour here:
when I tap "choose music on deveice" it shows me the free space on my external sd.
But the files which are downloaded are duplicated in the app folder sdcard/Android... AND on my emmc/MusicCache Folder.
Whenever I delete files in one of the directotrys they get deleted in the other directory too! What am I doeing wrong?
Same probleme on my SGS3. Jelly Bean CM10 with new Play Music app. Download are duplicated! What is wrong?
I could use some help too. I am on the same device as Zion800
Unfortunately, as others have stated, files are merely duplicated to the external sd.
Also, the script breaks internal sd pc mounting.
I ve got a very strange behaviour here:
when I tap "choose music on deveice" it shows me the free space on my external sd.
But the files which are downloaded are duplicated in the app folder sdcard/Android... AND on my emmc/MusicCache Folder.
Whenever I delete files in one of the directotrys they get deleted in the other directory too! What am I doeing wrong?
Unfortunately, as others have stated, files are merely duplicated to the external sd.
Also, the script breaks internal sd pc mounting.
. . . I do seem to have a problem getting either location (sdcard or sdcard-ext) to appear in USB Mass Storage mode. Is that what you mean by " the script breaks internal sd pc mounting" ? I did get it to mount once after numerous tries but not again since then.
dj
Why don't work for me?
mount -o bind /mnt/extSdCard/MusicCache/ /mnt/sdcard/Android/data/com.google.Android.music/
I've a SGS3 whit stock rom.
On my Droid3 I had to leave the /mnt off. The mount points ARE in /mnt, but the mount didn't work if /mnt was included.
dj
Whit root explorer i find the folder where play music save the cache-->/data/data/com.google.Android.music/
So i change the script with:
mount -o bind /mnt/extSdCard/MusicCache/ /data/data/com.google.Android.music/
and dont'work
i try whitout "mnt":
mount -o bind /extSdCard/MusicCache/ /data/data/com.google.Android.music
and dont'work...
![]()
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
- Using whatever task manager you have or just go into settings->apps->running, close google play music.
- 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.
- Browse to the root diretory of your external sdcard and create a directory called "MusicCache".
- Browse to the root of your internal sdcard and create a text file called "MusicScript.txt".
- 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.
- 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.
- 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".
- Then Select "Su" and "Boot" and hit save.
- You might not need this stop but it might solve some issues. Go to settings app->apps->google play music-> and hit clear data.
- Reboot your phone.
- 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
- (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**
First of all thanks for the guide. I used it and it seems it works. Now if I open Google Play Music and then Choose music on device, it shows the available space on the external SD card.
But now the files are in both locations: in the external SD (the folder MusicCache) and in the internal SD (/mnt/sdcard/Android/data/com.google.Android.music/cache). Is it a normal behavior? Physically the files are only in the external SD card or in both the locations?
My phone is a Galaxy S2 and the Google play music's release is the 4.3.606.400990.
Thank you again
I believe yes, it's normal. What I think you are seeing is the external directory mounted at the internal mount point. If you enter the internal directory you are actually entering the mounted directory on the external card.
Not sure if Im being stupid now, but everything described in the opening post seems way too complicated to me...
I have done the following on my Galaxy S3 and it works just fine:
ln -s /mnt/extSdCard/GoogleMusicCache/cache /data/data/com.google.android.music/cache
(Folder names may vary. I have not typed this manually, but I used Root Explorer to create the link. Should be the same thing.)
SGH-T999 (4.1.1)
Google Play Music (Version 4.4.811H.526848)
1. Open Settings > Application manager > All > Google Play Music
2. Select "Force stop" and "Clear data"
3. Open ROM Toolbox > Root Browser
4. Create the following folder on your SD card /mnt/extSdCard/GoogleMusic/files
5. Tap and hold the folder named "files" until menu appears, and select "Create shortcut" at the bottom of the list
6. Navigate to /data/data/com.google.android.music/
7. Select "Create" and the "files" folder should be linked
8. Open "Play Music" app and sync
9. Select "Choose on device music" and it should show the available space on your sd card
10. Profit
tl;dr the directory where music is stored has changed from /data/data/com.google.android.music/cache to /data/data/com.google.android.music/files for both music and artwork
I found the absolute best and easiest way is by using symlinks. This can be accomplished with ROM Toolbox [Root Browser], without the need of scripting/commands/etc.
0. Open ROM Toolbox > Root Browser
1. Make a folder in your desired location (sdcard) called "Music" or something to that sort.
2. Tap and hold, select the option "Create Shortcut" at the bottom
3. Navigate to /data/data/com.google.android.music/
4. Paste (to create the shortcut)
5. Delete the "cache" folder in this directory
6. Rename the shortcut to "cache"
7. Enjoy!